Jump to content

xp no saving after restart server


Bartex PL

Recommended Posts

Hi, i have problem with xp on my server isn,t saving after server restart. First it work when i delete server.cfg but then no.

 

 

// XP Save configuration
set g_XPSave 21
// Only stored XP
set g_XPSaveMaxAge_xp "1825"
// Stored XP and all rating values
set g_XPSaveMaxAge "60o"
set g_damageXP "1"
set g_damageXPLevel "50"
set g_maxXP "-1"
set g_xpdecay "0"
set g_xpdecayrate "0"
set g_xpdecayfloor "1"
//set g_punkbuster 1


// Shrubbot and Database
set g_dbDirectory "database"
set g_dbUserMaxAge "1825d"
set g_minConnectLevel 0

Link to comment
Share on other sites

Make sure there are no other cfgs that might overwrite your settings.

set g_XPSaveMaxAge_xp "1825"
(...)
set g_XPSaveMaxAge "60o"
(...)
set g_dbUserMaxAge "1825d"

I'd suggest to use a fixed value for all of these 3 cvars. Because at the moment it is 1825 seconds for g_XPSaveMaxAge_xp, 60 months for g_XPSaveMaxAge and 1825 days for g_dbUserMaxAge.

Edited by Dragonji
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...