This site is a testing version, but all data is shared with the live forum.


Raised This Month: $ Target: $400
 0% 

[L4D] Reserved slots with no wasted slots


Post New Thread Reply   
 
Thread Tools Display Modes
strontiumdog
Veteran Member
Join Date: Jan 2007
Location: BC, Canada
Old 01-26-2009 , 01:37   Re: [L4D] Reserved slots with no wasted slots
Reply With Quote #21

OK.
I changed the whole method of kicking by least time on the server.

Should work now.
__________________
Plugins | TheVille
Zombie Mod for DoD:S - l4dod.theville.org
strontiumdog is offline
santaclaus
Senior Member
Join Date: Dec 2008
Old 01-26-2009 , 09:54   Re: [L4D] Reserved slots with no wasted slots
Reply With Quote #22

Quote:
Originally Posted by strontiumdog View Post
OK.
I changed the whole method of kicking by least time on the server.

Should work now.
Does that mean that we don't need that cvar anymore ?

Quote:
sm_reserve_kicktype 0
0 = Highest Ping
1 = Highest Time
2 = Random
3 = Lowest Time
__________________

santaclaus is offline
strontiumdog
Veteran Member
Join Date: Jan 2007
Location: BC, Canada
Old 01-26-2009 , 10:29   Re: [L4D] Reserved slots with no wasted slots
Reply With Quote #23

No.
The other methods still work, so you need the cvar.

Technical explanation.
The old method of kicking by least time on the server involved checking everyone's time on the server and finding the shortest one and kicking them (except people with custom1 and reservation of course). The detection method was not reliable.

So I decided to implement a LIFO - last in first out.
This is an ADT array where your client number gets stored in the array. If you leave, the client number is removed. If you are the last one in, you will be the first to go....

Hope this makes sense


I might suggest to the devs to add this to the normal SM reserved slot plugin.
__________________
Plugins | TheVille
Zombie Mod for DoD:S - l4dod.theville.org
strontiumdog is offline
Darin
Member
Join Date: Dec 2008
Old 01-26-2009 , 17:54   Re: [L4D] Reserved slots with no wasted slots
Reply With Quote #24

It is not working properly, when I set it to the lowest time. And I type reserved slot 1 in HLSW it kicks the player with the least time, but when it enters into L4D another player connects before me. It won't keep the slot open...

sm_reservedslot_time 30.0
sm_reserve_kicktype 3

This is what I have set in the sourcemod.cfg file
Darin is offline
Big Myke
Senior Member
Join Date: Jan 2009
Location: Grain Belt, USA
Old 01-26-2009 , 19:30   Re: [L4D] Reserved slots with no wasted slots
Reply With Quote #25

Quote:
Originally Posted by Darin View Post
It is not working properly, when I set it to the lowest time. And I type reserved slot 1 in HLSW it kicks the player with the least time, but when it enters into L4D another player connects before me. It won't keep the slot open...

sm_reservedslot_time 30.0
sm_reserve_kicktype 3

This is what I have set in the sourcemod.cfg file

I have the same problem ='(
Big Myke is offline
strontiumdog
Veteran Member
Join Date: Jan 2007
Location: BC, Canada
Old 01-26-2009 , 20:56   Re: [L4D] Reserved slots with no wasted slots
Reply With Quote #26

http://forums.alliedmods.net/showpos...70&postcount=2

Set up autojoin BEFORE you open the slot.
You should connect immediately a person gets kicked.
__________________
Plugins | TheVille
Zombie Mod for DoD:S - l4dod.theville.org
strontiumdog is offline
Darin
Member
Join Date: Dec 2008
Old 01-26-2009 , 22:10   Re: [L4D] Reserved slots with no wasted slots
Reply With Quote #27

Ahh, it's too bad that HLSW doesn't have an auto join option. I can just use it in L4D I guess .

Thanks!
Darin is offline
strontiumdog
Veteran Member
Join Date: Jan 2007
Location: BC, Canada
Old 01-26-2009 , 22:23   Re: [L4D] Reserved slots with no wasted slots
Reply With Quote #28

You could make the delay longer. It would keep kicking people until you managed to get in.
__________________
Plugins | TheVille
Zombie Mod for DoD:S - l4dod.theville.org
strontiumdog is offline
ProdigyXP
Member
Join Date: Jan 2009
Old 01-27-2009 , 12:31   Re: [L4D] Reserved slots with no wasted slots
Reply With Quote #29

Quote:
Originally Posted by DevilsReject View Post
this is not working i get this error
StatusPHPError: Connection timed out (110)
I'm getting the exact same error. I think it has something to do with my free host blocking the port perhaps. Does anyone know of a free host that this actually works with? I love the idea rather than having my admins running 3rd party programs that give out the rcon password.
ProdigyXP is offline
Dark-Reaper
Member
Join Date: Jan 2009
Old 01-28-2009 , 12:04   Re: [L4D] Reserved slots with no wasted slots
Reply With Quote #30

Quote:
Originally Posted by Darin View Post
Ahh, it's too bad that HLSW doesn't have an auto join option. I can just use it in L4D I guess .

Thanks!
There is an auto-join option.
Dark-Reaper is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 18:43.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode