hidde Posted January 12, 2011 Share Posted January 12, 2011 hi all :) i want this script for off where can i get this? Quote Link to comment Share on other sites More sharing options...
0 Narda Posted January 12, 2011 Share Posted January 12, 2011 search a little bit, learn php a little bit. Quote Link to comment Share on other sites More sharing options...
0 Sighed Posted January 12, 2011 Share Posted January 12, 2011 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. Quote Link to comment Share on other sites More sharing options...
0 hidde Posted January 12, 2011 Author Share Posted January 12, 2011 yes, i can find online status script but i want this: how many ppl online i couldn't found that p.s also i dont know how to set it Quote Link to comment Share on other sites More sharing options...
0 Sighed Posted July 22, 2011 Share Posted July 22, 2011 <?php $ip = '172.16.192.3'; // 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)); fclose($fp); 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); fwrite($fs,$pck); $r=fread($fs,73); fclose($fs); 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'); fwrite($fp,time().":".$current.":".$playing.":".$store.":".$max); fclose($fp); } } else $fp = @fopen($cachefile,"w") or die('File ERROR'); fwrite($fp,time().":".0.":".0.":".0.":".0); fclose($fp); echo "SYS: current({$current}), playing({$playing}), private store({$store}), max({$max})\n"; ?> Quote Link to comment Share on other sites More sharing options...
0 miguelitito Posted July 23, 2011 Share Posted July 23, 2011 i need reply on this topic for see it ¬¬ Quote Link to comment Share on other sites More sharing options...
0 BnB Posted October 24, 2011 Share Posted October 24, 2011 i need reply on this topic for see it ¬¬ ps. Is not spam! Quote Link to comment Share on other sites More sharing options...
Question
hidde
hi all :)
i want this script for off
where can i get this?
Link to comment
Share on other sites
6 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.