Quote:
Originally Posted by Itcheh
Quote:
Originally Posted by BeetleFart
[UPDATED]1.0.0.10 12/17/2004
Redid say Commands to using the new player_say event provided by valve.
Added ReservedSlot cvar def=0 set to 1 and it will kick the first found non admin
when the server fills to MaxPlayers.
I added a mechinism to retain players information for a while after they
disconnect, so that when the guy tks someone or whatever and quits before you can
ban them, now the ban command will search through disconnected players who have
from the last half hour or so and get there steamid and still allow you to ban then.
If after JoeSmoe tks and quits, do a chat or console @ban joe 1440 and if no one currently
connected matchs the targetlookup, it will then search the disconnected players
and find him and ban him for 1440 minutes...0 for permanant.
No more having to look through the logs or console to find a steamid.
this can be turned off via cvar EnableKeepInMem def=1 0 to disable.
I really do not know how researved slots work. So I added one anyway.
If the server fills up, it will search through the players list and
pick the first non admin it finds and kick them.
if this isnt how a reserved slot works let me know.
|
Reserved Slots:
If i have a 20 player server, I set it to 2 reserved slots. It freely allows 18 players to join, If a 19th attempts to join it checks if they are admin for the server, or if they are in the reserved slot list, if not, it kicks them with a message of Reserved Slot. But if they are on the list it will let them in.
|
Quote:
On reserved slots, I don't know how it should work, but here's how I've been determining who to kick when manually making room for my admins.
Kick order:
1. Spectators
2. Highest ping
3. Lowest kills
Maybe you can use that algorithm if the engine allows you to access those data fields.
|
This is an awful way to choose who to kick, this way it'll kick server's friends that maybe suck or have a high ping
Reserved slots are made to change server status to full for anyone except admins
Once admin is inside, he has to choose who he ll kick if he wants to free the reserved slot he took...
I moderate my saying about the awful way, this is a good way for a l33t server who has no friends that arent admins