Welcome!

Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!

Join Today!

Mangos Krillins Blizzlike www frontend

Experienced Elementalist
Joined
Apr 30, 2004
Messages
248
Reaction score
1
Krillens i chmod everything to 777 it works now...;) i dont know what files you need to do.. i did everything!! The whole 140 mb hahaha ;)

But...

after the button save i get this:

New configuration file is saved. Continue to secure the config file

When i click on it.. i get a blank screen on the en/index.php

I did somting wrong>??
 
Newbie Spellweaver
Joined
Jun 17, 2007
Messages
14
Reaction score
0
Krillin can i have your armory and armorsets scripts? At least the armory im sure i can make it work 100% with antrix (i dont realy care about the other emus).From what i could see from your site the armory is far from finished and i think i can make it to display the items that the player has and also the inventory(optional).Its almost impossible to make it work with all the emus at once becouse most of the items have different table structures and item entry's in the db :) :strip:
 
Newbie Spellweaver
Joined
May 31, 2006
Messages
18
Reaction score
0
Well I am sorry that I didnt know what forums it uses as i have never played original WoW or on any private servers that uses this site setup. Sooo... i think i have a reason to ask.

That has nothing to do with anything, setting up a forum is not exactly easy, you need to know how to set up a mysql database and you need to know how to set up all the files in the setup for the forum.

All im saying is that you are in the middle of a big community that does almost everything for themselves. This forum shouldn't even be releasing compiled bins of the antrix core, but im not saying anything.

BUT, you are supposed to compile it for yourself, and thats the only way to keep up to date.

I updated my server last night, to rev739 and i bet when i get on the svn it will be something like rev750. Its just the way that works, it updates too fast for many people to keep compiling it and releasing it.

Sorry about that rant, i gave you the 2 websites you need to visit, the stuff is free. Just follow all the directions and come on here when you have som valid questions.

Questions are good when there are people willing to answer, and i am. But i am NOT going to give you a forum folder already and set up. Because thats not how it works, you need to set up a mysql database for your forums and set the forum up to connect to that database, NOT mine. Therefore i cannot give you my forum folder.

Sorry if i come off a bit mean, but i don't like it when people just do nothing and ask for people to give them the files they need. Especially when it is not even possible.

I didn't know anything about hosting websites or html php, or any mysql before i started my wow server a couple weeks ago. Now i have a good site and server running(thanks to Krillin) with over 400 unique accounts. I never imagined i would be doing this a month ago.
 
Newbie Spellweaver
Joined
Jul 8, 2007
Messages
28
Reaction score
0
hi krillin hey could u please please upload somewhere else beside rapid and mega pls.. i just cant enter to download..

a good place i think it would be if u can pls upload here on an any other site.. thx
 
Newbie Spellweaver
Joined
May 31, 2006
Messages
18
Reaction score
0
hi krillin hey could u please please upload somewhere else beside rapid and mega pls.. i just cant enter to download..

a good place i think it would be if u can pls upload here on an any other site.. thx

I'll host it on my site with Krillins permission.
 
Newbie Spellweaver
Joined
May 31, 2006
Messages
18
Reaction score
0
Can anyone point me in the right direction to fixing the server status, when running antrix, and the website on a paid host.

Or are you already working on that Krillin?



That links to a self extracting 7z archive of version 4.2. its 126mb

Krillin if you dont want me to host it, tell me to take it down.
 
Last edited:
Newbie Spellweaver
Joined
Jul 5, 2007
Messages
22
Reaction score
0
my Voting is at the bottom of the site. How do i make it appear at the right like u have on urs Krillis?
 
Newbie Spellweaver
Joined
Feb 7, 2007
Messages
87
Reaction score
0
Im still waiting for a ifx abotu the server uptime and the fact i have to put in 127.0.0.1 for my server to show its online.
 
Newbie Spellweaver
Joined
Jul 10, 2007
Messages
8
Reaction score
0
Hi ppl I am kinda new for this thing and I cant set this for antrix any help in how setting this up for antrix is apreciated BTW I am using wamp tested others front pages..thxx
 
Newbie Spellweaver
Joined
Jun 7, 2007
Messages
71
Reaction score
0
Uggg, website works perfect in every single way except one. Cant get the realm status to work on the main page or realm status page, heres what its telling me:

Client does not support authentication protocol requested by server; consider upgrading MySQL client

Ive upgraded mysql to beta 5.1 after i first got that error using version 5.0..it made no difference..what am i doing wrong?
 
Newbie Spellweaver
Joined
May 31, 2006
Messages
18
Reaction score
0
Hey man, seems like were all having the same problem....


Krillin, can you at least let us know if you are working on this, i noticed you switched back to mangos. Have you stoped developing fixes for antrix?

Please let us in on if you are still active on this project. I would really like to fix it myself but i just dont know enough about antrix or php.

If anyone reading this has the slightest clue on how i could make the server status accurate on the homepage atlease, please point me in the right direction, i have plenty of free time to work on it. When/if i find a solution i will post it here first.
 
Newbie Spellweaver
Joined
Jun 4, 2007
Messages
17
Reaction score
0
I have the pvp rank display working I have not got them to sort bye rank buy I should be able to do that no problem I will post when I do this.

<? }

if ($lang['emutype'] == 'Antrix') { ?>

<table cellspacing = "0" cellpadding = "0" border = "0" width = "100%">
<tr>
<td width = "12"><img src = "../shared/wow-com/images/borders/metalborder/metalborder-top-left.gif" width = "12" height = "12"></td>
<td background = "../shared/wow-com/images/borders/metalborder/metalborder-top.gif"></td>
<td width = "12"><img src = "../shared/wow-com/images/borders/metalborder/metalborder-top-right.gif" width = "12" height = "12"></td>
</tr>
<tr>
<td background = "../shared/wow-com/images/borders/metalborder/metalborder-left.gif"></td>
<td>




<table cellspacing = "0" cellpadding = "3" width = "100%">
<tr> <td class = "rankingHeader" align = "center" NOWRAP>Rank</td>
<td class = "rankingHeader" align = "left" NOWRAP>Name</td>
<td class = "rankingHeader" align = "center" NOWRAP>Race</td>
<td class = "rankingHeader" align = "center" NOWRAP>Class</td>
<td class = "rankingHeader" align = "center" NOWRAP>Level</td>
<td class = "rankingHeader" align = "center" NOWRAP>Kills</td>
<td class = "rankingHeader" align = "center" NOWRAP>Rating</td>
</tr>
<tr>
<td colspan = "7" background = "../shared/wow-com/images/borders/metalborder/shadow.gif"><img src = "../shared/wow-com/images/layout/pixel.gif" width = "1" height = "1"></td>
</tr> <?

$connection = mysql_connect ($lang['hostname'],$lang['dbaselogin'],decrypt($lang['dbasepw'], 1200));
if(!$connection) { die(mysql_error()); }
mysql_select_db($lang['dbasename']);
if(!@mysql_select_db($lang['dbasename'],$connection)) { die(mysql_error()); }
$sql_text = 'SELECT * FROM `characters` WHERE honorPoints >= 0';
if ($r = mysql_query($sql_text,$connection)){
while ($row = mysql_fetch_array($r)){


?>

<tr><td class = "serverStatus1" align = "center"><?
$honor = $row['honorPoints'];
$number_of_orders = count($honor);
if ($number_of_orders == 0)
{
echo "<p><strong>No Rank</strong></p>";
}
for ($i=0; $i<$number_of_orders; $i++)
{
echo $honor[$i];
}


?> </td>

<td class = "serverStatus1" align = "Left"><? echo $row['name']; ?> </td>

<td class = "serverStatus1" align = "center"> <?
$race = $row['race'];
if($race == 1) { ?> Human <? }
if($race == 2) { ?> Orc <? }
if($race == 3) { ?> Dwarf <? }
if($race == 4) { ?> NightElf <? }
if($race == 5) { ?> Undead <? }
if($race == 6) { ?> Tauren <? }
if($race == 7) { ?> Gnome <? }
if($race == 8) { ?> Troll <? }
if($race == 10) { ?> Bloodelf <? }
if($race == 11) { ?> Dranei <? }
?> </td> <?

$clas = $row['class'];
if($clas == 1) { ?> <td class = "serverStatus1" align = "center"><img src="new-hp/Warrior.jpg" alt="Warrior" width="20" height="20"></td> <? }
if($clas == 2) { ?> <td class = "serverStatus1" align = "center"><img src="new-hp/Paladin.jpg" alt="Paladin" width="20" height="20"></td> <? }
if($clas == 3) { ?> <td class = "serverStatus1" align = "center"><img src="new-hp/Hunter.jpg" alt="Hunter" width="20" height="20"></td> <? }
if($clas == 4) { ?> <td class = "serverStatus1" align = "center"><img src="new-hp/Rogue.jpg" alt="Rogue" width="20" height="20"></td> <? }
if($clas == 5) { ?> <td class = "serverStatus1" align = "center"><img src="new-hp/Priest.jpg" alt="Priest" width="20" height="20"></td> <? }
if($clas == 7) { ?> <td class = "serverStatus1" align = "center"><img src="new-hp/Shaman.gif" alt="Shaman" width="20" height="20"></td> <? }
if($clas == 8) { ?> <td class = "serverStatus1" align = "center"><img src="new-hp/mage.jpg" alt="Mage" width="20" height="20"></td> <? }
if($clas == 9) { ?> <td class = "serverStatus1" align = "center"><img src="new-hp/Warlock.gif" alt="Warlock" width="20" height="20"></td> <? }
if($clas == 11) { ?> <td class = "serverStatus1" align = "center"><img src="new-hp/Druid.jpg" alt="Druid" width="20" height="20"></td> <? }



?><td class = "serverStatus1" align = "center"> <? echo $row['level']; ?> </td> <?

?><td class = "serverStatus1" align = "center"><? echo $row['killsLifeTime'] ?></td> <?


if($honor >= 65000) { ?><b><td class = "serverStatus1" align = "center"><img src="includes/rank15.gif" alt="rank" width="20" height="20"></b></td> <? }
else
if($honor > 60000) { ?><b><td class = "serverStatus1" align = "center"><img src="includes/rank14.gif" alt="rank" width="20" height="20"></b></td> <? }
else
if($honor > 55000) { ?><b><td class = "serverStatus1" align = "center"><img src="includes/rank13.gif" alt="rank" width="20" height="20"></b></td> <? }
else
if($honor > 50000) { ?><b><td class = "serverStatus1" align = "center"><img src="includes/rank12.gif" alt="rank" width="20" height="20"></b></td> <? }
else
if($honor > 45000) { ?><b><td class = "serverStatus1" align = "center"><img src="includes/rank11.gif" alt="rank" width="20" height="20"></b></td> <? }
else
if($honor > 40000) { ?><b><td class = "serverStatus1" align = "center"><img src="includes/rank10.gif" alt="rank" width="20" height="20"></b></td> <? }
else
if($honor > 35000) { ?><b><td class = "serverStatus1" align = "center"><img src="includes/rank09.gif" alt="rank" width="20" height="20"></b></td> <? }
else
if($honor > 30000) { ?><b><td class = "serverStatus1" align = "center"><img src="includes/rank08.gif" alt="rank" width="20" height="20"></b></td> <? }
else
if($honor > 25000) { ?><b><td class = "serverStatus1" align = "center"><img src="includes/rank07.gif" alt="rank" width="20" height="20"></b></td> <? }
else
if($honor > 20000) { ?><b><td class = "serverStatus1" align = "center"><img src="includes/rank06.gif" alt="rank" width="20" height="20"></b></td> <? }
else
if($honor > 15000) { ?><b><td class = "serverStatus1" align = "center"><img src="includes/rank05.gif" alt="rank" width="20" height="20"></b></td> <? }
else
if($honor > 10000) { ?><b><td class = "serverStatus1" align = "center"><img src="includes/rank04.gif" alt="rank" width="20" height="20"></b></td> <? }
else
if($honor > 5000) { ?><b><td class = "serverStatus1" align = "center"><img src="includes/rank03.gif" alt="rank" width="20" height="20"></b></td> <? }
else
if($honor > 1000) { ?><b><td class = "serverStatus1" align = "center"><img src="includes/rank02.gif" alt="rank" width="20" height="20"></b></td> <? }
else
if($honor >= 0) { ?><b><td class = "serverStatus1" align = "center"><img src="includes/rank01.gif" alt="rank" width="20" height="20"></b></td> <? } ?>
</tr><?

}}
mysql_close($connection);

?>
 
Junior Spellweaver
Joined
Sep 1, 2006
Messages
122
Reaction score
0
Sorry about the delay, but i have lots to do and so little time. I needed time to setup the mangos version and learn to compile mangos and change the site layout with it.

How do i edit the shoutbox? whats the username and password for it:pinch:

use and use your name/pw you use with the admin part

Krillens i chmod everything to 777 it works now...;) i dont know what files you need to do.. i did everything!! The whole 140 mb hahaha ;)

But...

after the button save i get this:

New configuration file is saved. Continue to secure the config file

When i click on it.. i get a blank screen on the en/index.php

I did somting wrong>??

Weird, can you look into your eng.php file and see what is says

Krillin can i have your armory and armorsets scripts? At least the armory im sure i can make it work 100% with antrix (i dont realy care about the other emus).From what i could see from your site the armory is far from finished and i think i can make it to display the items that the player has and also the inventory(optional).Its almost impossible to make it work with all the emus at once becouse most of the items have different table structures and item entry's in the db :) :strip:

I will post it soon, i havn't got time for it anyway ;)

I'll host it on my site with Krillins permission.

Np here

pls fix pvp rankings....

Somebody alreadt did i believe

my Voting is at the bottom of the site. How do i make it appear at the right like u have on urs Krillis?

it should be an absolute path. So i don't understand why it's at the bottem of the page

Uggg, website works perfect in every single way except one. Cant get the realm status to work on the main page or realm status page, heres what its telling me:



Ive upgraded mysql to beta 5.1 after i first got that error using version 5.0..it made no difference..what am i doing wrong?

It should work (well it did for me anyway) You have to put your ipadres and port number in the admin part. the only thing what the procedure does is send a ping to the ip:port and checks if it's pinged back. ifso then it's online

Hey man, seems like were all having the same problem....


Krillin, can you at least let us know if you are working on this, i noticed you switched back to mangos. Have you stoped developing fixes for antrix?

Please let us in on if you are still active on this project. I would really like to fix it myself but i just dont know enough about antrix or php.

If anyone reading this has the slightest clue on how i could make the server status accurate on the homepage atlease, please point me in the right direction, i have plenty of free time to work on it. When/if i find a solution i will post it here first.

I will see if there is another method to check online status of antrix. But yeah i'm still alive

I have the pvp rank display working I have not got them to sort bye rank buy I should be able to do that no problem I will post when I do this.

<? }

if ($lang['emutype'] == 'Antrix') { ?>

<table cellspacing = "0" cellpadding = "0" border = "0" width = "100%">
<tr>
<td width = "12"><img src = "../shared/wow-com/images/borders/metalborder/metalborder-top-left.gif" width = "12" height = "12"></td>
<td background = "../shared/wow-com/images/borders/metalborder/metalborder-top.gif"></td>
<td width = "12"><img src = "../shared/wow-com/images/borders/metalborder/metalborder-top-right.gif" width = "12" height = "12"></td>
</tr>
<tr>
<td background = "../shared/wow-com/images/borders/metalborder/metalborder-left.gif"></td>
<td>




<table cellspacing = "0" cellpadding = "3" width = "100%">
<tr> <td class = "rankingHeader" align = "center" NOWRAP>Rank</td>
<td class = "rankingHeader" align = "left" NOWRAP>Name</td>
<td class = "rankingHeader" align = "center" NOWRAP>Race</td>
<td class = "rankingHeader" align = "center" NOWRAP>Class</td>
<td class = "rankingHeader" align = "center" NOWRAP>Level</td>
<td class = "rankingHeader" align = "center" NOWRAP>Kills</td>
<td class = "rankingHeader" align = "center" NOWRAP>Rating</td>
</tr>
<tr>
<td colspan = "7" background = "../shared/wow-com/images/borders/metalborder/shadow.gif"><img src = "../shared/wow-com/images/layout/pixel.gif" width = "1" height = "1"></td>
</tr> <?

$connection = mysql_connect ($lang['hostname'],$lang['dbaselogin'],decrypt($lang['dbasepw'], 1200));
if(!$connection) { die(mysql_error()); }
mysql_select_db($lang['dbasename']);
if(!@mysql_select_db($lang['dbasename'],$connection)) { die(mysql_error()); }
$sql_text = 'SELECT * FROM `characters` WHERE honorPoints >= 0';
if ($r = mysql_query($sql_text,$connection)){
while ($row = mysql_fetch_array($r)){


?>

<tr><td class = "serverStatus1" align = "center"><?
$honor = $row['honorPoints'];
$number_of_orders = count($honor);
if ($number_of_orders == 0)
{
echo "<p><strong>No Rank</strong></p>";
}
for ($i=0; $i<$number_of_orders; $i++)
{
echo $honor[$i];
}


?> </td>

<td class = "serverStatus1" align = "Left"><? echo $row['name']; ?> </td>

<td class = "serverStatus1" align = "center"> <?
$race = $row['race'];
if($race == 1) { ?> Human <? }
if($race == 2) { ?> Orc <? }
if($race == 3) { ?> Dwarf <? }
if($race == 4) { ?> NightElf <? }
if($race == 5) { ?> Undead <? }
if($race == 6) { ?> Tauren <? }
if($race == 7) { ?> Gnome <? }
if($race == 8) { ?> Troll <? }
if($race == 10) { ?> Bloodelf <? }
if($race == 11) { ?> Dranei <? }
?> </td> <?

$clas = $row['class'];
if($clas == 1) { ?> <td class = "serverStatus1" align = "center"><img src="new-hp/Warrior.jpg" alt="Warrior" width="20" height="20"></td> <? }
if($clas == 2) { ?> <td class = "serverStatus1" align = "center"><img src="new-hp/Paladin.jpg" alt="Paladin" width="20" height="20"></td> <? }
if($clas == 3) { ?> <td class = "serverStatus1" align = "center"><img src="new-hp/Hunter.jpg" alt="Hunter" width="20" height="20"></td> <? }
if($clas == 4) { ?> <td class = "serverStatus1" align = "center"><img src="new-hp/Rogue.jpg" alt="Rogue" width="20" height="20"></td> <? }
if($clas == 5) { ?> <td class = "serverStatus1" align = "center"><img src="new-hp/Priest.jpg" alt="Priest" width="20" height="20"></td> <? }
if($clas == 7) { ?> <td class = "serverStatus1" align = "center"><img src="new-hp/Shaman.gif" alt="Shaman" width="20" height="20"></td> <? }
if($clas == 8) { ?> <td class = "serverStatus1" align = "center"><img src="new-hp/mage.jpg" alt="Mage" width="20" height="20"></td> <? }
if($clas == 9) { ?> <td class = "serverStatus1" align = "center"><img src="new-hp/Warlock.gif" alt="Warlock" width="20" height="20"></td> <? }
if($clas == 11) { ?> <td class = "serverStatus1" align = "center"><img src="new-hp/Druid.jpg" alt="Druid" width="20" height="20"></td> <? }



?><td class = "serverStatus1" align = "center"> <? echo $row['level']; ?> </td> <?

?><td class = "serverStatus1" align = "center"><? echo $row['killsLifeTime'] ?></td> <?


if($honor >= 65000) { ?><b><td class = "serverStatus1" align = "center"><img src="includes/rank15.gif" alt="rank" width="20" height="20"></b></td> <? }
else
if($honor > 60000) { ?><b><td class = "serverStatus1" align = "center"><img src="includes/rank14.gif" alt="rank" width="20" height="20"></b></td> <? }
else
if($honor > 55000) { ?><b><td class = "serverStatus1" align = "center"><img src="includes/rank13.gif" alt="rank" width="20" height="20"></b></td> <? }
else
if($honor > 50000) { ?><b><td class = "serverStatus1" align = "center"><img src="includes/rank12.gif" alt="rank" width="20" height="20"></b></td> <? }
else
if($honor > 45000) { ?><b><td class = "serverStatus1" align = "center"><img src="includes/rank11.gif" alt="rank" width="20" height="20"></b></td> <? }
else
if($honor > 40000) { ?><b><td class = "serverStatus1" align = "center"><img src="includes/rank10.gif" alt="rank" width="20" height="20"></b></td> <? }
else
if($honor > 35000) { ?><b><td class = "serverStatus1" align = "center"><img src="includes/rank09.gif" alt="rank" width="20" height="20"></b></td> <? }
else
if($honor > 30000) { ?><b><td class = "serverStatus1" align = "center"><img src="includes/rank08.gif" alt="rank" width="20" height="20"></b></td> <? }
else
if($honor > 25000) { ?><b><td class = "serverStatus1" align = "center"><img src="includes/rank07.gif" alt="rank" width="20" height="20"></b></td> <? }
else
if($honor > 20000) { ?><b><td class = "serverStatus1" align = "center"><img src="includes/rank06.gif" alt="rank" width="20" height="20"></b></td> <? }
else
if($honor > 15000) { ?><b><td class = "serverStatus1" align = "center"><img src="includes/rank05.gif" alt="rank" width="20" height="20"></b></td> <? }
else
if($honor > 10000) { ?><b><td class = "serverStatus1" align = "center"><img src="includes/rank04.gif" alt="rank" width="20" height="20"></b></td> <? }
else
if($honor > 5000) { ?><b><td class = "serverStatus1" align = "center"><img src="includes/rank03.gif" alt="rank" width="20" height="20"></b></td> <? }
else
if($honor > 1000) { ?><b><td class = "serverStatus1" align = "center"><img src="includes/rank02.gif" alt="rank" width="20" height="20"></b></td> <? }
else
if($honor >= 0) { ?><b><td class = "serverStatus1" align = "center"><img src="includes/rank01.gif" alt="rank" width="20" height="20"></b></td> <? } ?>
</tr><?

}}
mysql_close($connection);

?>

i'll check it and add it for next release
 
Initiate Mage
Joined
Apr 12, 2007
Messages
4
Reaction score
0
The only errors I'm getting are:

The realm status is accurate except it always says "Test realm"

and I get the error


Warning: Cannot modify header information - headers already sent by (output started at /hsphere/local/home/denile/antrix.denilewow.com/en/index.php:3) in /hsphere/local/home/denile/antrix.denilewow.com/en/admin/webanalyse/include/stats_main.inc on line 71

No idea what this error is.. Anybody?

Edit: Here's another for account creation
Database Results:
Incorrect datetime value: '0' for column 'lastlogin' at row 1

FIX for account creation under Antrix:

Open /en/account/new1.php
Find the account creation section for Antrix

if ($lang['emutype'] == 'Antrix') {
if ($t4 == '1') { $t4 = '8'; }
$ip=$_SERVER['REMOTE_ADDR'];
$da=date("Ymd");
$sql_text1 = "INSERT INTO accounts (login, password, gm, banned, lastlogin, lastip, email, flags) VALUES ( '{$t1}', '{$t2}', '0', '0', '0','{$ip}', '{$t3}', '{$t4}')";
mysql_query($sql_text1,$connection) or die(mysql_error()); }

Change this line:
$sql_text1 = "INSERT INTO accounts (login, password, gm, banned, lastlogin, lastip, email, flags) VALUES ( '{$t1}', '{$t2}', '0', '0', '0','{$ip}', '{$t3}', '{$t4}')";

to

$sql_text1 = "INSERT INTO accounts (login, password, gm, banned, lastlogin, lastip, email, flags) VALUES ( '{$t1}', '{$t2}', '0', '0', '0000-00-00 00:00:00','{$ip}', '{$t3}', '{$t4}')";
 
Newbie Spellweaver
Joined
Jun 5, 2007
Messages
7
Reaction score
0
Hi i have this small problem:
when I go to create new Account says to me
Incorrect datetime value: '' for column 'last_login' at row 1.
i use Mangos
pls risp :vegeta-s:







Sry My english :tongue:
 
Initiate Mage
Joined
Jul 11, 2007
Messages
1
Reaction score
0
excellent work Krillin, works like a charm, really apreciate all your time and hard work.

My setup:
Antrix Web Repack 5 + PHP 5 + MySQL5..0.27 + Abyss Web Server v2X
 
Newbie Spellweaver
Joined
May 31, 2006
Messages
18
Reaction score
0
I will see if there is another method to check online status of antrix. But yeah i'm still alive

Antrix generates a stats.xml, with uptime online players and all that good stuff. it also lets you save that file in an absolute directory. I put it in my htdocs folder for xampp.

This is it here..a bit long yes, but most of it is the maps and the people on them. i don't know a while lot about php, but im pretty sure that all you would have to do is write a bit of code too check the data inside the <uptime> tag. I'll shut my server down real quick and get back to you on the form of the data when the server is down...dont know if that will help you, but im trying..

Code:
<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="server_stats.xsl"?>
<serverpage>
  <status>
    <platform>Antrix/Win32 v2.1.0-793</platform>
    <uptime>0 days, 4 hours, 19 minutes, 10 seconds</uptime>
    <oplayers>3</oplayers>
    <cpu>0.00</cpu>
    <qplayers>0</qplayers>
    <ram>187.941</ram>
    <avglat>94.667</avglat>
    <threads>11</threads>
    <gmcount>1</gmcount>
    <lastupdate>Thu Jul 12 16:56:48 2007
</lastupdate>
    <alliance>3</alliance>
    <horde>0</horde>
    <acceptedconns>37</acceptedconns>
    <peakcount>5</peakcount>
    <querysize>0</querysize>
  </status>
  <instances>
	<instance>
	  <map>0</map>
	  <maptype>0</maptype>
	  <players>0</players>
	  <maxplayers>0</maxplayers>
	  <state>IDLE</state>
	  <creationtime>Thu Jul 12 12:37:37 2007
</creationtime>
	  <expirytime>Never</expirytime>
	</instance>
	<instance>
	  <map>1</map>
	  <maptype>0</maptype>
	  <players>2</players>
	  <maxplayers>0</maxplayers>
	  <state>ACTIVE</state>
	  <creationtime>Thu Jul 12 12:37:37 2007
</creationtime>
	  <expirytime>Never</expirytime>
	</instance>
	<instance>
	  <map>369</map>
	  <maptype>0</maptype>
	  <players>0</players>
	  <maxplayers>0</maxplayers>
	  <state>IDLE</state>
	  <creationtime>Thu Jul 12 12:37:35 2007
</creationtime>
	  <expirytime>Never</expirytime>
	</instance>
	<instance>
	  <map>449</map>
	  <maptype>0</maptype>
	  <players>0</players>
	  <maxplayers>0</maxplayers>
	  <state>IDLE</state>
	  <creationtime>Thu Jul 12 12:37:35 2007
</creationtime>
	  <expirytime>Never</expirytime>
	</instance>
	<instance>
	  <map>450</map>
	  <maptype>0</maptype>
	  <players>0</players>
	  <maxplayers>0</maxplayers>
	  <state>IDLE</state>
	  <creationtime>Thu Jul 12 12:37:35 2007
</creationtime>
	  <expirytime>Never</expirytime>
	</instance>
	<instance>
	  <map>489</map>
	  <maptype>0</maptype>
	  <players>0</players>
	  <maxplayers>0</maxplayers>
	  <state>IDLE</state>
	  <creationtime>Thu Jul 12 12:37:38 2007
</creationtime>
	  <expirytime>Never</expirytime>
	</instance>
	<instance>
	  <map>529</map>
	  <maptype>0</maptype>
	  <players>0</players>
	  <maxplayers>0</maxplayers>
	  <state>IDLE</state>
	  <creationtime>Thu Jul 12 12:37:38 2007
</creationtime>
	  <expirytime>Never</expirytime>
	</instance>
	<instance>
	  <map>530</map>
	  <maptype>0</maptype>
	  <players>1</players>
	  <maxplayers>0</maxplayers>
	  <state>ACTIVE</state>
	  <creationtime>Thu Jul 12 12:37:37 2007
</creationtime>
	  <expirytime>Never</expirytime>
	</instance>
  </instances>
  <gms>
    <gmplr>
      <name>Marcel</name>
      <race>1</race>
      <class>9</class>
      <gender>0</gender>
      <pvprank>0</pvprank>
      <level>100</level>
      <map>1</map>
      <areaid>876</areaid>
      <ontime>0 hours, 7 minutes, 37 seconds</ontime>
      <latency>10</latency>
      <permissions>az</permissions>
    </gmplr>
  </gms>
  <sessions>
    <plr>
      <name>Marcel</name>
      <race>1</race>
      <class>9</class>
      <gender>0</gender>
      <pvprank>0</pvprank>
      <level>100</level>
      <map>1</map>
      <areaid>876</areaid>
      <xpos>16223.200195</xpos>
      <ypos>16262.299805</ypos>
      <ontime>0 hours, 7 minutes, 37 seconds</ontime>
      <latency>10</latency>
    </plr>
    <plr>
      <name>Shis</name>
      <race>4</race>
      <class>3</class>
      <gender>0</gender>
      <pvprank>0</pvprank>
      <level>100</level>
      <map>530</map>
      <areaid>3758</areaid>
      <xpos>-4073.019287</xpos>
      <ypos>877.380554</ypos>
      <ontime>0 hours, 24 minutes, 44 seconds</ontime>
      <latency>92</latency>
    </plr>
    <plr>
      <name>Beast</name>
      <race>4</race>
      <class>3</class>
      <gender>1</gender>
      <pvprank>0</pvprank>
      <level>7</level>
      <map>1</map>
      <areaid>188</areaid>
      <xpos>10327.222656</xpos>
      <ypos>827.117493</ypos>
      <ontime>0 hours, 6 minutes, 11 seconds</ontime>
      <latency>182</latency>
    </plr>
  </sessions>
</serverpage>

Offline xml:
Code:
<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="server_stats.xsl"?>
<serverpage>
  <status>
    <platform>Antrix/Win32 v2.1.0-793</platform>
    <uptime>0 days, 0 hours, 0 minutes, 0 seconds</uptime>
    <oplayers>0</oplayers>
    <cpu>0.00</cpu>
    <qplayers>0</qplayers>
    <ram>141.227</ram>
    <avglat>0.000</avglat>
    <threads>11</threads>
    <gmcount>0</gmcount>
    <lastupdate>Thu Jul 12 17:56:29 2007
</lastupdate>
    <alliance>0</alliance>
    <horde>0</horde>
    <acceptedconns>0</acceptedconns>
    <peakcount>0</peakcount>
    <querysize>0</querysize>
  </status>
  <instances>
	<instance>
	  <map>0</map>
	  <maptype>0</maptype>
	  <players>0</players>
	  <maxplayers>0</maxplayers>
	  <state>IDLE</state>
	  <creationtime>Thu Jul 12 17:56:29 2007
</creationtime>
	  <expirytime>Never</expirytime>
	</instance>
	<instance>
	  <map>1</map>
	  <maptype>0</maptype>
	  <players>0</players>
	  <maxplayers>0</maxplayers>
	  <state>IDLE</state>
	  <creationtime>Thu Jul 12 17:56:29 2007
</creationtime>
	  <expirytime>Never</expirytime>
	</instance>
	<instance>
	  <map>369</map>
	  <maptype>0</maptype>
	  <players>0</players>
	  <maxplayers>0</maxplayers>
	  <state>IDLE</state>
	  <creationtime>Thu Jul 12 17:56:27 2007
</creationtime>
	  <expirytime>Never</expirytime>
	</instance>
	<instance>
	  <map>449</map>
	  <maptype>0</maptype>
	  <players>0</players>
	  <maxplayers>0</maxplayers>
	  <state>IDLE</state>
	  <creationtime>Thu Jul 12 17:56:27 2007
</creationtime>
	  <expirytime>Never</expirytime>
	</instance>
	<instance>
	  <map>450</map>
	  <maptype>0</maptype>
	  <players>0</players>
	  <maxplayers>0</maxplayers>
	  <state>IDLE</state>
	  <creationtime>Thu Jul 12 17:56:27 2007
</creationtime>
	  <expirytime>Never</expirytime>
	</instance>
	<instance>
	  <map>489</map>
	  <maptype>0</maptype>
	  <players>0</players>
	  <maxplayers>0</maxplayers>
	  <state>IDLE</state>
	  <creationtime>Thu Jul 12 17:56:29 2007
</creationtime>
	  <expirytime>Never</expirytime>
	</instance>
	<instance>
	  <map>529</map>
	  <maptype>0</maptype>
	  <players>0</players>
	  <maxplayers>0</maxplayers>
	  <state>IDLE</state>
	  <creationtime>Thu Jul 12 17:56:29 2007
</creationtime>
	  <expirytime>Never</expirytime>
	</instance>
	<instance>
	  <map>530</map>
	  <maptype>0</maptype>
	  <players>0</players>
	  <maxplayers>0</maxplayers>
	  <state>IDLE</state>
	  <creationtime>Thu Jul 12 17:56:28 2007
</creationtime>
	  <expirytime>Never</expirytime>
	</instance>
  </instances>
  <gms>
  </gms>
  <sessions>
  </sessions>
</serverpage>

Hope that helps dude...


EDIT: i worked out a jerry-rig fix for antrix....

I used hxxp://emupedia.com/forums/showthread.php?t=7453&highlight=status+php to see if the server was online, i put that in the htdocs for xammp(running ont he server machine), then i went to the place in the index.php that calls on $serverres and replaced that with

Code:
<?php
$remote = fopen("http://yourserver.com/phpserverstatcode.php", "r");
fpassthru($remote);
?>

that way the index.php calls for the php that is running on the same machine as the server. Its a kinda ghetto way of making the server stat work for a webpage running on a paid host.
 
Last edited:
Back
Top