Server Status
#1

Hello, I am pretty new here in this forums. But I am wondering if someone knows how to do like a server status with HTML?

Here is an example of what I mean:
http://server.dawn-tdm.com/fstatus.php
Reply
#2

The ground code is HTML (Design wise)
But the rest is built with php/mysql to check with the database if the server is up and running.

I could help you, if you would like to.
Reply
#3

I would really appreciate your help.

Do you mind adding me on skype to just make it a bit more simple?

(Jonas.Frisell) or (FrizzieGFX)
Reply
#4

Just use SampQueryAPI by Westie.
Reply
#5

This is what I get by using it.


connect()) { // If a successful connection has been made

print_r($query->getInfo()); // Print server info array

print_r($query->getBasicPlayers()); // Print basic players array, connection will time out if the player counter is above 100 and will return an empty array if no players are online

$query->close(); // Close the connection
} else {
echo "Server did not respond!";
}
?>

Then I tried another one I found in replies and got this:
http://prototype-gaming.tk/server-status/ (The first one)
Reply
#6

Help please?
I planned to do like a new from scratch.. but I need help.. link WILL be:
www.prototype-gaming.tk/server-status.php
Reply
#7

DeCoyz contact me on foru, new dawn or skype, got some things to tell you about the GM.!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)