02-24-2012, 04:43 AM
That probably means you sent the first packet incorrectly.
If you want to send a username (username is a string) you also need to send the length of the string along.
In the minecraft protocol a string is represented by first sending a short (2 bytes) containing the amount of characters in the string, and then the characters
If you want to send a username (username is a string) you also need to send the length of the string along.
In the minecraft protocol a string is represented by first sending a short (2 bytes) containing the amount of characters in the string, and then the characters