Page 2 of 2 FirstFirst 12
Results 11 to 18 of 18

Thread: Anti-kick like dedicated = 0

  1. #11
    Assadministrator IzNoGoD's Avatar
    Join Date
    Aug 2012
    Posts
    1,718
    Thanks
    17
    Thanked 1,068 Times in 674 Posts
    Quote Originally Posted by IzNoGoD View Post
    Just check the string returned in callback_playercommand when you try to kick someone.

    It should include the name of said player

    Keep in mind thought that it strips the colors from said person's name, and you should have a duplication-prevention system to block duplicate names to apply this. Set up your admin with a custom variable that gets checked, and dont call clientcommand() if the users try to kick an admin.
    Try this instead.
    "Does not work" is an error report for a bug between keyboard and chair.

    All hail Artie Effem

  2. #12
    Private
    Join Date
    Feb 2014
    Posts
    27
    Thanks
    11
    Thanked 0 Times in 0 Posts
    sorry, where i can find these strings?

  3. #13
    Assadministrator kung foo man's Avatar
    Join Date
    Jun 2012
    Location
    trailerpark
    Posts
    2,011
    Thanks
    2,102
    Thanked 1,084 Times in 753 Posts
    You need libcod and take a look here: http://killtube.org/showthread.php?1...Builtin-B3!%29
    timescale 0.01

  4. The Following User Says Thank You to kung foo man For This Useful Post:

    qwrtyp (5th November 2014)

  5. #14
    Private
    Join Date
    Feb 2014
    Posts
    27
    Thanks
    11
    Thanked 0 Times in 0 Posts
    ok, now i'm using windows, but next month i will get linux to run libcod.
    Someone make a tutorial or video step by step for beginers?

    @topic: its only possible with libcod? because i want to block kicks even via rcon.

  6. #15
    Private First Class YuriJurek's Avatar
    Join Date
    Jun 2013
    Posts
    219
    Thanks
    152
    Thanked 88 Times in 47 Posts
    Why would you give rcon to somebody you don't trust in the first place?

  7. #16
    Assadministrator IzNoGoD's Avatar
    Join Date
    Aug 2012
    Posts
    1,718
    Thanks
    17
    Thanked 1,068 Times in 674 Posts
    You cant block rcon kick. You should replace rcon if you have ppl that try to kick you with it.
    "Does not work" is an error report for a bug between keyboard and chair.

    All hail Artie Effem

  8. #17
    Private
    Join Date
    Feb 2014
    Posts
    27
    Thanks
    11
    Thanked 0 Times in 0 Posts
    Actually I had this idea because when I created the server with
    "dedicated 0" I was playing and the server at the same time and thought it was cool... no one could see my ip, only Appears "loopback", and other things.
    I was curious to know if it was possible to do that with dedicated servers.
    About rcon, as I rent the servers they are not mine. Not mean that people kick me, it's more curiosity than utility.

  9. #18
    Brigadier General
    Join Date
    Dec 2012
    Posts
    1,012
    Thanks
    440
    Thanked 171 Times in 132 Posts
    Maybe you can override the rcon kick command? Create a new cvar with "kick" and then you can manually block it from kicking u if u have the correct guid

Tags for this Thread

Posting Permissions

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