A crash, a terrible crash!
I >>believe<< I've found the crash that has plagued the poor 60+ EQemu monks of Norrath.
Took me forever to reproduced it under my own compile and pinpoint it.. yet now it seems so utterly obvious, and I'm kicking myself for skipping over it so many times. Little background on the bug, sometimes when a monk kills something the zone will crash, only happens to monks with triple attack aka 60+. What I believe is happening is the target is dying betweek the normal attacks and the triple attacks and so attack is getting called with a null pointer. What's also happening is mlog COMBAT__ATTACKS is on when this happens. Here's the code that I think needs fixed: Code:
bool Client::Attack(Mob* other, int Hand, bool bRiposte) Change the first mlog to: Code:
mlog(COMBAT__ATTACKS, "Attacking %s with hand %d %s", other?other->GetName():"NOBODY", Hand, bRiposte?"(this is a riposte)":""); Thanks to John for telling me about it and giving me the info to fix it. Haven't crashed since I changed that line of code, so hopefully this fixes the problem. And yeah pretty sure it solved something, an excerpt from my console after I applied this fix. Code:
[Debug] [COMBAT__ATTACKS] Sara: Attacking froglok_jin_shaman08 with hand 13 |
If this is the fix, I will need a photo of you to put on my wall to worship. :) :) Thanks for taking the time to look into it. I can't wait to try it out!
|
All times are GMT -4. The time now is 01:46 PM. |
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.