-
1st January 2016, 13:48
#1
How to check amount of players in another server?
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
-
-
1st January 2016, 16:01
#2
Assadministrator
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
-
The Following User Says Thank You to kung foo man For This Useful Post:
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules