View Full Version : Check if Server is online or offline?

05-23-2011, 12:06 AM
Do I post this here? Haha, have no idea which.

I play a game called terraria. And I wanted to see make a server list. But I have no way of knowing if a server is online or offline. Is there a way to make a script to check then have a picture if its online or offline?

05-23-2011, 12:13 AM
Yes there are several ways. If the server has a http server then you can perform a call to a page or file and check for a 200 status code, you can attempt to connect to a port, you can ping it...

There are many ways to see if a server is up and running, you just have to decide what suits you best.