Conversation
- add ability to iterate through DPT_DataTable - add spt_hud_ent_info_recurse to control recursing datatables
5a2d63d to
e9446e1
Compare
|
I finally dug into this a bit more. In addition to the fix mentioned above, many of the mysteries of datatables are no longer as mysterious if you see that some of the properties have proxy functions. These proxy functions may:
Because of the last point, it's not possible to call these proxy functions to obtain the "actual" values, so some of them appear broken when displayed. There's also a lot of them, so it's not viable to write custom wrappers (like I tried to do in UntitledParser). Anyways, I also added the ability to iterate through recursive datatables but disabled it by default because there's a lot of garbage properties. This can be enabled with With With The player's fields with recursion: Tested on 3420, 4104, 5135, & steampipe. |




UntitledParser uses different send prop types for protocol versions 14 & below than for 15 & above. As far as I remember this corresponds with version 5135 (which is protocol 15) - that has a DPT_VectorXY field. This adjustment takes care of strings which previously showed up as "enable to parse" since they were treated as
DPT_Array. Also, the cast for DPT_String was incorrect which fixes #434.Tested
spt_hud_ent_info 0,.*on portal 5135 & 3420.