EOSERV Bug Tracker > Bug #299: Admin Spawning NPC boss may result in a crash.

Bug #299: Admin Spawning NPC boss may result in a crash.

Admin Spawning NPC boss may result in a crash.
ID #299
Submitter Apollo
Product EOSERV
Severity Critical
Status CLOSED, FIXED
Submitted 28th Mar 2014
Updated 7th Sep 2014
Related SVN Revisions
Rev# Date Description
r428 07 Sep 2014 14:27:25 UTC Prevent problems caused by spawning multiple boss NPCs on a map (bug #299)
Apollo Submitter 10 years, 5 weeks ago

I have confirmed spawning a "Parent" type temp NPC on a map with map placed "Parent" and "Children" NPC's will result in a server crash. This should be avoided until a fix is applied.

Comments

Ryouken 9 years, 38 weeks ago

It's because the children are still holding pointers to the boss which has been deleted because it's temporary. They're pointing to data which is no longer there. Something like a foreach that clears the pointers for parent if it matches the boss before the boss is deleted should fix it.

Sausage Developer 9 years, 33 weeks ago

Updated Status to CONFIRMED

Sausage Developer 9 years, 33 weeks ago

Fixed in r428

Updated Status to CLOSED, FIXED

Add Comment

Please don't post unless you have something relevant to the bug to say.
Do not comment to say "thanks" or "fix this please".

Please log in to add comments. EOSERV Bug Tracker > Bug #299: Admin Spawning NPC boss may result in a crash.