Skip to content

Item Serial Parsing and Part Rules #2

@thematrixincendies

Description

@thematrixincendies

Hi,

I tested this tool a bit and item serial decoding seems a bit off.
I have an Onslaught serial here: @UgxFw!2}TYgOs)+YRG}7?s3AisQ8!UBQ8Q6BQDIPXP<2qdQ2P) which is 100% valid (dropped from the game a few hours ago).
When using your serial decoder, I get this result:

bl4 serial decode '@UgxFw!2}TYgOs)+YRG}7?s3AisQ8!UBQ8Q6BQDIPXP<2qdQ2P)'

Serial: @UgxFw!2}TYgOs)+YRG}7?s3AisQ8!UBQ8Q6BQDIPXP<2qdQ2P)
Item type: x (Weapon)
Weapon: Bor SMG
Element: Kinetic, Radiation, Corrosive
Rarity: Legendary
Seed: 2985
Decoded bytes: 39
Hex: 211b0601906270443275b0582a8568a91584c2948aec8a8c8acc8aac8a860ace0aae0add0adf08
Tokens: 134 ,  0 ,  8 ,  196 | 4 ,  2985 | | {8} {4} {10} {2} {8:3} {34} {45} {33} {41} {37} {128} {137} {133} {75} {203} |

Parts: part_barrel_02_a, part_barrel_01_c, part_barrel_02_c, part_barrel_01_a, part_barrel_02_a:3, part_mag_01, part_scope_01_lens_02v, part_grip_05c_ted_jav, part_mag_ted_thrown_04_cov, part_mag_04_cov, [75], [203]

While nicnl's deserializer gives me:

22, 0, 1, 50| 2, 3417|| {1} {2} {5} {4} {1:12} {68} {75} {72} {73} {74} {16} {25} {26} {45} {61}|

And then I stumbled across the doc's where it says:

Weapons have limits on how many accessories can appear:
Total accessories per weapon | Max 3

Wouldn't that serial be in violation of that? It has two body accessories {5} {4} (part_body_c +acc, part_body_b +ammo) and four barrel accessories {75} {72} {73} {74} (part_barrel_01_d +ammo, part_barrel_01_b +crit dmg, part_barrel_01_a +dmg and part_barrel_01_c +ammo).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions