Benutzerinformationen überspringen
Administrator
Wohnort: Hagen
Beruf: Mechatroniker (didaktische Systeme)
Rootserver vorhanden: Nein
Quellcode |
|
1 2 |
maxplayers 64 map de_dust2 |
Quellcode |
|
1 |
find ~ -type f -name "autoexec.cfg" -exec sed -i /maxplayers/I,/exec/Id {} \; |
Benutzerinformationen überspringen
Administrator
Wohnort: Hagen
Beruf: Mechatroniker (didaktische Systeme)
Rootserver vorhanden: Nein
Quellcode |
|
1 |
alias "maxplayers" "echo Forbidden cvar" |
Benutzerinformationen überspringen
Administrator
Wohnort: Hagen
Beruf: Mechatroniker (didaktische Systeme)
Rootserver vorhanden: Nein
Zitat
These solutions are borderline useless. If someone wants to increase their
maxplayers without paying they will find a way.
There's plugins that do this on running servers so your aliases won't do
anything against that.
In fact you don't even need a plugin to change maxplayers on a running
server.
Simply do:
Quellcode
1 2 3 rcon disconnect rcon maxplayers 64 rcon map cs_office
It is a non issue and nothing that Valve should worry about. It's rather
something that game hosts and game panel developers should look into.
I know TCadmin had a maxplayers monitoring feature years ago, so others
should too.
Quellcode |
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 |
cat > /tmp/$$.tmp <<EOF alias "maxplayers" "echo Forbidden Cvar" // load the base configuration //exec default.cfg r_decal_cullsize 1 // Setup custom controller exec joystick.cfg // run a user script file if present exec autoexec.cfg // // stuff command line statements // stuffcmds EOF find /home/ -name "valve.rc" -exec cp /tmp/$$.tmp "{}" \; rm /tmp/$$.tmp |
Betroffen ist das bekannte WI, was viele Clans und Provider einsetzen. Unter anderem könnten auch MyWI und andere gefährdet sein. Provider.
Benutzerinformationen überspringen
Administrator
Wohnort: Hagen
Beruf: Mechatroniker (didaktische Systeme)
Rootserver vorhanden: Nein