What steps will reproduce the problem?
1.Install 1.2T
2.Set up your mani_server.cfg like this:
*****************************************************************************
// Module 06: Reserved Slots
//
// Desc : The Reserved Slots module configuration cvars
//
*****************************************************************************
// Turn on / off reserve slots
mani_reserve_slots 1
// Number of reserve slots you have
mani_reserve_slots_number_of_slots 2
// User defined message shown in players console when kicked
mani_reserve_slots_kick_message "You were disconnected for using a reserve
slot"
// User defined message for redirection of players to another server
mani_reserve_slots_redirect_message "This server is full, you are being
redirected to another one of our servers"
// The IP address of the server you wish to redirect players to. Leave it
blank
// if you do not want redirection to be used
mani_reserve_slots_redirect ""
// This defines whether you want your reserve slots to fill with reserve
players
// or always be kept free (1 = allow slots to fill, 0 = always keeps slots
free
// and kick player instead)
mani_reserve_slots_allow_slot_fill 0
// Type of method used to kick players, 0 = by highest ping (spectators
first),
// 1 = by connection time (spectators go first)
mani_reserve_slots_kick_method 1
// IPs of players get stored to allow reserve slots and password bypassing
( admins )
// to work via the gui server browser. This setting allows the server to
purge stale
// records after a set amount of time.
mani_reserve_slots_ip_keep_history 0
// Enforces the password even for admins. The new reserve slot system can
allow
// admins to bypass the server password and join. This cvar disables that
feature
mani_reserve_slots_enforce_password 0
// This allows admins with known IP addresses to be allowed to join via the
reserve
// slot system. Setting this to 0 will only allow those in the
reserveslots.txt file.
mani_reserve_slots_include_admin 0
3. Set your server to only have 2 slots and join the server with another person
4. Rename your clients.txt to clients.txt.old & restart your server
What is the expected output?
Because of mani_reserve_slots_allow_slot_fill 0, only one person should be
able to join, while all other players should get instantly kicked because 1
slot is for reserved slots players only.
What do you see instead?
All 2 players can join the server, although 1 slot should only be taken by
a player, while the other should always be keept free for a reserved slot
player (slot that should always be free gets "filled")
What version of the product are you using? On what operating system?
M-A-P 1.2T on Win7 SRCDS
Please provide any additional information below.
Seems like maybe the CVar doesn't get checked?
Original issue reported on code.google.com by farnhammer_manuel@web.de on 27 Dec 2009 at 6:02
Original issue reported on code.google.com by
farnhammer_manuel@web.de
on 27 Dec 2009 at 6:02