Post Pacific  

Go Back   Post Pacific > Lineage 2 > Lineage 2 Help

Notices

 
 
Thread Tools Search this Thread Display Modes
Old 18.07.2009, 15:58   #1
foz
Guest
 
Posts: n/a
Default [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. Открыть источник.
 
Old 18.07.2009, 16:37   #2
OpalSnow
Guest
 
Posts: n/a
Default [Request]show players online

SELECT COUNT(char_id) FROM user_data WHERE login > logout

Версия форума 2009–2010. Восстановлено из публичного снимка Wayback Machine. Тема могла сохраниться частично. Время показано по часам снимка; часовой пояс не установлен. Дата в снимке: 07-18-2009, 04:37 PM. Открыть источник.
 
Old 18.07.2009, 16:56   #3
foz
Guest
 
Posts: n/a
Default [Request]show players online

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. Открыть источник.
 
Old 18.07.2009, 21:03   #4
kold
Guest
 
Posts: n/a
Default [Request]show players online

...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. Открыть источник.
 
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 18:07.