Jump to content

Recommended Posts

  • 4 weeks later...
  • 3 months later...
Posted

Everything is working fine except the Server statistic.

you can take a look at http://l2-carnage.web44.net/index.php

Another question.. if i already have a web-site and i just want to add the top pvp/pk/activity & castle status how can i do it?

 

Edit: Finally done it.

Great share :)

  • 3 months later...
  • 2 months later...
  • 2 months later...
Posted

This site doesnt work for H5 , since the database in sql its l2jls, l2jgs, l2jcs not only l2jdb like before H5. This code must be rewriten in order the site to work. Otherwise no Login/Game server online/offline.

code of stats.php :

<?php

 

    $db_user = "root";

    $db_pass = "pass";

    $db_name = "l2jdb";

    $db_serv = "adress";

 

    $res = mysql_connect ( $db_serv, $db_user, $db_pass ) or die ("Coudn't connect to [$db_serv]");

    $resdb = mysql_select_db ( $db_name, $res );

 

    return $res;

 

?>

 

If someone knows how to fix it please do so!

And NO it doesnt work with changing $db_name = "l2jgs" !!!

  • 2 weeks later...
Guest
This topic is now closed to further replies.

×
×
  • Create New...