Dennis92NL Posted December 10, 2013 Share Posted December 10, 2013 (edited) Hi All, I just installed the Silent mod from my server host. First installed 0.7.2 and after that i updated to 0.8.1. However on a other server i play on i see player connecting messages on the server. like for example dennis connecting (no_guid) PB in chat with colors. How is that possible to do? And i have a feeling that my anticheat is not enabled. Here is my server.cfg. Sorry for my bad english and i,m new to SILENT. It might be the server config from the old mod? Anyway thanks in advance! Regards,Dennis // silEnT mod - Sample server.cfg file// If you need help contact us on forums. http://mygamingtalk.com/// Generic server cvars //set sv_hostname "^>WORLD^SFRIENDS ^1XPSAVE"set server_motd0 " ^NsilEnT ^7MOTD "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 "Server is full."set rconpassword "REMOVED"set refereePassword ""set sv_maxRate 45000set sv_dl_maxRate 42000set sv_allowDownload 1set sv_wwwDownload 1set sv_wwwDlDisconnected 0set sv_wwwBaseURL "http://maps.server2.uk.ycn-hosting.com/213.108.31.177-27010"set sv_wwwFallbackURL ""set sv_pure 1set sv_minping 0set sv_maxping 0// silEnT mod supported cvarsset g_antilag 1set g_antiwarp 1set g_maxWarp 4set g_skipCorrection 1set g_heavyWeaponRestriction 20set g_altStopwatchMode 0set g_autofireteams 1set g_complaintlimit 6set g_ipcomplaintlimit 3set g_fastres 0set g_friendlyFire 1set g_disableComplaints 0set g_minGameClients 0set g_maxlives 0set g_alliedmaxlives 0set g_axismaxlives 0set g_teamforcebalance 0set g_noTeamSwitching 0set g_doWarmup 0set g_warmup 10set match_latejoin "1"set match_minplayers 4set match_mutespecs 0set match_readypercent 100set match_warmupDamage 1set team_maxplayers 0set g_speed 320set g_gravity 800set g_knockback 1000set g_inactivity 0set g_spectatorInactivity 0set 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 3// Votesset g_voting 0set vote_limit 5set vote_percent 50set g_noVoteTime 0set vote_allow_comp 1set vote_allow_gametype 1set vote_allow_kick 1set vote_allow_map 1set vote_allow_matchreset 1set vote_allow_mutespecs 1set vote_allow_nextmap 1set vote_allow_pub 1set vote_allow_referee 0set vote_allow_shuffleteamsxp 1set vote_allow_swapteams 1set vote_allow_friendlyfire 1set vote_allow_timelimit 0set vote_allow_warmupdamage 1set vote_allow_antilag 1set vote_allow_balancedteams 1set vote_allow_muting 1set vote_allow_surrender 1set vote_allow_nextcampaign 1set vote_allow_restartcampaign 1set vote_allow_poll 1set vote_allow_maprestart 1set vote_allow_shufflenorestart 1set vote_allow_cointoss 1// Logsset g_log "server.log"set g_cheatLog "cheat.log"set logfile 2set g_logOptions 16384set g_logAdmin "admin.log"// XP Save configurationset g_XPSave 21// Only stored XPset g_XPSaveMaxAge_xp "30d"// Stored XP and all rating valuesset g_XPSaveMaxAge "30d"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_punkbuster 1// Shrubbot and Databaseset g_dbDirectory "database"set g_dbUserMaxAge "30d"set g_minConnectLevel 0// see documentation about tyranny enabled commands and flagsset g_tyranny 1set g_greetingPos 0set g_warningOptions 0set g_warningDecay 24set g_maxWarnings 3set g_autoTempBan 0set g_autoTempBanTime 1800set g_shuffle_rating 3//// Censoringset g_censor ""set g_censorNames ""set g_censorNeil 0set g_censorNeilNames 0set g_censorPenalty 0set g_censorMuteTime 60set g_censorXP 5//// Intermissionset g_intermissionTime 45set g_intermissionReadyPercent 100//// 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_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 0set g_teamDamageRestriction 0set g_minHits 6set g_misc 4358set g_weapons 352set g_userAlliedRespawnTime 10set g_userAxisRespawnTime 10set g_mg42 0set g_goomba 0set g_goombaFlags 0set g_spinCorpse 0set g_teamChangeKills 1set g_poison 0set g_poisonFlags 7set g_slashKill 0set g_spectator 0set g_medics 0set g_medicHealthRegen 0set g_coverts 0set g_truePing 0set g_dropObj 0set g_hitsounds 1set g_playDead 0set g_shove 180set g_shoveNoZ 0set g_dragCorpse 0set g_classChange 0set g_forceLimboHealth 1set g_privateMessages 0set g_packDistance 2set g_dropHealth -1set g_dropAmmo -1set g_tossDistance 0set g_fear 2000set g_obituary 1set g_throwableKnives 1set g_maxKnives 5set g_knifeChargeTime 800set g_constructibleXPSharing 0set g_asblock 0set g_panzersVulnerable 0set g_panzersSpeed 2500set g_panzersGravity 0set g_dyno 23set g_canisterKick 75set g_canisterKickOwner 1set g_spreeOptions 111set 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 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 50//// Team restrictionsset team_maxMedics -1set team_maxEngineers -1set team_maxFieldOps -1set team_maxCovertOps -1set g_maxTeamLandmines 10set g_maxTeamTripmines 3set team_maxPanzers 1set 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_mapVoteFlags 13set g_maxMapsVotedFor 30set g_minMapAge 5set g_resetXPMapCount 0set g_excludedMaps ""//// Omni-botsset omnibot_enable 1set omnibot_path "/213.108.31.177-27010/omni-bot"set g_bot_maxXP -1set g_bot_minPlayers -1set omnibot_flags 1//// 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//set g_fixedphysics 0set g_fixedphysicsfps 125//// Lua APIset lua_modules ""set lua_allowedModules ""exec objectivecycle.cfgset com_watchdog 60set com_watchdog_cmd "exec objectivecycle.cfg" Edited December 10, 2013 by Dennis92NL Quote Link to comment Share on other sites More sharing options...
Management hellreturn Posted December 10, 2013 Management Share Posted December 10, 2013 Is other server running silEnT Mod? IP of that server? Quote Link to comment Share on other sites More sharing options...
Subscriber BECK Posted December 10, 2013 Subscriber Share Posted December 10, 2013 Looks like you may be missing g_silentac, as shown here: http://mygamingtalk.com/wiki/index.php/Silent_Mod_Server_Cvar#g_silentac Also, welcome to the forums and the mod. Dennis92NL 1 Quote Link to comment Share on other sites More sharing options...
Management gaoesa Posted December 10, 2013 Management Share Posted December 10, 2013 If I understand correctly what you meant with the messages when players are connecting, that is possible using Lua scripts. I don't know any such script though. Quote Link to comment Share on other sites More sharing options...
Dennis92NL Posted December 10, 2013 Author Share Posted December 10, 2013 (edited) Is other server running silEnT Mod? IP of that server?That server is called WET4ALL Server ip: 81.91.242.31:27960 Looks like you may be missing g_silentac, as shown here: http://mygamingtalk.com/wiki/index.php/Silent_Mod_Server_Cvar#g_silentac Also, welcome to the forums and the mod. I already had that added in the server.cfg. I had the cvar like this "set g_silentac 3" now i set it to 2. If I understand correctly what you meant with the messages when players are connecting, that is possible using Lua scripts. I don't know any such script though. Oke cool thanks! I let me look it up on google. Regards,Dennis Edited December 10, 2013 by Dennis92NL Quote Link to comment Share on other sites More sharing options...
Management hellreturn Posted December 10, 2013 Management Share Posted December 10, 2013 Probably they are checking the userinfo string on connection through LUA. To be honest I just feel it's spam if you don't run PB on your server and if you do then players with PB disabled would be auto kicked. I would suggest to use g_silentac 2 for anti cheat protection and silEnT mod auto generates key for users to store XP and other admin features. If you still require that feature then I would suggest to contact that server admin and ask him if he would like to share that LUA or not. Quote Link to comment Share on other sites More sharing options...
Dennis92NL Posted December 10, 2013 Author Share Posted December 10, 2013 (edited) Probably they are checking the userinfo string on connection through LUA. To be honest I just feel it's spam if you don't run PB on your server and if you do then players with PB disabled would be auto kicked. I would suggest to use g_silentac 2 for anti cheat protection and silEnT mod auto generates key for users to store XP and other admin features. If you still require that feature then I would suggest to contact that server admin and ask him if he would like to share that LUA or not. --[[Connect Announce #1===================by Phishermans Phriend Further information:--------------------http://www.splashdamage.com/forums/showthread.php?p=377700#post377700 Features:---------This script prints an enhmod-like line to chat whenever a client connects to the server. Example:"^dConnect: ^3*^0KFG^3*^1Bullet ^yconnected from ^7Netherlands ^y(^8Admin^y). ^5PB ^3REF" Important:----------In order to use this script properly, you need to active g_countryflags. Read more about this on:http://shitstorm.org/noquarter/wiki/?title=Admin_CVARs#g_countryflags_.28Changed_in_1.3.0.29--]] -- CONFIG SECTION message = "^dConnect: ^7<name> ^yconnected from ^7<country> ^y(^7<shrublvl>^y)."-- Message line on clientconnect: The variables are replaced with the corresponding player data-- You can remove any variable from the string to not display it. showPlayerFlags = true -- If set to true, dynamic player flags will be shown after the connect-message:-- "^5PB" if the player's client punkbuster is enabled-- "^1NO_GUID" if the player's GUID is unknown or empty-- "^3REF" if the player has referee status-- "^1MUTED" if the player is muted -- END OF CONFIG SECTION ---------------------------------------------------------------DONT CHANGE ANYTHING BELOW UNLESS YOU KNOW WHAT YOURE DOING------------------------------------------------------------- shrubname = {} countries = {[0]= "Unknown",[200]} function et_ClientConnect( clientNum, firstTime, isBot )if firstTime == 1 and isBot == 0 thenlocal msg = string.gsub(message, "<name>", et.Info_ValueForKey( et.trap_GetUserinfo( clientNum ), "name" )) local countryCode = et.gentity_get( clientNum, "sess.uci" )local countryName = countries[countryCode] if countryName thenmsg = string.gsub(msg, "<country>", countryName)elsemsg = string.gsub(msg, "<country>", countryCode)end local shrubLevel = et.G_shrubbot_level(clientNum)local shrubName = shrubname[shrubLevel] if shrubName thenmsg = string.gsub(msg, "<shrublvl>", shrubName)elsemsg = string.gsub(msg, "<shrublvl>", "Level " .. shrubLevel)end -- msg = string.gsub(msg, "<ip>", shortenIP(et.Info_ValueForKey( et.trap_GetUserinfo( clientNum ),"ip" ))) if showPlayerFlags thenif et.Info_ValueForKey( et.trap_GetUserinfo( clientNum ), "cl_punkbuster" ) == "1" thenmsg = msg .. " ^5PB"end local guid = et.Info_ValueForKey( et.trap_GetUserinfo( clientNum ), "cl_guid" ) if guid == "NO_GUID" or guid == "unknown" thenmsg = msg .. " ^1NO_GUID"end if et.gentity_get( clientNum, "sess.referee" ) == 1 thenmsg = msg .. " ^3REF"end if et.gentity_get( clientNum, "sess.muted" ) == 1 thenmsg = msg .. " ^1MUTED"endend et.trap_SendConsoleCommand(et.EXEC_APPEND,"qsay " .. msg)endend --[[ Decided to ditch displaying the ip because it lengthens the line too much, especially for long shrubnames If you want to re-add this feature, un-comment line 321 and put the following lines back to their original position:line 13: "^dConnect: ^3*^0KFG^3*^1Bullet ^yconnected from ^7Netherlands ^y(^794.214.*.*^y) (^8Admin^y). ^5PB ^3REF"line 23: message = "^dConnect: ^7<name> ^yconnected from ^7<country> ^y(^7<ip>^y) ^y(^7<shrublvl>^y)."Also un-comment the function shortenIP() below. function shortenIP(input)if input == "localhost" thenreturn inputendreturn (string.sub(input, 0, string.find(input, "%.", (string.find(input, "%.") + 1))) .. "*.*")end --]] function et_Print(text)if string.sub(text,1,19) == "readconfig: loaded " thenReadShrubNames()endend function et_InitGame(levelTime, randomSeed, restart)et.RegisterModname("Connect Announce #1")ReadShrubNames()end function clearSpace(string)local output = ""local i = string.len(string)while (string.sub(string,i,i) == " " or string.sub(string,i,i) == " ") dostring = string.sub(string,1,(i-1))i = i - 1end while (string.sub(string,1,1) == " " or string.sub(string,1,1) == " ") dostring = string.sub(string,2)end i = 1while string.sub(string,i,i) ~= "" doif string.sub(string,i,i) ~= "\"" thenoutput = output .. string.sub(string,i,i)endi = i + 1endreturn outputend function ReadShrubNames()local level = ""local name = "" local fd, len = et.trap_FS_FOpenFile(et.trap_Cvar_Get("g_shrubbot"), et.FS_READ) if len > 1 thenfor line in string.gfind(et.trap_FS_Read(fd, len), "([ %C]+)") doif clearSpace(line) == "[level]" thenif level ~= "" thenshrubname[level] = namelevel = ""endvar = trueelseif clearSpace(line) == "[ban]" or clearSpace(line) == "[mute]" or clearSpace(line) == "[admin]" or clearSpace(line) == "[command]" thenif level ~= "" thenshrubname[level] = namelevel = ""endvar = falseelseif var thenfor k,v in string.gmatch(line, "([ %C]*)=(.*)") doif clearSpace(k) == "level" thenlevel = tonumber(clearSpace(v))elseif clearSpace(k) == "name" thenname = clearSpace(v)endendendend if level ~= "" thenshrubname[level] = nameendendend Found it! ;) Edited December 10, 2013 by Dennis92NL clan DIABOLIK 1 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.