Page 1 of 3 123 LastLast
Results 1 to 10 of 28

Thread: Kicking bots

  1. #1
    Assadministrator IzNoGoD's Avatar
    Join Date
    Aug 2012
    Posts
    1,718
    Thanks
    17
    Thanked 1,068 Times in 674 Posts

    Kicking bots

    [18:08] php: kicking bots
    [18:08] php: is zo easy
    http://www.xfire.com/video/625d3f

    Coming soon to a libcod installation near you
    "Does not work" is an error report for a bug between keyboard and chair.

    All hail Artie Effem

  2. The Following 7 Users Say Thank You to IzNoGoD For This Useful Post:

    filthy_freak_ (22nd May 2014),kevi07 (7th March 2017),kung foo man (21st May 2014),Mitch (21st May 2014),Ni3ls (22nd May 2014),RobsoN (22nd May 2014),YuriJurek (21st May 2014)

  3. #2
    Private First Class php's Avatar
    Join Date
    Nov 2012
    Posts
    142
    Thanks
    28
    Thanked 116 Times in 59 Posts
    For people interested, use the stock function SV_DropClient then after that set the client's state to CS_FREE, that's all folks.
    Last edited by php; 21st May 2014 at 22:23.

  4. The Following 4 Users Say Thank You to php For This Useful Post:

    filthy_freak_ (22nd May 2014),kung foo man (21st May 2014),Mitch (22nd May 2014),Ni3ls (22nd May 2014)

  5. #3
    Private First Class
    Join Date
    Oct 2013
    Posts
    219
    Thanks
    56
    Thanked 105 Times in 66 Posts
    Would love this.

    Solves a few problems I have with the old method.

    GJ.

  6. #4
    Assadministrator kung foo man's Avatar
    Join Date
    Jun 2012
    Location
    trailerpark
    Posts
    2,010
    Thanks
    2,102
    Thanked 1,084 Times in 753 Posts
    Ok, merged all stuff: https://github.com/kungfooman/libcod...2e49446ff4eac9

    Download: http://killtube.org/downloads/libcod/2014_05_22/

    Usage:
    Code:
    [20:07] IzNoGoD: 
    
                        entnum = players[i] getentitynumber();
                        kick(entnum);
                        free_slot(entnum);
    Credits to php for discovering this method and IzNoGod for implementing it in libcod.

    Video by IzNoGod: http://www.xfire.com/videos/625d3f
    timescale 0.01

  7. The Following 4 Users Say Thank You to kung foo man For This Useful Post:

    filthy_freak_ (23rd May 2014),Mitch (22nd May 2014),Ni3ls (23rd May 2014),php (22nd May 2014)

  8. #5
    Brigadier General
    Join Date
    Dec 2012
    Posts
    1,012
    Thanks
    440
    Thanked 171 Times in 132 Posts
    Also possible without libcod?

  9. #6
    Global Mossaderator Mitch's Avatar
    Join Date
    Nov 2012
    Posts
    654
    Thanks
    204
    Thanked 450 Times in 305 Posts
    Quote Originally Posted by Ni3ls View Post
    Also possible without libcod?
    No, because it uses libcod to set the slot to CS_FREE.

  10. The Following User Says Thank You to Mitch For This Useful Post:

    Ni3ls (23rd May 2014)

  11. #7
    Private First Class
    Join Date
    Oct 2013
    Posts
    219
    Thanks
    56
    Thanked 105 Times in 66 Posts
    Here's a challenge for you;

    Changing bot names.
    Last edited by filthy_freak_; 23rd May 2014 at 14:53.

  12. #8
    Assadministrator IzNoGoD's Avatar
    Join Date
    Aug 2012
    Posts
    1,718
    Thanks
    17
    Thanked 1,068 Times in 674 Posts
    Quote Originally Posted by filthy_freak_ View Post
    Here's a challenge for you;

    Changing bot names.
    Please look up the word "challenge" in a dictionary:
    A test of one's abilities or resources in a demanding but stimulating undertaking
    Click image for larger version. 

Name:	rename_bots.PNG 
Views:	221 
Size:	49.0 KB 
ID:	710
    "Does not work" is an error report for a bug between keyboard and chair.

    All hail Artie Effem

  13. #9
    Private First Class
    Join Date
    Oct 2013
    Posts
    219
    Thanks
    56
    Thanked 105 Times in 66 Posts
    Quote Originally Posted by IzNoGoD View Post
    Please look up the word "challenge" in a dictionary:
    Haha thats gold.

    Too bad you can't change specific ones.
    Last edited by filthy_freak_; 23rd May 2014 at 16:48.

  14. #10
    Global Mossaderator Mitch's Avatar
    Join Date
    Nov 2012
    Posts
    654
    Thanks
    204
    Thanked 450 Times in 305 Posts
    Quote Originally Posted by filthy_freak_ View Post
    Haha thats gold.

    Too bad you can't change specific ones.
    Why wouldn't it be possible? I would assume that it should be possible.

Posting Permissions

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