![]() |
//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. :) |
Сам то понял что написал?
|
i can help if i understand your language :D
|
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 ;) |
$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. |
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 :) |
| All times are GMT. The time now is 15:58. |