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,003
    Thanks
    439
    Thanked 166 Times in 128 Posts
    Set G_privateslots and add a private pass iirc

  3. #3
    Sergeant maxdamage99's Avatar
    Join Date
    Aug 2014
    Location
    Russia
    Posts
    396
    Thanks
    74
    Thanked 91 Times in 77 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
    write shit code's

  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 12: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?

Posting Permissions

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