View Single Post
Old 28.10.2006, 22:41   #67
Namenlos
Архивный участник
 
Join Date: Mar 2006
Posts: 160
Default

Quote:
Originally Posted by hel View Post
Where is a function calling?
-> echo (ban_char($name, $hour));
after this script. Didn't post it here.

Quote:
Originally Posted by hel View Post
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...
I sent charname as $char_id variable. I try to convert. Its converted but still not work.
I POSTED WRONG CODE. I mean

$buf = pack("c", 39);
$name = tounicode($name);
$buf .= pack("i", $name);
$buf .= pack("i", $hour);


39 is the packet for BanChar, look at the first post. Changing name is 4th packet.
Namenlos is offline