|
|
 |
 |
 |
 |
|
 |
 |
|
 |
 |
|
 |
|
Development::Bots Forum for bots. |

01-10-2010, 03:58 PM
|
Hill Giant
|
|
Join Date: Sep 2009
Posts: 147
|
|
ok... hmmm... a lot has changed in the sources since this thread was originally posted...
Let me see if I have everything straight...
DOES WORK:
-Rev1052 Windows Binaries W/ NEW database
-Rev1086 Linux SVN compile W/ NEW database
DOES NOT WORK:
-Rev1052 Windows Binaries W/ OLD database that's been patched
-Rev 1086 Linux SVN compile W/ OLD database that's been patched
Is this correct?
|

01-10-2010, 04:00 PM
|
 |
Demi-God
|
|
Join Date: Nov 2007
Posts: 2,175
|
|
That was too long ago for me to remember. I am pretty confident though this is a database problem. The binaries seem to not matter on this issue.
What are you patched up to, what revision ?
|

01-10-2010, 04:06 PM
|
Hill Giant
|
|
Join Date: Sep 2009
Posts: 147
|
|
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.
|

01-10-2010, 04:27 PM
|
 |
Demi-God
|
|
Join Date: Nov 2007
Posts: 2,175
|
|
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.
|

01-10-2010, 05:13 PM
|
Hill Giant
|
|
Join Date: Sep 2009
Posts: 147
|
|
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
|

01-10-2010, 06:00 PM
|
 |
Demi-God
|
|
Join Date: Nov 2007
Posts: 2,175
|
|
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.
|

01-10-2010, 07:08 PM
|
 |
Demi-God
|
|
Join Date: Nov 2007
Posts: 2,175
|
|
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 ?
|

01-10-2010, 07:59 PM
|
 |
Demi-God
|
|
Join Date: Nov 2007
Posts: 2,175
|
|
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.
|

01-10-2010, 10:25 PM
|
Hill Giant
|
|
Join Date: Sep 2009
Posts: 147
|
|
Quote:
Originally Posted by provocating
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.
|

01-10-2010, 10:29 PM
|
 |
Demi-God
|
|
Join Date: Nov 2007
Posts: 2,175
|
|
What goes in account_rewards ?
|

01-11-2010, 01:00 AM
|
Hill Giant
|
|
Join Date: Sep 2009
Posts: 147
|
|
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.
|
Thread Tools |
|
Display Modes |
Hybrid Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -4. The time now is 09:00 AM.
|
|
 |
|
 |
|
|
|
 |
|
 |
|
 |