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