![]() |
|
|
#11 |
|
Архивный участник
Join Date: Apr 2006
Posts: 729
|
Namenlos:
Your php-script invalid... Where is a function calling? -> echo (ban_char($name, $hour)); Where $char_id variable defined? -> is there must be name or char_id? -> if $name, then you must convert it to unicode tounicode($name); -> if $char_id, then you have error in function arguments... You have error in a packet data... Because you're using packet for ChangeCharNamePacket. -> you must know right packet structure (with all parameters, which sended to cached) -> function ban_char($name, $hour) -> $buf = pack("c", 39); -> $buf .= pack("i", $char_id); -> $buf .= pack("i", $name); -> $buf .= tounicode("GM1"); -> it's what you must edit... I can't help with structure, because I can't understand, which parameters used for that function... |
|
|
|
|