Fixed the zone crash issue when if you disband a single bot, it crashes. For some reason the RemoveBotFromGroup is causing it (or this function getting the tempBot value, idk). Commenting it out still lets the bot disband, just prevents the crashing, so I have no idea what its supposed to be doing.
Quote:
|
I dont see the #bot camp issue you are seeing, but I did notice before you had taken out big chunks of code to isolate issues, so here is my Bot::Death function completely as it is on my build from bot.cpp
Code:
bool Bot::Death(Mob *killerMob, int32 damage, uint16 spell_id, SkillUseTypes attack_skill) { |
It wasnt bot camp - I just updated to the newest code to test. Its when you spawn 2 bots, and group with them - then you #bot camp one bot, and then hit disband.
The zone crashes everytime I hit disband after camping one bot. That last change I posted fixes it for some reason. |
Sorry, I cannot replicate this issue at all, by chance when you pulled new code or have been updating, did you not re-apply(or merge) Client::Handle_OP_GroupDisband ?
Here is my diff to the latest code, this has some forum related fixes as well from http://www.eqemulator.org/forums/showthread.php?t=39013 and http://www.eqemulator.org/forums/showthread.php?t=38996 Code:
diff --git a/zone/bot.cpp b/zone/bot.cpp |
Not sure if anyone is still looking at this, but it happens for me on a brand new build as of today. When a Bot dies or is targeted and disbanded from a group it crashes the zone. Only thing I have done is recompile in "bot.cpp" with a fix for the HP/no attack issue as well as add appropriate lines in the "botbuffs" to fix the missing columns.
I have not tried to recompile any of these fixes above. |
All times are GMT -4. The time now is 12:19 AM. |
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.