Raised This Month: $12 Target: $400
 3% 

Save XP Problem [Superhero server]


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
KingJTellem
Member
Join Date: Dec 2011
Old 06-20-2014 , 12:08   Save XP Problem [Superhero server]
Reply With Quote #1

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?
KingJTellem is offline
Jelle
[b]MOAR CANDY[/b]
Join Date: Aug 2009
Location: Denmark
Old 06-21-2014 , 07:45   Re: Save XP Problem [Superhero server]
Reply With Quote #2

Try to save by SteamID instead of saving by IP.
__________________
No idea what to write here...
Jelle is offline
Send a message via MSN to Jelle
KingJTellem
Member
Join Date: Dec 2011
Old 06-21-2014 , 08:17   Re: Save XP Problem [Superhero server]
Reply With Quote #3

thanks thats works
KingJTellem is offline
Reply


Thread Tools
Display Modes

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 20:47.


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