Someone have a simply files web for online user, server status and ranking?
Someone have a simply files web for online user, server status and ranking?
ill give you the code to chekc if its online, But i dont know what ports and if its UDP or TCP. but here
All you gotta do is change srv-Name, The Port and SRVIP to your IP. Note: IT HAS TO BE IPS Only. you can use the Hamachi thing if you really need it.PHP Code:<?
/* Php Code */
$srvip = "CHANGEME";
$srvport = "CHNGME";
?>
<p>Srv_Name:
<?php
$fp = @fsockopen($srvip, $srvport, $errno, $errstr, 1);
if (!$fp) {
echo "<font style='color: #FF3300'><B>Offline</B></font></br>";
} else {
echo "<font style='color: #009933'><B>Online</B></font></br>";
fclose($fp);
} ?> </p>
Btw make sure you have short tags enabled else change <? with <?php
Very very tanks it's nice works!
If someone help me whit php i work in the interface site and release web files for all!
Dang why didnt I think of that. Thanks Dark.
Ranking would not be easy to make because all the information is stored in files and not in a database.
if we work out how to unpack the character and account files stats can be possible
How to great player ranking? :)
Maybe its possible to edit the server files and let them stored the info into the mssql db.
no need to edit server files -.-! Write in php or another language procedures do read data blocks from account files u will need to catch some offsets and after that write the php script or program and make to update the data in each day (do a task for it using windows taskmanager), after that write a php page to catch data from mysql db.