oleczek7 Posted July 5, 2012 Share Posted July 5, 2012 Hi. I have problem with xpsave. I want XP forever, but when I restart server XP gone . I don't know why :/. My XPsave and DB cfg.// XP Save configurationset g_XPSave 31// Only stored XPset g_XPSaveMaxAge_xp "365d"// Stored XP and all rating valuesset g_XPSaveMaxAge "365d"set g_damageXP "1"set g_damageXPLevel "50"set g_maxXP "99999"set g_xpdecay "0"set g_xpdecayrate "0"set g_xpdecayfloor "1"//set g_punkbuster 1 // Shrubbot and Databaseset g_dbDirectory "database"set g_dbUserMaxAge "365d" Please Help me. Quote Link to comment Share on other sites More sharing options...
Management gaoesa Posted July 5, 2012 Management Share Posted July 5, 2012 Does the XP save work over map changes? Please post snippets from the log with the database opening and closing. The very first database entry when the server is restarted may have usefull information if the reset happens only on server restarts. Quote Link to comment Share on other sites More sharing options...
oleczek7 Posted July 5, 2012 Author Share Posted July 5, 2012 (edited) Yes. It's work on next map. Only when I restart server XP gone. Opening: *=====INITIALISING USER DATABASE* Opening user database file userdb.db.* Opening user database file userxdb.db.* User database files open. Caching database.1 players cached from the user database.No additional user records in the user database.*=====DATABASE READY FOR USEEnable spawning!Disable spawning!0 teams with 0 entities----------------------------------- Closing: *=====CLOSING DATABASEBuffers cleaned.Big Memory Cache cleaned.*=====DATABASE IS CLOSEDShutdownGame: done. Closing log. Edited July 5, 2012 by oleczek7 Quote Link to comment Share on other sites More sharing options...
Management gaoesa Posted July 5, 2012 Management Share Posted July 5, 2012 Do you have PB GUID. Just in case your silent guid is changing for any reason. With PB GUID we can be sure that is not the case. Please check the cvar values of g_dbUserMaxAge, g_XPSaveMaxAge and g_XPSaveMaxAge_xp. Also, please make sure that the executed map command is the last to get executed in the server cfg. I.e. exec "objectivecycle.cfg" or what it is that you may be using is executed last. This because the mod loads at that point and if you do not have g_XPSave set to the value before the mod loads it will reset the XP. EDIT:Ment that you should check the 3 cvars using rcon on the server. But I think the most likely reason is wrong order in setting g_XPSave and executing map rotation. Quote Link to comment Share on other sites More sharing options...
Dookie Posted July 6, 2012 Share Posted July 6, 2012 Try using this: set g_XPSave "21"set g_XPSaveMaxAge_xp "12o"set g_XPSaveMaxAge "12o"set g_damageXP "0"set g_damageXPLevel "50"set g_maxXP "-1"set g_xpdecay "0"set g_xpdecayrate "0"set g_xpdecayfloor "0.0" Quote Link to comment Share on other sites More sharing options...
oleczek7 Posted July 6, 2012 Author Share Posted July 6, 2012 (edited) Maybe here is a problem. I don't have PB Guid, but I don't know why. I have etkey and when I type pb_myguid I can see my guid. Picture: http://img155.imageshack.us/img155/8923/beztytuukyb.jpg Dookie I used this and it's doesn't work :/ Edited July 6, 2012 by oleczek7 Quote Link to comment Share on other sites More sharing options...
Management gaoesa Posted July 6, 2012 Management Share Posted July 6, 2012 Do !updatepbguid [name|slot]. It seems that the PB GUID is not stored in the database. The update must be done manually to prevent exploits coming from two unique keys. The issue in the screenshot happens when your record is first created without PB GUID. However, this would imply that a changing silent guid is not the problem. If it was, you would probably have the PB GUID stored because there would be new record created for you. After restarts, do you still have your admin level or does both XP and admin level clear? Quote Link to comment Share on other sites More sharing options...
oleczek7 Posted July 6, 2012 Author Share Posted July 6, 2012 I used !updatepbguid and now I have PB Guid, but stil don't have Xp save :/. I have admin level after restart. Quote Link to comment Share on other sites More sharing options...
Dookie Posted July 6, 2012 Share Posted July 6, 2012 oleczek7, add me on my xfire: znemo I will help you out trought it. thanks! gaoesa 1 Quote Link to comment Share on other sites More sharing options...
oleczek7 Posted July 7, 2012 Author Share Posted July 7, 2012 Ok . I will add you today. Quote Link to comment Share on other sites More sharing options...
Dragonji Posted July 7, 2012 Share Posted July 7, 2012 (edited) Could you post your whole config file? Just hide your passwords first. Edited July 7, 2012 by Dragon oleczek7 1 Quote Link to comment Share on other sites More sharing options...
oleczek7 Posted July 7, 2012 Author Share Posted July 7, 2012 Ok. There is my cfg:// silEnT mod - Sample server.cfg file// If you need help contact us on forums. http://mygamingtalk.com/ // Generic server cvars // //set dedicated 2//set net_ip "localhost"//set net_port 27960 set sv_hostname ""set server_motd0 ""set server_motd1 ""set server_motd2 ""set server_motd3 ""set server_motd4 ""set server_motd5 "" set g_password ""set sv_privateclients 0set sv_privatepassword ""set sv_fullmsg "^1Serwer pelny. ^7Prosze Czekac" set rconpassword ""set refereePassword "" set sv_maxRate 45000set sv_dl_maxRate 42000set sv_allowDownload 1set sv_wwwDownload 1set sv_wwwDlDisconnected 1set sv_wwwBaseURL ""set sv_wwwFallbackURL "" set sv_pure 1set sv_minping 0set sv_maxping 0 // silEnT mod supported cvars set g_antilag 1set g_antiwarp 1set g_maxWarp 4set g_skipCorrection 1set g_heavyWeaponRestriction 100set g_altStopwatchMode 0set g_autofireteams 1set g_complaintlimit 6set g_ipcomplaintlimit 3set g_fastres 0set g_friendlyFire 0set g_disableComplaints 0set g_minGameClients 0set g_maxlives 0set g_alliedmaxlives 0set g_axismaxlives 0set g_teamforcebalance 1set g_noTeamSwitching 0set g_doWarmup 0set g_warmup 15set match_latejoin "1"set match_minplayers 0set match_mutespecs 0set match_readypercent 100set match_warmupDamage 1set team_maxplayers 0set g_speed 320set g_gravity 800set g_knockback 1000set g_inactivity 250set g_spectatorInactivity 250set g_maxConnsPerIP 4set shoutcastPassword ""set g_spoofOptions 3set g_maxNameChanges 3set g_watermark ""set g_watermarkFadeAfter 0set g_watermarkFadeTime 0set g_inactivityOptions 3set g_ettvFlags 3set g_userAlliedRespawnTime 15set g_userAxisRespawnTime 15set g_ammoCabinetTime 2set g_healthCabinetTime 2 // Votesset g_voting 1set vote_limit 2set vote_percent 51set g_noVoteTime 0set vote_allow_comp 0set vote_allow_gametype 0set vote_allow_kick 0set vote_allow_map 0set vote_allow_matchreset 0set vote_allow_mutespecs 0set vote_allow_nextmap 1set vote_allow_pub 0set vote_allow_referee 0set vote_allow_shuffleteamsxp 0set vote_allow_swapteams 0set vote_allow_friendlyfire 0set vote_allow_timelimit 0set vote_allow_warmupdamage 0set vote_allow_antilag 0set vote_allow_balancedteams 0set vote_allow_muting 0set vote_allow_surrender 0set vote_allow_nextcampaign 0set vote_allow_restartcampaign 0set vote_allow_poll 1set vote_allow_maprestart 0set vote_allow_shufflenorestart 0set vote_allow_cointoss 0 // Logsset g_log "server.log"set g_cheatLog "cheat.log"set logfile 2set g_logOptions 0set g_logAdmin "admin.log" // XP Save configurationset g_XPSave "21"set g_XPSaveMaxAge_xp "12o"set g_XPSaveMaxAge "12o"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_maxXPResetWarn "0" // Shrubbot and Databaseset g_dbDirectory "database"set g_dbUserMaxAge "12o"set g_minConnectLevel 0// see documentation about tyranny enabled commands and flagsset g_tyranny 1set g_greetingPos 0set g_warningOptions 11set g_warningDecay 24set g_maxWarnings 3set g_autoTempBan 6set g_autoTempBanTime 1800 set g_shuffle_rating 3 //// Censoringset g_censor "kutas chuj cipa kurwa pizda jeb fiut fuck"set g_censorNames ""set g_censorNeil 1set g_censorNeilNames 1set g_censorPenalty 24set g_censorMuteTime 60set g_censorXP 15 //// Intermissionset g_intermissionTime 25set g_intermissionReadyPercent 51 //// Skill points needed for levelset 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 1set g_killRating 1set g_playerRating 1set g_playerRating_mapPad 50set g_playerRating_minplayers 8set g_stats 0 // Custom configsset g_mapScriptDirectory "mapscripts"set g_campaignFile ""set g_mapConfigs "mapconfigs"set g_banners "banners.cfg" // Miscellanousset g_skills 3set g_teamDamageRestriction 0set g_minHits 6set g_weapons 366set g_mg42 3set g_goomba 200set g_goombaFlags 23set g_spinCorpse 1set g_teamChangeKills 1set g_poison 1set g_poisonFlags 19set g_slashKill 0set g_spectator 11set g_medics 321set g_medicHealthRegen 0set g_coverts 1283set g_truePing 0set g_dropObj 1set g_hitsounds 1set g_playDead 1set g_shove 1set g_shoveNoZ 0set g_dragCorpse 1set g_classChange 0set g_forceLimboHealth 1set g_privateMessages 1set g_packDistance 20set g_dropHealth 4set g_dropAmmo 4set g_tossDistance 0set g_fear 2000set g_obituary 1set g_throwableKnives 1set g_maxKnives 5set g_knifeChargeTime 800set g_constructibleXPSharing 1set g_asblock 0set g_panzersVulnerable 0set g_panzersSpeed 2500set g_panzersGravity 0set g_realHead 1set g_dyno 28set g_canisterKick 0set g_spreeOptions 703set g_multikillTime 3000set g_medicSelfhealTime 0set g_maxPanzerSuicides -1set g_panzerPackDistance 0set g_maxSelfkills -1set g_voteResultsMinLevel -1set g_minCommandWaitTime 0set g_noSkillUpgrades 0set g_flushItems 1set g_headshot 0set g_instagibDamage 400set g_staminaRecharge 1.0set g_mineid 1set g_tactics 0set g_landmineNotifyType 1 //// Weapon damages and radius settingsset g_dmgKnife 10set g_dmgSten 14set g_dmgFG42 15set g_dmgPistol 18set g_dmgSMG 18set g_dmgPPSh 19set g_dmgMG42 18set g_dmgMG 20set g_dmgFG42Scope 30set g_dmgInfRifle 34set g_dmgSniper 50set g_dmgFlamer 5set g_dmgGrenade 250set g_dmgGrenadeRadius 250set g_dmgGLauncher 250set g_dmgGLauncherRadius 250set g_dmgLandmine 250set g_dmgLandmineRadius 250set g_dmgSatchel 250set g_dmgSatchelRadius 250set g_dmgPanzer 400set g_dmgPanzerRadius 300set g_dmgMortar 400set g_dmgMortarRadius 400set g_dmgDynamite 400set g_dmgDynamiteRadius 400set g_dmgAir 400set g_dmgAirRadius 400set g_dmgArty 400set g_dmgArtyRadius 400set g_dmg 0set g_dmgHeadShotMin 50set g_dmgHeadShotRatio 2.0set g_dmgTMine 260set g_knifeThrowDamage 50set g_classWeapons 7 //// Team restrictionsset team_maxMedics -1set team_maxEngineers -1set team_maxFieldOps -1set team_maxCovertOps -1set g_maxTeamLandmines 20set g_maxTeamTripmines 3set team_maxPanzers 0set team_maxMortars 1set team_maxFlamers 1set team_maxMG42s 1set team_maxGrenLaunchers 2 //// Friendly fireset g_reflectFriendlyFire 0set g_reflectFFWeapons 31set g_friendlyFireOpts 0 //// Flood protectionset g_floodprotect 1set g_floodthreshold 6set g_floodWait 1000set g_voiceChatsAllowed 4 //// Map votingset g_mapVoteFlags0set g_maxMapsVotedFor 22set g_minMapAge 5set g_resetXPMapCount 0set g_excludedMaps ":fueldump:goldrush:" //// Omni-botsset omnibot_enable 0set omnibot_path ""set g_bot_maxXP -1set g_bot_minPlayers -1set 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 1 //// ETPub experimental, not advised to useset g_fixedphysics 0set g_fixedphysicsfps 125 //// Lua APIset lua_modules "autopromotion.lua"set lua_allowedModules "" exec mapvotecycle.cfgset com_watchdog 60set com_watchdog_cmd "exec mapvotecycle.cfg" Quote Link to comment Share on other sites More sharing options...
Management gaoesa Posted July 7, 2012 Management Share Posted July 7, 2012 The cfg looks good. Could you please post the command line also? Quote Link to comment Share on other sites More sharing options...
oleczek7 Posted July 7, 2012 Author Share Posted July 7, 2012 Sorry, but I don't understand what command line ? Quote Link to comment Share on other sites More sharing options...
Management gaoesa Posted July 7, 2012 Management Share Posted July 7, 2012 This etded +set fs_game silent ... +exec silent.cfg Quote Link to comment Share on other sites More sharing options...
oleczek7 Posted July 7, 2012 Author Share Posted July 7, 2012 etded.x86 +set fs_basepath /home/servers/s25353 +set fs_homepath /home/servers/s25353 +set dedicated 2 +exec server.cfg +set net_strict 1 +set sv_maxclients 14 +set net_ip 80.82.16.66 +set fs_game silent +exec silent.cfg +set net_port 27992 . Only this I can change => +set fs_game silent +exec silent.cfg rest are blocked Quote Link to comment Share on other sites More sharing options...
Management gaoesa Posted July 7, 2012 Management Share Posted July 7, 2012 Please check the server.cfg does not have a map command or exec objectivecycle.cfg or anything. Would be better if you could post it here. Just remove any private data from it if necessary. Quote Link to comment Share on other sites More sharing options...
oleczek7 Posted July 7, 2012 Author Share Posted July 7, 2012 set dedicated "2" // 1: dedicated server for lan 2: dedicated server for internet // PASSWORDS & CLIENTS set g_password "serverpassons"set sv_privateclients "0" // if set > 0, then this number of client slots will be reserved for connectionsset sv_privatepassword "" // that have "password" set to the value of "sv_privatePassword"set rconpassword "rconpassons"set refereePassword "" // referee status password // DL, RATE set sv_maxRate "13000" // 10000 standard but poor for ET set sv_dl_maxRate "42000" // increase/decerease if you have plenty/little spare bandwidth set sv_allowDownload "0" // global toggle for both legacy download and web downloadset sv_wwwDownload "0" // toggle to enable web downloadset sv_wwwBaseURL "" // base URL for redirectionset sv_wwwDlDisconnected "0" // tell clients to perform their downloads while disconnected from the serverset sv_wwwFallbackURL "" // URL to send to if an http/ftp fails or is refused client side // MOTD ETC set sv_hostname "Enemy Territory @ Zabijaka.pl"set server_motd0 " ^NEnemy Territory ^7MOTD " // message in right corner of join screen hereset server_motd1 ""set server_motd2 ""set server_motd3 ""set server_motd4 ""set server_motd5 "" // MISC SETTINGS set g_heavyWeaponRestriction "100"set g_antilag "1"set g_altStopwatchMode "0"set g_autofireteams "1"set g_complaintlimit "6"set g_ipcomplaintlimit "3"set g_fastres "0"set g_friendlyFire "1"//set g_gametype "4" // Game type should be set from map rotation scriptset g_minGameClients "8"set g_maxlives "0"set g_alliedmaxlives "0"set g_axismaxlives "0"set g_teamforcebalance "1"set g_noTeamSwitching "0"set g_voiceChatsAllowed "4"set g_doWarmup "0"set g_warmup "30"set g_spectatorInactivity "0"set sv_floodProtect "1"set sv_allowDownload "1"set sv_pure "1"set sv_minping "0"set sv_maxping "0"set match_latejoin "1"set match_minplayers "4"set match_mutespecs "0"set match_readypercent "100"set match_timeoutcount "0"set match_warmupDamage "1"set team_maxplayers "0"set team_nocontrols "1"set pmove_fixed "0"set pmove_msec "8" // LMS ONLY SETTINGS set g_lms_teamForceBalance "1"set g_lms_roundlimit "3"set g_lms_matchlimit "2"set g_lms_currentMatch "0"set g_lms_lockTeams "0"set g_lms_followTeamOnly "1" // VOTING set g_allowVote "1"set vote_limit "5"set vote_percent "50"set vote_allow_comp "1"set vote_allow_gametype "1"set vote_allow_kick "1"set vote_allow_map "1"set vote_allow_matchreset "1"set vote_allow_mutespecs "1"set vote_allow_nextmap "1"set vote_allow_pub "1"set vote_allow_referee "0"set vote_allow_shuffleteams "1"set vote_allow_swapteams "1"set vote_allow_friendlyfire "1"set vote_allow_timelimit "0"set vote_allow_warmupdamage "1"set vote_allow_antilag "1"set vote_allow_balancedteams "1"set vote_allow_muting "1" // PUNKBUSTER // sv_punkbuster is a readonly variable. Use +set sv_punkbuster on command line or use the command pb_sv_enable in the console//pb_sv_enable // LOGGING set g_log "etserver.log" // Game loggingset g_logsync 0set logfile 0 // Console logging ( 1: enable 2: enable and sync ) // MAP ROTATION exec campaigncycle.cfg // Campaign mode//exec objectivecycle.cfg // Objective mode//exec lmscycle.cfg // Last Man Standing 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 60set com_watchdog_cmd "exec campaigncycle.cfg" // defaults to quit Quote Link to comment Share on other sites More sharing options...
Management gaoesa Posted July 7, 2012 Management Share Posted July 7, 2012 exec campaigncycle.cfg // Campaign mode This line in the server.cfg seems to be the problem. The campaign cycle does start the mod because it has the map command inside. The watchdog command is probably irrelevant but I recommend removing that one too. It is enough when these are in the silent.cfg. EDIT:The issue is that the server.cfg is executed first and the silent.cfg after. It is better to have only one cfg in the command line to avoid problems. oleczek7 1 Quote Link to comment Share on other sites More sharing options...
oleczek7 Posted July 8, 2012 Author Share Posted July 8, 2012 Thanks man it's work!!! . You are awsome . Quote Link to comment Share on other sites More sharing options...
Management gaoesa Posted July 8, 2012 Management Share Posted July 8, 2012 I'm glad you got it working. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.