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

Development::Bots Forum for bots.

Reply
 
Thread Tools Display Modes
  #31  
Old 01-10-2010, 04:06 PM
prickle
Hill Giant
 
Join Date: Sep 2009
Posts: 147
Default

I'm currently on Rev 1085. It's working fine for me.

Do you still have the new database available?

I have an idea that may get you up and running with a new database and allow you keep your current player characters and bots.
Reply With Quote
  #32  
Old 01-10-2010, 04:27 PM
provocating's Avatar
provocating
Demi-God
 
Join Date: Nov 2007
Posts: 2,175
Default

Well if you meant how I had it up and running before, no sure do not. I wiped and loaded Debian 5. I am so friggin close right now I just backed this guy up and waiting to figure out this last glitch.
Reply With Quote
  #33  
Old 01-10-2010, 05:13 PM
prickle
Hill Giant
 
Join Date: Sep 2009
Posts: 147
Default

Well, here's my idea:

1) Create the new database
2) Source in the necessary files for the new database
3) Configure the server to use the new database
4) Log into the game and verify the bots are working properly

If the bots work the way then you should do the following:
.Log into MySQL (phpMyAdmin or commandline or use whatever database management tool you prefer)
.Access the OLD database
.Export the following tables as flat sql files:

Bot SQL file:
botinventory
bots

Character Data SQL file:
character_
character_activities
character_enabledtasks
character_tasks
inventory

.Access the NEW database
.Import the SQL files you exported above into the new database

Assuming everything works properly with a fresh database the above should achieve your end goal.

Hope this helps
Reply With Quote
  #34  
Old 01-10-2010, 06:00 PM
provocating's Avatar
provocating
Demi-God
 
Join Date: Nov 2007
Posts: 2,175
Default

Yeah, yeah kind of working. I have a new DB and now they zone, cast, group, etc. Trying to get my guys over as we speak.
Reply With Quote
  #35  
Old 01-10-2010, 07:08 PM
provocating's Avatar
provocating
Demi-God
 
Join Date: Nov 2007
Posts: 2,175
Default

Okay I think I have it all. I also moved the keyring and bot inventory over, took a while to get that going.

Other than the inventory, keyrings, etc....anything else need to be moved for the players ?
Reply With Quote
  #36  
Old 01-10-2010, 07:59 PM
provocating's Avatar
provocating
Demi-God
 
Join Date: Nov 2007
Posts: 2,175
Default

Just and FYI for whoever does the bots. On Linux SQL since it is case sensitive it appears the bot code goes lower case but the view is in camel case so.

DROP VIEW IF EXISTS `vwbotgroups`;
CREATE VIEW `vwbotgroups` AS
select g.BotGroupId,
g.BotGroupName,
g.BotGroupLeaderBotId,
b.Name as BotGroupLeaderName,
b.BotOwnerCharacterId,
c.name as BotOwnerCharacterName
from botgroup as g
join bots as b on g.BotGroupLeaderBotId = b.BotID
join character_ as c on b.BotOwnerCharacterID = c.id
order by b.BotOwnerCharacterId, g.BotGroupName;


Is what I had to doctor to make the grouping work.
Reply With Quote
  #37  
Old 01-10-2010, 10:25 PM
prickle
Hill Giant
 
Join Date: Sep 2009
Posts: 147
Default

Quote:
Originally Posted by provocating View Post
Okay I think I have it all. I also moved the keyring and bot inventory over, took a while to get that going.

Other than the inventory, keyrings, etc....anything else need to be moved for the players ?
hmmmm... if you have multiple people that play on the server you'll want to copy over the following tables as well:

account
account_ip
account_rewards

Possibly the "mail" table as well.
Reply With Quote
  #38  
Old 01-10-2010, 10:29 PM
provocating's Avatar
provocating
Demi-God
 
Join Date: Nov 2007
Posts: 2,175
Default

What goes in account_rewards ?
Reply With Quote
  #39  
Old 01-11-2010, 01:00 AM
prickle
Hill Giant
 
Join Date: Sep 2009
Posts: 147
Default

i'm not entirely sure to be honest. Mine is empty. If yours is empty too, then there is no need to import that data into the new database.
Reply With Quote
Reply


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:04 AM.


 

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 - 2024, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3