ARS - Avoid Reserved Slots - A server browser hack to hide reserved slots
typodaemon
Join Date: 2013-07-04 Member: 185922Members
in Modding
I've made a quick hack of a mod to address the issue of reserved slots on servers.
All it does is search the name of the server for the string "RS:" and then read the next two characters as the number of reserved slots. Then it subtracts the number of reserved slots from the maximum player count. So if your server is named "King Kahuna Hive #5 RS:02" and it's reporting 20/22 players then this mod will show it as 20/20 players (full). You can still try to connect (if you have a reserved slot, you'll be fine) and if you have "Hide Full" checked it would be hidden. I don't know of any servers that have more than 9 reserved slots, but I used 2 digits just to be sure. If you list a server as "RS:2 " with a trailing space it should read as 2 just fine, but I haven't tested it.
I need 2 things from the community:
1) Server admins! Please start listing your reserved slots in your server name!
2) Server admins! Are you comfortable with the tag "RS:" or would you rather have it be "#RS" or "Reserved Slots: " or "(NN RS)" or something else?
All it does is search the name of the server for the string "RS:" and then read the next two characters as the number of reserved slots. Then it subtracts the number of reserved slots from the maximum player count. So if your server is named "King Kahuna Hive #5 RS:02" and it's reporting 20/22 players then this mod will show it as 20/20 players (full). You can still try to connect (if you have a reserved slot, you'll be fine) and if you have "Hide Full" checked it would be hidden. I don't know of any servers that have more than 9 reserved slots, but I used 2 digits just to be sure. If you list a server as "RS:2 " with a trailing space it should read as 2 just fine, but I haven't tested it.
I need 2 things from the community:
1) Server admins! Please start listing your reserved slots in your server name!
2) Server admins! Are you comfortable with the tag "RS:" or would you rather have it be "#RS" or "Reserved Slots: " or "(NN RS)" or something else?
Comments
This is a client mod for the server browser. If a server has the "RS:NN" tag in it's name, it will accurately show the number of public slots on the server and hide the reserved slots from the browser. This mod doesn't do anything yet because there aren't any servers yet that have the number of their reserved slots in their name.
Tactical gamer tried listing how many reserved slots before, and of course, the internet, can't read anything. Will pass it on.
IMO, this is what I thought UWE should do in the first place. All it takes is a simple value in the server for how many reserve slots the server has and if there is room it will show. Simple, easy, can easily become standard. Hopefully this expands, gets better, and gets into vanilla!
I'll add "RS#" to the end of Tactical Gamer's server names.
The stock server browser shouldn't advertise a number of reserved slots, and the stock server needn't have reserved slots logic.
UWE needs to give server operators the ability to lie about the number of public slots. Server owners can take it from there to /effectively/ give players /confidence/ that they /will/ have a successful connection attempt when they try to join.
ARS - Avoid Reserved Slots
Someone on reddit mentioned that UWE is going to add official support for reserved slots in an upcoming patch. If anyone has information on this, please forward me a link. I don't want to push for server admins to tag their servers if an official route will be here shortly.
"Whoops" Note: Your mod description cites our "23 minus 7" as equal to "18". Rather, it's 16.
If an 23 slot servername includes "RS:7" i know it is full @ 16. I dont need this mod then.
The real brilliant way would be: Hide the reserved slots serverside.
Mikey likes it?
Maybe if we get lucky they will add this in as a regular feature for the next patch so it won't scare away the normals.
Yes, but if you can't see the RS7 how would you know there are reserved slots.
Yes, that is why the mod is cool, even if you can't see the server has reserve slots, the mod will do it for you.