Thread: ProjectEQ CVS
View Single Post
  #26  
Old 03-16-2008, 09:03 AM
cavedude's Avatar
cavedude
The PEQ Dude
 
Join Date: Apr 2003
Location: -
Posts: 1,988
Default

Seeing that the bots are becoming more popular and polished, I added two files to the CVS, bot_npcs.bat and bot_npcs.sh.

They simply will dump your current NPC bots to bot_npcs.sql, so that they can be sourced back in after you do a DB update.

Windows users:

1. Open bot.npcs.bat with notepad or similar and change peq to the name of your database.
2. Then, run the .bat file. It will create a new file called bot_npcs.sql in the same directory.
3. Update your database as normal.
4. Source in bot_npcs.sql

That's it!

Linux users do the same except using bot_npcs.sh. Make sure it's marked executable, and you run it as ./bot_npcs.sh

Of course, you will need to repeat this every time you update your database, or your bot NPCs will be lost.

The next version of the installer (which will offer a db update feature) will do this automatically.
Reply With Quote