Jump to content

gledy

Members
  • Posts

    15
  • Joined

  • Last visited

gledy's Achievements

Square

Square (6/54)

0

Reputation

  1. gledy

    PHP Query

    and I really have to enter FTP information?
  2. gledy

    PHP Query

    sorry .. few understand it, I'm a noob ... would be a good concrete example .. Forum on game-monitor is a nice example, but then does not work for my version
  3. gledy

    PHP Query

    sorry .. I need only query that pulls through the protocol name, players, map and online / offline status
  4. gledy

    PHP Query

    I do not want GameQ ... and there I can not pull the query
  5. gledy

    PHP Query

    <? function mta_getServer_process($dat) { if (substr($dat,0,4)=="EYE1") { $dat=substr($dat,4); $i=0; while($dat!="") { if (substr($dat,0,2)==chr(1)."?") { $dat=substr($dat,2); } $l=ord(substr($dat,0,1)); $blks[$i]=substr($dat,1,$l-1); $dat=substr($dat,$l); $i++; } $ret->gameshort=$blks[0]; $ret->port=$blks[1]; $ret->name=$blks[2]; $ret->rules['game']=$blks[3]; $ret->map=$blks[4]; $ret->rules['version']=$blks[5]; if ($blks[6]=="0") { $ret->public=1; } else { $ret->public=0; } $ret->players=$blks[7]; $ret->maxplayers=$blks[8]; $j=0; for ($i=11; $i<sizeof($blks)-2; $i=$i+5) { $ret->player[$j]->name=$blks[$i]; $ret->player[$j]->score=$blks[$i+3]; $ret->player[$j]->time=0; $j++; } } return $ret; } function mta_getServer_send($fp) { fwrite($fp,"s"); } function mta_getServer($ip,$port) { $fp=fsockopen("udp://$ip", $port, $errno, $errstr); if (!$fp) { } else { stream_set_timeout($fp,1,0); mta_getServer_send($fp); $data=fread($fp,16384); fclose($fp); return mta_getServer_process($data); } } ?> not working for server 80.79.23.150:22003 PHP File: $info=mta_getServer('80.79.23.150', '22003'); echo $info->name;
  6. gledy

    PHP Query

    and Query for PHP5 ?
  7. gledy

    PHP Query

    hmm, server is offline and script write "Connected"
  8. gledy

    PHP Query

    and please.. how to make Online/Offline Status ?
  9. gledy

    PHP Query

    ok thanks and you can show me a simple example? with query not very good
  10. gledy

    PHP Query

    hi, i find php query for Multi Theft Auto... Please Query and a demonstration application, thanks
  11. gledy

    Server control panel

    OK, I have a php basics, thanks a lot
  12. gledy

    Server control panel

    I have a VPS that has it all. In the past I have worked with servers.
  13. gledy

    Server control panel

    Sorry "VPS" and I rented a server with apache and php ....
  14. gledy

    Server control panel

    I created 2 PSD and need MTA Control Panel (Start, Stop ...)
  15. gledy

    Server control panel

    hi, i find free server control panel for my 2 mta servers. Help me please ?
×
×
  • Create New...