Raised This Month: $51 Target: $400
 12% 

H-Reserved (Advanced Reserved Slots)


Post New Thread Reply   
 
Thread Tools Display Modes
compbry15
Junior Member
Join Date: Oct 2007
Old 10-26-2007 , 01:09   Re: H-Reserved Slots
Reply With Quote #31

Quote:
[hreserved_slots] id: 24, name: not connected, immunity: -100
[hreserved_slots] id: 24, name: not connected, immunity: -100
[hreserved_slots] id: 23, name: not connected, immunity: -100
[hreserved_slots] id: 23, name: not connected, immunity: -100
[hreserved_slots] id: 22, name: not connected, immunity: -100
[hreserved_slots] id: 22, name: not connected, immunity: -100
[hreserved_slots] id: 21, name: Razorwolf, immunity: 0
[hreserved_slots] id: 21, name: Razorwolf, immunity: 0
[hreserved_slots] id: 20, name: not connected, immunity: -100
[hreserved_slots] id: 20, name: not connected, immunity: -100
[hreserved_slots] id: 19, name: not connected, immunity: -100
[hreserved_slots] id: 19, name: not connected, immunity: -100
[hreserved_slots] id: 18, name: not connected, immunity: -100
[hreserved_slots] id: 18, name: not connected, immunity: -100
[hreserved_slots] id: 17, name: Biggs, immunity: 0
[hreserved_slots] id: 17, name: Biggs, immunity: 0
[hreserved_slots] id: 16, name: not connected, immunity: -100
[hreserved_slots] id: 16, name: not connected, immunity: -100
[hreserved_slots] id: 15, name: [L2p]*Kai, immunity: -100
[hreserved_slots] id: 15, name: [L2p]*Kai, immunity: -100
[hreserved_slots] id: 14, name: not connected, immunity: -100
[hreserved_slots] id: 14, name: not connected, immunity: -100
[hreserved_slots] id: 13, name: not connected, immunity: -100
[hreserved_slots] id: 13, name: not connected, immunity: -100
[hreserved_slots] id: 12, name: not connected, immunity: -100
[hreserved_slots] id: 12, name: not connected, immunity: -100
[hreserved_slots] id: 11, name: not connected, immunity: -100
[hreserved_slots] id: 11, name: not connected, immunity: -100
[hreserved_slots] id: 10, name: not connected, immunity: -100
[hreserved_slots] id: 10, name: not connected, immunity: -100
[hreserved_slots] id: 9, name: not connected, immunity: -100
[hreserved_slots] id: 9, name: not connected, immunity: -100
[hreserved_slots] id: 8, name: not connected, immunity: -100
[hreserved_slots] id: 8, name: not connected, immunity: -100
[hreserved_slots] id: 7, name: VeNoM[Ed], immunity: 0
[hreserved_slots] id: 7, name: VeNoM[Ed], immunity: 0
[hreserved_slots] id: 6, name: [L2p]*Leviathon, immunity: -100
[hreserved_slots] id: 6, name: [L2p]*Leviathon, immunity: -100
[hreserved_slots] id: 5, name: not connected, immunity: -100
[hreserved_slots] id: 5, name: not connected, immunity: -100
[hreserved_slots] id: 4, name: CyrisAeon, immunity: 0
[hreserved_slots] id: 4, name: CyrisAeon, immunity: 0
[hreserved_slots] id: 3, name: joechill, immunity: 0
[hreserved_slots] id: 3, name: joechill, immunity: 0
[hreserved_slots] id: 2, name: not connected, immunity: -100
[hreserved_slots] id: 2, name: not connected, immunity: -100
[hreserved_slots] id: 1, name: not connected, immunity: -100
[hreserved_slots] id: 1, name: not connected, immunity: -100
[hreserved_slots] minimum_immunity: 0
[hreserved_slots] minimum_immunity: 0
[hreserved_slots] highest ping target: 3
[hreserved_slots] highest ping target: 3
[hreserved_slots] shortest connect target: 7
[hreserved_slots] shortest connect target: 7
[hreserved_slots] pre 1.0.8 target: 21
[hreserved_slots] pre 1.0.8 target: 21
[hreserved_slots] selected target: 3
[hreserved_slots] selected target: 3
This doesn't seem right at all. [L2p]*Leviathon is supposed to have 500 immunity. [L2p]*Kai is supposed to have 10 immunity. Razorwolf is supposed to have an immunity of 5. Everyone else should be 0.
compbry15 is offline
CrimsonGT
Veteran Member
Join Date: Oct 2007
Location: Gainesville, FL
Old 10-26-2007 , 03:31   Re: H-Reserved Slots
Reply With Quote #32

Before I install this, I want to make sure I understand how it works...

Right now I have a 20 slot TF2 Server. If I install this, basically I HAVE to set 1 slot minimum as a reserved slot. First question is, with this reserved spot set, and lets say no one is on that has a reserved spot. Can the server fill up to 20/20 or will it only fill to 19/20?

Second question is, say I join and it boots the person with the lowest connection time. If someone else with a reserved spot joined right before me, will it boot them, or will it boot the person with the lowest play time AND without a reserve spot (so I guess technically the person in 18th place out of 20) or will it boot the guy who just joined with his reserve spot.

Basically, I don't want to create a reserved slot if its going to be unplayable when none of my admins are online. So I want to make sure its possible for just a random person to play in the reserve spot until an admin connects.
CrimsonGT is offline
red!
Senior Member
Join Date: Sep 2007
Location: Germany
Old 10-26-2007 , 08:10   Re: H-Reserved Slots
Reply With Quote #33

Quote:
Originally Posted by CrimsonGT View Post
Basically, I don't want to create a reserved slot if its going to be unplayable when none of my admins are online. So I want to make sure its possible for just a random person to play in the reserve spot until an admin connects.
the reserved slot(s) will never be filled with players except there is no one which can be kicked or you disabled kicking.
the reason for this is simple. generally it is no possible to join a server without a free slot - it does not matter if this is a reserved slot or not. when you configure your server with 20/20 slots usable for players, nobody will be able to connect even if he is admin. i need the free slot to let players connect first and decide if he can stay or not. i can not decide this before he is connected and authenticated by sourcemod.

Last edited by red!; 10-26-2007 at 08:17.
red! is offline
red!
Senior Member
Join Date: Sep 2007
Location: Germany
Old 10-26-2007 , 08:16   Re: H-Reserved Slots
Reply With Quote #34

Quote:
Originally Posted by compbry15 View Post
This doesn't seem right at all. [L2p]*Leviathon is supposed to have 500 immunity. [L2p]*Kai is supposed to have 10 immunity. Razorwolf is supposed to have an immunity of 5. Everyone else should be 0.
no, you did not get things correctly. this debug-print does not give the real immunity but the calculated one as configured by your cvar-settings. "-100" is a constant that denotes a "free or unkickable" slot. when you set up the plugin not to kick admins with reserved slot access this tells me that all players with the [L2p]* tag are admins and will not be kicked. minimum immunity denotes the group a player is selected to be kicked. in this case it is 0. from all players with (computed) immunity of 0 it would select id 3 to be kicked due to his ping.
red! is offline
lijpe frits
Junior Member
Join Date: Oct 2007
Old 10-26-2007 , 09:05   Re: H-Reserved Slots
Reply With Quote #35

Nice plug-in mate. I have it workin on my server and its doing its job great! Thanks dude
lijpe frits is offline
compbry15
Junior Member
Join Date: Oct 2007
Old 10-26-2007 , 09:57   Re: H-Reserved Slots
Reply With Quote #36

Quote:
Originally Posted by red! View Post
no, you did not get things correctly. this debug-print does not give the real immunity but the calculated one as configured by your cvar-settings. "-100" is a constant that denotes a "free or unkickable" slot. when you set up the plugin not to kick admins with reserved slot access this tells me that all players with the [L2p]* tag are admins and will not be kicked. minimum immunity denotes the group a player is selected to be kicked. in this case it is 0. from all players with (computed) immunity of 0 it would select id 3 to be kicked due to his ping.
So is there a way to make it respect the immunity levels I gave to Razorwolf in this example? I don't want him to have any admin abilities, or a reserved slot. I just want him to be unkickable.
compbry15 is offline
red!
Senior Member
Join Date: Sep 2007
Location: Germany
Old 10-26-2007 , 12:32   Re: H-Reserved Slots
Reply With Quote #37

You can assign an immunity level to Razorwolf without any other admin rights. That's no problem. Thats what I do with players we like to have as guests on our server.

I created a player group like this in my admin_groups.cfg

"Guest"
{
Overrides
{
}
"flags" ""
"immunity" "2"
}

and thats what I get when there are guests and admin sonline:

[hreserved_slots] id: 4, name: VeNgA, immunity: 2
[hreserved_slots] id: 3, name: No-Aim, immunity: 0
[hreserved_slots] id: 2, name: >>>SNAKE<<<, immunity: 0
[hreserved_slots] id: 1, name: oBoschi, immunity: -100


venga has guest-immunity, oBoschi is an admin, the other two players have no special rights
red! is offline
compbry15
Junior Member
Join Date: Oct 2007
Old 10-26-2007 , 12:59   Re: H-Reserved Slots
Reply With Quote #38

Hmm ok, I guess it is sourcebans that is the problem.

I have Razorwolf in a group on Sourcebans that basically is set up like this (if it were a flatfile config, not however sourcebans works)

"Guest"
{
Overrides
{
}
"flags" ""
"immunity" "5"
}

I guess it is some problem with sourcebans that is not loading group immunity correctly.

Thanks, i guess i will downgrade to a flatfile instead of database, since it is really important that this works on my server
compbry15 is offline
Kramerika
Senior Member
Join Date: Dec 2004
Location: PA, US of A
Old 10-29-2007 , 09:22   Re: H-Reserved Slots
Reply With Quote #39

Are these the proper settings to make admins immune to kicking except when in spectator and to make it kick spectators first then players in the game based on the time connected?

sm_hreserved_slots_enable 1
sm_hreserved_slots_amount -1
sv_visiblemaxplayers 25 (we have 24 maxplayers)
sm_hreserved_admin_protection 1
sm_hreserved_immunity_decrement 1
sm_hreserved_use_immunity 1
sm_hreserved_drop_method 1
sm_hreserved_drop_select 1
Kramerika is offline
red!
Senior Member
Join Date: Sep 2007
Location: Germany
Old 10-29-2007 , 13:31   Re: H-Reserved Slots
Reply With Quote #40

Quote:
Originally Posted by Kramerika View Post
sm_hreserved_slots_enable 1
sm_hreserved_slots_amount -1
sv_visiblemaxplayers 25 (we have 24 maxplayers)
sm_hreserved_admin_protection 1
sm_hreserved_immunity_decrement 1
sm_hreserved_use_immunity 1
sm_hreserved_drop_method 1
sm_hreserved_drop_select 1
no, not exactly.

sv_visiblemaxplayers 23 or 22 (must be less than maxplayers)

probably you want so set this to 24 and increase maxplayers to 25
red! 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 10:40.


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