Getting data about the game state via http requests and world.Topic()?
|
|
What I am gathering about world.Topic() is that you can use it to communicate with other BYOND servers and pass information between games. However, what if I want to get information from a server, read into another (non-BYOND) server. Aka. a webserver. I am assuming there must be a way to http request the server and extract information something like
curl locahost:<my_byond_server_port>/Topic=mapname
and it should output
However I don't know where to read about how to do this or what the general process or syntax for doing this is. If anyone could please point me in the right direction or link to an example it'd be greatly appreciated. Thank you.
|