Originally Posted by
PSNB
It seems that the login process of the server reads an extra four bytes of data, or your client is sending four less bytes of data than it should be. So, you've got two choices.
1. Figure out where those extra 4 bytes are being read in the server, and delete them.
2. Add an extra 4 bytes of data to the stream before the username is sent.
This was the only byte i could find so far
Code:
s1Response.setBare(true).addBytes(new byte[] { 0, 0, 0, 0, 0, 0, 0, 0 }).addByte((byte) 0).addLong(serverSessionKey);
I've added 4 extra "0, 0, 0, 0," to the btye just like you said, and now i get "Your account has been disabled." when having a 1 letter username.