Quote:
Originally Posted by BarkerJr
Do you think that's my problem? I have 4 public slots, out of 6 slots total. So that's 2 implicit reserved slots.
I guess my point is that when my server has 3/4, the plugin writes to the console that 4/4 public slots are in use. This is incorrect.
sv_visiblemaxplayers 4
sm_hreserved_drop_method 0
sm_hreserved_redirect_target 127.0.0.1:27015
|
this happens with the server-console if somebody joins?
Hm. That's strange. Behaves different for me. I'll check that out again. Did you try with a windows-server or with a linux-box? Should behave the same, but who knows. something must be different for our configurations - and I just need to figure out what it is.
edit:
tried that out with my delelopment-server. I updated to the latest game-version and the latest sourcemod from the subversion-repository. it is counter-strike:source on a linux-box. this is the output if I connect 2 players to the empty server:
Client "Jules" connected (192.168.1.20:27005).
[hreserved_slots] no slot amount defined, using 1 hidden slots as reserved.
[hreserved_slots] public slot used (1/14)
Client "red!" connected (192.168.1.21:27005).
[hreserved_slots] no slot amount defined, using 1 hidden slots as reserved.
[hreserved_slots] public slot used (2/14)
this is exactly what I expected it to be.
edit 2:
maybe you could check out if changing line 181 from
new currentClientCount = GetClientCount(false);
to
new currentClientCount = GetClientCount(true);
I have some concerns if this would be a good idea if two or more people join exactly the same time but maybe this will generate a more predictable result. Would be nice if you test this and tell me wht happened.
edit 3:
changed the behaviour to GetClientCount(true) for release 1.2.2
would still be nice if you check this one out and tell me about your used os/game (maybe TF2?)
this could be a sourcemod bug.