[Crash] Fix crash bug with pbae and quest scripts spawning mobs#4884
[Crash] Fix crash bug with pbae and quest scripts spawning mobs#4884Akkadius merged 1 commit intoEQEmu:masterfrom
Conversation
If a PBAE is in progress while a mob pops it can cause a crash. Forcing a copy before the ae has a chance to pop a mob should fix the weirdness
|
Ty Caro again |
Barathos
left a comment
There was a problem hiding this comment.
Been running this a few days now and seems to have resolved a good bit of zone crashing issues we had going on. (Bemvaras) - Shadowed Eclipse server
Akkadius
left a comment
There was a problem hiding this comment.
I'm not entirely convinced this fixes anything but it is a rather harmless change so I will approve for now and push it through.
It would be good to attach the crash stack associated with the fix as well.
Thank you for submitting
This is the crash stack. I set up a dev box for it and screwed around with fixing it for about an hour. Shockingly copying the unordered map made it stop checking the npcs nearby in real time. 0 idea why it worked that way but it should also solve an infinite loop zone crash caused by enemies spawning themselves during a pbae |
Description
If a PBAE is in progress while a mob pops it can cause a crash. Forcing a copy before the ae has a chance to pop a mob fixed the weirdness in my testing.
Fixes # (issue)
Type of change