Jump to content

Silent 0.5.2 problem xpsave


oleczek7

Recommended Posts

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 configuration

set g_XPSave 31

// Only stored XP

set g_XPSaveMaxAge_xp "365d"

// Stored XP and all rating values

set 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 Database

set g_dbDirectory "database"

set g_dbUserMaxAge "365d"

 

 

Please Help me.

Link to comment
Share on other sites

  • Management

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.

Link to comment
Share on other sites

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 USE

Enable spawning!

Disable spawning!

0 teams with 0 entities

-----------------------------------

 

 

Closing:

 

*=====CLOSING DATABASE

Buffers cleaned.

Big Memory Cache cleaned.

*=====DATABASE IS CLOSED

ShutdownGame: done. Closing log.

 

Edited by oleczek7
Link to comment
Share on other sites

  • Management

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.

Link to comment
Share on other sites

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

  • Management

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?

Link to comment
Share on other sites

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 0

set sv_privatepassword ""

set sv_fullmsg "^1Serwer pelny. ^7Prosze Czekac"

 

set rconpassword ""

set refereePassword ""

 

set sv_maxRate 45000

set sv_dl_maxRate 42000

set sv_allowDownload 1

set sv_wwwDownload 1

set sv_wwwDlDisconnected 1

set sv_wwwBaseURL ""

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 0

set g_friendlyFire 0

set g_disableComplaints 0

set g_minGameClients 0

set g_maxlives 0

set g_alliedmaxlives 0

set g_axismaxlives 0

set g_teamforcebalance 1

set g_noTeamSwitching 0

set g_doWarmup 0

set g_warmup 15

set match_latejoin "1"

set match_minplayers 0

set match_mutespecs 0

set match_readypercent 100

set match_warmupDamage 1

set team_maxplayers 0

set g_speed 320

set g_gravity 800

set g_knockback 1000

set g_inactivity 250

set g_spectatorInactivity 250

set g_maxConnsPerIP 4

set shoutcastPassword ""

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

set g_userAlliedRespawnTime 15

set g_userAxisRespawnTime 15

set g_ammoCabinetTime 2

set g_healthCabinetTime 2

 

 

// Votes

set g_voting 1

set vote_limit 2

set vote_percent 51

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 0

set vote_allow_mutespecs 0

set vote_allow_nextmap 1

set vote_allow_pub 0

set vote_allow_referee 0

set vote_allow_shuffleteamsxp 0

set vote_allow_swapteams 0

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"

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 Database

set g_dbDirectory "database"

set g_dbUserMaxAge "12o"

set g_minConnectLevel 0

// see documentation about tyranny enabled commands and flags

set g_tyranny 1

set g_greetingPos 0

set g_warningOptions 11

set g_warningDecay 24

set g_maxWarnings 3

set g_autoTempBan 6

set g_autoTempBanTime 1800

 

set g_shuffle_rating 3

 

//

// Censoring

set g_censor "kutas chuj cipa kurwa pizda jeb fiut fuck"

set g_censorNames ""

set g_censorNeil 1

set g_censorNeilNames 1

set g_censorPenalty 24

set g_censorMuteTime 60

set g_censorXP 15

 

//

// Intermission

set g_intermissionTime 25

set g_intermissionReadyPercent 51

 

//

// 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 0

 

 

// Custom configs

set g_mapScriptDirectory "mapscripts"

set g_campaignFile ""

set g_mapConfigs "mapconfigs"

set g_banners "banners.cfg"

 

 

// Miscellanous

set g_skills 3

set g_teamDamageRestriction 0

set g_minHits 6

set g_weapons 366

set g_mg42 3

set g_goomba 200

set g_goombaFlags 23

set g_spinCorpse 1

set g_teamChangeKills 1

set g_poison 1

set g_poisonFlags 19

set g_slashKill 0

set g_spectator 11

set g_medics 321

set g_medicHealthRegen 0

set g_coverts 1283

set g_truePing 0

set g_dropObj 1

set g_hitsounds 1

set g_playDead 1

set g_shove 1

set g_shoveNoZ 0

set g_dragCorpse 1

set g_classChange 0

set g_forceLimboHealth 1

set g_privateMessages 1

set g_packDistance 20

set g_dropHealth 4

set g_dropAmmo 4

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 1

set g_asblock 0

set g_panzersVulnerable 0

set g_panzersSpeed 2500

set g_panzersGravity 0

set g_realHead 1

set g_dyno 28

set g_canisterKick 0

set g_spreeOptions 703

set g_multikillTime 3000

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

set g_classWeapons 7

 

//

// Team restrictions

set team_maxMedics -1

set team_maxEngineers -1

set team_maxFieldOps -1

set team_maxCovertOps -1

set g_maxTeamLandmines 20

set g_maxTeamTripmines 3

set team_maxPanzers 0

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_mapVoteFlags0

set g_maxMapsVotedFor 22

set g_minMapAge 5

set g_resetXPMapCount 0

set g_excludedMaps ":fueldump:goldrush:"

 

//

// Omni-bots

set omnibot_enable 0

set omnibot_path ""

set g_bot_maxXP -1

set g_bot_minPlayers -1

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 1

 

//

// ETPub experimental, not advised to use

set g_fixedphysics 0

set g_fixedphysicsfps 125

 

//

// Lua API

set lua_modules "autopromotion.lua"

set lua_allowedModules ""

 

exec mapvotecycle.cfg

set com_watchdog 60

set com_watchdog_cmd "exec mapvotecycle.cfg"

 

 

Link to comment
Share on other sites

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

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 connections

set 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 download

set sv_wwwDownload "0" // toggle to enable web download

set sv_wwwBaseURL "" // base URL for redirection

set sv_wwwDlDisconnected "0" // tell clients to perform their downloads while disconnected from the server

set 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 here

set 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 script

set 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 logging

set g_logsync 0

set 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 60

set com_watchdog_cmd "exec campaigncycle.cfg" // defaults to quit

 

Link to comment
Share on other sites

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

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