Hi all,
Voron made the nannybot that checks the amount of players in another server and print it in a message. Filthy_freak did the same in his meatbot server. How can I make this? I have no idea where to start
Printable View
Hi all,
Voron made the nannybot that checks the amount of players in another server and print it in a message. Filthy_freak did the same in his meatbot server. How can I make this? I have no idea where to start
Just parse the result of \xff\xff\xff\xffgetstatus result: http://killtube.org/showthread.php?2...ng-server-info
Easiest way is probably to system("php your_script_to_dump_the_info.php > result.txt"); and read in the result.txt via fopen etc.
voron updated the system() function to directly return the string, so you could merge his changes into your libcod version