AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Tech Support (https://forums.alliedmods.net/forumdisplay.php?f=36)
-   -   Save XP Problem [Superhero server] (https://forums.alliedmods.net/showthread.php?t=242505)

KingJTellem 06-20-2014 12:08

Save XP Problem [Superhero server]
 
Hi i have a Superhero mod live on counter-strike the problem its that every time i restart the server the xp from players are gone how can i fix it?

The shconfig.cfg are set to

//Save XP or restart it from 0 each map.
// 0 - Reset XP each map (Short Term)
// 1 - Save XP (Long Term)
sh_savexp 1

//Key used to save players XP data by.
// 0 - Force save by name/nick
// 1 - Auto-detect, save by SteamID or IP if LAN (default)
// 2 - Force save by IP
sh_saveby 2

//How many days a user's XP is saved after the user's last connection.
//Recommended max setting of 30 for VAULT style saving. Max value is 365.
sh_xpsavedays 90

//Enable this to save XP at end of every round.
//May cause a very small amount of lag at round end with MySQL saving.
// 0 - Disabled
// 1 - Enabled
sh_endroundsave 1

//Give new players an average level of XP based on people already playing. (Setting is ignored with Saved XP)
// 0 - Disabled
// 1 - Enabled
sh_autobalance 0

// *** MySQL Settings, Only needed if using the mysql saving method ***
// Uncomment the cvar lines to enable these settings

//sh_mysql_host "localhost"
//sh_mysql_user "SuperHeroModUser"
//sh_mysql_pass ""
//sh_mysql_db "sherodb"
//sh_mysql_persistent 0

Anybody knows the problem?

Jelle 06-21-2014 07:45

Re: Save XP Problem [Superhero server]
 
Try to save by SteamID instead of saving by IP.

KingJTellem 06-21-2014 08:17

Re: Save XP Problem [Superhero server]
 
thanks thats works


All times are GMT -4. The time now is 19:28.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.