diff --git a/captureviewer.pyw b/captureviewer.pyw index c9d78bb..2af821f 100644 --- a/captureviewer.pyw +++ b/captureviewer.pyw @@ -52,6 +52,7 @@ component_name[4] = "Character", component_name[17] = "Inventory", component_name[5] = "Script", component_name[9] = "Skill", +component_name[11] = "Item", component_name[60] = "BaseCombatAI", component_name[48] = "Stats", "Rebuild" component_name[25] = "MovingPlatform", @@ -60,6 +61,7 @@ component_name[16] = "Vendor", component_name[6] = "Bouncer", component_name[39] = "ScriptedActivity", component_name[71] = "RacingControl", +component_name[75] = "Exhibit", component_name[2] = "Render", component_name[107] = "Component 107", component_name[12] = None @@ -70,6 +72,7 @@ component_name[36] = None component_name[45] = None component_name[55] = None component_name[56] = None +component_name[57] = None component_name[64] = None component_name[65] = None component_name[68] = None diff --git a/packetdefinitions/replica/components/Character.structs b/packetdefinitions/replica/components/Character.structs index 962213f..c816eef 100644 --- a/packetdefinitions/replica/components/Character.structs +++ b/packetdefinitions/replica/components/Character.structs @@ -37,7 +37,7 @@ if creation: [u64] - accountID (in xml data and chardata packet) [u64] - "llog" from xml data [u64] - ??? - [u64] - lego score (from xml data) + [u64] - lego score [bit] - is player free to play [u64] - Total Amount of Currency Collected [u64] - Number of Bricks Collected @@ -67,8 +67,8 @@ if creation: [u64] - Number of Races finished [u64] - Number of 1st Place Race Finishes [bit] - ??? - [bit] - ??? - [u16-wstring] - some LDF string? + [bit] - is player landing by rocket + [u16-wstring] - LDF info of rocket modules [bit] - flag [bit] - flag?, assert == False [bit] - ???, assert == False @@ -76,7 +76,7 @@ if creation: [bit] - ???, assert == False [u8] - ???, assert == 0 [bit] - flag - [u32] - ??? + [u32] - if this is 1 the character's head glows, expect in (0, 1) [bit] - flag (this and below was in a separate function in the code) [s64] - ??? [u8] - ??? (count for next struct?) diff --git a/packetdefinitions/replica/components/Exhibit.structs b/packetdefinitions/replica/components/Exhibit.structs new file mode 100644 index 0000000..f6a233a --- /dev/null +++ b/packetdefinitions/replica/components/Exhibit.structs @@ -0,0 +1,3 @@ +Exhibit ($+863790): +[bit] - flag + [s32] - exhibited LOT diff --git a/packetdefinitions/replica/components/MovingPlatform.structs b/packetdefinitions/replica/components/MovingPlatform.structs index 0de5c87..25242e7 100644 --- a/packetdefinitions/replica/components/MovingPlatform.structs +++ b/packetdefinitions/replica/components/MovingPlatform.structs @@ -10,20 +10,20 @@ if flag: subcomponent_type=[u32] - subcomponent type, 4 - mover, 5 - simple mover?, expect in (4, 5) if subcomponent_type == 4: [bit] - ??? - [u32] - ??? + [u32] - state [s32] - ??? [bit] - ??? [bit] - based on this and some other criteria some other things are also included? [float] - ??? - [float] - target position x - [float] - target position y - [float] - target position z + [float] - unexpected position x + [float] - unexpected position y + [float] - unexpected position z - [u32] - current waypoint index? - [u32] - next waypoint index? + [u32] - current waypoint index + [u32] - next waypoint index - [float] - ??? + [float] - idle time elapsed [u32] - ??? if subcomponent_type == 5: [bit] - flag diff --git a/packetdefinitions/replica/components/Rebuild.structs b/packetdefinitions/replica/components/Rebuild.structs index d8b7471..cc75912 100644 --- a/packetdefinitions/replica/components/Rebuild.structs +++ b/packetdefinitions/replica/components/Rebuild.structs @@ -17,10 +17,10 @@ start of ScriptedActivity end of ScriptedActivity [bit] - flag [u32] - rebuild state - [bit] - ??? - [bit] - ??? - [float] - ??? - [u32] - ??? + [bit] - success + [bit] - enabled + [float] - rebuild time + [float] - a time related to paused rebuilds, expect == 0 if creation: [bit] - ??? [u32] - ??? diff --git a/packetdefinitions/replica/components/Stats.structs b/packetdefinitions/replica/components/Stats.structs index fc13c14..1de79ae 100644 --- a/packetdefinitions/replica/components/Stats.structs +++ b/packetdefinitions/replica/components/Stats.structs @@ -21,12 +21,12 @@ if creation: [bit] - ??? [bit] - ???, assert == False [bit] - ???, assert == False - [float] - max health, assert == maxhealth - [float] - max armor, assert == maxarmor - [float] - max imagination, assert == maximag + [float] - max health, expect == maxhealth + [float] - max armor, expect == maxarmor + [float] - max imagination, expect == maximag [u32] - count [s32] - faction id - trigger=[bit] - flag + trigger=[bit] - is smashable if creation: [bit] - flag [bit] - flag, assert == False diff --git a/packetdefinitions/replica/creation_header.structs b/packetdefinitions/replica/creation_header.structs index b1ffb30..2def8fd 100644 --- a/packetdefinitions/replica/creation_header.structs +++ b/packetdefinitions/replica/creation_header.structs @@ -13,7 +13,7 @@ objectID=[s64] - objectID [bit] - flag [u32] - spawner_node_id [bit] - flag - [float] - ??? + [float] - object scale [bit] - flag, assert == False [u8] - objectWorldState? [bit] - flag, assert == False