ValveSoftware / csgo-demoinfo

CS:GO demo parsing tool
BSD 2-Clause "Simplified" License
489 stars 101 forks source link

Entities missing Props #18

Closed rchh closed 6 years ago

rchh commented 7 years ago

It looks as tho when props are loaded into entities by another means other than a packet entity update. The entity will not contain it's full set of props.

As an example, in this demo: http://replay135.valve.net/730/003193751472445587633_0350465225.dem.bz2. At the first weapon_fire event, the player has an m4a1s. However, the m4a1 (I think it's entity id is 167), entity doesn't have a prop for m_nModelIndex which it should. You can look in s_Entities for this, you'll see it's missing a load of other props but this was the reason I found the issue.

At the point of the first event, the entity only has the props that were received in a packet entity update. I'll add more info once I'm home later. My initial thoughts are that props aren't being populated by one of the other data/string table updates.