Jump to content

yaotzi9n

Members
  • Posts

    2
  • Credits

  • Joined

  • Last visited

  • Feedback

    0%

About yaotzi9n

Profile Information

  • Gender
    Not Telling

yaotzi9n's Achievements

Newbie

Newbie (1/16)

0

Reputation

  1. Put this in your site <?php include "config/config.php" ?> <?php //if ($server && $port && $timeout) { $game = @fsockopen("$server", $portg, $errno, $errstr, $timeout); $login = @fsockopen("$server", $portl, $errno, $errstr, $timeout); //} if($login) { echo "<p style='margin-top: 15px;'>Login: <font color=#00DF00>Online</font><br /></p>"; } else { echo "<p>Login: <font color=#FF0000>Offline</font><br /></p>"; } if($game) { echo "<p>Game: <font color=#00DF00>Online</font><br /></p>"; } else { echo "<p>Game: <font color=#FF0000>Offline</font><br /></p>"; } echo ""; ?> and config.php file looks like this <?php $server = "yourserver.eu"; //you can put ip adress or domain name $portg = "7777"; $portl = "2106"; $timeout = "1"; ?> Edit.... Remember that the first part of code need to be placed in php file. ;)
  2. I tested it on L2J CT2.4. Need to make some changes but works great. THX. :)
×
×
  • Create New...