Go Back   EQEmulator Home > EQEmulator Forums > Development > Development::Bots

Development::Bots Forum for bots.

Reply
 
Thread Tools Display Modes
  #1  
Old 08-04-2009, 11:28 AM
WildcardX
Developer
 
Join Date: Apr 2003
Posts: 589
Default

Its too bad no one was able to step up and write an import script. I've had my hands full coding, I really don't have the time to write somethign any number of people have the skills to do.

Basically, if you feel you have to recreate your bots, you can attempt to blunt the pain by renaming your exisiting botinventory table to another name like "botinventoryOLD".. then do something like:

Code:
insert into botinventory (BotID, SlotID, ItemID) select npctypeid, slotid, itemid from botinventoryOLD;

update botinventory set BotID = *TODO: Add your bot id from your bots table here for your bot* where BotID = *Your Old Bot ID from EQBOTS*;
MAKE SURE YOU BACKUP YOUR DATABASE FIRST. I am not responsible for tears or emotional damage.
__________________
Read my developer notes at my blog.

Quote:
If it's not on IRC, it ain't l33t!
Reply With Quote
  #2  
Old 08-05-2009, 01:05 PM
laxative
Hill Giant
 
Join Date: Aug 2008
Location: NorthEast
Posts: 116
Default

Hi,

I did a little mysql research, while not completed automated, I did get all my bots back with full inventory.

Further, I find they are easier to deal with and are not doing some of the annoyances that I found before; appearing to lose inventory after database updates, not accepting items unless grouped, poofing during raid creations...

I need to fix up my macros now
Reply With Quote
  #3  
Old 08-05-2009, 03:24 PM
djeryv's Avatar
djeryv
Hill Giant
 
Join Date: Apr 2008
Posts: 238
Default

I had a little trouble myself, but I was kinda lucky. I only had 3 bots total on the server. I just recreated them from scratch and move the botinventory back into the db so they had all their stuff back.

-Djeryv
Reply With Quote
  #4  
Old 08-06-2009, 01:06 AM
gaeorn
Developer
 
Join Date: Apr 2009
Location: USA
Posts: 478
Default

Just committed to SVN a new sql to use that will convert the old style bots and their inventory to the new schema. You can find the file in utils/sql/svn/botsconvert.sql. Use this instead of bots.sql if you wish to convert.

Please be sure to back up your DB before attempting this.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

   

All times are GMT -4. The time now is 10:57 PM.


 

Everquest is a registered trademark of Daybreak Game Company LLC.
EQEmulator is not associated or affiliated in any way with Daybreak Game Company LLC.
Except where otherwise noted, this site is licensed under a Creative Commons License.
       
Powered by vBulletin®, Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3