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&Admin Level dont Save

- - - - -

  • Please log in to reply
32 replies to this topic

#1
OFFLINE   LGsmokey

LGsmokey

    Member

  • Members
  • PipPip
  • 18 posts
0
Unknown
Hello all,

I just opened a Silent Mod server Version 0.5.1 and i cant get the Xp & Admin levels to be Saved.. i tried everything now, checked every site and i cant solve this anoying problem..

So here is my server.cfg:




// silEnT mod - Sample server.cfg file
// If you need help contact us on forums. http://mygamingtalk.com/

// Generic server cvars //

//Execute the silent.cfg
exec "silent.cfg"

// Map Rotation
exec campaigncycle.cfg


set sv_hostname " ^d'S^7ileN^dT^1XPSave4Ever"
set server_motd0 "^d*** ^7Welcome ^d***"
set server_motd1 "^d*** ^7Liberty Gaming ^d***"
set server_motd2 "^d*** ^7Founding Fathers ^d***"
set server_motd3 "^d*** ^7Purecoke&Smokey ^d**"
set server_motd4 "^d*** ^7Www.lgclan.net ^d***"
set server_motd5 "^d*** ^7We Are Recruiting!^d***"

set g_password ""
set sv_privateclients 0
set sv_privatepassword ""
set sv_fullmsg "This Server is Full.. Please try 1 of our other servers!"

set rconpassword "XXXXX"
set refereePassword "XXXXXX"

set sv_maxRate 45000
set sv_dl_maxRate 42000
set sv_allowDownload 1
set sv_wwwDownload 1
set sv_wwwDlDisconnected 1
set sv_wwwBaseURL "http://wolfa-hosting...eu/redirect/et"
set sv_wwwFallbackURL ""

set sv_pure 1
set sv_minping 0
set sv_maxping 0

// silEnT mod supported cvars

set g_antilag 1
set g_antiwarp 1
set g_maxWarp 4
set g_skipCorrection 1
set g_heavyWeaponRestriction 100
set g_altStopwatchMode 0
set g_autofireteams 1
set g_complaintlimit 6
set g_ipcomplaintlimit 3
set g_fastres 1
set g_friendlyFire 1
set g_disableComplaints 0
set g_minGameClients 0
set g_maxlives 0
set g_alliedmaxlives 0
set g_axismaxlives 0
set g_teamforcebalance 0
set g_noTeamSwitching 0
set g_doWarmup 0
set g_warmup 20
set match_latejoin "1"
set match_minplayers 4
set match_mutespecs 0
set match_readypercent 100
set match_warmupDamage 1
set team_maxplayers 0
set g_speed 325
set g_gravity 800
set g_knockback 1000
set g_inactivity 0
set g_spectatorInactivity 0
set g_maxConnsPerIP 4
set shoutcastPassword "qwerty"
set g_spoofOptions 3
set g_maxNameChanges 3
set g_watermark ""
set g_watermarkFadeAfter 0
set g_watermarkFadeTime 0
set g_inactivityOptions 3
set g_ettvFlags 3

// Votes
set g_voting 0
set vote_limit 2
set vote_percent 50
set g_noVoteTime 0
set vote_allow_comp 0
set vote_allow_gametype 0
set vote_allow_kick 0
set vote_allow_map 0
set vote_allow_matchreset 1
set vote_allow_mutespecs 0
set vote_allow_nextmap 1
set vote_allow_pub 0
set vote_allow_referee 0
set vote_allow_shuffleteamsxp 1
set vote_allow_swapteams 1
set vote_allow_friendlyfire 0
set vote_allow_timelimit 0
set vote_allow_warmupdamage 0
set vote_allow_antilag 0
set vote_allow_balancedteams 0
set vote_allow_muting 0
set vote_allow_surrender 0
set vote_allow_nextcampaign 0
set vote_allow_restartcampaign 0
set vote_allow_poll 1
set vote_allow_maprestart 0
set vote_allow_shufflenorestart 0
set vote_allow_cointoss 0

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

// XP Save configuration
set g_XPSave "4"
// Only stored XP
set g_XPSaveMaxAge_xp "-1"
// Stored XP and all rating values
set g_XPSaveMaxAge "-1"
set g_XPSaveMinXP "0"
set g_damageXP "1"
set g_damageXPLevel "50"
set g_maxXP "-1"
set g_xpdecay "0"
set g_xpdecayrate "0.0"
set g_xpdecayfloor "0"
//set g_punkbuster 1


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

set g_shuffle_rating 3

//
// Censoring
set g_censor ""
set g_censorNames ""
set g_censorNeil 0
set g_censorNeilNames 0
set g_censorPenalty 0
set g_censorMuteTime 120
set g_censorXP 5

//
// Intermission
set g_intermissionTime 45
set g_intermissionReadyPercent 100

//
// Skill points needed for level
set skill_soldier "20 50 90 140"
set skill_medic "20 50 90 140"
set skill_engineer "20 50 90 140"
set skill_fieldops "20 50 90 140"
set skill_covertops "20 50 90 140"
set skill_battlesense "20 50 90 140"
set skill_lightweapons "20 50 90 140"

set g_serverInfo 1
set g_killRating 1
set g_playerRating 1
set g_playerRating_mapPad 50
set g_playerRating_minplayers 8
set g_stats 1


// Custom configs
set g_mapScriptDirectory ""
set g_campaignFile ""
set g_mapConfigs ""
set g_banners "banners.cfg"


// Miscellanous
set g_skills 0
set g_teamDamageRestriction 0
set g_minHits 6
set g_weapons 0
set g_mg42 0
set g_goomba 100
set g_goombaFlags 0
set g_spinCorpse 0
set g_teamChangeKills 1
set g_poison 0
set g_poisonFlags 7
set g_slashKill 0
set g_spectator 2
set g_medics 0
set g_medicHealthRegen 0
set g_coverts 0
set g_truePing 0
set g_dropObj 0
set g_hitsounds 1
set g_playDead 1
set g_shove 0
set g_shoveNoZ 0
set g_dragCorpse 1
set g_classChange 1
set g_forceLimboHealth 1
set g_privateMessages 1
set g_packDistance 5
set g_dropHealth 3
set g_dropAmmo 3
set g_tossDistance 0
set g_fear 2000
set g_obituary 1
set g_throwableKnives 1
set g_maxKnives 5
set g_knifeChargeTime 800
set g_constructibleXPSharing 0
set g_asblock 0
set g_panzersVulnerable 0
set g_panzersSpeed 2500
set g_panzersGravity 0
set g_realHead 1
set g_dyno 0
set g_canisterKick 0
set g_spreeOptions 0
set g_multikillTime 1000
set g_medicSelfhealTime 0
set g_maxPanzerSuicides -1
set g_panzerPackDistance 0
set g_maxSelfkills -1
set g_voteResultsMinLevel -1
set g_minCommandWaitTime 0
set g_noSkillUpgrades 0
set g_flushItems 1
set g_headshot 0
set g_instagibDamage 400
set g_staminaRecharge 1.5
set g_mineid 1
set g_tactics 0
set g_landmineNotifyType 1

//
// Weapon damages and radius settings
set g_dmgKnife 10
set g_dmgSten 14
set g_dmgFG42 15
set g_dmgPistol 18
set g_dmgSMG 18
set g_dmgPPSh 19
set g_dmgMG42 18
set g_dmgMG 20
set g_dmgFG42Scope 30
set g_dmgInfRifle 34
set g_dmgSniper 50
set g_dmgFlamer 5
set g_dmgGrenade 250
set g_dmgGrenadeRadius 250
set g_dmgGLauncher 250
set g_dmgGLauncherRadius 250
set g_dmgLandmine 250
set g_dmgLandmineRadius 250
set g_dmgSatchel 250
set g_dmgSatchelRadius 250
set g_dmgPanzer 400
set g_dmgPanzerRadius 300
set g_dmgMortar 400
set g_dmgMortarRadius 400
set g_dmgDynamite 400
set g_dmgDynamiteRadius 400
set g_dmgAir 400
set g_dmgAirRadius 400
set g_dmgArty 400
set g_dmgArtyRadius 400
set g_dmg 0
set g_dmgHeadShotMin 50
set g_dmgHeadShotRatio 2.0
set g_dmgTMine 260
set g_knifeThrowDamage 50

//
// Team restrictions
set team_maxMedics -1
set team_maxEngineers -1
set team_maxFieldOps -1
set team_maxCovertOps -1
set g_maxTeamLandmines 10
set g_maxTeamTripmines 3
set team_maxPanzers 1
set team_maxMortars 1
set team_maxFlamers 1
set team_maxMG42s 1
set team_maxGrenLaunchers 2

//
// Friendly fire
set g_reflectFriendlyFire 0
set g_reflectFFWeapons 31
set g_friendlyFireOpts 0

//
// Flood protection
set g_floodprotect 1
set g_floodthreshold 6
set g_floodWait 1000
set g_voiceChatsAllowed 4

//
// Map voting
set g_mapVoteFlags 13
set g_maxMapsVotedFor 30
set g_minMapAge 5
set g_resetXPMapCount 0

//
// Omni-bots
set omnibot_enable 1
set omnibot_path "/home/lgsmokey/service98/omni-bot"
set g_bot_maxXP -1
set g_bot_minPlayers 10
set omnibot_flags 0

//
// Fun wars
//set g_sniperwar 0
//set g_panzerwar 0
//set g_riflewar 0

//
// Country flags, You need to have GeoIP database installed to use this.
set g_countryFlags 0

//
// ETPub experimental, not advised to use
set g_fixedphysics 0
set g_fixedphysicsfps 125

//
// Lua API
set lua_modules ""
set lua_allowedModules ""

exec objectivecycle.cfg
set com_watchdog 60
set com_watchdog_cmd "
exec schrubbot.cfg
exec userdb.db
exec userxdb.db

#2
OFFLINE   Petbark

Petbark

    Advanced Member

  • Members
  • PipPipPipPip
  • 185 posts
30
Getting Better
We have g_XPSave set to 21 (16+4+1) and this value works for us.

1 Store xp when a client disconnects. This is always required for the XP save to work.
2 Don't reset xp to the pre-map start values on a map restart, shuffle, etc.
4 Never reset xp (ever).
8 Force the disconnection of clients with the same GUID as the connecting client. This is useful in saving the stored XP of players with unreliable network connections since they should still get their stored XP even if reconnecting immediately with a new IP address. This feature is enabled by default unless you have sv_wwwDlDisconnected enabled. sv_wwwDlDisconnected seems to interfere with this feature, so do not enable this flag if you change pk3's on your server often because stored XP will be lost over disconnected downloads.
16 Store the XP at restarts, nextmaps, mapvotes, campaignvotes and similar cases.

#3
OFFLINE   gaoesa

gaoesa

    Advanced Member

  • Management
  • PipPipPipPip
  • 4391 posts
341
Will become famous
  • LocationFinland

exec schrubbot.cfg
exec userdb.db
exec userxdb.db


I don't know if you have made separate configs for categorizing the settings but if you haven't, remove these lines. Also, a thing to know is that all execed configs should be execed before the objectivecycle.cfg because the mod starts as soon as map command is given. For some settings that may be too late.

Could you please read and paste from the log the lines from the map start. There are entrys for database opening and shrubbot parsing.

#4
OFFLINE   LGsmokey

LGsmokey

    Member

  • Members
  • PipPip
  • 18 posts
0
Unknown
I already Tried g_XPSave 21

When i play for 1 minute and got some xp i do: !nextmap and still have my xp but my admin level is gone
But when i do a server restart the xp is gone again to.. or with a reconnect its gone

#5
OFFLINE   LGsmokey

LGsmokey

    Member

  • Members
  • PipPip
  • 18 posts
0
Unknown
here is the log:


0:00 ------------------------------------------------------------
0:00 InitGame: \g_maxConnsPerIP\4\omnibot_playing\0\omnibot_enable\1\mod_url\http://mygamingtalk.com/\mod_version\0.5.1\g_damageXPLevel\50\g_damageXP\1\g_tyranny\1\g_heavyWeaponRestriction\100\g_antilagDelay\0\g_maxlivesRespawnPenalty\0\voteFlags\4352\g_balancedteams\0\g_maxGameClients\0\g_bluelimbotime\20000\g_redlimbotime\30000\gamename\silEnT\g_gametype\6\g_antilag\1\g_voteFlags\0\g_alliedmaxlives\0\g_axismaxlives\0\g_minGameClients\0\g_needpass\0\g_maxlives\0\g_friendlyFire\1\sv_allowAnonymous\0\sv_floodProtect\0\sv_maxPing\0\sv_minPing\0\sv_maxRate\45000\sv_minguidage\0\sv_punkbuster\0\sv_hostname\ ^d'S^7ileN^dT^1XPSave4Ever\sv_privateClients\0\mapname\oasis\protocol\82 imelimit\30\version\ET \sv_maxclients\24
0:00 Start of warmup.
0:00 Cheat logfile open: cheat.log
0:00 *=====INITIALISING USER DATABASE
0:00 * Opening user database file userdb.db.
0:00 Existing database file is for wrong server version or corrupted.
0:00 *=====DATABASE IS NOT IN USE

#6
OFFLINE   Petbark

Petbark

    Advanced Member

  • Members
  • PipPipPipPip
  • 185 posts
30
Getting Better
Did you upgrade from an earlier version of silent or come from a different mod?

#7
OFFLINE   LGsmokey

LGsmokey

    Member

  • Members
  • PipPip
  • 18 posts
0
Unknown
Yes it whas 2.55+

#8
OFFLINE   LGsmokey

LGsmokey

    Member

  • Members
  • PipPip
  • 18 posts
0
Unknown
I had Jaymod and added Silent Mod 0.5.1

#9
OFFLINE   gaoesa

gaoesa

    Advanced Member

  • Management
  • PipPipPipPip
  • 4391 posts
341
Will become famous
  • LocationFinland
Move the userdb.db and the userxdb.db files to somewhere else from the database folder. If you tried to use Jaymod db files they will not work. Each mod uses it's own database system and only ETPub database can be converted to silent mod. If you would have database from older version of silent, any version, it would convert automatically to the required format.

#10
OFFLINE   LGsmokey

LGsmokey

    Member

  • Members
  • PipPip
  • 18 posts
0
Unknown
Oke thx i will try it now

#11
OFFLINE   LGsmokey

LGsmokey

    Member

  • Members
  • PipPip
  • 18 posts
0
Unknown
Oke the database thing is solved, my admin level stays now when nextmap come and /reconnect

But now the Xp.. coz when i do nextmap the xp stays but when i reconnect it doesnt :(

Here my server.cfg:



// silEnT mod - Sample server.cfg file
// If you need help contact us on forums. http://mygamingtalk.com/

// Generic server cvars //
set g_gametype 6
//Execute the silent.cfg
exec "silent.cfg"

// Map Rotation
exec campaigncycle.cfg


set sv_hostname " ^d'S^7ileN^dT^1XPSave4Ever"
set server_motd0 "^d*** ^7Welcome ^d***"
set server_motd1 "^d*** ^7Liberty Gaming ^d***"
set server_motd2 "^d*** ^7Founding Fathers ^d***"
set server_motd3 "^d*** ^7Purecoke&Smokey ^d**"
set server_motd4 "^d*** ^7Www.lgclan.net ^d***"
set server_motd5 "^d*** ^7We Are Recruiting!^d***"

set g_password ""
set sv_privateclients 0
set sv_privatepassword ""
set sv_fullmsg "This Server is Full.. Please try 1 of our other servers!"

set rconpassword "XXX"
set refereePassword "XXX"

set sv_maxRate 45000
set sv_dl_maxRate 42000
set sv_allowDownload 1
set sv_wwwDownload 1
set sv_wwwDlDisconnected 1
set sv_wwwBaseURL "http://wolfa-hosting...eu/redirect/et"
set sv_wwwFallbackURL ""

set sv_pure 1
set sv_minping 0
set sv_maxping 0

// silEnT mod supported cvars

set g_antilag 1
set g_antiwarp 1
set g_maxWarp 4
set g_skipCorrection 1
set g_heavyWeaponRestriction 100
set g_altStopwatchMode 0
set g_autofireteams 1
set g_complaintlimit 6
set g_ipcomplaintlimit 3
set g_fastres 1
set g_friendlyFire 1
set g_disableComplaints 0
set g_minGameClients 0
set g_maxlives 0
set g_alliedmaxlives 0
set g_axismaxlives 0
set g_teamforcebalance 0
set g_noTeamSwitching 0
set g_doWarmup 0
set g_warmup 20
set match_latejoin "1"
set match_minplayers 4
set match_mutespecs 0
set match_readypercent 100
set match_warmupDamage 1
set team_maxplayers 0
set g_speed 325
set g_gravity 800
set g_knockback 1000
set g_inactivity 0
set g_spectatorInactivity 0
set g_maxConnsPerIP 4
set shoutcastPassword "qwerty"
set g_spoofOptions 3
set g_maxNameChanges 3
set g_watermark ""
set g_watermarkFadeAfter 0
set g_watermarkFadeTime 0
set g_inactivityOptions 3
set g_ettvFlags 3

// Votes
set g_voting 0
set vote_limit 2
set vote_percent 50
set g_noVoteTime 0
set vote_allow_comp 0
set vote_allow_gametype 0
set vote_allow_kick 0
set vote_allow_map 0
set vote_allow_matchreset 1
set vote_allow_mutespecs 0
set vote_allow_nextmap 1
set vote_allow_pub 0
set vote_allow_referee 0
set vote_allow_shuffleteamsxp 1
set vote_allow_swapteams 1
set vote_allow_friendlyfire 0
set vote_allow_timelimit 0
set vote_allow_warmupdamage 0
set vote_allow_antilag 0
set vote_allow_balancedteams 0
set vote_allow_muting 0
set vote_allow_surrender 0
set vote_allow_nextcampaign 0
set vote_allow_restartcampaign 0
set vote_allow_poll 1
set vote_allow_maprestart 0
set vote_allow_shufflenorestart 0
set vote_allow_cointoss 0

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

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


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

set g_shuffle_rating 3

//
// Censoring
set g_censor ""
set g_censorNames ""
set g_censorNeil 0
set g_censorNeilNames 0
set g_censorPenalty 0
set g_censorMuteTime 120
set g_censorXP 5

//
// Intermission
set g_intermissionTime 45
set g_intermissionReadyPercent 100

//
// Skill points needed for level
set skill_soldier "20 50 90 140"
set skill_medic "20 50 90 140"
set skill_engineer "20 50 90 140"
set skill_fieldops "20 50 90 140"
set skill_covertops "20 50 90 140"
set skill_battlesense "20 50 90 140"
set skill_lightweapons "20 50 90 140"

set g_serverInfo 1
set g_killRating 1
set g_playerRating 1
set g_playerRating_mapPad 50
set g_playerRating_minplayers 8
set g_stats 1


// Custom configs
set g_mapScriptDirectory ""
set g_campaignFile ""
set g_mapConfigs ""
set g_banners "banners.cfg"


// Miscellanous
set g_skills 0
set g_teamDamageRestriction 0
set g_minHits 6
set g_weapons 0
set g_mg42 0
set g_goomba 100
set g_goombaFlags 0
set g_spinCorpse 0
set g_teamChangeKills 1
set g_poison 0
set g_poisonFlags 7
set g_slashKill 0
set g_spectator 2
set g_medics 0
set g_medicHealthRegen 0
set g_coverts 0
set g_truePing 0
set g_dropObj 0
set g_hitsounds 1
set g_playDead 1
set g_shove 0
set g_shoveNoZ 0
set g_dragCorpse 1
set g_classChange 1
set g_forceLimboHealth 1
set g_privateMessages 1
set g_packDistance 5
set g_dropHealth 3
set g_dropAmmo 3
set g_tossDistance 0
set g_fear 2000
set g_obituary 1
set g_throwableKnives 1
set g_maxKnives 5
set g_knifeChargeTime 800
set g_constructibleXPSharing 0
set g_asblock 0
set g_panzersVulnerable 0
set g_panzersSpeed 2500
set g_panzersGravity 0
set g_realHead 1
set g_dyno 0
set g_canisterKick 0
set g_spreeOptions 0
set g_multikillTime 1000
set g_medicSelfhealTime 0
set g_maxPanzerSuicides -1
set g_panzerPackDistance 0
set g_maxSelfkills -1
set g_voteResultsMinLevel -1
set g_minCommandWaitTime 0
set g_noSkillUpgrades 0
set g_flushItems 1
set g_headshot 0
set g_instagibDamage 400
set g_staminaRecharge 1.5
set g_mineid 1
set g_tactics 0
set g_landmineNotifyType 1

//
// Weapon damages and radius settings
set g_dmgKnife 10
set g_dmgSten 14
set g_dmgFG42 15
set g_dmgPistol 18
set g_dmgSMG 18
set g_dmgPPSh 19
set g_dmgMG42 18
set g_dmgMG 20
set g_dmgFG42Scope 30
set g_dmgInfRifle 34
set g_dmgSniper 50
set g_dmgFlamer 5
set g_dmgGrenade 250
set g_dmgGrenadeRadius 250
set g_dmgGLauncher 250
set g_dmgGLauncherRadius 250
set g_dmgLandmine 250
set g_dmgLandmineRadius 250
set g_dmgSatchel 250
set g_dmgSatchelRadius 250
set g_dmgPanzer 400
set g_dmgPanzerRadius 300
set g_dmgMortar 400
set g_dmgMortarRadius 400
set g_dmgDynamite 400
set g_dmgDynamiteRadius 400
set g_dmgAir 400
set g_dmgAirRadius 400
set g_dmgArty 400
set g_dmgArtyRadius 400
set g_dmg 0
set g_dmgHeadShotMin 50
set g_dmgHeadShotRatio 2.0
set g_dmgTMine 260
set g_knifeThrowDamage 50

//
// Team restrictions
set team_maxMedics -1
set team_maxEngineers -1
set team_maxFieldOps -1
set team_maxCovertOps -1
set g_maxTeamLandmines 10
set g_maxTeamTripmines 3
set team_maxPanzers 1
set team_maxMortars 1
set team_maxFlamers 1
set team_maxMG42s 1
set team_maxGrenLaunchers 2

//
// Friendly fire
set g_reflectFriendlyFire 0
set g_reflectFFWeapons 31
set g_friendlyFireOpts 0

//
// Flood protection
set g_floodprotect 1
set g_floodthreshold 6
set g_floodWait 1000
set g_voiceChatsAllowed 4

//
// Map voting
set g_mapVoteFlags 13
set g_maxMapsVotedFor 30
set g_minMapAge 5
set g_resetXPMapCount 0

//
// Omni-bots
set omnibot_enable 1
set omnibot_path "/home/lgsmokey/service98/omni-bot"
set g_bot_maxXP -1
set g_bot_minPlayers 10
set omnibot_flags 0

//
// Fun wars
//set g_sniperwar 0
//set g_panzerwar 0
//set g_riflewar 0

//
// Country flags, You need to have GeoIP database installed to use this.
set g_countryFlags 0

//
// ETPub experimental, not advised to use
set g_fixedphysics 0
set g_fixedphysicsfps 125

//
// Lua API
set lua_modules ""
set lua_allowedModules ""

exec objectivecycle.cfg
set com_watchdog 60
set com_watchdog_cmd "
exec schrubbot.cfg
exec userdb.db
exec userxdb.db

#12
OFFLINE   gaoesa

gaoesa

    Advanced Member

  • Management
  • PipPipPipPip
  • 4391 posts
341
Will become famous
  • LocationFinland

exec schrubbot.cfg
exec userdb.db
exec userxdb.db


Remove these lines.

In the beginning

// Generic server cvars //
set g_gametype 6
//Execute the silent.cfg
exec "silent.cfg"

// Map Rotation
exec campaigncycle.cfg


If you have all the cvars in this file you don't need to exec silent.cfg. Don't exec campaigncycle.cfg in the beginning of the file. You are executing the objectivecycle.cfg at the end and only one of these cfg files is supposed to be executed. The g_gametype is usually set in the map/campagn cycle cfg files. But it does no harm if it is set in the mod cfg also.

Please post the log information of opening and closing the database again. The xp save settings looked ok with quick look.

#13
OFFLINE   LGsmokey

LGsmokey

    Member

  • Members
  • PipPip
  • 18 posts
0
Unknown
Oke so this is my new server.cfg:


// silEnT mod - Sample server.cfg file
// If you need help contact us on forums. http://mygamingtalk.com/

set g_gametype 6

set sv_hostname " ^d'S^7ileN^dT^1XPSave4Ever"
set server_motd0 "^d*** ^7Welcome ^d***"
set server_motd1 "^d*** ^7Liberty Gaming ^d***"
set server_motd2 "^d*** ^7Founding Fathers ^d***"
set server_motd3 "^d*** ^7Purecoke&Smokey ^d**"
set server_motd4 "^d*** ^7Www.lgclan.net ^d***"
set server_motd5 "^d*** ^7We Are Recruiting!^d***"

set g_password ""
set sv_privateclients 0
set sv_privatepassword ""
set sv_fullmsg "This Server is Full.. Please try 1 of our other servers!"

set rconpassword "xxxx"
set refereePassword "xxxx"

set sv_maxRate 45000
set sv_dl_maxRate 42000
set sv_allowDownload 1
set sv_wwwDownload 1
set sv_wwwDlDisconnected 1
set sv_wwwBaseURL "http://wolfa-hosting...eu/redirect/et"
set sv_wwwFallbackURL ""

set sv_pure 1
set sv_minping 0
set sv_maxping 0

// silEnT mod supported cvars

set g_antilag 1
set g_antiwarp 1
set g_maxWarp 4
set g_skipCorrection 1
set g_heavyWeaponRestriction 100
set g_altStopwatchMode 0
set g_autofireteams 1
set g_complaintlimit 6
set g_ipcomplaintlimit 3
set g_fastres 1
set g_friendlyFire 1
set g_disableComplaints 0
set g_minGameClients 0
set g_maxlives 0
set g_alliedmaxlives 0
set g_axismaxlives 0
set g_teamforcebalance 0
set g_noTeamSwitching 0
set g_doWarmup 0
set g_warmup 20
set match_latejoin "1"
set match_minplayers 4
set match_mutespecs 0
set match_readypercent 100
set match_warmupDamage 1
set team_maxplayers 0
set g_speed 325
set g_gravity 800
set g_knockback 1000
set g_inactivity 0
set g_spectatorInactivity 0
set g_maxConnsPerIP 4
set shoutcastPassword "qwerty"
set g_spoofOptions 3
set g_maxNameChanges 3
set g_watermark ""
set g_watermarkFadeAfter 0
set g_watermarkFadeTime 0
set g_inactivityOptions 3
set g_ettvFlags 3

// Votes
set g_voting 0
set vote_limit 2
set vote_percent 50
set g_noVoteTime 0
set vote_allow_comp 0
set vote_allow_gametype 0
set vote_allow_kick 0
set vote_allow_map 0
set vote_allow_matchreset 1
set vote_allow_mutespecs 0
set vote_allow_nextmap 1
set vote_allow_pub 0
set vote_allow_referee 0
set vote_allow_shuffleteamsxp 1
set vote_allow_swapteams 1
set vote_allow_friendlyfire 0
set vote_allow_timelimit 0
set vote_allow_warmupdamage 0
set vote_allow_antilag 0
set vote_allow_balancedteams 0
set vote_allow_muting 0
set vote_allow_surrender 0
set vote_allow_nextcampaign 0
set vote_allow_restartcampaign 0
set vote_allow_poll 1
set vote_allow_maprestart 0
set vote_allow_shufflenorestart 0
set vote_allow_cointoss 0

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

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


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

set g_shuffle_rating 3

//
// Censoring
set g_censor ""
set g_censorNames ""
set g_censorNeil 0
set g_censorNeilNames 0
set g_censorPenalty 0
set g_censorMuteTime 120
set g_censorXP 5

//
// Intermission
set g_intermissionTime 45
set g_intermissionReadyPercent 100

//
// Skill points needed for level
set skill_soldier "20 50 90 140"
set skill_medic "20 50 90 140"
set skill_engineer "20 50 90 140"
set skill_fieldops "20 50 90 140"
set skill_covertops "20 50 90 140"
set skill_battlesense "20 50 90 140"
set skill_lightweapons "20 50 90 140"

set g_serverInfo 1
set g_killRating 1
set g_playerRating 1
set g_playerRating_mapPad 50
set g_playerRating_minplayers 8
set g_stats 1


// Custom configs
set g_mapScriptDirectory ""
set g_campaignFile ""
set g_mapConfigs ""
set g_banners "banners.cfg"


// Miscellanous
set g_skills 0
set g_teamDamageRestriction 0
set g_minHits 6
set g_weapons 0
set g_mg42 0
set g_goomba 100
set g_goombaFlags 0
set g_spinCorpse 0
set g_teamChangeKills 1
set g_poison 0
set g_poisonFlags 7
set g_slashKill 0
set g_spectator 2
set g_medics 0
set g_medicHealthRegen 0
set g_coverts 0
set g_truePing 0
set g_dropObj 0
set g_hitsounds 1
set g_playDead 1
set g_shove 0
set g_shoveNoZ 0
set g_dragCorpse 1
set g_classChange 1
set g_forceLimboHealth 1
set g_privateMessages 1
set g_packDistance 5
set g_dropHealth 3
set g_dropAmmo 3
set g_tossDistance 0
set g_fear 2000
set g_obituary 1
set g_throwableKnives 1
set g_maxKnives 5
set g_knifeChargeTime 800
set g_constructibleXPSharing 0
set g_asblock 0
set g_panzersVulnerable 0
set g_panzersSpeed 2500
set g_panzersGravity 0
set g_realHead 1
set g_dyno 0
set g_canisterKick 0
set g_spreeOptions 0
set g_multikillTime 1000
set g_medicSelfhealTime 0
set g_maxPanzerSuicides -1
set g_panzerPackDistance 0
set g_maxSelfkills -1
set g_voteResultsMinLevel -1
set g_minCommandWaitTime 0
set g_noSkillUpgrades 0
set g_flushItems 1
set g_headshot 0
set g_instagibDamage 400
set g_staminaRecharge 1.5
set g_mineid 1
set g_tactics 0
set g_landmineNotifyType 1

//
// Weapon damages and radius settings
set g_dmgKnife 10
set g_dmgSten 14
set g_dmgFG42 15
set g_dmgPistol 18
set g_dmgSMG 18
set g_dmgPPSh 19
set g_dmgMG42 18
set g_dmgMG 20
set g_dmgFG42Scope 30
set g_dmgInfRifle 34
set g_dmgSniper 50
set g_dmgFlamer 5
set g_dmgGrenade 250
set g_dmgGrenadeRadius 250
set g_dmgGLauncher 250
set g_dmgGLauncherRadius 250
set g_dmgLandmine 250
set g_dmgLandmineRadius 250
set g_dmgSatchel 250
set g_dmgSatchelRadius 250
set g_dmgPanzer 400
set g_dmgPanzerRadius 300
set g_dmgMortar 400
set g_dmgMortarRadius 400
set g_dmgDynamite 400
set g_dmgDynamiteRadius 400
set g_dmgAir 400
set g_dmgAirRadius 400
set g_dmgArty 400
set g_dmgArtyRadius 400
set g_dmg 0
set g_dmgHeadShotMin 50
set g_dmgHeadShotRatio 2.0
set g_dmgTMine 260
set g_knifeThrowDamage 50

//
// Team restrictions
set team_maxMedics -1
set team_maxEngineers -1
set team_maxFieldOps -1
set team_maxCovertOps -1
set g_maxTeamLandmines 10
set g_maxTeamTripmines 3
set team_maxPanzers 1
set team_maxMortars 1
set team_maxFlamers 1
set team_maxMG42s 1
set team_maxGrenLaunchers 2

//
// Friendly fire
set g_reflectFriendlyFire 0
set g_reflectFFWeapons 31
set g_friendlyFireOpts 0

//
// Flood protection
set g_floodprotect 1
set g_floodthreshold 6
set g_floodWait 1000
set g_voiceChatsAllowed 4

//
// Map voting
set g_mapVoteFlags 13
set g_maxMapsVotedFor 30
set g_minMapAge 5
set g_resetXPMapCount 0

//
// Omni-bots
set omnibot_enable 1
set omnibot_path "/home/lgsmokey/service98/omni-bot"
set g_bot_maxXP -1
set g_bot_minPlayers 10
set omnibot_flags 0

//
// Fun wars
//set g_sniperwar 0
//set g_panzerwar 0
//set g_riflewar 0

//
// Country flags, You need to have GeoIP database installed to use this.
set g_countryFlags 0

//
// ETPub experimental, not advised to use
set g_fixedphysics 0
set g_fixedphysicsfps 125

//
// Lua API
set lua_modules ""
set lua_allowedModules ""

exec objectivecycle.cfg
set com_watchdog 60
set com_watchdog_cmd "

#14
OFFLINE   LGsmokey

LGsmokey

    Member

  • Members
  • PipPip
  • 18 posts
0
Unknown
Starting Log:


0:00 *=====INITIALISING USER DATABASE
0:00 * Opening user database file userdb.db.
0:00 * Opening user database file userxdb.db.
0:00 * User database files open. Caching database.
0:00 23 players cached from the user database.
0:00 No additional user records in the user database.
0:00 *=====DATABASE READY FOR USE

#15
OFFLINE   LGsmokey

LGsmokey

    Member

  • Members
  • PipPip
  • 18 posts
0
Unknown
Closing Logg:


:21 === ShutdownGame -------------------------------------------
0:21 *=====CLOSING DATABASE
0:21 Buffers cleaned.
0:21 Big Memory Cache cleaned.
0:21 *=====DATABASE IS CLOSED
0:21 ShutdownGame: done. Closing log.
0:21 ------------------------------------------------------------
0:21 ------------------------------------------------------------

Starting Logg again:



0:21 *=====INITIALISING USER DATABASE
0:21 * Opening user database file userdb.db.
0:21 * Opening user database file userxdb.db.
0:21 * User database files open. Caching database.
0:21 23 players cached from the user database.
0:21 No additional user records in the user database.
0:21 *=====DATABASE READY FOR USE

#16
OFFLINE   gaoesa

gaoesa

    Advanced Member

  • Management
  • PipPipPipPip
  • 4391 posts
341
Will become famous
  • LocationFinland
It all looks good now and it should save the XP. If it doesn't, I can only guess it might remove expired records after some time. To check this, you should keep an eye in the logs for "database cleanup" when the database closes after maps. Also checking the values of the max age cvars, there are 3 different cvars that can delete xp, with rcon can show if there are accidentally bad values in them. Those cvars are g_dbUserMaxAge, g_XPSaveMaxAge and g_XPSaveMaxAge_xp.

#17
OFFLINE   LGsmokey

LGsmokey

    Member

  • Members
  • PipPip
  • 18 posts
0
Unknown
Its all Solved Guys! Thanks!

I just edited : g_dbUserMaxAge 0 to "g_dbUserMaxAge 999999d" and it whas done ;)

#18
OFFLINE   LGsmokey

LGsmokey

    Member

  • Members
  • PipPip
  • 18 posts
0
Unknown
Hmm It seems that the problem isnt solved yet...
Some people still lose there xp&level sometimes when they disconnected for some time or sometimes when nextmap comes... its really wierd coz some people lost it and others dont.. so i hope you guys know whats the problem now ;)


Here my server.cfg again:



// silEnT mod - Sample server.cfg file
// If you need help contact us on forums. http://mygamingtalk.com/

set g_gametype 6

set sv_hostname" ^d.^7LG^d'S^7ileN^dT^1XPSave4Ever"
set server_motd0 "^d*** ^7Welcome ^d***"
set server_motd1 "^d*** ^7Liberty Gaming ^d***"
set server_motd2 "^d*** ^7Founding Fathers ^d***"
set server_motd3 "^d*** ^7Purecoke&Smokey ^d**"
set server_motd4 "^d*** ^7Www.lgclan.net ^d***"
set server_motd5 "^d*** ^7We Are Recruiting!^d***"

set g_password ""
set sv_privateclients 0
set sv_privatepassword ""
set sv_fullmsg "This Server is Full.. Please try 1 of our other servers!"

set rconpassword "XXXX"
set refereePassword "XXXX"

set sv_maxRate 45000
set sv_dl_maxRate 42000
set sv_allowDownload 1
set sv_wwwDownload 1
set sv_wwwDlDisconnected 1
set sv_wwwBaseURL "http://wolfa-hosting...eu/redirect/et"
set sv_wwwFallbackURL ""

set sv_pure 1
set sv_minping 0
set sv_maxping 0

// silEnT mod supported cvars

set g_antilag 1
set g_antiwarp 1
set g_maxWarp 4
set g_skipCorrection 1
set g_heavyWeaponRestriction 100
set g_altStopwatchMode 0
set g_autofireteams 1
set g_complaintlimit 6
set g_ipcomplaintlimit 3
set g_fastres 1
set g_friendlyFire 1
set g_disableComplaints 0
set g_minGameClients 0
set g_maxlives 0
set g_alliedmaxlives 0
set g_axismaxlives 0
set g_teamforcebalance 0
set g_noTeamSwitching 0
set g_doWarmup 0
set g_warmup 20
set match_latejoin "1"
set match_minplayers 4
set match_mutespecs 0
set match_readypercent 100
set match_warmupDamage 1
set team_maxplayers 0
set g_speed 325
set g_gravity 800
set g_knockback 1000
set g_inactivity 0
set g_spectatorInactivity 0
set g_maxConnsPerIP 4
set shoutcastPassword "qwerty"
set g_spoofOptions 3
set g_maxNameChanges 3
set g_watermark ""
set g_watermarkFadeAfter 0
set g_watermarkFadeTime 0
set g_inactivityOptions 3
set g_ettvFlags 3

// Votes
set g_voting 0
set vote_limit 2
set vote_percent 50
set g_noVoteTime 0
set vote_allow_comp 0
set vote_allow_gametype 0
set vote_allow_kick 0
set vote_allow_map 0
set vote_allow_matchreset 1
set vote_allow_mutespecs 0
set vote_allow_nextmap 0
set vote_allow_pub 0
set vote_allow_referee 0
set vote_allow_shuffleteamsxp 1
set vote_allow_swapteams 1
set vote_allow_friendlyfire 0
set vote_allow_timelimit 0
set vote_allow_warmupdamage 0
set vote_allow_antilag 0
set vote_allow_balancedteams 0
set vote_allow_muting 0
set vote_allow_surrender 0
set vote_allow_nextcampaign 0
set vote_allow_restartcampaign 0
set vote_allow_poll 1
set vote_allow_maprestart 0
set vote_allow_shufflenorestart 0
set vote_allow_cointoss 0

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

// XP Save configuration
set g_XPSave "21"
// Only stored XP
set g_XPSaveMaxAge_xp "9999999d"
// Stored XP and all rating values
set g_XPSaveMaxAge "999999d"
set g_XPSaveMinXP "0"
set g_damageXP "1"
set g_damageXPLevel "50"
set g_maxXP "-1"
set g_xpdecay "0"
set g_xpdecayrate "0.0"
set g_xpdecayfloor "0"
//set g_punkbuster 1


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

set g_shuffle_rating 3

//
// Censoring
set g_censor ""
set g_censorNames ""
set g_censorNeil 0
set g_censorNeilNames 0
set g_censorPenalty 0
set g_censorMuteTime 120
set g_censorXP 5

//
// Intermission
set g_intermissionTime 45
set g_intermissionReadyPercent 100

//
// Skill points needed for level
set skill_soldier "20 50 90 140"
set skill_medic "20 50 90 140"
set skill_engineer "20 50 90 140"
set skill_fieldops "20 50 90 140"
set skill_covertops "20 50 90 140"
set skill_battlesense "20 50 90 140"
set skill_lightweapons "20 50 90 140"

set g_serverInfo 1
set g_killRating 1
set g_playerRating 1
set g_playerRating_mapPad 50
set g_playerRating_minplayers 8
set g_stats 1


// Custom configs
set g_mapScriptDirectory ""
set g_campaignFile ""
set g_mapConfigs ""
set g_banners "banners.cfg"


// Miscellanous
set g_useralliedrespawntime 8
set g_useraxisrespawntime 10
set g_redlimbotime 10
set g_bluelimbotime 10
set g_skills 0
set g_teamDamageRestriction 0
set g_minHits 5
set g_weapons 0
set g_mg42 0
set g_goomba 50
set g_goombaFlags 0
set g_spinCorpse 0
set g_teamChangeKills 1
set g_poison 0
set g_poisonFlags 7
set g_slashKill 0
set g_spectator 2
set g_medics 0
set g_medicHealthRegen 0
set g_coverts 0
set g_truePing 0
set g_dropObj 0
set g_hitsounds 1
set g_playDead 1
set g_shove 0
set g_shoveNoZ 0
set g_dragCorpse 1
set g_classChange 1
set g_forceLimboHealth 1
set g_privateMessages 1
set g_packDistance 5
set g_dropHealth 2
set g_dropAmmo 2
set g_tossDistance 0
set g_fear 2000
set g_obituary 1
set g_throwableKnives 1
set g_maxKnives 5
set g_knifeChargeTime 800
set g_constructibleXPSharing 0
set g_asblock 0
set g_panzersVulnerable 0
set g_panzersSpeed 2500
set g_panzersGravity 0
set g_realHead 1
set g_dyno 0
set g_canisterKick 0
set g_spreeOptions 5
set g_multikillTime 1000
set g_medicSelfhealTime 0
set g_maxPanzerSuicides -1
set g_panzerPackDistance 0
set g_maxSelfkills -1
set g_voteResultsMinLevel -1
set g_minCommandWaitTime 0
set g_noSkillUpgrades 0
set g_flushItems 1
set g_headshot 0
set g_instagibDamage 400
set g_staminaRecharge 2.0
set g_mineid 1
set g_tactics 0
set g_landmineNotifyType 1

//
// Weapon damages and radius settings
set g_dmgKnife 10
set g_dmgSten 14
set g_dmgFG42 15
set g_dmgPistol 18
set g_dmgSMG 18
set g_dmgPPSh 19
set g_dmgMG42 18
set g_dmgMG 20
set g_dmgFG42Scope 30
set g_dmgInfRifle 34
set g_dmgSniper 50
set g_dmgFlamer 5
set g_dmgGrenade 250
set g_dmgGrenadeRadius 250
set g_dmgGLauncher 250
set g_dmgGLauncherRadius 250
set g_dmgLandmine 250
set g_dmgLandmineRadius 250
set g_dmgSatchel 250
set g_dmgSatchelRadius 250
set g_dmgPanzer 400
set g_dmgPanzerRadius 300
set g_dmgMortar 400
set g_dmgMortarRadius 400
set g_dmgDynamite 400
set g_dmgDynamiteRadius 400
set g_dmgAir 400
set g_dmgAirRadius 400
set g_dmgArty 400
set g_dmgArtyRadius 400
set g_dmg 0
set g_dmgHeadShotMin 50
set g_dmgHeadShotRatio 2.0
set g_dmgTMine 260
set g_knifeThrowDamage 50

//
// Team restrictions
set team_maxMedics -1
set team_maxEngineers -1
set team_maxFieldOps -1
set team_maxCovertOps -1
set g_maxTeamLandmines 10
set g_maxTeamTripmines 3
set team_maxPanzers 1
set team_maxMortars 1
set team_maxFlamers 1
set team_maxMG42s 1
set team_maxGrenLaunchers 1

//
// Friendly fire
set g_reflectFriendlyFire 0
set g_reflectFFWeapons 31
set g_friendlyFireOpts 1

//
// Flood protection
set g_floodprotect 1
set g_floodthreshold 6
set g_floodWait 1000
set g_voiceChatsAllowed 4

//
// Map voting
set g_mapVoteFlags 13
set g_maxMapsVotedFor 30
set g_minMapAge 5
set g_resetXPMapCount 0

//
// Omni-bots
set omnibot_enable 1
set omnibot_path
set omnibot_playing 2
"/home/lgsmokey/service98/omni-bot"
set g_bot_maxXP 2500
set g_bot_minPlayers 10
set omnibot_flags 0

//
// Fun wars
//set g_sniperwar 0
//set g_panzerwar 0
//set g_riflewar 0

//
// Country flags, You need to have GeoIP database installed to use this.
set g_countryFlags 0

//
// ETPub experimental, not advised to use
set g_fixedphysics 0
set g_fixedphysicsfps 125

//
// Lua API
set lua_modules ""
set lua_allowedModules ""

exec objectivecycle.cfg
set com_watchdog 60
set com_watchdog_cmd "

#19
OFFLINE   gaoesa

gaoesa

    Advanced Member

  • Management
  • PipPipPipPip
  • 4391 posts
341
Will become famous
  • LocationFinland
If you have QMM mod, uninstall it. There is no way to avoid problems when using it. It might be related also to guid change between 0.5.0 and 0.5.1, if that is the case the issue is solved by players having this problem deleting the old 0.5.0 pk3 from the silent folder.

#20
OFFLINE   LGsmokey

LGsmokey

    Member

  • Members
  • PipPip
  • 18 posts
0
Unknown
I have no QMM installed, and i dont have old 0.5.0 Files coz i Installed 0.5.1 When i opened server

Edited by LGsmokey, 21 May 2012 - 04:01 PM.





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users