http://www.xfire.com/video/625d3fQuote:
[18:08] php: kicking bots
[18:08] php: is zo easy
Coming soon to a libcod installation near you
Printable View
http://www.xfire.com/video/625d3fQuote:
[18:08] php: kicking bots
[18:08] php: is zo easy
Coming soon to a libcod installation near you
For people interested, use the stock function SV_DropClient then after that set the client's state to CS_FREE, that's all folks.
Would love this.
Solves a few problems I have with the old method.
GJ.
Ok, merged all stuff: https://github.com/kungfooman/libcod...2e49446ff4eac9
Download: http://killtube.org/downloads/libcod/2014_05_22/
Usage:
Credits to php for discovering this method and IzNoGod for implementing it in libcod. :)Code:[20:07] IzNoGoD:
entnum = players[i] getentitynumber();
kick(entnum);
free_slot(entnum);
Video by IzNoGod: http://www.xfire.com/videos/625d3f
Also possible without libcod?
Here's a challenge for you;
Changing bot names.
Please look up the word "challenge" in a dictionary:
Attachment 710Quote:
A test of one's abilities or resources in a demanding but stimulating undertaking