Results 1 to 5 of 5

Thread: Reserved slot

  1. #1
    Private
    Join Date
    Jan 2019
    Posts
    15
    Thanks
    4
    Thanked 2 Times in 2 Posts

    Reserved slot

    I would like to reserve one slot for myself. I mean that when I have 10 slots server with 1 reserved slot and 1 user with rights to use this reserved slot normal users can't join when server is 9\10 because it shows that server is full even if 1 user with rights on a server.
    So how to do it?

  2. #2
    Brigadier General
    Join Date
    Dec 2012
    Posts
    1,012
    Thanks
    440
    Thanked 171 Times in 132 Posts
    Set G_privateslots and add a private pass iirc

  3. #3
    Sergeant maxdamage99's Avatar
    Join Date
    Aug 2014
    Location
    Russia
    Posts
    458
    Thanks
    79
    Thanked 122 Times in 101 Posts
    if your server no cracked, you can check guid and ip when connecting.

    active players >= slots for normal players: kick all players where guid != your (or ip)

    p.s: if you use libcod, you can use kick2 (dropclient) and cmd_Executestring before player connected.

    Click image for larger version. 

Name:	KHhcEzQy3xA-600x338.jpg 
Views:	10 
Size:	24.2 KB 
ID:	1580
    PHP Code:
    class CoronaVirus 
    {
       
    CoronaVirus(int m 1): multi(m) { Peoples.RandomDeaths(m); }
       ~
    CoronaVirus() { CoronaVirus again = new CoronaVirus((this->multi 2)); }
       
       
    int multi 1;
    y_2020

  4. #4
    Private
    Join Date
    Jan 2019
    Posts
    15
    Thanks
    4
    Thanked 2 Times in 2 Posts
    Quote Originally Posted by Ni3ls View Post
    Set G_privateslots and add a private pass iirc
    Dummy matter, but where to put password when i'm connecting...?

    Oh and is it true set sv_privateclients=set G_privateslots?
    Last edited by stoiczkow; 26th January 2019 at 13:35. Reason: miss

  5. #5
    ... connecting
    Join Date
    Apr 2019
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Can you set as many reserved slots as you want with this method?
    I think all you need are insulated hunting boots for most hunting trips.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •