Sorry, i can't speak Russian
but I had same problem before
Mysolution:
Use the below dll file to original one and
select Skip Packet Header Obsfucation option
when you diffed 2012-04-10aRagexeRE.
I think that should work.
http://supportmii.com/ro1/Clients/Bypass_Clients/Waeyan/WDGSkipPacketHeaderObfuscation.dll
skillinfo_f.lua
to check function 8 exist or not
-- Function #8
IsLevelUseSkill = function(SkillID)
local obj = SKILL_INFO_LIST[skillID]
if obj ~= nil then
obj = SKILL_INFO_LIST[skillID].SpAmount
end
if obj ~= nil then
return 1
end
return 0
end
I have ever seen similar topic in Ea forums
and use ~AnnieRuru~'s code
battle.c
in function int battle_check_target
find
//Alliance state takes precedence over enemy one.
else if( state&BCT_ENEMY && strip_enemy && state&(BCT_SELF|BCT_PARTY|BCT_GUILD) )
state&=~BCT_ENEMY;
and add after
if ( map_getcell( src->m, src->x, src->y, CELL_CHKBASILICA ) || map_getcell( target->m, target->x, target->y, CELL_CHKBASILICA ) || map_getcell( s_bl->m, s_bl->x, s_bl->y, CELL_CHKBASILICA ) || map_getcell( t_bl->m, t_bl->x, t_bl->y, CELL_CHKBASILICA ) )
state &= ~BCT_ENEMY;
it would not clone coz they was primary key set but It would show warning on map consle
and yes , you are right, we should avoid that warning
I has new one not tested , hope it work hehe
T_Add:
query_sql "SELECT account_id FROM `login` WHERE `sex`!='S' ORDER BY account_id ASC LIMIT 1", .@minaid;
query_sql "SELECT account_id FROM `login` WHERE `sex`!='S' ORDER BY account_id DESC LIMIT 1", .@maxid;
input .@aid;
if(.@aid >.@maxid || .@aid < .@minaid ||!query_sql("SELECT account_id FROM `login` WHERE account_id ="+.@aid,.@qaid)) goto T_Fail;
if(attachrid(.@qaid)){
set ##owner,1;
else{
if(!query_sql("SELECT value FROM `global_reg_value` WHERE str='##owner' AND account_id = "+.@qaid,.@temp))
query_sql "INSERT INTO `global_reg_value` (`char_id`, `str`, `value`, `type`, `account_id`) VALUES ('0','##owner','1','1','"+.@qaid+"')";
else
query_sql("UPDATE `global_reg_value` SET value = 1 WHERE str ='##owner' AND account_id = "+.@qaid);
}
end;
for return mapname just add this line
mapreg_setregstr(add_str("$@mobdead_m$"+0), map[md->bl.m].name);
variable $@mobdead_m$ will save last mob dead map
@hakuren
U R welcome , glad to help
you can try modify src let it return dead x ,y coordinate
mob.c
find
#include "quest.h"
add after
#include "mapreg.h"
find
if( md->npc_event[0] && !md->state.npc_killmonster )
add after
mapreg_setreg(add_str("$@mobdead_x"), md->bl.x);
mapreg_setreg(add_str("$@mobdead_y"), md->bl.y);
recompile...
It should return last mob dead coordinate x ($@mobdead_x) and y($@mobdead_y)