Skip to content

Comments

Reduce inspect link length.#2

Open
17mafo wants to merge 2 commits intocandyboyz:mainfrom
17mafo:main
Open

Reduce inspect link length.#2
17mafo wants to merge 2 commits intocandyboyz:mainfrom
17mafo:main

Conversation

@17mafo
Copy link
Contributor

@17mafo 17mafo commented Jan 30, 2025

If you have a link with 5 stickers with rotation, offsetX, offsetY, Rotation and wear, the link won't work the problem is with cs2 not with this program. If the link is too long they don't work. According to my testing if the link is < 295 characters long it will work.

Added code to not include some variables in hex generation if they are 0 or not defined.

paintwear , Sticker (wear,offsetX,offsetY, rotation) are only added if they have any value but 0.

This makes it possible to generate inspect links with more data and a shorter length.

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

Successfully merging this pull request may close these issues.

1 participant