asherkin / connect

https://forums.alliedmods.net/showthread.php?t=162489
14 stars 6 forks source link

Server reports maxplayers -1 on rare occasions #27

Open iBoonie opened 3 months ago

iBoonie commented 3 months ago

This is pretty rare, maybe 1 or 2 times a week. But there are times where the player count is 1 less than max players until someone disconnects. For example it will show 31/32 in the server browser, but players cannot join with the standard server full message.

This only started happening after the x64 update. I have confirmed with another host that uses the connect ext and they also have the problem, it goes away when the ext is removed.

Something to note, we do have sourcetv running all the time.

gaejuck commented 3 months ago

Same here, this issue was happening before x64 update in my server too.

Kenzzer commented 2 months ago

Is the bug only appearing as you close in on maxplayers, or is player count mismatch happening even earlier, say 24 players reported, but only 15 actually connected.

Same here, this issue was happening before x64 update in my server too.

Are you also running sourcetv ?

gaejuck commented 2 months ago

Yes, My server is running with source tv too

mcdavsco commented 2 months ago

Is the bug only appearing as you close in on maxplayers, or is player count mismatch happening even earlier, say 24 players reported, but only 15 actually connected.

As far as I know only at maxplayers. We run a 28 player server (a different TF2 community to the OP) and if it happens the server browser shows 27/28 even though there's 28 players in game. We've been hitting the issue once or twice a week.

If it is of any help here's how it's typically triggered:

Same here, this issue was happening before x64 update in my server too.

Can confirm we were hitting this prior to the x64 update too, since at least StAC v6.0.4. The problem went away once the connect extension was removed and StAC recompiled to no longer require it.

Are you also running sourcetv ?

Yes we're running sourcetv

iBoonie commented 2 months ago

Is the bug only appearing as you close in on maxplayers, or is player count mismatch happening even earlier, say 24 players reported, but only 15 actually connected.

When we were running the ext, it only occurred once max players was hit, never before.