View Full Version : Question on the Slot Reservation System
JoeFX
15th August 2005, 10:31
It says that we can have 20% of the slots reserved, does that mean that we can only put 6 of these entries in...
# Add profileids to the reserved list
mm_reserver.addProfileId 11111
Or, could we put in 32 of them and have ModManager just handle the first 6 of the requests (20%) ?
Also, what stops it from kicking one clan member to make way for another?
DiceDuP
15th August 2005, 19:42
You can add as many ID's as u like but only 20% reserved - if u have a 32 player server, it will only allow 26 players to play on it + whoever is using the reserved slots.
Tom
15th August 2005, 20:13
Thats not entirely true I dont think.
The reserved slots will kick a player who is already on the server to allow the connecting playing access to the server. I would imagine that it wont check anyone whos ProfileID is added in the list though.
Nope tom its the otherway round.
Tom
15th August 2005, 20:39
So it will only kick people who are added in the list in the modmanager.con ?
It will kick people who join when it needs to reserve space who are not listed profileids. Once a space is filled its filled. It wont kick someone just to maintain space for someone who may or may not try to join.
However if someone leaves it will again keep that space open by kicking anyone who tries to join without a registered profileid.
ScHiZo KiLlEr
16th August 2005, 13:52
Hi All,
Sorry about this question. :confused:
Reserved slots
If I reserve say 6 slots and reserve them for 6 clan members, do I add them and I like this: -
# Add profileids to the reserved list
mm_reserver.addProfileId 12345676 < that being a BF2 play ID number
# Add profileids to the reserved list
mm_reserver.addProfileId 11111
mm_reserver.addProfileId 22222
mm_reserver.addProfileId 33333
mm_reserver.addProfileId 44444
mm_reserver.addProfileId 55555
mm_reserver.addProfileId 66666
Then once we join our server which is full somebody will get kicked to allow me or members in with the reserved slot.
Is this correct?
Thank You ;)
xgeek
16th August 2005, 14:08
Nope does not work like that.
If you reserve 6 slots on a 32 player ranked server. Your server will only let in 26 players. As soon as a none VIP player joins they get kicked to keep the # players at 26. When one of the VIP players that is in your list joins, it lets them in. So you then can have 27 players in game.
Bottom line, if you don't have any clan players in game your game size is 26. The only way to have a full game with 6 reserved slots is to make sure you have 6 VIP players in game 24/7.
CptCavemanUK
16th August 2005, 14:52
ok BUT, if i was to add say 10 player ID's.. would it allow any 6 of the 10 in? so i could list my whole clan in modmanager.con and allow it to allocate the 6 slots based on who signs in first.. with the remain 4 having to kick people manually to get in?
Yes
I'd say people want to set 2 reserved slots max. People leave quite often especially on the larger servers and when the do if more profileid'd players are listed these slots will be kept open for them to join.
Doing this will allow then to join fairly quickly without having to kick people already playing and without effecting the max players too much.
the_ea_clan
17th August 2005, 00:17
Hi there,
Just to confirm as it's late and the stella has taken effect... ;)
Can i add ALL our Clan to the mod manager list... ?
(if yes, how do i do this)
And then just allocate however many slots i want to... ?
(also, how do i do this)
Cheers. :)
Yes u can.
The docs show u how.
the_ea_clan
17th August 2005, 00:35
Nice one.
Am looking at the docs now ... Reserver ( mm_reserver )
How do i get the 5 digit user id's ?
Cheers. :)
chicago
17th August 2005, 01:45
I am going to try the PID and it is 8 digits
you can find PID on bf2tracker.com or bf2s.com
[ES]Secret_Sqrl
17th August 2005, 14:02
all seems a bit wonkey to me. You really want the system to have a full server and kick if an reserved PID connects. Having said that it never worked like that on 42 either. The last two slots could be reserved and you needed a password for them. I decided not to use this, I shall simply kick to make space if required and hope somebody else doesnt get in before me!
Tom
17th August 2005, 14:21
To be honest, thats the way that I thought the reserved system would work, but after discussing it with Boffbowsh, I realise why its been done this way.
From what I understand, when a client attempts to connect to the server, the server comes back saying 'Yes, there is a space, join' or 'No, i'm full, go away'. Then, surely it would just be a case of putting something in there that checks the PID from the list and then kick someone and let them join in? Unfortunatly not. The server wont allow the python system tp make any modification to this section of the server.
Hope that (kind of) clears that up. Killing certainly knows what hes doing and i'm sure if there was a better way of doing it, it would have been done.
Originally posted by [ES]Secret_Sqrl
all seems a bit wonkey to me. You really want the system to have a full server and kick if an reserved PID connects. Having said that it never worked like that on 42 either. The last two slots could be reserved and you needed a password for them. I decided not to use this, I shall simply kick to make space if required and hope somebody else doesnt get in before me!
Indeed this is the reason for the module being flagged as BETA in the docs and not enabled by default in our addon. Even though it works the way is works is particularly poor. As tom has already said though if there where a better way I'd do it but there isnt :(
Bazooka_Boy_EWG
18th August 2005, 09:48
Would it be possible to do something like the following?
Two slots are set to be reserved (2 to retain even team balance).
These are only accessable to player who have a GUID specified in the config file and know the reserved password etc.
Once the number of slots used goes over a certain number (62 on a 64 player server, 30 on a 32 player server etc). Then a kick is made of a player not on the reserved GUID list. Either by highest ping, longest idle etc. Thus taking you back to two free, reserved slots again.
This way there is always free slots for clan players without having to reserve loads. The existing kick functionality can be used. All that is needed is an 'if' type statement that runs every 30 seconds or something
If slots used > 60 then excute kick higest ping
I know it's not going to be that simple :) and I've never messed with the nod files but just incase no-one has thought of the above
Baz
Almost no diff to what it currently does there.
pgard16
18th August 2005, 11:25
reserverd slot seems to be working fine, i have 5 id's so far and 1 reserved slot. Is there anyway to change the message that non reserved players get when they cannot connect even though it looks like there is 1 slot available ? as at the moment it looks like they are being kicked for being naughty.
No this is not changable. We have requested this is fixed in 1.03 of BF2
pgard16
18th August 2005, 11:57
ok, it is working good anyway, only need to leave 1 slot or 2 to keep teams even :cool:
the_ea_clan
18th August 2005, 22:05
We have a 40 player Server so i reserved 8 Slots and put in all 41 clan members uid's.
Currently got 3 clan members in game but there are total 37 players on the Server... ?
Should this not be 32 players ?
Thought it only went up past the 32 if everyone on was on the list ?
Cheers. :)
the_ea_clan
18th August 2005, 22:37
Also now the Server is full and i cannot join... :(
So something not right somewhere in my setup.
Tom
18th August 2005, 22:41
By default, the mm_reserver module is commented out of the modmanager.con. Have you removed the # from the start of the line? If not, remove it and restart your server. The settings should take effect.
If you have, there is a problem somewhere. Drop in to #mpukhosting or send us an email at clanservers@multiplay.co.uk and we'll sort you out :)
the_ea_clan
18th August 2005, 22:45
D'oh! just noticed all sections in the modmanager have the #'s.
i.e.
#
# ModManager Reserver v0.4
#
mm_reserver.kickDelay 5
mm_reserver.kickMessage "Sorry '%s' your are being kicked ( reserved slots reached )"
mm_reserver.kickMode 2
mm_reserver.kickType 1
mm_reserver.privatePassword ""
mm_reserver.reservedSlots 8
and so on...
Do i remove the middle one then ? And shoudl i do that for all sections i want to implement... ?
Cheers. :)
Tom
18th August 2005, 22:52
No, they are just comments telling you which section the code below is for.
It should be somewhere near the top.
# Modules
modmanager.loadModule "mm_tk_punish"
modmanager.loadModule "mm_kicker"
modmanager.loadModule "mm_announcer"
modmanager.loadModule "mm_bf2cc"
modmanager.loadModule "mm_autobalance"
#modmanager.loadModule "mm_reserver"
You want to remove the # on the last line there.
the_ea_clan
18th August 2005, 22:55
Sorted mate, many thanks - especially at this late hour... ;)
Tom
18th August 2005, 22:56
No problem :)
the_ea_clan
18th August 2005, 22:59
you guys are my best friends :)
Oh ands apologies to original poster for using this thread...
Bunty[2-game]
19th August 2005, 09:19
Sorry about this guys, new to BF2 and Multiplay etc.
This quoted below doesn't appear in the ModManager bit, so do you have to type it in or something? I know the ID's of the clan so thats no problem, and i assume where you see below the 'mm_reserver.addProfileId 11111' that the 11111's = PID's.
This then prevents our clan members from being kicked as they will be VIP's?
And by removing the # from the #modmanager.loadModule "mm_reserver" this will activate the private slots?
And all this does work for ranked servers?
So many questions, I am sorry but i would like to get it finally sorted.
Originally posted by ScHiZo KiLlEr
# Add profileids to the reserved list
mm_reserver.addProfileId 12345676 < that being a BF2 play ID number
# Add profileids to the reserved list
mm_reserver.addProfileId 11111
mm_reserver.addProfileId 22222
mm_reserver.addProfileId 33333
mm_reserver.addProfileId 44444
mm_reserver.addProfileId 55555
mm_reserver.addProfileId 66666
Cheers in advance
Tom
19th August 2005, 10:27
Hi Bunty,
Let me try and answer these as best I can.
Originally posted by Bunty[2-game]
This quoted below doesn't appear in the ModManager bit, so do you have to type it in or something? I know the ID's of the clan so thats no problem, and i assume where you see below the 'mm_reserver.addProfileId 11111' that the 11111's = PID's.
There should be something similar to what you have quoted that appears in the modmanager.con file in ClanForge. The second block of code that you posted is correct though. You need to add each ID like that.
Originally posted by Bunty[2-game]
This then prevents our clan members from being kicked as they will be VIP's?
I'm not sure if it will prevent your members from being kicked from the server, but it will allow those IDs to occupy the reserved slots on your server on a first come, first served basis.
Originally posted by Bunty[2-game]
And by removing the # from the #modmanager.loadModule "mm_reserver" this will activate the private slots?
Yes, it should do.
Originally posted by Bunty[2-game]
And all this does work for ranked servers?
It does yes, but there is a limit of 20% of the max players on the server. A maximum of 6 slots for a 32 man server etc.
Hope that helps :)
Bunty[2-game]
19th August 2005, 10:38
Thanks Tom, the only bit I'm not too sure about is that in modmanager.con there isn't the line or anything simular to:
'mm_reserver.addProfileId 11111'
So would be OK to add it or them below the line:
mm_reserver.reservedSlots ?
At the moment though if our member connect through the in-game part 'connect to IP' they can enter the password and they get in.
Would you advise to just leave it as it is as it works or to do the above?
Really sorry for my level of dumbness but I would really like to understand it all:)
Tom
19th August 2005, 10:45
If it doesn't appear, you can add it yes, but it really should be in there. What's your MH number?
I was under the impression that the password would only work on an unranked profile? Are you sure you are using a ranked profile?
If the password doesn't work for ranked servers, you will need to add the IDs in anyway (its probably a good idea to put them in anyway, just incase).
Bunty[2-game]
19th August 2005, 11:06
MH3091
Yes it is ranked.
I'll add the ID's this afternoon some time. I assume as you wanted the MH number you will take a look of the config as it stands now. I can assure you nothing has been deleted.
Many thanks for your help
Bunty
Tom
19th August 2005, 11:17
Bunty, i've just taken a look and it isn't in there. I thought it got added as default. Nevermind. :)
mm_reserver.kickDelay 5
mm_reserver.kickMessage "Sorry '%s' your are being kicked ( reserved slots reached )"
mm_reserver.kickMode 2
mm_reserver.kickType 1
mm_reserver.privatePassword "xxx"
#mm_reserver.reservedSlots 4
mm_reserver.addProfileId 11111
mm_reserver.addProfileId 22222
mm_reserver.addProfileId 33333
Just add them like that.. And you'll need to remove the # from the start of the reservedSlots line too.
Once you've altered the profile, select the 'Restart servers based on this profile', and click save. That will restart your server and the settings should take effect.
Bunty[2-game]
19th August 2005, 12:57
OK will do, i thought i was going mad when i read this thread LOL.
Anyway thanks for all your help
vBulletin® v3.7.1, Copyright ©2000-2008, Jelsoft Enterprises Ltd.