Talk:Protocol FAQ

From wiki.vg
Jump to navigation Jump to search

I'm totally lost as to what your problem is. Store your packet types as bytes. Specify them in hex, i.e. when writing a packet, do buf.writeByte(0x32) rather than buf.writeByte(32). Wireshark should be your go-to tool for debugging - filter by tcp.port==25565, find a packet, right click > follow TCP stream Barneygale 08:07, 13 December 2011 (MST)

It makes sense that the error is caused by my sending it as normal decimal versus hexadecimal, but I could swear that I just fixed that problem. I'm going to continue messing with my packet handling structure and wireshark until I get this figured out...I am positive it's just me being stupid with packets. Thanks. I'm done posting here.