![]() |
|
|
|
|
#1 |
|
Архивный участник
Join Date: Mar 2006
Posts: 26
|
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.
|
|
|
|
|
#2 |
|
Архивный участник
Join Date: Aug 2005
Posts: 428
|
Сам то понял что написал?
|
|
|
|
|
#3 |
|
Архивный участник
Join Date: Oct 2005
Posts: 367
|
i can help if i understand your language
|
|
|
|
|
#4 |
|
Архивный участник
Join Date: Mar 2006
Posts: 26
|
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
|
|
|
|
|
#5 |
|
Архивный участник
Join Date: Apr 2006
Posts: 118
|
$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. |
|
|
|
|
#6 |
|
Архивный участник
Join Date: Mar 2006
Posts: 26
|
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
|
|
|
| Thread Tools | Search this Thread |
| Display Modes | |
|
|