he all ready fixed it.
Printable View
yes i already fix it but how about the player count it still Undefined.
i recommend you to use appserv!
ok will try this appserv later.
BTW my webserver is Abyss web server.
same problem :(...need help guyz
make sure you have this in mod_index.php :
PHP Code:<?
$res = mssql_query("SELECT * FROM ServerStatus WHERE Opened = '1'");
$servercount = 0;
while($srv = mssql_fetch_assoc($res)){
$servercount = $servercount + $srv['CurrPlayer'];
}
?>
Thanks wesman2232 i will try this.
The function for this problem is at the very top of mod_index.php, its the one I posted and the little bit of it below it.
In all it should be :
I still don't see why they use pics from RZ.PHP Code:<?
$res = mssql_query("SELECT * FROM ServerStatus WHERE Opened = '1'");
$servercount = 0;
while($srv = mssql_fetch_assoc($res)){
$servercount = $servercount + $srv['CurrPlayer'];
}
?><body onload="FP_preloadImgs(/*url*/'images/ele/playbutton_hover.jpg')" bgcolor="#323232">
<table border="0" style="border-collapse: collapse" width="100%" height="100%" id="table2">
<tr>
<td align="center" background="http://forum.ragezone.com/images/mn_info.jpg" height="76" style="background-image: url(''); background-repeat: no-repeat; background-position: center top">
<div align="center">
<object classid="clsid:D27CDB6E-AE6D-11CF-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0" name="obj2" width="417" height="76" border="0" id="obj2">
<param name="movie" value="http://forum.ragezone.com/images/srv_data.swf">
<param name="quality" value="High">
<param name="wmode" value="transparent"><param name="BGCOLOR" value="#E2E2E2" />
<embed src="http://forum.ragezone.com/images/srv_data.swf" width="417" height="76" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" name="obj2" quality="High" wmode="transparent" bgcolor="#E2E2E2"></object>
</div></td>
</tr>
thank again wesman2232 more power to help and release.
god bless you!
the problem isn't solve But thanks
anyway i ask a question and you answer it. and that's enough for me.
ok if it is not solved, you should tell me ;)
First, make sure your DB information is correct (user, pass, host)
Check if your have your server in serverstatus.dbo
if so then lastly check if "opened" is set to 0. if it is set it to 1