Jump to content

XPsave forever ?


NiEGaz0wany

Recommended Posts

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"

Link to comment
Share on other sites

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
Link to comment
Share on other sites

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
Link to comment
Share on other sites

  • Management
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.
Link to comment
Share on other sites

  • 9 months later...
  • Subscriber

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

Link to comment
Share on other sites

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
Link to comment
Share on other sites

  • Management

Take a look at this

http://mygamingtalk.com/wiki/index.php/Silent_Mod_Installation#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.

Link to comment
Share on other sites

  • Subscriber

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

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...