wrong packet size probably
|
I am using 2006Redone as a base and whenever I login i immediately get logged out.
This is the only thing i could find that has the word DEREGISTERED in it so i figured I'd post it here
This error comes up in the client : Error: T2 - 97,208,126 - 2,0,0 - 59,-116, (not sure if thats making it log me out or what)Code:Misc.println("[DEREGISTERED]: " + playerName + ""); HostList.getHostList().remove(session); CycleEventHandler.getSingleton().stopEvents(this); disconnected = true; session.close(); session = null; inStream = null; outStream = null; isActive = false; buffer = null; super.destruct(); PlayerSave.saveGame(this);
any help is appreciated
wrong packet size probably
i really don't know what to do with the advice you gave me would i need to change the 0 in here? that probably isn't right lol I'm hopeless
Code:public synchronized void remove(IoSession session) { if (session.getAttribute("inList") != Boolean.TRUE) { return; } String addr = ((InetSocketAddress) session.getRemoteAddress()) .getAddress().getHostAddress(); Integer amt = connections.get(addr); if (amt == null) { return; } amt -= 1; if (amt <= 0) { connections.remove(addr); } else { connections.put(addr, amt); }
Check which packets are being sent from the server and make sure client is reading them properly
« Previous Thread | Next Thread » |
Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |