Jump to content
  • 0

need online script



6 answers to this question

Recommended Posts

  • 0

Use search engine and perhaps you will find something, cause this already exists. Btw login is 2106 and game is 7777 you should find blackout gaming status, ofc how many ppl online require something more, but you can find it too.

Link to comment
Share on other sites

  • 0

$ip = '';        // IP game server 
$port = 7788;            // Port game server 
$time = 10;              // Time refresh chech online (sec) 
$cachefile = "/var/www/showmebigtits.com/htdocs/serverstat.txt";    // file cache online 

$fp = @fopen($cachefile,"r") or die('File ERROR'); 
$str_read = fread($fp, filesize($cachefile)); 

list($lasttime, $current, $playing, $store, $max) = explode(":", $str_read); 

if (@fsockopen($ip,$port)!==NULL) { 

if(($lasttime + $time) < time()) 
    $fs = @fsockopen($ip,$port) or die('Sock ERROR'); 
    $pck = pack("vCi",6,0,-3); 
    list($size, $id, $world, $max, $current, $playing, $store) = array_values(unpack("vsize/Cid/iworld/imax/icurrent/iplaying/istore",$r));

    $fp = @fopen($cachefile,"w") or die('File ERROR'); 

$fp = @fopen($cachefile,"w") or die('File ERROR'); 
echo "SYS: current({$current}), playing({$playing}), private store({$store}), max({$max})\n"; 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Create New...

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disabled AdBlock