Re: H-Reserved (Advanced Reserved Slots)
Quote:
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. |
Re: H-Reserved (Advanced Reserved Slots)
update: released version 1.2.1
this one does not contain any functional changes - there is no need for people to upgrade when they did not encounter problems. I just extended the output of the hrs_status command and restructured/commented the code segment bakerJr had concerns about (without functional changes). edit: released version 1.2.2 did not feel good with BakerJrs problem, tried to build a workaround to get a comparable behaviour for all configs/platforms. |
Re: H-Reserved (Advanced Reserved Slots)
1 Attachment(s)
Here is the web page based joining system by Karma.
Modified for SourceMod and hReserved_Slots! |
Re: H-Reserved (Advanced Reserved Slots)
oh, cool. maybe you should be careful with the re-eanable feature. there is a small issue I did not take into mind when creating the cvar-hook. if you use this feature and have more than one reserved slot, most likely only one slot will be freed on re-enabling. I am fixing this, but this needs some restructuring and will not be just a small change. thanks to Bakerjr
|
Re: H-Reserved (Advanced Reserved Slots)
okay, at last the 3. version for this day :-/
version 1.2.3 should fix the bug mentioned above. |
Re: H-Reserved (Advanced Reserved Slots)
Quote:
I'm glad now only people with the reserved slot flag gets them instead of all the admins :) |
Re: H-Reserved (Advanced Reserved Slots)
anyone notice with tf2
if you use the reserve slot . most of hte time you get the nullname bug? |
Re: H-Reserved (Advanced Reserved Slots)
Quote:
|
Re: H-Reserved (Advanced Reserved Slots)
can you modify your plugin such way that we don't have to manually run the plugin cfg file from server.cfg ?
|
Re: H-Reserved (Advanced Reserved Slots)
Quote:
|
All times are GMT -4. The time now is 12:52. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.