World Crash - CheckEnemyList
Posted: Mon Feb 03, 2014 2:29 pm
Another rare "spawn was set 0.0001ms ago but isn't now" crashes...
Code:
Stack:
Console:
Code:
Code: Select all
for (spawn_itr = spawns->begin(); spawn_itr != spawns->end(); spawn_itr++) {
Spawn* spawn = GetSpawnByID(*spawn_itr);
if (spawn) {
==> here if ((distance = spawn->GetDistance(npc)) <= npc->GetAggroRadius())
attack_spawns[distance] = spawn;
}
Code: Select all
> EQ2World.exe!ZoneServer::CheckEnemyList(NPC * npc) Line 745 + 0x11 bytes C++
EQ2World.exe!ZoneServer::ProcessAggroChecks() Line 4908 C++
EQ2World.exe!ZoneServer::Process() Line 1246 C++
EQ2World.exe!ZoneLoop(void * tmp) Line 5543 + 0xa bytes C++
EQ2World.exe!_callthreadstart() Line 259 + 0x6 bytes C
EQ2World.exe!_threadstart(void * ptd) Line 241 + 0x5 bytes C
kernel32.dll!77e6481f()
[Frames below may be incorrect and/or missing, no symbols loaded for kernel32.dll]
Console:
14:05:26 D Items : Deleting item_id 89459 (Type: EQUIPPED) for player 3987
14:05:26 D Items : Deleting item_id 70287 (Type: NOT-EQUIPPED) for player 3987
14:05:30 D Command : Handler: 34, COMMAND: 'useability'
14:05:30 D Command : Player 'Ilako' (6439), Command: useability
14:05:30 D LUA : Found LUA Spell Script: 'Spells/Mage/Summoner/Necromancer/UndeadKnight.lua'
14:05:30 D Spell : Ilako is casting Undead Knight on Arrin Clelland.
14:05:30 D Spell : Undead Knight: Target 'Arrin Clelland' is Caster 'Ilako'.
14:05:30 D Spell : No precast function found for Undead Knight
14:05:40 E LUA : Error running attempt to call a nil value
14:05:40 D Spell : Concentration is now 1 on Ilako