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

reserved slot issue


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
snelvuur
Veteran Member
Join Date: Jun 2008
Location: Netherlands
Old 02-24-2012 , 14:02   reserved slot issue
Reply With Quote #1

ofcourse there are tons of topics, but none really seems to go anywhere i think.

my issue is pretty simple, 24 slots 2 hidden slots.

1.Sometimes a regular player comes and he gets kicked during loading (so could be a admin joined in at the same time)
2. A regular is on the server and the map changes, he gets kicked because of reserved slot.

The regular/normal player has no special flags at all.

sm_reserve_type 0
sm_reserved_slots 2
sm_hide_slots 1

Server starts up with -maxplayers 26 in commandline. I dont have any maxplayers settings in the server.cfg..

So what goes wrong here?

In theory admins should always be allowed to fill the 2 slots but it should never kick a normal player. When other people leave it comes down to 24 and when its 23 normal people can join again (admins can ofcourse still join till 26)
__________________
Arguing with a fool only proves there are two
snelvuur is offline
Powerlord
AlliedModders Donor
Join Date: Jun 2008
Location: Seduce Me!
Old 02-24-2012 , 14:34   Re: reserved slot issue
Reply With Quote #2

I've never had much luck with the stock reserved slots modules. I tend to use Immunity Reserve Slots (although I have yet to upgrade to 2.0) which bypasses the need for hidden slots by using an extension (CBaseServer or Connect) to add an OnClientPreConnect hook, allowing the plugin to check if a client has a reserved slot before the server refuses the connection because the server is full.

tl;dr
I use maxplayers 24 and Immunity Reserve Slots for my 24-player server.
__________________
Not currently working on SourceMod plugin development.

Last edited by Powerlord; 02-24-2012 at 14:38.
Powerlord is offline
snelvuur
Veteran Member
Join Date: Jun 2008
Location: Netherlands
Old 02-24-2012 , 15:50   Re: reserved slot issue
Reply With Quote #3

link to immunity reserve slots is incorrect.. http://forums.alliedmods.net/showthread.php?p=833338 right?
__________________
Arguing with a fool only proves there are two
snelvuur is offline
Powerlord
AlliedModders Donor
Join Date: Jun 2008
Location: Seduce Me!
Old 02-24-2012 , 16:13   Re: reserved slot issue
Reply With Quote #4

Quote:
Originally Posted by snelvuur View Post
link to immunity reserve slots is incorrect.. http://forums.alliedmods.net/showthread.php?p=833338 right?

Sorry, yeah, I used the topic BBCode with a post number instead of a topic number.
__________________
Not currently working on SourceMod plugin development.
Powerlord is offline
snelvuur
Veteran Member
Join Date: Jun 2008
Location: Netherlands
Old 02-24-2012 , 16:29   Re: reserved slot issue
Reply With Quote #5

So basicly your link does the same but then different?

I dont really see the "hide 2" dont kick normal players if more then 24.. i mean if its 26, then even admins cant join (because within that time someone will leave anyway)

Any examples?
__________________
Arguing with a fool only proves there are two
snelvuur 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 04:43.


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