Reserved Slots

ghostdlrghostdlr Join Date: 2015-07-02 Member: 205950Members
edited December 2015 in NS2 General Discussion
I found out 3 commands for reserved slots here : http://wiki.unknownworlds.com/ns2/Console_Commands
sv_reserved_slots <amount> Set the amount of reserved slots available on the server.
sv_add_reserved_slot <amount> Adds a new reserved slot for the SteamID specified.
sv_remove_reserved_slot <amount> Removes the reserved slot for the SteamID specified.

Does this work ? If the server is 24/24 , how can people join ?

Comments

  • Kouji_SanKouji_San Sr. Hινε Uρкεερεг - EUPT Deputy The Netherlands Join Date: 2003-05-13 Member: 16271Members, NS2 Playtester, Squad Five Blue
    edited December 2015
    A server with reserved slots would show in yellow color=yellow]22/24[/color when all public slots are full and as color=yellow]24/24[/color with all slots including the reserved slots are full.

    So what it does is, it takes your max player setting and deducts the amount of reserved slots I think...


    Like I said in another thread, it's confusing and probably should for example be changed to:

    [22/22+2] for full public slots
    [24/22+2] for a full server
  • ghostdlrghostdlr Join Date: 2015-07-02 Member: 205950Members
    I presume the cvar is "sv_add_reserved_slot <steamid>" not "sv_add_reserved_slot <amount>" , right ?


    I have an idea ... I could make a web page with a "Request a reserved slot" button .
    When someone clicks it, it will run sv_add_reserved_slot for his steam ID in the server console and he will get the next slot that becomes available .
    This say, the server will be 24/24 all the time .


    Can this work ? Does NS2 Server support rcon commands ?

  • KeatsKeats United States Join Date: 2014-11-04 Member: 199413Members, NS2 Playtester, Reinforced - Shadow
    edited December 2015
    I personally use Shine, so that all my configs are in one place. I'm not sure if vanilla reserved slots behave differently, but Shine does this (adapted from the Shine wiki page):

    Let's say you have 24 physical slots on your server. Then the browser would show XX/24. If you add two reserved slots, then the browser shows XX/22 in yellow. If one or two people with reserved slots join, then it becomes 23/23 or 24/24 in yellow.

    EDIT: No @ghostdlr , I'm pretty sure the commands take <amount>. The steamids are specified in ReservedSlotsConfig.
    EDIT again: I take it back, now I'm not so sure.
  • DC_DarklingDC_Darkling Join Date: 2003-07-10 Member: 18068Members, Constellation, Squad Five Blue, Squad Five Silver
    Shine and vanilla reserved slots DO work differently. In my opinion, the shine method is superior.

    The key differences are:
    In vanilla the reserved slots are always shown.
    In shine the reserved slot is only shown when in use.

    In shine you can also determine if they take the reserved slots before the normal slots. So if I have a 7vs7 spec, I want to force my admins to use normal slots first if they play. I use reserved slots for emergency access. Slot not in use? No one knows there is one and noone the wiser.

    Another advantage is that the server wont deny people to join first only to get reserved slot kicked by it being vanilla 22/24 with 2 slots.
  • ghostdlrghostdlr Join Date: 2015-07-02 Member: 205950Members
    Problem is you can't have reserved slots if you want 24 people on your server ... Unless you edit the exe but I don't know how to do it for linux .
  • ghostdlrghostdlr Join Date: 2015-07-02 Member: 205950Members
    Keats wrote: »
    I personally use Shine, so that all my configs are in one place. I'm not sure if vanilla reserved slots behave differently, but Shine does this (adapted from the Shine wiki page):

    Let's say you have 24 physical slots on your server. Then the browser would show XX/24. If you add two reserved slots, then the browser shows XX/22 in yellow. If one or two people with reserved slots join, then it becomes 23/23 or 24/24 in yellow.

    EDIT: No @ghostdlr , I'm pretty sure the commands take <amount>. The steamids are specified in ReservedSlotsConfig.
    EDIT again: I take it back, now I'm not so sure.

    Is there any way to reload shine config while server is running , without changing the map ?
  • CalegoCalego Join Date: 2013-01-24 Member: 181848Members, NS2 Map Tester
    @GhoulofGSG9 Might be able to shed some light here.

    Shine's reserved slots are superior though, and since you probably already use Shine for admin stuff on the server, might as well use it for the slots too.
  • DC_DarklingDC_Darkling Join Date: 2003-07-10 Member: 18068Members, Constellation, Squad Five Blue, Squad Five Silver
    So far I know there is no way to do that.
    I would not recommend it either.. just do a clean mapchange.
Sign In or Register to comment.