View Single Post
  #530  
Old 05-26-2008, 02:32 PM
Congdar
Developer
 
Join Date: Jul 2007
Location: my own little world
Posts: 751
Default

Quote:
Originally Posted by Davood View Post
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?
it's mob.cpp, not mobai.cpp... hope you change the right stuff. those are the only 2 places spellid is set. There's always been the issue where New or Updated bots need to be spawned and then you must zone and respawn for them to work correctly.





Quote:
Originally Posted by eski2 View Post
i really like the bots idea but i can't see if there's a page here for a newbie to implement this, say using minilogin? I have minimal experience in all of this and am struggling, despite my excitement with the idea. I love playing different classes and would really enjoy being able to give equipment to my bots. I know it's not as good as having real people, but for someone who's always soloing, it is the next best thing.

I use win vista 64. Ideally i'd like to be able to integrate the changes into my existing campaign, and keep my characters and custom items, but i'd wipe nd start again if it was the only way to try with bots following me about. I imagine the AI must allow for some of it already; after all, npcs heal their mates when badly wounded, and buff everyone as soon as they spawn?

I imagine going raiding with bots could be amusing, unless it's a zerg fest, and having bots fall in lava or whatever could be horribly frustrating, but speaking as someone who never got to fight in proper raids, this would be the next best thing.

If you have overcome the regular issues with vista and multi-core cpu's and can get it all running, then adding bots is not difficult. You don't have to lose your existing characters or anything, just merge the bot source in with your exiting source. Hopefully you are using my latest 1108 version.