Originally posted by [b]Napster[/b]
Myserver report core stack dump
[quote]
Registers:
eax=2019e82c ebx=7ffde000 ecx=00000007 edx=00000001 esi=0012fd54 edi=0012fd3c
eip=0071fd4b esp=0012fbb8 ebp=0012fd3c iopl=0 nv up ei pl nz na po nc
cs=001b ss=0023 ds=0023 es=0023 fs=003b gs=0000 efl=00010206[/quote]
in unit_walktoxy_timer
[quote]
{ //Guild Aura: Likely needs to be recoded, this method seems inefficient.
struct guild *g = sd->state.gmaster_flag;
int skill, strvit= 0, agidex = 0;
if ((skill = guild_checkskill(g, GD_LEADERSHIP)) > 0) strvit |= (skill&0xFFFF)<<16;
if ((skill = guild_checkskill(g, GD_GLORYWOUNDS)) > 0) strvit |= (skill&0xFFFF);
if ((skill = guild_checkskill(g, GD_SOULCOLD)) > 0) agidex |= (skill&0xFFFF)<<16;
[b]if ((skill = guild_checkskill(g, GD_HAWKEYES)) > 0) agidex |= skill&0xFFFF; <-- this line report[/b]
if (strvit || agidex)
{ // replaced redundant foreachinrange call with smaller and much more efficient iteration
for( i = 0; i < g->max_member; i++ )
{
if( g->member[i].online && g->member[i].sd && sd->bl.m == g->member[i].sd->bl.m && check_distance_bl(&sd->bl, &g->member[i].sd->bl, 2) )
{// perform the aura on the member as appropriate
skill_guildaura_sub(g->member[i].sd, sd->bl.id, strvit, agidex);
}
}
}
}[/quote]
I don't know this ploblem
please check thankyou