View Single Post
Bacardi
Veteran Member
Join Date: Jan 2010
Location: mom's basement
Old 11-08-2011 , 10:25   Re: SourceMod 1.4 released!
#49

Quote:
Originally Posted by wildd View Post
Hi, I have question about SourceTV.

On my server I have 28 slots (4 reserved) + 1 SourceTV so total there are 29 slots.


So as I understand there is now correct max player slot count showing in HLstatsX, but why then SourceTV is counted as one of players?

I think correct solution then would be 0/24 or 1/25 as before, because now I don't understand if it will be possible to play 12vs12 players on server.

Or do I only need to change "sv_visiblemaxplayers" cvar to 25 in server.cfg and then HLstatsX will show correct player count?
*edit
Add tv_enable 1 in ...cfg/autoexec.cfg or in server launch parameters +tv_enable 1
**Because it show one less when enable SourceTV from ...cfg/server.cfg**


When enable SourceTV, it increase maxplayers by 1 and will spawn on server as BOT.
Taking one slot for himself.
You see real current status from server as you showed, typing status in console. (1/29)
Quote:
Originally Posted by wildd View Post
players : 1 (29 max)
# userid name uniqueid connected ping loss state adr
# 2 "SourceTV" BOT active
But server player status is show different on in game server browser where players look.

It show 0/28, without reserved slots and sv_visiblemaxplayers -1
- Now, this match maxplayers how you have launch your server ? right ?

Next, you use SM base plugin reservedslots. It automatically change server cvar sv_visiblemaxplayers, when you add 4 reserved slot and hide it. (So don't add cvar sv_visiblemaxplayers anywhere !)
plugin change this sv_visiblemaxplayers 24



This how it show in game server browser, when server is full 24/24

This, current player status from server console (25/29)
Code:
hostname: Cs:s with SourceTV + 4 reserved slots
version : 1.0.0.68/19 4743 secure
udp/ip  : 
map     : cs_office at: 0 x, 0 y, 0 z
sourcetv:  port 27020, delay 30.0s
players : 25 (29 max)

# userid name                uniqueid            connected ping loss state  adr
#      2 "SourceTV"          BOT                                     active
....
So actually, you waste 3 extra slots, 1 extra slot is enough.
But if you want make sure admins can join full server even they connect same time.
Attached Thumbnails
Click image for larger version

Name:	srctv.jpg
Views:	706
Size:	31.1 KB
ID:	94928   Click image for larger version

Name:	srctv1.jpg
Views:	744
Size:	31.2 KB
ID:	94929   Click image for larger version

Name:	srctv2.jpg
Views:	703
Size:	31.1 KB
ID:	94930  
__________________
Do not Private Message @me

Last edited by Bacardi; 11-08-2011 at 10:32.
Bacardi is offline