View Single Post
Mister_Magotchi
SourceMod Donor
Join Date: Dec 2006
Location: Nampa, Idaho
Old 05-13-2011 , 14:00   Re: Replays and Reserved Slots
Reply With Quote #3

This only reduces the player count that the reserved slots official plugin uses internally.

Although I've never used SourceTV and SourceMod together (only used it on match servers), if it behaves the same way (counted with the GetClientCount function), then this would fix it, but if you're using both SourceTV and replays at the same time, you would want to change the number subtracted (on line 25) to 2 instead of 1.

I can confirm again from more playing last night, though, that my fix works great when running just replays. With 24 humans and the replay bot (with sv_visiblemaxplayers 25), it shows as 25/25 in the Steam server browser and 24/24 in the in-game server browser and allows 24 people without reserved slots to play in the game without being kicked for reservation.
Mister_Magotchi is offline