View Full Version : [Request]show players online
A single php file without the needing of any other files, showing max players, current online players, shops, pretty much like the l2who from evermore.ru, u need to input the IP/port in the php file, not like evermore that u can change the ip/port like that whenever u want, also was made by Hint.
There was a post containing the file in the past, before that pp got fucked up, kinda obvious. :mad:
Those are all the clues, id appreciate any kind of help.
Thanks .
Версия форума 2009–2010. Восстановлено из публичного снимка Wayback Machine. Тема могла сохраниться частично. Время показано по часам снимка; часовой пояс не установлен. Дата в снимке: 07-18-2009, 03:58 PM. Открыть источник (https://web.archive.org/web/20100324121356id_/http://www.postpacific.com:80/archive/index.php/t-844.html).
OpalSnow
18.07.2009, 16:37
SELECT COUNT(char_id) FROM user_data WHERE login > logout
Версия форума 2009–2010. Восстановлено из публичного снимка Wayback Machine. Тема могла сохраниться частично. Время показано по часам снимка; часовой пояс не установлен. Дата в снимке: 07-18-2009, 04:37 PM. Открыть источник (https://web.archive.org/web/20100324121356id_/http://www.postpacific.com:80/archive/index.php/t-844.html).
no, thats not what im looking for.
i look for a php file that contains a source pretty similar like this one, but is not exactly this one.
<?
$s1_online = 0;
$s1_stat = 0;
$server_ip=('hello.pp.forum.lol')
$port=7777;
if(@fsockopen($server_ip,$port)){
$fs=@fsockopen($server_ip,$port);
$pck=pack("vCi",6,0,-3);
fwrite($fs,$pck);
$r=fread($fs,73);
fclose($fs);
$a=unpack("vsize/Cid/iworld/imax/icurrent/iplaying/istore",$r);
$s1_online = $a[current];
$s1_online = $s1_online*$online_rater;
$s1_online = floor($s1_online);
$s1_stat = 1;
}
?>
took this code from this site (http://forum.zone-game.info/showthread.php?t=48&highlight=vsize)
the one im looking for is much larger, afaik :/
anyways thanks for your contribution, i still looking for some help, if anyone has that file that were posted some time ago and post it now here, i will appreciate so much! =)
Версия форума 2009–2010. Восстановлено из публичного снимка Wayback Machine. Тема могла сохраниться частично. Время показано по часам снимка; часовой пояс не установлен. Дата в снимке: 07-18-2009, 04:56 PM. Открыть источник (https://web.archive.org/web/20100324121356id_/http://www.postpacific.com:80/archive/index.php/t-844.html).
...within those few lines are everything you need to do anything related to the online number count.
Unless you need someone else to type for you
echo $s1_online;
Версия форума 2009–2010. Восстановлено из публичного снимка Wayback Machine. Тема могла сохраниться частично. Время показано по часам снимка; часовой пояс не установлен. Дата в снимке: 07-18-2009, 09:03 PM. Открыть источник (https://web.archive.org/web/20100324121356id_/http://www.postpacific.com:80/archive/index.php/t-844.html).