World Crash - CheckEnemyList

Old bugs stored here for reference.
Locked
User avatar
John Adams
Retired
Posts: 9684
Joined: Thu Jul 26, 2007 6:27 am
EQ2Emu Server: EQ2Emulator Test Center
Characters: John
Location: Arizona
Contact:

World Crash - CheckEnemyList

Post by John Adams » Mon Feb 03, 2014 2:29 pm

Another rare "spawn was set 0.0001ms ago but isn't now" crashes...

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;
					}
Stack:

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

Jabantiz
Lead Developer
Posts: 2912
Joined: Wed Jul 25, 2007 2:52 pm
Location: California

Re: World Crash - CheckEnemyList

Post by Jabantiz » Mon Feb 03, 2014 2:39 pm

/sigh this is always coming back in new spots. Will look into it, might have something to do with the error in the lua command, I hope, if not no clue.

EDIT: Checked both undead knight and undead knight 2 on the spell editor and they both use
Spells/Commoner/Pets.lua
Where was this crash and can I see the spell script it used?

User avatar
John Adams
Retired
Posts: 9684
Joined: Thu Jul 26, 2007 6:27 am
EQ2Emu Server: EQ2Emulator Test Center
Characters: John
Location: Arizona
Contact:

Re: World Crash - CheckEnemyList

Post by John Adams » Mon Feb 03, 2014 2:57 pm

Sorry, it was EQ2TC. I think you're already in there cuz I got booted lol

Jabantiz
Lead Developer
Posts: 2912
Joined: Wed Jul 25, 2007 2:52 pm
Location: California

Re: World Crash - CheckEnemyList

Post by Jabantiz » Mon Feb 03, 2014 3:27 pm

Wasn't me, haven't connected to EQ2TC today at all

User avatar
John Adams
Retired
Posts: 9684
Joined: Thu Jul 26, 2007 6:27 am
EQ2Emu Server: EQ2Emulator Test Center
Characters: John
Location: Arizona
Contact:

Re: World Crash - CheckEnemyList

Post by John Adams » Mon Feb 03, 2014 6:37 pm

Hmm, weird. FOOF!

Here's the whole log, it had just crashed I think.
You do not have the required permissions to view the files attached to this post.

User avatar
thefoof
Retired
Posts: 630
Joined: Wed Nov 07, 2012 7:36 pm
Location: Florida

Re: World Crash - CheckEnemyList

Post by thefoof » Mon Feb 03, 2014 6:50 pm

Wasn't me either O.O

Locked

Who is online

Users browsing this forum: No registered users and 0 guests