Jump to content

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

XPsave forever ?


  • Please log in to reply
11 replies to this topic

#1
OFFLINE   NiEGaz0wany

NiEGaz0wany

    Member

  • Members
  • PipPip
  • 45 posts
0
Unknown
With this settings i have the xpsave forever ?


// Logs
set g_log "server.log"
set logfile 2
set g_logOptions 0
set g_logAdmin "admin.log"
set g_cheatLog "cheat.log"
set g_adminProtection "7"

// XP Save configuration
set g_XPSave 31
set g_XPSaveMaxAge_xp "30d"
set g_XPSaveMaxAge "12o"
set g_damageXP "1"
set g_damageXPLevel "50"
set g_maxXP "900000"
set g_xpdecay "0"
set g_xpdecayrate "0"
set g_xpdecayfloor "1"
set g_maxXPResetWarn "0"
//set g_punkbuster 1

// Shrubbot and Database
set g_dbDirectory "database"
set g_dbUserMaxAge "12od"
set g_minConnectLevel "0"
// see documentation about tyranny enabled commands and flags
set g_tyranny "1"
set g_greetingPos "0"
set g_warningOptions "3"
set g_warningDecay "24"
set g_maxWarnings "3"
set g_autoTempBan "0"
set g_autoTempBanTime "1800"

#2
OFFLINE   Dr.Tr!be

Dr.Tr!be

    Member

  • Members
  • PipPip
  • 18 posts
0
Unknown
  • Locationparis, FRANCE

With this settings i have the xpsave forever ?


// Logs
set g_log "server.log"
set logfile 2
set g_logOptions 0
set g_logAdmin "admin.log"
set g_cheatLog "cheat.log"
set g_adminProtection "7"

// XP Save configuration
set g_XPSave 31 to 21 <----------------------------- !!!!!!
set g_XPSaveMaxAge_xp "30d"
set g_XPSaveMaxAge "12o"
set g_damageXP "1"
set g_damageXPLevel "50"
set g_maxXP "900000" to -1 <----------------------------- !!!!!!
set g_xpdecay "0"
set g_xpdecayrate "0"
set g_xpdecayfloor "1"
set g_maxXPResetWarn "0"
//set g_punkbuster 1

// Shrubbot and Database
set g_dbDirectory "database"
set g_dbUserMaxAge "12od" to 30d is OK for me <-----------------------------
set g_minConnectLevel "0"
// see documentation about tyranny enabled commands and flags
set g_tyranny "1"
set g_greetingPos "0"
set g_warningOptions "3"
set g_warningDecay "24"
set g_maxWarnings "3"
set g_autoTempBan "0"
set g_autoTempBanTime "1800"


Edited by Dr.JeKylL, 29 December 2011 - 11:42 PM.


#3
OFFLINE   Dr.Tr!be

Dr.Tr!be

    Member

  • Members
  • PipPip
  • 18 posts
0
Unknown
  • Locationparis, FRANCE
it will be forever if the players conect in 30d (days) max.. if he dont conect in this time.. the player will lose his xp

g_XPSaveMaxAge_xp, g_XPSaveMaxAge and g_dbUserMaxAge seems to have same efect.. so both to "12o"

stop me if im wrong :s !!

Edited by Dr.JeKylL, 29 December 2011 - 11:43 PM.


#4
OFFLINE   gaoesa

gaoesa

    Advanced Member

  • Management
  • PipPipPipPip
  • 4391 posts
341
Will become famous
  • LocationFinland
You can set the g_dbUserMaxAge to "" (empty) and the records will be never deleted. I just checked and indeed the g_XPSaveMaxAge_xp and g_XPSaveMaxAge do require values to be set. However, the maximum seems to be little less then 73 years. I think in next version these settings should be something that can be also disabled.

#5
OFFLINE   BettyBoop

BettyBoop

    Regular Member

  • Subscriber
  • PipPipPip
  • 132 posts
11
A step in the right direction
  • LocationFrance
i have the same problems when i play 1 day i keep mine xp but when i back the day later i lost it again
here our settings

// XP Save configuration
set g_dbDirectory "database"
set g_dbUserMaxAge "3o"
set g_XPSave 1
set g_XPSaveMaxAge_xp "30d"
set g_xpsavemaxage "30d"
set g_damageXP "1"
set g_damageXPLevel "50"
set g_maxXP "100000"
set g_xpdecay "0"
set g_xpdecayrate "0"
set g_xpdecayfloor "1"

so if i modify for ?
// XP Save configuration
set g_dbDirectory "database"
set g_dbUserMaxAge ""
set g_XPSave 1 and with 05 ?
set g_XPSaveMaxAge_xp "120d"
set g_XPSaveMaxAge "120d"
set g_damageXP "1"
set g_damageXPLevel "50"
set g_maxXP "100000" and to have it never reseted -1 ?
set g_xpdecay "0"
set g_xpdecayrate "0"
set g_xpdecayfloor "1"

thanks you for helps
we use silent for our second server but i will like to run it on our main but first i need to have the xp saved first

#6
OFFLINE   Dragonji

Dragonji

    Advanced Member

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

set g_XPSave 1 and with 05 ?
(...)
set g_maxXP "100000" and to have it never reseted -1 ?

Try the value of 21 which was suggested on these forums several times.

set g_maxXP "100000" and to have it never reseted -1 ?

Yes, -1.

PS. Everything you're asking for is already explained in this thread.

Edited by Dragon, 30 September 2012 - 11:06 AM.


#7
OFFLINE   BettyBoop

BettyBoop

    Regular Member

  • Subscriber
  • PipPipPip
  • 132 posts
11
A step in the right direction
  • LocationFrance
i did all that
and modified our rotation so after a full server restart , i joined and lost again mine xp

#8
OFFLINE   Dragonji

Dragonji

    Advanced Member

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

i did all that
and modified our rotation so after a full server restart , i joined and lost again mine xp

Are you sure? Please, check with rcon values of both cvars on a living server.

#9
OFFLINE   gaoesa

gaoesa

    Advanced Member

  • Management
  • PipPipPipPip
  • 4391 posts
341
Will become famous
  • LocationFinland
Take a look at this
http://mygamingtalk....tion#silent.cfg

Make sure you do not launch the mod before you have the g_XPSave setting set. This mean that there is no map command executed before it. This kind of problem can happen easily especially if you have multiple config files executed from the command line.

#10
OFFLINE   BettyBoop

BettyBoop

    Regular Member

  • Subscriber
  • PipPipPip
  • 132 posts
11
A step in the right direction
  • LocationFrance
in silent cfg i have these lines at the end
// MAP ROTATION
exec objectivecycle.cfg // Objective mode

// WATCHDOG
// in case the game dies with an ERR_DROP
// or any situation leading to server running with no map
//set com_watchdog 10 // defaults 60
set com_watchdog_cmd "exec objectivecycle.cfg" // defaults to quit

set g_friendlyFireOpts 0
set g_reflectFFWeapons 0

// XP Save configuration
set g_dbDirectory "database"
set g_dbUserMaxAge ""
set g_XPSave 21
set g_XPSaveMaxAge_xp "120d"
set g_XPSaveMaxAge "120d"
set g_damageXP "1"
set g_damageXPLevel "50"
set g_maxXP "-1"
set g_xpdecay "0"
set g_xpdecayrate "0"
set g_xpdecayfloor "1"

so u mean will be better to add these lines

set g_friendlyFireOpts 0
set g_reflectFFWeapons 0
// XP Save configuration
set g_dbDirectory "database"
set g_dbUserMaxAge ""
set g_XPSave 21
set g_XPSaveMaxAge_xp "120d"
set g_XPSaveMaxAge "120d"
set g_damageXP "1"
set g_damageXPLevel "50"
set g_maxXP "-1"
set g_xpdecay "0"
set g_xpdecayrate "0"
set g_xpdecayfloor "1"

before

// MAP ROTATION
exec objectivecycle.cfg // Objective mode
// WATCHDOG
// in case the game dies with an ERR_DROP
// or any situation leading to server running with no map
//set com_watchdog 10 // defaults 60
set com_watchdog_cmd "exec objectivecycle.cfg" // defaults to quit
set g_friendlyFireOpts 0
set g_reflectFFWeapons 0

thanks you

#11
OFFLINE   gaoesa

gaoesa

    Advanced Member

  • Management
  • PipPipPipPip
  • 4391 posts
341
Will become famous
  • LocationFinland
That is indeed how it should be done. Execing the map cycle last.

#12
OFFLINE   BettyBoop

BettyBoop

    Regular Member

  • Subscriber
  • PipPipPip
  • 132 posts
11
A step in the right direction
  • LocationFrance
thanks you




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users