- Joined
- Aug 31, 2006
- Messages
- 859
- Reaction score
- 67
any one know how to make website server status can read the server channel online/offline and see how many ppl online? and how to use!
Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!
Join Today!Host = ur svr IP, Port = WorldSvr_01_0x port.function checkLogin($host, $port, $timeout = 6) {
$fsock = fsockopen($host, $port, $timeout);
if (!$fsock) {
return FALSE;
} else {
return TRUE;
}
}
I wont teach u how to use it, if u want edit that im sure u know basic things in phpSELECT COUNT(*) FROM Server01.dbo.cabal_character_table WHERE Login=1 AND ChannelIdx= " . $ChannelIdx . "")