Is there a simple way to check if there's any BYOND game running over an IP:PORT with other languages, like PHP or Python?
https://github.com/tgstation/tgstation13.org/blob/master/ getserverdata.php
That was the only resource I could find about it and it is next level stuff for me.
ID:1870289
Jun 10 2015, 1:26 pm (Edited on Jun 10 2015, 1:58 pm)
(See the best response by Rotem12.)
|
|
C#:
I'm not exactly sure what's that php page is supposed to do but if you're only interested in checking if a game is running over a certain IP:PORT simply getting a connection without any errors would do.
Knowing this, the part marked as "/* --- Create a socket and connect it to the server --- */" is most likely containing what you seek in php.
Python is probably similar too.