Closed xen-000 closed 11 months ago
Do you know by any chance the true size of CCheckTransmitInfo? Could the padding be added to indicate that the class is incomplete?
Unfortunately no, CCheckTransmitInfo objects passed to CheckTransmit are originally stored in CGameClient, which is likely different in source2 as well.
I can probably attempt to figure it out at some point if nobody else does, but right now this works just fine for hooking CheckTransmit to hide players (example).
Can you add a comment then indicating that the structure is not complete and might require some further reversing?
Thanks!
There are most likely more members beyond
m_pTransmitAlways
but I couldn't figure them out and they aren't important to us at the moment anyway. The old ones are definitely wrong though, areas are a BSP thing from source1.In addition,
MAX_EDICT_BITS
was updated to reflect the source2 networked entity limit.