Arithmetic exception.. sounds like its trying to divide by zero :p
Here is the error I get when debuffing everything..
Code:
[11-24-2015 :: 15:26:11] [Crash] EXCEPTION_INT_DIVIDE_BY_ZERO
[11-24-2015 :: 15:26:14] [Crash] c:\0001 eqemu dev\zone\bot.cpp (13350): Bot::GetNeedsCured
[11-24-2015 :: 15:26:14] [Crash] c:\0001 eqemu dev\zone\bot.cpp (12934): EntityList::Bot_AICheckCloseBeneficialSpells
[11-24-2015 :: 15:26:14] [Crash] c:\0001 eqemu dev\zone\botspellsai.cpp (990): Bot::AI_IdleCastCheck
[11-24-2015 :: 15:26:14] [Crash] c:\0001 eqemu dev\zone\bot.cpp (3000): Bot::AI_Process
[11-24-2015 :: 15:26:14] [Crash] c:\0001 eqemu dev\zone\bot.cpp (2318): Bot::Process
[11-24-2015 :: 15:26:14] [Crash] c:\0001 eqemu dev\zone\entity.cpp (484): Entit
I spawn a Cleric bot, and Magician bot...
I cast a disease with counters on everything in my party... including the pet and this exception will be caused when zoning
(Disease I was casting was Sicken spellid 75 btw)
Adding what I said above... makes the crash go away for me... so not sure how it was still crashing when you added it.
Traced what is causing the crash.... "Bot::LoadPetBuffs" does NOT load the counters on spells... so it will have a counterless spell (aka 0 counters) .. so it hits that check and divides by 0 which causes the crash!
Pushed a workaround for this. There is no database entry for `bot_pet_buffs` to have coutners.. so on zone when it loads the botpetbuffs it will just reset their counters to max.