Quote:
Originally Posted by SilverCloud
These commands are only available when the character is offline right? If so, thats too bad.. I was about to create an auction site (php). Second, is it possible to check if a char is online?
|
You can check if player is online with this function...
PHP Code:
#1 CheckCharacterPacket("dS")
function CheckCharacterPacket($char_id) {
$buf = pack("c", 1);
$buf .= pack("i", $char_id);
return CacheDInteractive($buf);
}
But always you can kick him first and problem solved.
PHP Code:
#5 KickCharacterPacket("dS")
function KickCharacterPacket($char_id) {
$buf = pack("c", 5);
$buf .= pack("i", $char_id);
return CacheDInteractive($buf);
}