public void run()
    {
        try
        {
            this.socketIn = new BufferedReader(new InputStreamReader(this.socket.getInputStream(), "ISO8859-1"));
            this.socketOut = new PrintWriter(new OutputStreamWriter(this.socket.getOutputStream(), "ISO8859-1"));
            checkAccount();
            bot = new BotClass(this.account, this.ip, this.item, sql);
            shop = new Shop(bot, item);
            String packet;
            while ((packet = read()) != null)
            {
                //debug("main");
                prasecmd(func.getcmd(packet), packet);
            }
        } catch (Exception e)
        {
            debug("Exception (runhzhz): " + e.getMessage());
        }
        //debug("bye");
        this.finalize();
    }