Jump to content

Total

Members
  • Content Count

    14
  • Joined

  • Last visited

Posts posted by Total


  1. Hello,

     

    I'm creating a system where if a player dies, they are auto hidden and must find the spot they died on to carry on.

     

    World of Warcraft Style.

     

    Is it possible to determine how you have been killed?

     

    I only want this to trigger if killed by a monster and not trigger if they was killed by another player in PvP, BG, WoE etc

     

    OnPCDieEvent:
     
    This is for any death isn't it? if their another trigger to use?
     
    i was thinking of using something like;
     
    OnPCDieEvent:
                if map="pvp1,pvp2,woe1,woe2" end;
                <else script here>
     
    Would this work?
     
    Thanks in advanced.

  2.  

    here:

     

    //===== Hercules Plugin ======================================
    //= King of Emperium Hill
    //===== By: ==================================================
    //= AnnieRuru
    //===== Current Version: =====================================
    //= 1.1
    //===== Compatible With: ===================================== 
    //= Hercules 2015-12-19
    //===== Description: =========================================
    //= stop guild owner from hitting the emperium over and over
    //===== Topic ================================================
    //= http://herc.ws/board/topic/4495-king-of-emperium-hill/
    //===== Additional Comments: =================================  
    //= finally a plugin for this popular script
    //============================================================
    
    #include "common/hercules.h"
    #include <stdio.h>
    #include <string.h>
    #include <stdlib.h>
    #include "map/pc.h"
    #include "map/mob.h"
    #include "map/battle.h"
    #include "map/mapreg.h"
    #include "common/memmgr.h"
    #include "plugins/HPMHooking.h"
    #include "../common/HPMDataCheck.h" // should always be the last file included! (if you don't make it last, it'll intentionally break compile time)
    
    
    
    HPExport struct hplugin_info pinfo = {
    	"koe",
    	SERVER_TYPE_MAP,
    	"1.1",
    	HPM_VERSION,
    };
    
    int battle_check_target_post( int retVal, struct block_list *src, struct block_list *target, int *flag ) {
    	if ( retVal == 1 ) {
    		struct block_list *s_bl = src;
    		if( (s_bl = battle->get_master(src)) == NULL )
    			s_bl = src;
    		if ( s_bl->type == BL_PC && target->type == BL_MOB ) {
    			TBL_PC *sd = BL_CAST( BL_PC, s_bl );
    			TBL_MOB *md = BL_CAST( BL_MOB, target );
    			if ( ( md->class_ == MOBID_EMPELIUM && !strcmp( mapindex_id2name(sd->mapindex), "guild_vs1" ) ) &&
    				( sd->status.guild_id == mapreg->readreg( script->add_str("$koegid") ) || battle->get_current_skill(src) > 0 ) )
    				return 0;
    		}
    	}
    	return retVal;
    }
    
    HPExport void plugin_init (void) {
    	addHookPost( battle, check_target, battle_check_target_post );
    }
    

     

    Thank you :)

     

    However here is another one.

     

    In file included from koe.c:26:0:
    koe.c: In function ‘plugin_init’:
    ../plugins/HPMHooking.h:54:54: warning: comparison of distinct pointer types lacks a cast [enabled by default]
       (void)((HPMHOOK_post_ ## ifname ## _ ## funcname)0 == (hook)), \
                                                          ^
    koe.c:55:2: note: in expansion of macro ‘addHookPost’
      addHookPost( battle, check_target, battle_check_target_post );
      ^
    

  3. Hello,

     

    I know Kubix is a little busy right now but does anyone else know why the BG & WOE EDP bottles and any other items that are used via skills dont work?

     

    I implemented these changes https://github.com/kubixservice/QueueBG/blob/master/src/new_item_mode.%D1%81

     

    Everything works great apart from items used via skills.

     

    I even tried using the EDP bottle on the Battleground maps from inventory and it works, just not from skills.

     

    There are no errors via console when compiling either.

     

    Any help would be much appreciated.

     

    bump?


  4. Hello,

     

    I get this error when making the plugin.

     

            CC      koe.c
    koe.c: In function ‘battle_check_target_post’:
    koe.c:43:25: error: ‘MOBID_EMPERIUM’ undeclared (first use in this function)
        if ( ( md->class_ == MOBID_EMPERIUM && !strcmp( mapindex_id2name(sd->mapindex), "guild_vs1" ) ) &&
                             ^
    koe.c:43:25: note: each undeclared identifier is reported only once for each function it appears in
    koe.c: In function ‘plugin_init’:
    koe.c:52:2: warning: implicit declaration of function ‘addHookPost’ [-Wimplicit-function-declaration]
      addHookPost( "battle->check_target", battle_check_target_post );
      ^
    koe.c:52:2: warning: nested extern declaration of ‘addHookPost’ [-Wnested-externs]
    make[1]: *** [../../plugins/koe.so] Error 1
    

  5. Hello,

     

    I know Kubix is a little busy right now but does anyone else know why the BG & WOE EDP bottles and any other items that are used via skills dont work?

     

    I implemented these changes https://github.com/kubixservice/QueueBG/blob/master/src/new_item_mode.%D1%81

     

    Everything works great apart from items used via skills.

     

    I even tried using the EDP bottle on the Battleground maps from inventory and it works, just not from skills.

     

    There are no errors via console when compiling either.

     

    Any help would be much appreciated.


  6. https://mega.nz/#!usdTjDob!LFjB51DZP_vADpXnn2MT9G82xCJXVhabILcqWzohZ5w

     

    Full eAmod Bgs for Hercules / RagEmu by Plugin.

    Converted by me.

    Use standart eAmod BG NPC for this.

     

    Tested on latest RagEmu.

    Let me know if you find some errors. (tested on Windows)

     

    Hello Kubix,

     

    Thanks for this release however when compiling i get these errors;

     

    Any ideas on how to fix these?

     

    4>c:\Herc-eAmod\src\map\battle.c(6755): error C2143: syntax error: missing ')' before 'if'
    4>c:\Herc-eAmod\src\map\battleground.c(971): warning C4477: 'sprintf' : format string '%s' requires an argument of type 'char *', but variadic argument 1 has type 'int'
    4>c:\Herc-eAmod\src\map\battleground.c(971): warning C4477: 'sprintf' : format string '%d' requires an argument of type 'int', but variadic argument 2 has type 'char *'
    4>c:\Herc-eAmod\src\map\battleground.c(994): warning C4477: 'sprintf' : format string '%s' requires an argument of type 'char *', but variadic argument 1 has type 'int'
    4>c:\Herc-eAmod\src\map\battleground.c(994): warning C4477: 'sprintf' : format string '%d' requires an argument of type 'int', but variadic argument 2 has type 'char *'
    4>c:\Herc-eAmod\src\map\battleground.c(1071): warning C4101: 'allowedTypes': unreferenced local variable
    4>c:\Herc-eAmod\src\map\channel.c(648): warning C4267: 'initializing': conversion from 'size_t' to 'unsigned char', possible loss of data
    4>c:\Herc-eAmod\src\map\clif.c(1972): warning C4267: '=': conversion from 'size_t' to 'uint16', possible loss of data
    4>c:\Herc-eAmod\src\map\clif.c(2092): warning C4267: '=': conversion from 'size_t' to 'uint16', possible loss of data
    4>c:\Herc-eAmod\src\map\clif.c(3627): warning C4267: '=': conversion from 'size_t' to 'uint16', possible loss of data
    4>c:\Herc-eAmod\src\map\clif.c(3664): warning C4267: '=': conversion from 'size_t' to 'uint16', possible loss of data
    4>c:\Herc-eAmod\src\map\clif.c(5529): warning C4267: '=': conversion from 'size_t' to 'uint16', possible loss of data
    4>c:\Herc-eAmod\src\map\clif.c(5584): warning C4267: '=': conversion from 'size_t' to 'uint16', possible loss of data
    4>c:\Herc-eAmod\src\map\clif.c(5615): warning C4267: '=': conversion from 'size_t' to 'uint16', possible loss of data
    4>c:\Herc-eAmod\src\map\clif.c(5632): warning C4267: '=': conversion from 'size_t' to 'uint16', possible loss of data
    4>c:\Herc-eAmod\src\map\clif.c(5818): warning C4267: '=': conversion from 'size_t' to 'uint16', possible loss of data
    4>c:\Herc-eAmod\src\map\clif.c(8006): warning C4267: '=': conversion from 'size_t' to 'uint16', possible loss of data
    4>c:\Herc-eAmod\src\map\clif.c(8263): warning C4267: '=': conversion from 'size_t' to 'uint16', possible loss of data
    4>c:\Herc-eAmod\src\map\clif.c(8293): warning C4267: '=': conversion from 'size_t' to 'uint16', possible loss of data
    4>c:\Herc-eAmod\src\map\clif.c(8369): error C2039: 'chat_id': is not a member of 'map_session_data'
    4>  c:\Herc-eAmod\src\map\pc.h(157): note: see declaration of 'map_session_data'
    4>c:\Herc-eAmod\src\map\clif.c(8422): error C2181: illegal else without matching if
    4>c:\Herc-eAmod\src\map\clif.c(8423): error C2065: 'ssd': undeclared identifier
    4>c:\Herc-eAmod\src\map\clif.c(8423): error C2223: left of '->status' must point to struct/union
    4>c:\Herc-eAmod\src\map\clif.c(8423): warning C4022: 'memcpy': pointer mismatch for actual parameter 2
    4>c:\Herc-eAmod\src\map\clif.c(8423): error C2198: 'memcpy': too few arguments for call
    4>c:\Herc-eAmod\src\map\clif.c(8425): error C2065: 'ssd': undeclared identifier
    4>c:\Herc-eAmod\src\map\clif.c(8425): error C2223: left of '->status' must point to struct/union
    4>c:\Herc-eAmod\src\map\clif.c(8426): error C2065: 'p': undeclared identifier
    4>c:\Herc-eAmod\src\map\clif.c(8426): error C2065: 'ssd': undeclared identifier
    4>c:\Herc-eAmod\src\map\clif.c(8426): error C2223: left of '->status' must point to struct/union
    4>c:\Herc-eAmod\src\map\clif.c(8426): error C2198: 'function through pointer': too few arguments for call
    4>c:\Herc-eAmod\src\map\clif.c(8426): warning C4047: '=': 'int' differs in levels of indirection from 'party_data *'
    4>c:\Herc-eAmod\src\map\clif.c(8428): error C2065: 'ssd': undeclared identifier
    4>c:\Herc-eAmod\src\map\clif.c(8428): error C2223: left of '->bg_id' must point to struct/union
    4>c:\Herc-eAmod\src\map\clif.c(8430): error C2065: 'g': undeclared identifier
    4>c:\Herc-eAmod\src\map\clif.c(8430): error C2065: 'ssd': undeclared identifier
    4>c:\Herc-eAmod\src\map\clif.c(8430): error C2223: left of '->bg_id' must point to struct/union
    4>c:\Herc-eAmod\src\map\clif.c(8430): error C2198: 'function through pointer': too few arguments for call
    4>c:\Herc-eAmod\src\map\clif.c(8430): warning C4047: '=': 'int' differs in levels of indirection from 'guild *'
    4>c:\Herc-eAmod\src\map\clif.c(8431): error C2065: 'ps': undeclared identifier
    4>c:\Herc-eAmod\src\map\clif.c(8431): error C2065: 'ssd': undeclared identifier
    4>c:\Herc-eAmod\src\map\clif.c(8431): error C2223: left of '->bmaster_flag' must point to struct/union
    4>c:\Herc-eAmod\src\map\clif.c(8433): error C2065: 'ssd': undeclared identifier
    4>c:\Herc-eAmod\src\map\clif.c(8433): error C2223: left of '->status' must point to struct/union
    4>c:\Herc-eAmod\src\map\clif.c(8433): error C2065: 'g': undeclared identifier
    4>c:\Herc-eAmod\src\map\clif.c(8433): error C2223: left of '->guild' must point to struct/union
    4>c:\Herc-eAmod\src\map\clif.c(8436): error C2065: 'g': undeclared identifier
    4>c:\Herc-eAmod\src\map\clif.c(8436): error C2223: left of '->max_member' must point to struct/union
    4>c:\Herc-eAmod\src\map\clif.c(8436): error C2223: left of '->member' must point to struct/union
    4>c:\Herc-eAmod\src\map\clif.c(8436): error C2065: 'ssd': undeclared identifier
    4>c:\Herc-eAmod\src\map\clif.c(8436): error C2223: left of '->status' must point to struct/union
    4>c:\Herc-eAmod\src\map\clif.c(8437): error C2065: 'g': undeclared identifier
    4>c:\Herc-eAmod\src\map\clif.c(8437): error C2223: left of '->max_member' must point to struct/union
    4>c:\Herc-eAmod\src\map\clif.c(8437): error C2065: 'ps': undeclared identifier
    4>c:\Herc-eAmod\src\map\clif.c(8437): error C2223: left of '->member' must point to struct/union
    4>c:\Herc-eAmod\src\map\clif.c(8440): error C2065: 'p': undeclared identifier
    4>c:\Herc-eAmod\src\map\clif.c(8440): warning C4047: '==': 'int' differs in levels of indirection from 'void *'
    4>c:\Herc-eAmod\src\map\clif.c(8440): error C2065: 'g': undeclared identifier
    4>c:\Herc-eAmod\src\map\clif.c(8444): error C2065: 'p': undeclared identifier
    4>c:\Herc-eAmod\src\map\clif.c(8444): warning C4047: '!=': 'int' differs in levels of indirection from 'void *'
    4>c:\Herc-eAmod\src\map\clif.c(8445): error C2065: 'p': undeclared identifier
    4>c:\Herc-eAmod\src\map\clif.c(8445): error C2223: left of '->party' must point to struct/union
    4>c:\Herc-eAmod\src\map\clif.c(8445): warning C4022: 'memcpy': pointer mismatch for actual parameter 2
    4>c:\Herc-eAmod\src\map\clif.c(8445): error C2198: 'memcpy': too few arguments for call
    4>c:\Herc-eAmod\src\map\clif.c(8449): error C2065: 'g': undeclared identifier
    4>c:\Herc-eAmod\src\map\clif.c(8449): warning C4047: '!=': 'int' differs in levels of indirection from 'void *'
    4>c:\Herc-eAmod\src\map\clif.c(8449): error C2065: 'ps': undeclared identifier
    4>c:\Herc-eAmod\src\map\clif.c(8450): error C2065: 'g': undeclared identifier
    4>c:\Herc-eAmod\src\map\clif.c(8450): error C2223: left of '->name' must point to struct/union
    4>c:\Herc-eAmod\src\map\clif.c(8450): warning C4022: 'memcpy': pointer mismatch for actual parameter 2
    4>c:\Herc-eAmod\src\map\clif.c(8450): error C2198: 'memcpy': too few arguments for call
    4>c:\Herc-eAmod\src\map\clif.c(8451): error C2065: 'g': undeclared identifier
    4>c:\Herc-eAmod\src\map\clif.c(8451): error C2223: left of '->position' must point to struct/union
    4>c:\Herc-eAmod\src\map\clif.c(8451): error C2065: 'ps': undeclared identifier
    4>c:\Herc-eAmod\src\map\clif.c(8451): warning C4022: 'memcpy': pointer mismatch for actual parameter 2
    4>c:\Herc-eAmod\src\map\clif.c(8451): error C2198: 'memcpy': too few arguments for call
    4>c:\Herc-eAmod\src\map\clif.c(8457): error C2043: illegal break
    4>c:\Herc-eAmod\src\map\clif.c(8459): error C2046: illegal case
    4>c:\Herc-eAmod\src\map\clif.c(8461): error C2043: illegal break
    4>c:\Herc-eAmod\src\map\clif.c(8462): error C2046: illegal case
    4>c:\Herc-eAmod\src\map\clif.c(8464): error C2043: illegal break
    4>c:\Herc-eAmod\src\map\clif.c(8465): error C2046: illegal case
    4>c:\Herc-eAmod\src\map\clif.c(8467): error C2043: illegal break
    4>c:\Herc-eAmod\src\map\clif.c(8468): error C2046: illegal case
    4>c:\Herc-eAmod\src\map\clif.c(8470): error C2043: illegal break
    4>c:\Herc-eAmod\src\map\clif.c(8471): error C2046: illegal case
    4>c:\Herc-eAmod\src\map\clif.c(8500): error C2043: illegal break
    4>c:\Herc-eAmod\src\map\clif.c(8501): error C2046: illegal case
    4>c:\Herc-eAmod\src\map\clif.c(8507): error C2046: illegal case
    4>c:\Herc-eAmod\src\map\clif.c(8509): error C2043: illegal break
    4>c:\Herc-eAmod\src\map\clif.c(8510): error C2047: illegal default
    4>c:\Herc-eAmod\src\map\clif.c(8516): error C2059: syntax error: 'if'
    4>c:\Herc-eAmod\src\map\clif.c(8518): error C2059: syntax error: 'else'
    4>c:\Herc-eAmod\src\map\clif.c(8523): error C2059: syntax error: '}'
    4>c:\Herc-eAmod\src\map\clif.c(8620): warning C4267: '=': conversion from 'size_t' to 'uint16', possible loss of data
    4>c:\Herc-eAmod\src\map\clif.c(8628): warning C4267: '=': conversion from 'size_t' to 'uint16', possible loss of data
    4>c:\Herc-eAmod\src\map\clif.c(8946): warning C4013: 'RFIFOP_WC' undefined; assuming extern returning int
    4>c:\Herc-eAmod\src\map\clif.c(8946): warning C4047: '=': 'char *' differs in levels of indirection from 'int'
    4>c:\Herc-eAmod\src\map\clif.c(9036): warning C4267: '=': conversion from 'size_t' to 'unsigned short', possible loss of data
    4>c:\Herc-eAmod\src\map\clif.c(9070): warning C4267: '=': conversion from 'size_t' to 'unsigned short', possible loss of data
    4>c:\Herc-eAmod\src\map\clif.c(9906): warning C4267: '=': conversion from 'size_t' to 'uint16', possible loss of data
    4>c:\Herc-eAmod\src\map\clif.c(9915): warning C4267: '=': conversion from 'size_t' to 'uint16', possible loss of data
    4>c:\Herc-eAmod\src\map\clif.c(14802): warning C4267: '=': conversion from 'size_t' to 'uint16', possible loss of data
    4>c:\Herc-eAmod\src\map\clif.c(16397): warning C4267: '=': conversion from 'size_t' to 'uint16', possible loss of data
    4>c:\Herc-eAmod\src\map\clif.c(17995): warning C4267: '=': conversion from 'size_t' to 'uint16', possible loss of data
    4>c:\Herc-eAmod\src\map\clif.c(19581): error C2065: 'clif_charnameupdate': undeclared identifier
    4>c:\Herc-eAmod\src\map\clif.c(19581): warning C4047: '=': 'void (__cdecl *)(map_session_data *)' differs in levels of indirection from 'int'
    4>c:\Herc-eAmod\src\map\intif.c(170): warning C4267: '=': conversion from 'size_t' to 'uint16', possible loss of data
    4>c:\Herc-eAmod\src\map\intif.c(200): warning C4267: '=': conversion from 'size_t' to 'uint16', possible loss of data
    4>c:\Herc-eAmod\src\map\intif.c(250): warning C4267: '=': conversion from 'size_t' to 'uint16', possible loss of data
    4>c:\Herc-eAmod\src\map\intif.c(290): warning C4267: '=': conversion from 'size_t' to 'uint16', possible loss of data
    4>c:\Herc-eAmod\src\map\irc-bot.c(241): error C2059: syntax error: '+'
    4>c:\Herc-eAmod\src\map\irc-bot.c(526): error C2065: 'irc_send': undeclared identifier
    4>c:\Herc-eAmod\src\map\irc-bot.c(526): warning C4047: '=': 'void (__cdecl *)(char *)' differs in levels of indirection from 'int'
    4>c:\Herc-eAmod\src\map\intif.c(669): warning C4267: '=': conversion from 'size_t' to 'uint16', possible loss of data
    6>c:\Herc-eAmod\src\plugins\HPMHooking\HPMHooking_map.Hooks.inc(3145): warning C4047: 'function': 'map_session_data *' differs in levels of indirection from 'map_session_data **'
    6>c:\Herc-eAmod\src\plugins\HPMHooking\HPMHooking_map.Hooks.inc(3145): warning C4024: 'preHookFunc': different types for formal and actual parameter 1
    6>c:\Herc-eAmod\src\plugins\HPMHooking\HPMHooking_map.Hooks.inc(3159): warning C4047: 'function': 'int *' differs in levels of indirection from 'int'
    6>c:\Herc-eAmod\src\plugins\HPMHooking\HPMHooking_map.Hooks.inc(3159): warning C4024: 'postHookFunc': different types for formal and actual parameter 3
    6>c:\Herc-eAmod\src\plugins\HPMHooking\HPMHooking_map.Hooks.inc(3267): warning C4020: 'postHookFunc': too many actual parameters
    6>c:\Herc-eAmod\src\plugins\HPMHooking\HPMHooking_map.Hooks.inc(12852): warning C4047: 'function': 'const char *' differs in levels of indirection from 'const char **'
    6>c:\Herc-eAmod\src\plugins\HPMHooking\HPMHooking_map.Hooks.inc(12852): warning C4024: 'preHookFunc': different types for formal and actual parameter 2
    6>c:\Herc-eAmod\src\plugins\HPMHooking\HPMHooking_map.Hooks.inc(12852): warning C4024: 'preHookFunc': different types for formal and actual parameter 3
    6>c:\Herc-eAmod\src\plugins\HPMHooking\HPMHooking_map.Hooks.inc(12866): warning C4047: 'function': 'int *' differs in levels of indirection from 'int'
    6>c:\Herc-eAmod\src\plugins\HPMHooking\HPMHooking_map.Hooks.inc(12866): warning C4024: 'postHookFunc': different types for formal and actual parameter 1
    6>c:\Herc-eAmod\src\plugins\HPMHooking\HPMHooking_map.Hooks.inc(12866): warning C4047: 'function': 'size_t *' differs in levels of indirection from 'std::size_t'
    6>c:\Herc-eAmod\src\plugins\HPMHooking\HPMHooking_map.Hooks.inc(12866): warning C4024: 'postHookFunc': different types for formal and actual parameter 4
    6>c:\Herc-eAmod\src\plugins\HPMHooking\HPMHooking_map.Hooks.inc(12930): warning C4047: 'function': 'block_list *' differs in levels of indirection from 'block_list **'
    6>c:\Herc-eAmod\src\plugins\HPMHooking\HPMHooking_map.Hooks.inc(12930): warning C4024: 'preHookFunc': different types for formal and actual parameter 1
    6>c:\Herc-eAmod\src\plugins\HPMHooking\HPMHooking_map.Hooks.inc(12930): warning C4047: 'function': 'const char *' differs in levels of indirection from 'const char **'
    6>c:\Herc-eAmod\src\plugins\HPMHooking\HPMHooking_map.Hooks.inc(12930): warning C4024: 'preHookFunc': different types for formal and actual parameter 2
    6>c:\Herc-eAmod\src\plugins\HPMHooking\HPMHooking_map.Hooks.inc(12956): warning C4047: 'function': 'block_list *' differs in levels of indirection from 'block_list **'
    6>c:\Herc-eAmod\src\plugins\HPMHooking\HPMHooking_map.Hooks.inc(12956): warning C4024: 'preHookFunc': different types for formal and actual parameter 1
    6>c:\Herc-eAmod\src\plugins\HPMHooking\HPMHooking_map.Hooks.inc(12956): warning C4047: 'function': 'const char *' differs in levels of indirection from 'const char **'
    6>c:\Herc-eAmod\src\plugins\HPMHooking\HPMHooking_map.Hooks.inc(12956): warning C4024: 'preHookFunc': different types for formal and actual parameter 2
    6>c:\Herc-eAmod\src\plugins\HPMHooking\HPMHooking_map.Hooks.inc(12970): warning C4047: 'function': 'size_t *' differs in levels of indirection from 'std::size_t'
    6>c:\Herc-eAmod\src\plugins\HPMHooking\HPMHooking_map.Hooks.inc(12970): warning C4024: 'postHookFunc': different types for formal and actual parameter 3
    6>c:\Herc-eAmod\src\plugins\HPMHooking\HPMHooking_map.Hooks.inc(12970): warning C4047: 'function': 'unsigned int *' differs in levels of indirection from 'unsigned int'
    6>c:\Herc-eAmod\src\plugins\HPMHooking\HPMHooking_map.Hooks.inc(12970): warning C4024: 'postHookFunc': different types for formal and actual parameter 4
    6>c:\Herc-eAmod\src\plugins\HPMHooking\HPMHooking_map.Hooks.inc(12970): warning C4047: 'function': 'short *' differs in levels of indirection from 'short'
    6>c:\Herc-eAmod\src\plugins\HPMHooking\HPMHooking_map.Hooks.inc(12970): warning C4024: 'postHookFunc': different types for formal and actual parameter 5
    6>c:\Herc-eAmod\src\plugins\HPMHooking\HPMHooking_map.Hooks.inc(12970): warning C4024: 'postHookFunc': different types for formal and actual parameter 6
    6>c:\Herc-eAmod\src\plugins\HPMHooking\HPMHooking_map.Hooks.inc(12970): warning C4024: 'postHookFunc': different types for formal and actual parameter 7
    6>c:\Herc-eAmod\src\plugins\HPMHooking\HPMHooking_map.Hooks.inc(12970): warning C4024: 'postHookFunc': different types for formal and actual parameter 8
    6>c:\Herc-eAmod\src\plugins\HPMHooking\HPMHooking_map.Hooks.inc(12970): error C2440: 'function': cannot convert from 'send_target' to 'send_target *'
    6>c:\Herc-eAmod\src\plugins\HPMHooking\HPMHooking_map.Hooks.inc(12970): warning C4024: 'postHookFunc': different types for formal and actual parameter 9
    6>c:\Herc-eAmod\src\plugins\HPMHooking\HPMHooking_map.Hooks.inc(31314): warning C4047: 'function': 'const char *' differs in levels of indirection from 'const char **'
    6>c:\Herc-eAmod\src\plugins\HPMHooking\HPMHooking_map.Hooks.inc(31314): warning C4024: 'preHookFunc': different types for formal and actual parameter 1
    6>c:\Herc-eAmod\src\plugins\HPMHooking\HPMHooking_map.Hooks.inc(31328): warning C4047: 'function': 'size_t *' differs in levels of indirection from 'std::size_t'
    6>c:\Herc-eAmod\src\plugins\HPMHooking\HPMHooking_map.Hooks.inc(31328): warning C4024: 'postHookFunc': different types for formal and actual parameter 3
    6>c:\Herc-eAmod\src\plugins\HPMHooking\HPMHooking_map.Hooks.inc(31328): warning C4047: 'function': 'int *' differs in levels of indirection from 'int'
    6>c:\Herc-eAmod\src\plugins\HPMHooking\HPMHooking_map.Hooks.inc(31328): warning C4024: 'postHookFunc': different types for formal and actual parameter 4
    6>c:\Herc-eAmod\src\plugins\HPMHooking\HPMHooking_map.Hooks.inc(31341): warning C4047: 'function': 'const char *' differs in levels of indirection from 'const char **'
    6>c:\Herc-eAmod\src\plugins\HPMHooking\HPMHooking_map.Hooks.inc(31341): warning C4024: 'preHookFunc': different types for formal and actual parameter 1
    6>c:\Herc-eAmod\src\plugins\HPMHooking\HPMHooking_map.Hooks.inc(31355): warning C4047: 'function': 'size_t *' differs in levels of indirection from 'std::size_t'
    6>c:\Herc-eAmod\src\plugins\HPMHooking\HPMHooking_map.Hooks.inc(31355): warning C4024: 'postHookFunc': different types for formal and actual parameter 3
    6>c:\Herc-eAmod\src\plugins\HPMHooking\HPMHooking_map.Hooks.inc(31355): warning C4047: 'function': 'unsigned int *' differs in levels of indirection from 'unsigned int'
    6>c:\Herc-eAmod\src\plugins\HPMHooking\HPMHooking_map.Hooks.inc(31355): warning C4024: 'postHookFunc': different types for formal and actual parameter 4
    6>c:\Herc-eAmod\src\plugins\HPMHooking\HPMHooking_map.Hooks.inc(31355): warning C4047: 'function': 'short *' differs in levels of indirection from 'short'
    6>c:\Herc-eAmod\src\plugins\HPMHooking\HPMHooking_map.Hooks.inc(31355): warning C4024: 'postHookFunc': different types for formal and actual parameter 5
    6>c:\Herc-eAmod\src\plugins\HPMHooking\HPMHooking_map.Hooks.inc(31355): warning C4024: 'postHookFunc': different types for formal and actual parameter 6
    6>c:\Herc-eAmod\src\plugins\HPMHooking\HPMHooking_map.Hooks.inc(31355): warning C4024: 'postHookFunc': different types for formal and actual parameter 7
    6>c:\Herc-eAmod\src\plugins\HPMHooking\HPMHooking_map.Hooks.inc(31355): warning C4024: 'postHookFunc': different types for formal and actual parameter 8
    6>c:\Herc-eAmod\src\plugins\HPMHooking\HPMHooking_map.Hooks.inc(31395): warning C4047: 'function': 'map_session_data *' differs in levels of indirection from 'map_session_data **'
    6>c:\Herc-eAmod\src\plugins\HPMHooking\HPMHooking_map.Hooks.inc(31395): warning C4024: 'preHookFunc': different types for formal and actual parameter 1
    6>c:\Herc-eAmod\src\plugins\HPMHooking\HPMHooking_map.Hooks.inc(31395): warning C4047: 'function': 'const char *' differs in levels of indirection from 'const char **'
    6>c:\Herc-eAmod\src\plugins\HPMHooking\HPMHooking_map.Hooks.inc(31395): warning C4024: 'preHookFunc': different types for formal and actual parameter 2
    6>c:\Herc-eAmod\src\plugins\HPMHooking\HPMHooking_map.Hooks.inc(31395): warning C4024: 'preHookFunc': different types for formal and actual parameter 3
    6>c:\Herc-eAmod\src\plugins\HPMHooking\HPMHooking_map.Hooks.inc(31409): warning C4047: 'function': 'size_t *' differs in levels of indirection from 'std::size_t'
    6>c:\Herc-eAmod\src\plugins\HPMHooking\HPMHooking_map.Hooks.inc(31409): warning C4024: 'postHookFunc': different types for formal and actual parameter 5
    6>c:\Herc-eAmod\src\plugins\HPMHooking\HPMHooking_map.Hooks.inc(31989): warning C4047: 'function': 'const char *' differs in levels of indirection from 'const char **'
    6>c:\Herc-eAmod\src\plugins\HPMHooking\HPMHooking_map.Hooks.inc(31989): warning C4024: 'preHookFunc': different types for formal and actual parameter 2
    6>c:\Herc-eAmod\src\plugins\HPMHooking\HPMHooking_map.Hooks.inc(32003): warning C4047: 'function': 'int *' differs in levels of indirection from 'int'
    6>c:\Herc-eAmod\src\plugins\HPMHooking\HPMHooking_map.Hooks.inc(32003): warning C4024: 'postHookFunc': different types for formal and actual parameter 2
    6>c:\Herc-eAmod\src\plugins\HPMHooking\HPMHooking_map.Hooks.inc(32003): warning C4047: 'function': 'size_t *' differs in levels of indirection from 'std::size_t'
    6>c:\Herc-eAmod\src\plugins\HPMHooking\HPMHooking_map.Hooks.inc(32003): warning C4024: 'postHookFunc': different types for formal and actual parameter 4
    6>c:\Herc-eAmod\src\plugins\HPMHooking\HPMHooking_map.Hooks.inc(34978): warning C4047: 'function': 'char **' differs in levels of indirection from 'char *'
    6>c:\Herc-eAmod\src\plugins\HPMHooking\HPMHooking_map.Hooks.inc(34978): warning C4024: 'preHookFunc': different types for formal and actual parameter 1
    

  7. Hello,

     

    Im having a little issue with the Lucky Roulette.

     

    The bronze works just fine however the silver & gold dont work.

     

    As you can see in the screenshot below, i have 5 points in silver and 5 points in gold, when pressing start i get the message shown in the chat window.

     

    When i put bronze points on it works just fine.

     

    Any ideas?

     

    Thanks in advance.

     

    husIoy0.png


  8. I have the latest git repo of Herc running (pre-renewal mode) ...

    • Which translation project do i use?
    • Which kRO full client do i use?
    • Which patcher do i use? (is it NEMO?)
    • Which client exe is stable and works with Herc?

    I used this full client package: http://herc.ws/board/topic/38-latest-kro-installation-small-client-package/

    For one of the 2015 exes: http://roclients.info/ (kRO -> 2015-01-07aRagexe.exe)
    and selected "Select Recommended" and it started to give me bunch of errors.
     
    So, I decided to use one of the 2014 version of the client that everyones recommending here, and that seems to have patched with the "Recommended" patches. So, I used unbolox on the translation project data dir and created a grf and updated Data.ini and put the whole thing together and launched the client.
     
    Nothing happens, there's no RO window. but i can see the hexed ro client executable running in the background in the task manager and its using about 13% CPU and nothing really happens.
     
    Can someone please help, I just want to setup a fairly recent client and so confused with all these steps to take to get it working. There are guides but they seem outdated. Anyone?
     

    Would you recommend that I run a 2015 client? if not, what is considered stable client version to run with the current version of herc repo?

     

    Many thanks in advance, appreciate any help given.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.