View Single Post
Old 07-02-2004, 04:20 PM   #4 (permalink)
Sniper_E
Registered User
 
Join Date: Jun 2004
Posts: 3
Sniper_E is on a distinguished road
Send a message via AIM to Sniper_E
Still no luck buddy.
I had a guy with our community look at what you sent me and he changed my oringinal file. I sent him http://rwc.gameover.com/downloads/status.zip and he sent me back these changes:


Change:
-------------------------
<?
/*
include("server_status.php");
printServerStatus("67.18.240.162","27015","images/","#999999","#333333","#aeaeac","#999999");
*/
?>

To:
--------------------
<?

include("server_status.php");

// put your information here
// printServerStatus(ip,port,image_path);

// RwC Main
if ($id == 1) { printServerStatus("67.18.240.162","27015","images/","#999999","#333333","#aeaeac","#999999"); }
// RwC OGL
elseif ($id == 2) { printServerStatus("67.18.240.162","27010","images/","#999999","#333333","#aeaeac","#999999"); }
// AEK Main
elseif ($id == 3) { printServerStatus("64.94.100.152","27015","images/","#999999","#333333","#aeaeac","#999999"); }
// OCS
elseif ($id == 4) { printServerStatus("64.27.21.2","27015","images/","#999999","#333333","#aeaeac","#999999"); }
// 3C3
elseif ($id == 5) { printServerStatus("64.94.238.247","27015","images/","#999999","#333333","#aeaeac","#999999"); }
// af.mill
elseif ($id == 6) { printServerStatus("216.52.202.107","27015","images/","#999999","#333333","#aeaeac","#999999"); }

//default server is on when no id specified, so this one points to RwC
else { printServerStatus("67.18.240.162","27015","images/","#999999","#333333","#aeaeac","#999999"); }

?>

and, of course, change:
-----------------------
<option value="">_____ Select A Server _____
<option selected value="http://rwc.gameover.com/status/">}RwC{ North American CS 1.6
<option value="rwcs.php">}RwC{ OGL 4.0 Match Server
<option value="ocs.php">[OCS] West Arena
<option value="aek.php">Team AEK Server
<option value="aeks.php">Team AEK Scrim Server
<option value="3c3.php">-:3C3:- 3astCoast3lite Clan Server
<option value="af.php">Newb Playgrounds - @af.mil

to:
--------------------------
<option value="">_____ Select A Server _____</option>
<option selected value="index.php?id=1">}RwC{ North American CS 1.6</option>
<option value="index.php?id=2">}RwC{ OGL 4.0 Match Server</option>
<option value="index.php?id=3">Team AEK Server</option>
<option value="index.php?id=4">[OCS] West Arena</option>
<option value="index.php?id=5">-:3C3:- 3astCoast3lite Clan Server</option>
<option value="index.php?id=6">Newb Playgrounds - @af.mil</option>


Kind of took a different direction here. I'll have to fine tune this to get exactly what I want, but it will work with your server_status.php

Thank You SDE!
Sniper_E is offline   Reply With Quote