As of the X34.2.1 a few things were changed + added to packets, namely the addition of something called "CompressedInt" and 2 extra variables received with NewTick, one of which now also needs to be sent with Move
CompressedInt is used for both short and normal integers and is only read, never written from the client
Code:
int m_nRead(Packet* m_pPacket)
{
byte m_nStartByte = m_pPacket->m_pReadBytes<byte>();
bool m_bFlipValue = (m_nStartByte & 64) != 0;
int m_nShiftAmmount = 6;
int m_nFinalValue = m_nStartByte & 63;
while (m_nStartByte & 128)
{
m_nStartByte = m_pPacket->m_pReadBytes<byte>();
m_nFinalValue = m_nFinalValue | (m_nStartByte & 127) << m_nShiftAmmount;
m_nShiftAmmount += 7;
}
if (m_bFlipValue)
{
m_nFinalValue = int(-m_nFinalValue);
}
return m_nFinalValue;
}
Its used in StatData for the value if its an integer as well for all the counts in the Update packets
It might also be used somewhere else but I havent encountered any issue ever since adding the compressed int to those 2