Looks like this should be the new Environment Damage Struct:
Code:
// EnvDamage is EnvDamage2 without a few bytes at the end.
// Size: 37 bytes
struct EnvDamage2_Struct {
/*0000*/ int32 id;
/*0004*/ int16 unknown4;
/*0006*/ int32 damage;
/*0010*/ float unknown10; // New to Underfoot - Seen 1
/*0014*/ int8 unknown14[12];
/*0026*/ int8 dmgtype; // FA = Lava; FC = Falling
/*0027*/ int8 unknown27[4];
/*0031*/ int16 unknown31; // New to Underfoot - Seen 66
/*0033*/ int16 constant; // Always FFFF
/*0035*/ int16 unknown35;
/*0037*/
};
I think we will need a new encode/decode for that.
I am not sure why you are getting the unexpected size error for OP_Damage though. That one looks like the right struct for the packet you posted. The struct is size 28 as expected.