Results 1 to 4 of 4

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
    992
    Thanks
    436
    Thanked 165 Times in 127 Posts
    Set G_privateslots and add a private pass iirc

  3. #3
    Sergeant maxdamage99's Avatar
    Join Date
    Aug 2014
    Location
    Russia
    Posts
    372
    Thanks
    74
    Thanked 85 Times in 71 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 13:35. Reason: miss

Posting Permissions

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