Server Status Script and Buy Coins By Bounty

Joined
Jan 28, 2008
Messages
695
Reaction score
53
I want a Script like of EuroGunZ server Status and a script that I could buy Coins for Bounty, if someone has it and could send for me, I would be grateful.

I try to search for Server Status script here but fail, i'm getting this error when I try to search.

Code:
[B]Fatal error[/B]:  Out of memory (allocated 231211008) (tried to allocate 71 bytes) in [B]/home/ragezone/public_html/forum/search.php[/B] on line [B]1008[/B]
 
What ServerStatus you need for Online/Offline are what tells you how many People are online?

Here Serverstatus for online/offline & how many people are playing.
PHP:
<?php
$host = "HYLPER\SQLEXPRESS";
$user = "sa";
$pass = "yourpw";
$dbname = "GunzDB";
$conn = odbc_connect("Driver={SQL Server};Server={$host}; Database={$dbname}", $user, $pass) or die("Cant't connect the Server.");
$s_query = odbc_do($conn,"SELECT TOP 99 * FROM ServerStatus WHERE ServerID > 0");
while (odbc_fetch_row($s_query))
{
echo "<br/>";
$s = odbc_result($s_query,1);
echo "$s.&nbsp ";
$s = odbc_result($s_query,7);
echo "$s";
$s = odbc_result($s_query,2);
echo "&nbsp&nbsp&nbsp&nbsp $s / ";
$s = odbc_result($s_query,3);
echo "$s &nbsp&nbsp&nbsp&nbsp";
$s = @fsockopen(odbc_result($s_query,5), odbc_result($s_query,6), $errno, $errstr, 1);
if (!$s)
{
echo "<font color='#FF0000'>Offline</font>";
}
else 
{
echo "<font color='#00FF00'>Online</font>";
}
}
?>
 
Upvote 0
Server Status Like This
___________________________________________
Euro Gunz Clan Server - Online
[NAT]MatchAgent anti agent error - Online

Clan Server : Players Online: 489
___________________________________________
Euro Gunz Quest Server - Online
[NAT]MatchAgent anti agent error - Online

Quest Server : Players Online: 141
 
Upvote 0
Back