Skip to content

Instantly share code, notes, and snippets.

@fador
Created November 13, 2010 13:00
Show Gist options
  • Save fador/675302 to your computer and use it in GitHub Desktop.
Save fador/675302 to your computer and use it in GitHub Desktop.
1.2.2 client sends another block placement with illegal data
Packet 1
0f
Packet 2
00 03 ff ff fe ff 41 ff ff ff 17 05 12 00 00 00 01 01 0f 00 03 ff ff ff ff ff ff ff ff ff ff
Analysis
0f = block placement
00 03 = item id, dirt
ff ff fe ff = X coordinate, -257
41 = Y coordinage, 65
ff ff ff 17 = Z coordinate, -233
05 = Direction, +X
12 = Arm animation
00 00 00 01 = Entity ID, 1
01 = Animate, true
!!!!!!! Another block placement !!!!!!
0f = block placement
00 03 = item id, dirt
ff ff ff ff = X coordinate, -1
ff = Y coordinate, -1 Illegal!
ff ff ff ff = Z coordinate, -1
ff = direction,-1 Illegal!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment