Post Pacific  

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

Notices

 
 
Thread Tools Search this Thread Display Modes
Old 06.04.2007, 17:35   #1
FidoW
Архивный участник
 
Join Date: Sep 2005
Posts: 1,014
Default

That works for me

PHP Code:
#20 DisableCharacterPacket("ddS")
function DisableCharacterPacket($char_id) {
    
$buf = pack("c", 20);
    
$buf .= pack("i", $char_id);
    
$buf .= pack("i", 1);
    return 
CacheDInteractive($buf);
}

#21 EnableCharacterPacket("ddS")
function EnableCharacterPacket($char_id, $account_id) {
    
$buf = pack("c", 21);
    
$buf .= pack("i", $char_id);
    
$buf .= pack("i", $account_id);
    return 
CacheDInteractive($buf);
} 
FidoW is offline  
Old 15.05.2007, 09:24   #2
Charis
Архивный участник
 
Join Date: Feb 2006
Posts: 39
Default

Quote:
Originally Posted by FidoW View Post
That works for me

PHP Code:
#21 EnableCharacterPacket("ddS")
function EnableCharacterPacket($char_id, $account_id) {
    
$buf = pack("c", 21);
    
$buf .= pack("i", $char_id);
    
$buf .= pack("i", $account_id);
    return 
CacheDInteractive($buf);
} 
Does EnableCharacter works correct for you?
I have the same one, but it places in account_id unsigned -2 (somesing like 65K o_O).

What is wrong????
Charis 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 16:33.