Advertisement
Darker666

Loging in to Bukkit

Mar 16th, 2013
135
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.59 KB | None | 0 0
  1. Hello world!
  2. Sending 0x02 packet!
  3. - Sending [protocol version] (51)
  4. - Sending [username] ("jakub51")
  5. - Sending [server name] ("127.0.0.1")
  6. - Sending [port] (25565)
  7. RECEIVING!
  8. Receiving 253 packet.
  9. - receiving [Server id]
  10. - String length: 1 characters (short as bytes: 0 1) this means 2 bytes will
  11. be read. //Just one character?
  12. - String: "-" //What should I expect as server ID?
  13. - receiving [Verify token]
  14. - Array length: -94 //negative length makes no sense - should I cast to unsigned?
  15. - Array read (data ignored)
  16. - receiving [Verify token]
  17. - Array length: 12161
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement