View Single Post
  #15  
Old 02-04-2011, 09:28 AM
daerath
Sarnak
 
Join Date: Jan 2011
Location: Northern VA
Posts: 91
Default

Quote:
Originally Posted by Yujiro93 View Post
Last update of DB 1751 is wrong. one or few updates are missing like the one which adds the corrupt column in one of the bots tables. Doing updates one by one just worked for me.
From what I can find, the issue is that Bot::AI_IdleCastCheck (in botspellsai.cpp) runs continuously. The flow of events is that the function is called and the first IF statement is called (evaluating AIautocastspell->check(false), does not evaluate to true, and then AI_IdleCastCheck ends.

It is then called again, etc.

I then tried the #bot debug spells command. No output was produced, my bot vanished and the zone crashed, so I'm guessing what's happening is that the spell list is not getting populated (although the entries are there in the npc_spells and npc_spells_entries tables for 701 - 712) which is why AI_IdleCastCheck is spinning non-stop.

Going to look more at this today and try to find where spells are loaded.
Reply With Quote