Updated replica parsing.

This commit is contained in:
lcdr 2016-10-22 14:02:58 +02:00
parent fdee5babfb
commit 5f6a5c9f77
7 changed files with 26 additions and 20 deletions

View File

@ -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

View File

@ -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?)

View File

@ -0,0 +1,3 @@
Exhibit ($+863790):
[bit] - flag
[s32] - exhibited LOT

View File

@ -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

View File

@ -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] - ???

View File

@ -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

View File

@ -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