Jump to content

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

Shrubbot accounts reset when map ends


  • Please log in to reply
7 replies to this topic

#1
OFFLINE   RSX

RSX

    Newbie

  • Members
  • Pip
  • 3 posts
0
Unknown
Hi. I'm running 2.60b ET server with silEnT mod (v0.5).
My problem is, that when the map ends my shrubbot accounts reset. It happens only when the map is over, and the next one is being loaded. I don't have this problem when I run !nextmap command, or when I exec silent.cfg, restart server or reconnect.
I do have my GUID number generated. It happens in both objectivecycle and mapvote modes.

Any idea what could be the problem?
Part of my silent.cfg:
set sv_maxclients "18"
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 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 30
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 320
set g_gravity 800
set g_knockback 1000
set g_inactivity 0
set g_spectatorInactivity 0
set g_maxConnsPerIP 10
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
// Votes
set g_voting 0
set vote_limit 5
set vote_percent 50
set g_noVoteTime 0
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_shuffleteamsxp 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
set vote_allow_surrender 1
set vote_allow_nextcampaign 1
set vote_allow_restartcampaign 1
set vote_allow_poll 1
set vote_allow_maprestart 1
set vote_allow_shufflenorestart 1
set vote_allow_cointoss 1
// 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 "30d"
set g_damageXP "1"
set g_damageXPLevel "50"
set g_maxXP "90000"
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 "12o"
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 60
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 0

// Custom configs
set g_mapScriptDirectory "mapscripts"
set g_campaignFile ""
set g_mapConfigs "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 0
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 0
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 0
set g_shove 0
set g_shoveNoZ 0
set g_dragCorpse 0
set g_classChange 0
set g_forceLimboHealth 1
set g_privateMessages 0
set g_packDistance 0
set g_dropHealth 0
set g_dropAmmo 0
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.0
set g_mineid 0
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 0
set g_resetXPMapCount -1
//
// 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 0
//
// ETPub experimental, not advised to use
set g_fixedphysics 0
set g_fixedphysicsfps 125
//
// Lua API
set lua_modules ""
set lua_allowedModules ""
exec mapvotecycle.cfg
set com_watchdog 60
set com_watchdog_cmd "exec objectivecycle.cfg"


#2
OFFLINE   gaoesa

gaoesa

    Advanced Member

  • Management
  • PipPipPipPip
  • 4391 posts
341
Will become famous
  • LocationFinland
What does the log print when the map ends? Specifically about the database. What does shrubbot account mean specifically? Admin levels or XP?

#3
OFFLINE   clan DIABOLIK

clan DIABOLIK

    Advanced Member

  • Members
  • PipPipPipPip
  • 322 posts
36
Getting Better
Hello
To solve it, you just have to change :

set g_dbUserMaxAge "12o"
by
set g_dbUserMaxAge "12od"

Bye

Edited by blackops, 19 December 2011 - 08:19 AM.


#4
OFFLINE   gaoesa

gaoesa

    Advanced Member

  • Management
  • PipPipPipPip
  • 4391 posts
341
Will become famous
  • LocationFinland
Sounds too weird to have been the actual reason. Especially since the modifiers have been succesfully in use for some time now. Can you confirm using rcon what is the actual value of the g_dbUserMaxAge now? And what it was before the addition of the d.

#5
OFFLINE   RSX

RSX

    Newbie

  • Members
  • Pip
  • 3 posts
0
Unknown
after !nextmap:
=== ShutdownGame -------------------------------------------
*=====CLOSING DATABASE
  Buffers cleaned.
  Big Memory Cache cleaned.
*=====DATABASE IS CLOSED
and
readconfig: loaded 6 levels, 0 bans, 0 subnet bans, 0 commands and 0 warnings
Map changed, clearing player stats.
serverstats: loaded 7 mapstats
settings: loaded 3 banners
*=====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
here i have my XP and Shrubbot levels.
after map natural end:
score: 17  ping: 21  client: 0 ^1R^7$^1X
red:0  blue:17
xpsave: wrote server rating: 2.600000
=== ShutdownGame -------------------------------------------
*=====CLOSING DATABASE
  Database filesystem cleanup needed.
  Database filesystem cleanup done.
  Buffers cleaned.
  Big Memory Cache cleaned.
*=====DATABASE IS CLOSED
readconfig: loaded 6 levels, 0 bans, 0 subnet bans, 0 commands and 0 warnings
Map changed, clearing player stats.
serverstats: loaded 7 mapstats
settings: loaded 3 banners
*=====INITIALISING USER DATABASE
  * Opening user database file userdb.db.
  * Opening user database file userxdb.db.
*=====DATABASE READY FOR USE
and no xp/shrubbot levels.

before adding the "d": g_dbUserMaxAge was 1y
after adding "d": g_dbUserMaxAge is 1y (no change)
problem still not solved.

#6
OFFLINE   clan DIABOLIK

clan DIABOLIK

    Advanced Member

  • Members
  • PipPipPipPip
  • 322 posts
36
Getting Better
So, maybe you don't start your server with the "silent.cfg" of the 1st post.

???

#7
OFFLINE   gaoesa

gaoesa

    Advanced Member

  • Management
  • PipPipPipPip
  • 4391 posts
341
Will become famous
  • LocationFinland
There is no 'y' modifier. Valid modifiers are 'o','O','w','W','d','D','h','H','m','M'. From month to minute.

You are right that it is deleting user records from the database during normal map end. This happens because with normal map end, it calculates the records that need to be removed when players go to the intermission. During the server shutdown, it rewrites the files. The g_dbUserMaxAge value is most likely the reason for this problem. Any time modifier should work correctly. I use "90d" on my own server though. I think there are admins who use other modifiers also but can't state that as a fact. The question of the value check using rcon is that if the value is displayed correctly as set when on a live server as an rcon response, it can be interpreted to some modifier calculation error. If you set the value to empty ("") or 0, there is no pruning done, ever.

#8
OFFLINE   RSX

RSX

    Newbie

  • Members
  • Pip
  • 3 posts
0
Unknown
Problem solved, I had mess like "+set +exec silent.cfg" in my startup command and it looks it caused the problem.
Thanks for your time folks.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users