Post Pacific  

Go Back   Post Pacific > Восстановленный архив > Темы без сохранившегося раздела

Notices

 
 
Thread Tools Search this Thread Display Modes
Old 14.07.2006, 12:24   #1
Belazor
Архивный участник
 
Join Date: Mar 2006
Posts: 26
Default //who packet?

Like it says on the tin, u to mi giv pless //who packet info, or a way for me to find this out myself?
I r nub when it comes to this sort of thing see, u to mi hylp pless?

Wanna create an accurate user online script for web, thats why.
So I need to send that packet through PHP, and I need to know what to send.
mi hylp?

k? thx? bai.
Belazor is offline  
Old 14.07.2006, 12:27   #2
drzoom
Архивный участник
 
Join Date: Aug 2005
Posts: 428
Default

Сам то понял что написал?
drzoom is offline  
Old 14.07.2006, 12:29   #3
KTPSMF
Архивный участник
 
Join Date: Oct 2005
Posts: 367
Default

i can help if i understand your language
KTPSMF is offline  
Old 14.07.2006, 12:37   #4
Belazor
Архивный участник
 
Join Date: Mar 2006
Posts: 26
Default

XD
I want to create a PHP script that fetches accurate user online information, and I need to send a packet to CacheD it seems to fetch this info.
I need to know if there's any way I can fetch this myself, or if anyone knows what to send in order to fetch the appropriate info.

thx4urhylp mens
Belazor is offline  
Old 14.07.2006, 12:49   #5
ateh
Архивный участник
 
Join Date: Apr 2006
Posts: 118
Default

$query="SELECT TOP 2 * FROM [dbo].[user_count] WHERE server_id < 2 ORDER BY record_time DESC";
$conn=mssql_connect($ip,$user,$pass);
mssql_select_db($db, $conn);
$result = mssql_query($query);
for($t=0; $t<2; $t++) {
$world = mssql_result($result, $t, 1);
$status = mssql_result($result, $t, 2);
$tb[$world] = $status;
}
mssql_free_result($result);
$conn = mssql_close();

echo "Worls 1: ".$tb[1]."
\n";


It's refreshed every 5 minutes or something like this.
ateh is offline  
Old 14.07.2006, 12:55   #6
Belazor
Архивный участник
 
Join Date: Mar 2006
Posts: 26
Default

Yeah I looked into that table, but I want the stats to be able to be updated in realtime.
I guess Ill use the user_count table until I can get my hands on that packet info. Thanks
Belazor is offline  
 

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 20:16.