AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Source Servers (SRCDS) (https://forums.alliedmods.net/forumdisplay.php?f=130)
-   -   [CS:GO] Disabling Autokick for Team Attack with new update (https://forums.alliedmods.net/showthread.php?t=202389)

Sheepdude 12-04-2012 17:33

[CS:GO] Disabling Autokick for Team Attack with new update
 
1 Attachment(s)
These are the relevant cvars for autokick commands:

// Kick idle/team-killing players
// Flags: FCVAR_GAMEDLL|FCVAR_REPLICATED|FCVAR_RELEASE
// Default: "1"
mp_autokick "1"

// Terrorist are kicked for killing too much hostages
// Flags: FCVAR_DEVELOPMENTONLY|FCVAR_GAMEDLL|FCVAR_NOT IFY
// Default: "10"
mp_hostagepenalty "10"

// Kick players who team-kill within this many seconds of a round restart.
// Flags: FCVAR_DEVELOPMENTONLY|FCVAR_GAMEDLL|FCVAR_REP LICAT ED
// Default: "5"
mp_spawnprotectiontime "5"

// The damage threshhold players have to exceed in a match to get kicked.
// Flags: FCVAR_DEVELOPMENTONLY|FCVAR_GAMEDLL|FCVAR_REP LICAT ED
// Default: "300"
mp_td_dmgtokick "300"

// The damage threshhold players have to exceed in a match to get warned that they are about to be kicked.
// Flags: FCVAR_DEVELOPMENTONLY|FCVAR_GAMEDLL|FCVAR_REP LICAT ED
// Default: "200"
mp_td_dmgtowarn "200"

// The damage threshold players have to exceed at the start of the round to be warned/kick.
// Flags: FCVAR_DEVELOPMENTONLY|FCVAR_GAMEDLL|FCVAR_REP LICAT ED
// Default: "50"
mp_td_spawndmgthreshold "50"

The FCVAR_DEVELOPMENTONLY flags are worrying: apparently you can only change these with sm_cvar and not through normal means. Which essentially means Valve has forced autokick for team damaging on every server that isn't modded. For shame.

yannick 12-05-2012 07:45

Re: [CS:GO] Disabling Autokick for Team Attack with new update
 
thanks dude, i hope valve is fixing this asap

darKeD 12-05-2012 08:48

Re: [CS:GO] Disabling Autokick for Team Attack with new update
 
Works.


^^

asherkin 12-05-2012 11:18

Re: [CS:GO] Disabling Autokick for Team Attack with new update
 
Quote:

Originally Posted by Sheepdude (Post 1848365)
The FCVAR_DEVELOPMENTONLY flags are worrying: apparently you can only change these with sm_cvar and not through normal means. Which essentially means Valve has forced autokick for team damaging on every server that isn't modded. For shame.

It's likely just an oversight, newer versions of the engine (including CS:GO's) automatically flag all cvars not explicitly flagged FCVAR_RELEASE as FCVAR_DEVELOPMENTONLY.

Sheepdude 12-05-2012 15:12

Re: [CS:GO] Disabling Autokick for Team Attack with new update
 
An annoying oversight. =P

wired9119 08-15-2017 11:30

Re: [CS:GO] Disabling Autokick for Team Attack with new update
 
Hi,

I'm retarded so I don't know where to put this stuff. Can you help me?? thx. Srry for me being a noob:3

Bacardi 08-15-2017 15:23

Re: [CS:GO] Disabling Autokick for Team Attack with new update
 
Quote:

Originally Posted by wired9119 (Post 2541751)
Hi,

I'm retarded so I don't know where to put this stuff. Can you help me?? thx. Srry for me being a noob:3

https://developer.valvesoftware.com/...ual_server.cfg

Depends which game mode you are running on your server.

But for example, casual (game_type 0; game_mode 0).
Server execute this Valve default config file on every map change, ...csgo/cfg/gamemode_casual.cfg

To override cvar settings inside gamemode_casual.cfg, create config file
...csgo/cfg/gamemode_casual_server.cfg
and add your cvars there
Code:

// Kick idle/team-killing players
// Flags: FCVAR_GAMEDLL|FCVAR_REPLICATED|FCVAR_RELEASE
// Default: "1"

mp_autokick "1"

// Terrorist are kicked for killing too much hostages
// Flags: FCVAR_DEVELOPMENTONLY|FCVAR_GAMEDLL|FCVAR_NOT IFY
// Default: "10"

mp_hostagepenalty "10"

// Kick players who team-kill within this many seconds of a round restart.
// Flags: FCVAR_DEVELOPMENTONLY|FCVAR_GAMEDLL|FCVAR_REP LICAT ED
// Default: "5"

mp_spawnprotectiontime "5"

// The damage threshhold players have to exceed in a match to get kicked.
// Flags: FCVAR_DEVELOPMENTONLY|FCVAR_GAMEDLL|FCVAR_REP LICAT ED
// Default: "300"

mp_td_dmgtokick "300"

// The damage threshhold players have to exceed in a match to get warned that they are about to be kicked.
// Flags: FCVAR_DEVELOPMENTONLY|FCVAR_GAMEDLL|FCVAR_REP LICAT ED
// Default: "200"

mp_td_dmgtowarn "200"

// The damage threshold players have to exceed at the start of the round to be warned/kick.
// Flags: FCVAR_DEVELOPMENTONLY|FCVAR_GAMEDLL|FCVAR_REP LICAT ED
// Default: "50"

mp_td_spawndmgthreshold "50"



*edit
If you edit Valve default config files, those files will be reset back after updating SRCDS through SteamCMD.


All times are GMT -4. The time now is 06:58.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.