Jump to content

Database not working?


Henkka

Recommended Posts

So, our servers database isn't working or there's something else wrong because our adminlevels don't save.

 

Everyone has PB on, if you finger you can see silent guid and pb guid, you can give levels, but after some maps or if you reconnect your adminlevel is gone.

 

Why is this? :/

 

EDIT: Was reading some other posts, and there someone mentioned g_Database "Database" , I don't have such line at my servers config, should I add it? And also, my user database is at database/userdb

Edited by Henkka
Link to comment
Share on other sites

  • Management

Database related cvars are g_dbDirectory and g_dbUserMaxAge. Set the g_dbUserMaxeAge to "90d" dor exanple if you are using the default config that came with silent. Of course you can use any value you like, but untforunately the default config is the using setting 30 secods which is wrong. The g_dbDirectory is "database" by default. If you are using the stucture that came with the download, this should be correct.

 

Moving this to installation/setup questions.

Link to comment
Share on other sites

Everything should save properly now. Earlier versions of the mod had a few issues but they were addressed.

 

It sounds like you are having multiple issues, which is very common when learning a new ET mod.

 

Perhaps you could post your silent.cfg file, without your passwords or IP addresses or redirect server addresses. You may have many settings misconfigured.

Link to comment
Share on other sites

seta g_privateMessages "1"

// 1+2+4+8+16+32+64+128+512+1024+2048

seta g_spreeOptions "3839"

seta g_multikillTime "1337"

seta g_obituary "1"

seta g_dropMsg "You have been kicked/banned from the server."

seta g_landmineNotifyType "0"

seta g_dbDirectory "database"

seta g_dbUserMaxAge "24o"

seta g_XPSave "4"

seta g_XPSaveMaxAge_xp "12o"

seta g_XPSaveMaxAge "12o"

seta g_maxXP "-1"

seta g_maxXPResetWarn "0"

seta g_damageXP "0"

seta g_damageXPLevel "50"

seta g_XPDecay "0"

seta g_XPDecayRate "0.0"

seta g_XPDecayFloor "0.0"

seta g_minCommandWaitTime "500"

seta g_tyranny "1"

// 1+2+4+8+16

seta g_warningOptions "31"

seta g_maxWarnings "3"

seta g_warningDecay "120"

seta g_autoTempBan "4"

seta g_autoTempBanTime "120"

seta g_minConnectLevel "0"

seta g_greetingPos "0"

seta g_punkBuster "0"

// 1+2+4

seta g_identOptions "9"

seta g_floodprotect "1"

seta g_floodthreshold "6"

seta g_floodWait "1000"

seta g_voiceChatsAllowed "60"

seta g_stats "3"

seta g_playerRating_mapPad "50"

seta g_playerRating_minplayers "2"

seta g_shuffle_rating "3"

seta g_killRating "3"

seta g_playerRating "0"

seta g_unevenTeamDiff "2"

seta g_unevenTeamFreq "39"

seta team_maxPanzers "33%"

seta team_maxMortars "66%"

seta team_maxFlamers "66%"

seta team_maxMG42s "66%"

seta team_maxGrenLaunchers "100%"

seta team_maxMedics "100%"

seta team_maxEngineers "100%"

seta team_maxFieldOps "100%"

seta team_maxCovertOps "100%"

seta g_teamDamageRestriction "44"

seta g_minHits "30"

seta g_minAirstrikeTime "69"

seta g_minArtyTime "69"

seta g_maxTeamLandmines "7"

seta g_maxTeamTripmines "5"

seta g_minGameClients "0"

seta g_maxGameClients "0"

// 1+4+8+16

seta g_mapVoteFlags "29"

seta g_maxMapsVotedFor "20"

seta g_minMapAge "2"

seta g_resetXPMapCount "0"

seta g_excludedMaps ""

seta g_TDMType "0"

seta g_TDMOptions "5"

seta g_TDMScore "100"

seta g_TDMObjBonus "20"

seta g_mapConfigs ""

seta g_mapScriptDirectory ""

seta g_campaignFile ""

seta g_settings "settings.cfg"

seta g_censor ""

seta g_censorNames ""

seta g_censorPenalty "0"

seta g_censorNeil "0"

seta g_censorNeilNames "0"

seta g_censorMuteTime "60"

seta g_censorXP "0"

seta g_voting "15"

seta vote_limit "5"

seta vote_percent "66"

seta vote_allow_comp "0"

seta vote_allow_gametype "0"

seta vote_allow_kick "0"

seta vote_allow_map "1"

seta vote_allow_matchreset "0"

seta vote_allow_mutespecs "1"

seta vote_allow_nextmap "1"

seta vote_allow_pub "0"

seta vote_allow_referee "0"

seta vote_allow_shuffleteamsxp "1"

seta vote_allow_swapteams "1"

seta vote_allow_friendlyfire "0"

seta vote_allow_timelimit "0"

seta vote_allow_warmupdamage "1"

seta vote_allow_antilag "0"

seta vote_allow_balancedteams "0"

seta vote_allow_muting "0"

seta vote_allow_surrender "1"

seta vote_allow_restartcampaign "0"

seta vote_allow_nextcampaign "0"

seta vote_allow_poll "1"

seta vote_allow_maprestart "1"

seta vote_allow_shufflenorestart "1"

seta vote_allow_cointoss "1"

seta vote_allow_putspec "1"

seta vote_block_maprestart "13337"

seta vote_block_matchreset "13337"

seta vote_block_shuffleteamsxp "13337"

seta vote_block_shufflenorestart "13337"

seta vote_block_nextmap "13337"

seta vote_block_swapteams "13337"

seta vote_block_surrender "13337"

seta vote_block_map "13337"

seta vote_block_timelimit "13337"

seta vote_block_poll "13337"

seta vote_block_nextcampaign "13337"

seta vote_block_restartcampaign "13337"

seta g_noVoteTime "10"

seta g_voteResultsMinLevel "-1"

seta g_votedMuteLength "1m"

seta g_poison "13"

// 4

seta g_poisonFlags "4"

// 1+4+64

seta g_medics "69"

seta g_medicHealthRegen "0"

seta g_throwableKnives "1"

seta g_maxKnives "3"

seta g_knifeChargeTime "666"

seta g_constructibleXPSharing "1"

// 1+2+16+32

seta g_asblock "51"

seta g_panzersSpeed "2500"

seta g_panzersGravity "0"

// 8 + 16

seta g_dyno "24"

seta g_canisterKick "0"

seta g_canisterKickOwner "0"

seta g_reflectFriendlyFire "0.0"

seta g_reflectFFWeapons "0"

seta g_friendlyFire "0"

// 2+8

seta g_friendlyFireOpts "10"

seta g_staminaRecharge "1.0"

seta g_mineid "1"

seta g_medicSelfhealTime "0"

seta g_maxPanzerSuicides "-1"

seta g_panzerPackDistance "0"

// 1+2+4+16+32+64+256+1024+4096

seta g_weapons "5495"

// 1+2+4

seta g_classWeapons "7"

// 1+2

seta g_mg42 "3"

// 4+64+128+256+1024

seta g_coverts "1476"

seta g_enableTMines "1"

seta skill_soldier "20 50 90 140"

seta skill_medic "20 50 90 140"

seta skill_engineer "20 50 90 140"

seta skill_fieldops "20 50 90 140"

seta skill_covertops "20 50 90 140"

seta skill_battlesense "20 50 90 140"

seta skill_lightweapons "20 50 90 140"

seta g_panzersVulnerable "0"

seta g_dmgKnife "10"

seta g_dmgSten "14"

seta g_dmgFG42 "15"

seta g_dmgPistol "18"

seta g_dmgSMG "18"

seta g_dmgMG42 "18"

seta g_dmgMG "20"

seta g_dmgFG42Scope "30"

seta g_dmgInfRifle "34"

seta g_dmgSniper "50"

seta g_dmgFlamer "5"

seta g_dmgGrenade "250"

seta g_dmgGrenadeRadius "250"

seta g_dmgGLauncher "250"

seta g_dmgGLauncherRadius "250"

seta g_dmgTMine "260"

seta g_dmgLandmine "250"

seta g_dmgLandmineRadius "250"

seta g_dmgSatchel "250"

seta g_dmgSatchelRadius "250"

seta g_dmgPanzer "400"

seta g_dmgPanzerRadius "300"

seta g_dmgMortar "400"

seta g_dmgMortarRadius "400"

seta g_dmgDynamite "400"

seta g_dmgDynamiteRadius "500"

seta g_dmgAir "400"

seta g_dmgAirRadius "400"

seta g_dmgArty "400"

seta g_dmgArtyRadius "400"

seta g_dmg "0"

seta g_dmgHeadShotMin "50"

seta g_dmgHeadShotRatio "2.0"

seta g_knifeThrowDamage "33" // Default: 50

seta g_dmgPPSh "19"

seta g_antilagDelay "0"

seta g_fixedphysics "0"

seta g_fixedphysicsfps "125"

seta g_antiwarp "1"

seta g_realHead "1"

seta g_skipCorrection "0"

seta g_maxWarp "4"

// 1+4

seta g_extraStatistics "5"

seta g_packDistance "2"

seta g_dropHealth "2"

seta g_dropAmmo "2"

seta g_tossDistance "2"

seta g_intermissionTime "33"

seta g_intermissionReadyPercent "75"

seta g_skills "4"

// 2+4

seta g_misc "6"

seta g_moverScale "1.0"

seta g_slashKill "4"

seta g_maxSelfkills"-1"

seta g_ammoCabinetTime "10000"

seta g_healthCabinetTime "10000"

// 1+2+4

seta g_spectator "7"

seta g_truePing "1"

seta g_dropObj "0"

seta g_doubleJumpHeight "1.4"

seta g_serverInfo "1"

seta g_fear "1337"

seta g_inactivity "120"

seta g_spectatorInactivity "120"

seta g_gametype "6"

// 1+2

seta g_spoofOptions "3"

seta g_maxNameChanges "-1"

seta g_disableComplaints "0"

seta g_watermark ""

seta g_watermarkFadeAfter "4"

seta g_watermarkFadeTime "5"

seta g_panzerwar "0"

seta g_sniperwar "0"

seta g_riflewar "0"

seta g_countryFlags "0"

seta g_noSkillUpgrades "0"

seta g_flushItems "1"

seta g_maxConnsPerIP "4"

seta g_headshot "0"

seta g_instagibDamage "400"

seta g_inactivityOptions "1"

seta g_ettvFlags "3"

seta g_mode "8"

// 1+2+8+32

seta g_hitsounds "43"

seta g_playDead "1"

seta g_shove "80"

seta g_shoveNoZ "0"

seta g_dragCorpse "1"

seta g_classChange "1"

seta g_forceLimboHealth "1"

seta g_goomba "10"

seta g_goombaFlags "0"

seta g_spawnInvul "3"

seta g_spawnInvulFair "1"

seta g_spinCorpse "0"

seta g_teamChangeKills "1"

// 8+256

seta g_logOptions "264"

seta g_logAdmin ""

seta omnibot_enable "1"

seta omnibot_path ""

seta g_bot_maxXP "-1"

seta g_bot_minPlayers "6"

// 1+2+4+16+262144

seta omnibot_flags "262167"

 

That's the whole config, except for respawntimes, rcon, ref, IP and objectivecycle(watchdog)

Link to comment
Share on other sites

  • 2 weeks later...

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