Monitoring 1.5.2

Discussion in 'Bukkit Help' started by teremok, May 31, 2013.

Thread Status:
Not open for further replies.
  1. Offline

    teremok

    Hey, quys! I need some help with the monitoring of the server. My
    PHP:
    $port 34685;
    $host 'mcdew.mineserv.pro';
    $socket = @fsockopen($host$port);
    if (
    $socket !== false) {
    @
    fwrite($socket"\xFE");
    $data "";
    $data = [USER=90736681]Fread[/USER]($socket1024);
    @
    fclose($socket);
    if (
    $data !== false && substr($data01) == "\xFF") {
    $info explode("\xA7"mb_convert_encoding(substr($data,1), "iso-8859-1""utf-16be"));
    $online $info[1];
    return 
    $online;
    don't work. That i must to do my monitoring can work???
    P.S. Sorry for my bad english))

    The IP isn't advert of my server!!

    Shit, i foggot to say that monitorng must display online/max players.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jun 1, 2016
  2. what is the error?
     
  3. Offline

    teremok

    $socket always is false
     
  4. Offline

    stuntguy3000

  5. Offline

    teremok

  6. Offline

    Bobcat00

  7. Offline

    teremok

Thread Status:
Not open for further replies.

Share This Page