View Single Post
  #9  
Old 05-26-2008, 01:29 PM
Davood
Discordant
 
Join Date: Jan 2005
Posts: 488
Default

OK I managed to fix it by "adding" those sql entries instead of running that sql query, (which kills your spell casting data for all npcs!)

so now regular npcs use spells just fine, but my bots still won't cast.

I've updated the spell id numbers in both command.cpp and mobai.cpp

and recompiled.

I have the spell IDs in the 1001 to 1007 range in my sql table and the source.

my "bobb" cleric bot works if I force him back to #ai spellslist 1

but his default 1001 dooesn't work

is there something else in the source, or db that I have to do?
__________________
----------
Demon Overlord of Alakamin
skype @ davoodinator