Ya so i wrote a class file for handling inteface's nad the text on them and what not, it works perfect... untill someone else logs on. then i get a


Error handling packet 103 - size: 8

or

Error handling packet 103 - size: 5

#1450985 - Pastie

^thats ze code^

help


it works fine if i..
do this
Code:
            if (playerCommand.equalsIgnoreCase("players") || playerCommand.equalsIgnoreCase("player")) {
                c.sendMessage("There are currently " + PlayerHandler.getPlayerCount() + " players online. Thread count: " + Thread.activeCount());
                for (int i = 0; i < 50; i++) {
                    c.getPA().sendFrame126(" ", 8144+i);
                }
                for (int i = 0; i < Config.MAX_PLAYERS; i++) {
                    if (Server.playerHandler.players[i] != null) {
                        {
                            c.getPA().sendFrame126("Players", 8144);
                            c.getPA().sendFrame126("@blu@ Players Online: " + PlayerHandler.getPlayerCount(), 8145);
                            c.getPA().sendFrame126("@red@" + Server.playerHandler.players[i].playerName, 8147 + i);
                        }
                    }
                }
                c.getPA().showInterface(8134);
            }