andrewvy/HHVMCraft

Chunk Data Packet Problems

Closed this issue · 2 comments

 0 : 33 00 00 00 00 00 00 00 00 00 00 09 7f 09 00 00 [3...............]
10 : 00 8d 78 9c ed cd 31 11 00 00 08 04 20 cf ef df [..x...1..... ...]
20 : d9 c5 0e 3a 40 01 92 d5 75 22 7e bf df ef f7 fb [...:@...u"~.....]
30 : fd 7e bf df ef f7 fb fd 7e bf df ef f7 fb fd 7e [.~......~......~]
40 : bf df ef f7 fb fd 7e bf df ef f7 fb fd 7e bf df [......~......~..]
50 : ef f7 fb fd 7e bf df ef f7 fb fd 7e bf df ef f7 [....~......~....]
60 : fb fd 7e bf df ef f7 fb fd 7e bf df ef f7 fb fd [..~......~......]
70 : 7e bf df ef f7 fb fd 7e bf df ef f7 fb fd 7e bf [~......~......~.]
80 : df ef f7 fb fd 7e bf df ef f7 fb fd 7e bf df ef [.....~......~...]
90 : f7 fb fd 7e bf df ef f7 3f f8 07 af 29 1d 01 [...~....?...)..]

This isn't working. It seems the client is reading it wrong. It seems like it's in the correct format though?

breakdown

Packet ID: 33
X: 00 00 00 00
Y: 00 00
Z: 00 00 00 00
Width: 09
Height: 7f
Depth: 09
Chunk Data Length: 00 00 00 8d (141)
Chunk Data:
78 9c ed cd 31 11 00 00 08 04 20 cf ef df d9 c5
0e 3a 40 01 92 d5 75 22 7e bf df ef f7 fb fd 7e
bf df ef f7 fb fd 7e bf df ef f7 fb fd 7e bf df
ef f7 fb fd 7e bf df ef f7 fb fd 7te bf df ef f7
fb fd 7e bf df ef f7 fb fd 7e bf df ef f7 fb fd
7e bf df ef f7 fb fd 7e bf df ef f7 fb fd 7e bf
df ef f7 fb fd 7e bf df ef f7 fb fd 7e bf df ef
f7 fb fd 7e bf df ef f7 fb fd 7e bf df ef f7 fb
fd 7e bf df ef f7 3f f8 07 af 29 1d 01

Client only reads 78 9c ed cd 31 11 00 00 08 04 20 cf ef df d9 c5 0e 3a 40 01 before reading new packet of 92, which doesn't exist. Packet not found id: 146.

screen shot 2015-08-23 at 11 48 16 am

👏