$data = pack('cVV',37,$clanid,$rulerid).$this->tounicode($this->signature);fwrite($this->sock,pack("s",(strlen($data)+2)).$data);