Jump to content

  • Log in with Facebook Log in with Twitter Log In with Google Log In with Steam Sign In
  • Create Account
Photo

xp no saving after restart server


  • Please log in to reply
4 replies to this topic

#1
OFFLINE   Bartex PL

Bartex PL

    Newbie

  • Members
  • Pip
  • 12 posts
0
Unknown

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



#2
OFFLINE   Dragonji

Dragonji

    Advanced Member

  • Members
  • PipPipPipPip
  • 514 posts
142
On the road to fame
  • LocationPoland

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, 17 March 2013 - 02:29 PM.


#3
OFFLINE   Bartex PL

Bartex PL

    Newbie

  • Members
  • Pip
  • 12 posts
0
Unknown

Can be set ?

 

 

set g_XPSaveMaxAge_xp "60o"
set g_XPSaveMaxAge "60o"
set g_dbUserMaxAge "60o"


Edited by Bartex PL, 17 March 2013 - 02:42 PM.


#4
OFFLINE   Dragonji

Dragonji

    Advanced Member

  • Members
  • PipPipPipPip
  • 514 posts
142
On the road to fame
  • LocationPoland

Sure, but I think that shorter time would be better - 12o (which is 1 year).



#5
OFFLINE   Bartex PL

Bartex PL

    Newbie

  • Members
  • Pip
  • 12 posts
0
Unknown

Thanks for help. Maybe work :)






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users