ValveSoftware / csgo-osx-linux

Counter-Strike: Global Offensive
http://counter-strike.net
786 stars 69 forks source link

banid convar missing #3588

Open noaim opened 11 months ago

noaim commented 11 months ago

Your system information

Please describe your issue in as much detail as possible:

If you open the console and write into it kickid the respond is "[Console] Usage: kickid < userid | uniqueid > { message }" but if you type "banid" nothings happens even if set sv_banid_enabled true.

also writeid doesnt work either.

Tried it clientside when starting the game and opening the console, and also from a rcon tool (since rcon doesnt work as client while being on the server)

Steps for reproducing this issue:

  1. start the game and open the console
  2. type in banid
  3. no reaction
ghostt187 commented 11 months ago

As of the 3/30/2023 update a lot of commands received a devonly + defensive flag. You can use these commands only if you set DefensiveConCommands to 0 in csgo_core/gameinfo.gi. Developmentonly commands without the defensive flag cannot be used even with DefensiveConCommands "0"

noaim commented 11 months ago

but soon as i edit the gameinfo.gi and a cs2 updates comes out, the custom entry will get overwritten or not?

ghostt187 commented 11 months ago

yes, there are some scripts which can help so that file not get overwritten but i would suggest not to do anything but let it get overwritten and do the steps for editing again its a simple thing