Jump to content

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

Player connecting PB Messages


  • Please log in to reply
6 replies to this topic

#1
OFFLINE   Dennis92NL

Dennis92NL

    Member

  • Members
  • PipPip
  • 27 posts
21
On a distinguished road
  • LocationAmsterdam

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 0
set sv_privatepassword ""
set sv_fullmsg "Server is full."

set rconpassword "REMOVED"
set refereePassword ""

set sv_maxRate 45000
set sv_dl_maxRate 42000
set sv_allowDownload 1
set sv_wwwDownload 1
set sv_wwwDlDisconnected 0
set sv_wwwBaseURL "http://maps.server2....8.31.177-27010"
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 20
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 10
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 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

// 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 16384
set g_logAdmin "admin.log"

// XP Save configuration
set g_XPSave 21
// Only stored XP
set g_XPSaveMaxAge_xp "30d"
// Stored XP and all rating values
set 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 Database
set g_dbDirectory "database"
set g_dbUserMaxAge "30d"
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_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_misc 4358
set g_weapons 352
set g_userAlliedRespawnTime 10
set g_userAxisRespawnTime  10
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 180
set g_shoveNoZ 0
set g_dragCorpse 0
set g_classChange 0
set g_forceLimboHealth 1
set g_privateMessages 0
set g_packDistance 2
set g_dropHealth -1
set g_dropAmmo -1
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_dyno 23
set g_canisterKick 75
set g_canisterKickOwner 1
set g_spreeOptions 111
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 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 5
set g_resetXPMapCount 0
set g_excludedMaps ""

//
// Omni-bots
set omnibot_enable 1
set omnibot_path "/213.108.31.177-27010/omni-bot"
set g_bot_maxXP -1
set g_bot_minPlayers -1
set 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 0
set g_fixedphysicsfps 125

//
// Lua API
set lua_modules ""
set lua_allowedModules ""

exec objectivecycle.cfg
set com_watchdog 60
set com_watchdog_cmd "exec objectivecycle.cfg"


Edited by Dennis92NL, 10 December 2013 - 07:20 PM.


#2
OFFLINE   hellreturn

hellreturn

    Management

  • Management
  • PipPipPipPip
  • 2693 posts
158
On the road to fame

Is other server running silEnT Mod? IP of that server?



#3
OFFLINE   BECK

BECK

    Advanced Member

  • Subscriber
  • PipPipPipPip
  • 226 posts
61
Getting Better
  • LocationDenver, CO

Looks like you may be missing g_silentac, as shown here:

 

http://mygamingtalk....Cvar#g_silentac

 

Also, welcome to the forums and the mod.



#4
OFFLINE   gaoesa

gaoesa

    Advanced Member

  • Management
  • PipPipPipPip
  • 4391 posts
341
Will become famous
  • LocationFinland

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.



#5
OFFLINE   Dennis92NL

Dennis92NL

    Member

  • Members
  • PipPip
  • 27 posts
21
On a distinguished road
  • LocationAmsterdam

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....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 by Dennis92NL, 10 December 2013 - 07:53 PM.


#6
OFFLINE   hellreturn

hellreturn

    Management

  • Management
  • PipPipPipPip
  • 2693 posts
158
On the road to fame

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. 



#7
OFFLINE   Dennis92NL

Dennis92NL

    Member

  • Members
  • PipPip
  • 27 posts
21
On a distinguished road
  • LocationAmsterdam

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.splashdam...7700#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...ged_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 then
local 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 then
msg = string.gsub(msg, "<country>", countryName)
else
msg = string.gsub(msg, "<country>", countryCode)
end

local shrubLevel = et.G_shrubbot_level(clientNum)
local shrubName = shrubname[shrubLevel]

if shrubName then
msg = string.gsub(msg, "<shrublvl>", shrubName)
else
msg = string.gsub(msg, "<shrublvl>", "Level " .. shrubLevel)
end

-- msg = string.gsub(msg, "<ip>", shortenIP(et.Info_ValueForKey( et.trap_GetUserinfo( clientNum ),"ip" )))

if showPlayerFlags then
if et.Info_ValueForKey( et.trap_GetUserinfo( clientNum ), "cl_punkbuster" ) == "1" then
msg = msg .. " ^5PB"
end

local guid = et.Info_ValueForKey( et.trap_GetUserinfo( clientNum ), "cl_guid" )

if guid == "NO_GUID" or guid == "unknown" then
msg = msg .. " ^1NO_GUID"
end

if et.gentity_get( clientNum, "sess.referee" ) == 1 then
msg = msg .. " ^3REF"
end

if et.gentity_get( clientNum, "sess.muted" ) == 1 then
msg = msg .. " ^1MUTED"
end
end

et.trap_SendConsoleCommand(et.EXEC_APPEND,"qsay " .. msg)
end
end

--[[ 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" then
return input
end
return (string.sub(input, 0, string.find(input, "%.", (string.find(input, "%.") + 1))) .. "*.*")
end

--]]

function et_Print(text)
if string.sub(text,1,19) == "readconfig: loaded " then
ReadShrubNames()
end
end

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) == " ") do
string = string.sub(string,1,(i-1))
i = i - 1
end

while (string.sub(string,1,1) == " " or string.sub(string,1,1) == " ") do
string = string.sub(string,2)
end

i = 1
while string.sub(string,i,i) ~= "" do
if string.sub(string,i,i) ~= "\"" then
output = output .. string.sub(string,i,i)
end
i = i + 1
end
return output
end

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 then
for line in string.gfind(et.trap_FS_Read(fd, len), "([ %C]+)") do
if clearSpace(line) == "[level]" then
if level ~= "" then
shrubname[level] = name
level = ""
end
var = true
elseif clearSpace(line) == "[ban]" or clearSpace(line) == "[mute]" or clearSpace(line) == "[admin]" or clearSpace(line) == "[command]" then
if level ~= "" then
shrubname[level] = name
level = ""
end
var = false
elseif var then
for k,v in string.gmatch(line, "([ %C]*)=(.*)") do
if clearSpace(k) == "level" then
level = tonumber(clearSpace(v))
elseif clearSpace(k) == "name" then
name = clearSpace(v)
end
end
end
end

if level ~= "" then
shrubname[level] = name
end
end
end

 

Found it! ;) ;)


Edited by Dennis92NL, 11 December 2013 - 12:27 AM.





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users