Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

13 bits for item product_ids is not enough any more #2

Open
bensamuel-k opened this issue Dec 2, 2022 · 0 comments
Open

13 bits for item product_ids is not enough any more #2

bensamuel-k opened this issue Dec 2, 2022 · 0 comments

Comments

@bensamuel-k
Copy link

In line 21 of RandomBMPreset/BMLoadout.cpp you reserve 13 bits for the item product-ids:
writer.WriteBits(opt.second.product_id, 13); //Item id, 13 bits so upto 8191 should be enough.
But I noticed there are some items with a product-id higher than 8191 now. I tested with the decal: "Fennec: Karmine Corp (Home) (2)", which has a product-id of 8371. I tried manually adding this decal to a loadout and when I loaded the resulting Hex-Code into Rocket League, no decal was added. So some newer items are not included in the randomizer.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant