Saving XP problem with mysql
Posted: Sat Dec 10, 2005 9:24 am
Hi,
I am running:
War3ft vs. 2.2.9
Amxmodx 1.60
metamod 1.18p26
mysql 4.0.25
The OS is linux
// Warcraft 3 Frozen Throne Configuration File
mp_savexp 1
sv_sql 1
FT_saveby 0
// SQL configuration
FT_sql_host "127.0.0.1"
FT_sql_user "*****"
FT_sql_pass "*******"
FT_sql_db "******"
FT_auto_pruning 1
sv_daysbeforedelete 31
sv_sqltablename "war3users"
sv_save_end_round 1
Now to the problem:
I recently moved my server to a provider that furnishes a mysql db with the server. I converted my old vault using Gessu's tool with no problem. When I join the server it shows all my xp and works no problem. I have been getting complaints about xp getting reset on map change so for an experiment I joined the server and picked a race that i have no xp in. I played a few rounds and then left the server and came back. When I was asked to choose a race the xp was showing up, BUT when I chose the race then it showed a 0 xp. I have checked the db and it is saving everyones xp because the file is getting bigger and bigger everyday but when they choose race on next map it is gone even though it is in the db. The exception is people who already had xp that was converted from the vault. They have their xp that was converted, I dont think that it is increasing though.
Thanks,
I am running:
War3ft vs. 2.2.9
Amxmodx 1.60
metamod 1.18p26
mysql 4.0.25
The OS is linux
// Warcraft 3 Frozen Throne Configuration File
mp_savexp 1
sv_sql 1
FT_saveby 0
// SQL configuration
FT_sql_host "127.0.0.1"
FT_sql_user "*****"
FT_sql_pass "*******"
FT_sql_db "******"
FT_auto_pruning 1
sv_daysbeforedelete 31
sv_sqltablename "war3users"
sv_save_end_round 1
Now to the problem:
I recently moved my server to a provider that furnishes a mysql db with the server. I converted my old vault using Gessu's tool with no problem. When I join the server it shows all my xp and works no problem. I have been getting complaints about xp getting reset on map change so for an experiment I joined the server and picked a race that i have no xp in. I played a few rounds and then left the server and came back. When I was asked to choose a race the xp was showing up, BUT when I chose the race then it showed a 0 xp. I have checked the db and it is saving everyones xp because the file is getting bigger and bigger everyday but when they choose race on next map it is gone even though it is in the db. The exception is people who already had xp that was converted from the vault. They have their xp that was converted, I dont think that it is increasing though.
Thanks,