Jump to content

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

Database not working?

database

  • Please log in to reply
18 replies to this topic

#1
OFFLINE   Henkka

Henkka

    Newbie

  • Members
  • Pip
  • 9 posts
0
Unknown
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, 21 December 2011 - 06:39 PM.


#2
OFFLINE   gaoesa

gaoesa

    Advanced Member

  • Management
  • PipPipPipPip
  • 4391 posts
341
Will become famous
  • LocationFinland
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.

#3
OFFLINE   Henkka

Henkka

    Newbie

  • Members
  • Pip
  • 9 posts
0
Unknown
Ok, thanks.

Another quoestion, why doesn't my greeting sounds work? I've put it in the silent mod folder, it's called henkka.wav and in the shrubbot everyone who is lvl 10 greeting sound should be henkka.wav

#4
OFFLINE   gaoesa

gaoesa

    Advanced Member

  • Management
  • PipPipPipPip
  • 4391 posts
341
Will become famous
  • LocationFinland
Did you put the path to the sound file correctly? You can test the sound using /rcon <rconpassword> playsound <sound>

For example
playsound sound/greeting/henkka.wav , the path is of course what is used inside your custom pk3.

#5
OFFLINE   Henkka

Henkka

    Newbie

  • Members
  • Pip
  • 9 posts
0
Unknown
yeah, the path is greeting/henkka.wav

I tried with rcon but still doesnt work :/

#6
OFFLINE   gaoesa

gaoesa

    Advanced Member

  • Management
  • PipPipPipPip
  • 4391 posts
341
Will become famous
  • LocationFinland
Check the sound file is in correct format. It needs to be mono sound wav, most common problem (to my experience) is using stereo files.

#7
OFFLINE   Henkka

Henkka

    Newbie

  • Members
  • Pip
  • 9 posts
0
Unknown
Ok the sound thing sounds too complicated.

New problem! :D Now the !stats don't save. Kills deaths ETC. ??? :/ Adminlevels still saves. Also, XP doesnt save??

Edited by Henkka, 23 December 2011 - 04:09 PM.


#8
OFFLINE   phantasm

phantasm

    Regular Member

  • Members
  • PipPipPip
  • 118 posts
6
A step in the right direction
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.

#9
OFFLINE   Henkka

Henkka

    Newbie

  • Members
  • Pip
  • 9 posts
0
Unknown
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)

#10
OFFLINE   gaoesa

gaoesa

    Advanced Member

  • Management
  • PipPipPipPip
  • 4391 posts
341
Will become famous
  • LocationFinland
g_bot_minplayers was removed from the mod, you should use omnibot.cfg setting maxbots instead.

It's not a problem to have excess cvar in the config though.

#11
ONLINE   Dragonji

Dragonji

    Advanced Member

  • Members
  • PipPipPipPip
  • 514 posts
142
On the road to fame
  • LocationPoland
Try to set g_XPSave to 21 to make XP save working.

#12
OFFLINE   Henkka

Henkka

    Newbie

  • Members
  • Pip
  • 9 posts
0
Unknown
Ok, now i need to specify the problem again.

XP saving, stats not. Adminlevels saving. Sup? :/

#13
OFFLINE   gaoesa

gaoesa

    Advanced Member

  • Management
  • PipPipPipPip
  • 4391 posts
341
Will become famous
  • LocationFinland
The kills and deaths made by SMG weapons are always saved if other xp saving works.

#14
OFFLINE   Henkka

Henkka

    Newbie

  • Members
  • Pip
  • 9 posts
0
Unknown
I mean the command !stats, not when you press TAB 10 times and it gives you PRW, K/D or XP.

#15
OFFLINE   gaoesa

gaoesa

    Advanced Member

  • Management
  • PipPipPipPip
  • 4391 posts
341
Will become famous
  • LocationFinland
The !stats command will show total kills and deaths made by SMG weapons which are saved in the dataase always. All the other statistics in that command are only for the current map.

#16
OFFLINE   Henkka

Henkka

    Newbie

  • Members
  • Pip
  • 9 posts
0
Unknown
Need help! Our mapvotingsystem in the end of maps doesnt work! I made it like g_selectedmaps "adlernest:supply" but i cant see neither in the voting list?

maxmaps are 20. I see other maps but not those?

#17
OFFLINE   gaoesa

gaoesa

    Advanced Member

  • Management
  • PipPipPipPip
  • 4391 posts
341
Will become famous
  • LocationFinland
There is no g_selectedmaps. If you ment g_excludedmaps, then it is working like it should be.
http://mygamingtalk....#g_excludedMaps

#18
OFFLINE   Henkka

Henkka

    Newbie

  • Members
  • Pip
  • 9 posts
0
Unknown
without .pk3? i wrote "adlernest.pk3:supply.pk3" and it didnt work, i try now "adlernest:supply"

#19
OFFLINE   clan DIABOLIK

clan DIABOLIK

    Advanced Member

  • Members
  • PipPipPipPip
  • 322 posts
36
Getting Better
I've put the ":" before and after each map, and it works on my server, look:

":map1:map2:"


try it
V55 :ph34r:

And YES! remove ".pk3" !

Edited by blackops, 11 January 2012 - 07:21 PM.






Also tagged with one or more of these keywords: database

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users