Xp convertion
Moderator: Forum Moderator
Xp convertion
Hi, i really really want to update my server from RC5.0 to RC6.0 or RC7.0 , but then my players loose all there xp ; any chance on an official script release to convert the tables?
plzzzzz
plzzzzz
Here is the RC5 and RC6 structures for you
- Attachments
-
- rc5_and_rc6_structures.zip
- Structures for RC5 and RC6 (MySQL)
- (1.11 KiB) Downloaded 1147 times
Well ok 2nd day now...
Anyways... all i can see is that the table names are different...so try this: (After a !!!BACKUP!!!)
I guess it should work but this would be TOO easy^^...
Anyways, try it...
Anyways... all i can see is that the table names are different...so try this: (After a !!!BACKUP!!!)
Code: Select all
ALTER TABLE wc3players RENAME AS wc3_player;
ALTER TABLE wc3_skills RENAME AS wc3_player_skill;
ALTER TABLE wc3_race RENAME AS wc3_player_race;
DROP TABLE wc3_web_skills;
DROP TABLE wc3_web_races;
Anyways, try it...
i tried it out , i copied the war3users to a diffrent database i have , just to be sure :
this error i received :
SQL-query:
ALTER TABLE wc3players RENAME AS wc3_player;
MySQL retourneerde: Documentatie
#1146 - Table 'senne_amxxft.wc3players' doesn't exist
i think you have the wrong table names :
rc5.0 :
table war3users :
playerid
playerip
playername
xp
race
skill1
skill2
skill3
skill4
time
manix gave you the wrong structures
this error i received :
SQL-query:
ALTER TABLE wc3players RENAME AS wc3_player;
MySQL retourneerde: Documentatie
#1146 - Table 'senne_amxxft.wc3players' doesn't exist
i think you have the wrong table names :
rc5.0 :
table war3users :
playerid
playerip
playername
xp
race
skill1
skill2
skill3
skill4
time
manix gave you the wrong structures

- YamiKaitou
- Forum Moderator
- Posts: 1925
- Joined: Wed Feb 01, 2006 4:33 pm
- Contact:
RC6 uses a new database format. There will be an xp conversion installed in the mod. It might already be in RC7, not sure though. But, I am 100% certain that it will be in Final, Geesu said so.
Maybe, just maybe, if I have time and feel like it, I might ask for a copy of your table so I can convert it. But, that is just a maybe
Maybe, just maybe, if I have time and feel like it, I might ask for a copy of your table so I can convert it. But, that is just a maybe
No support via PM or Email
-
- WC3Mods Donor
- Posts: 223
- Joined: Thu Mar 09, 2006 6:05 pm
- Location: Germany
- Contact:
- YamiKaitou
- Forum Moderator
- Posts: 1925
- Joined: Wed Feb 01, 2006 4:33 pm
- Contact:
- YamiKaitou
- Forum Moderator
- Posts: 1925
- Joined: Wed Feb 01, 2006 4:33 pm
- Contact:
Can i just use thee same database connection details as the previous one?YamiKaitou wrote:If upgradng to RC7 doesn't work, then go ahead and send me a copy of your database so I can attempt to translate it
will the new one delete the old one or just make new tables? (yea ii backup always

EDIT : did the update to the same database , xp reseted and new tables were created.
mysql database is in the attachment , altho if you could write me the lines to make it convert ?
Or if you guys are gonna keep the same mysql setup as now, you might wanne consider making an convertion tool/guide? if not to much trouble

- Attachments
-
- amxxft.sql.gz
- (146.24 KiB) Downloaded 1126 times
- YamiKaitou
- Forum Moderator
- Posts: 1925
- Joined: Wed Feb 01, 2006 4:33 pm
- Contact:
If 3.0 Final is not that far away , i would wait bec i dont wanne cause to much trouble for you.YamiKaitou wrote:The xp will convert auto in 3.0 Final. When I translate yours, it will be using the new database setup. Everything else will stay the same, same host, user, pass, and database. The only thing that will change will be the table names