EQEmulator Forums

EQEmulator Forums (https://www.eqemulator.org/forums/index.php)
-   Development::Server Code Submissions (https://www.eqemulator.org/forums/forumdisplay.php?f=669)
-   -   COMMITTED: Ranged attack crash (https://www.eqemulator.org/forums/showthread.php?t=36022)

Tabasco 11-22-2012 10:35 PM

COMMITTED: Ranged attack crash
 
It doesn't happen every time, but if an NPC is flagged for ranged attacks and they kill their target, the AIProcess function continues on under the assumption that the target is still available.

I just adjusted it to set a flag and do the actual attack at the end of the function. I haven't been able to reproduce the crash since.

http://dungeoncrawl.us.to/eq/rangedatk.diff.txt

sorvani 11-23-2012 12:11 AM

This tested ok for me, applied as rev 2259


All times are GMT -4. The time now is 01:50 PM.

Powered by vBulletin®, Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.