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

Keychain detachment #100

Open
DarkGL opened this issue Nov 22, 2024 · 3 comments
Open

Keychain detachment #100

DarkGL opened this issue Nov 22, 2024 · 3 comments

Comments

@DarkGL
Copy link

DarkGL commented Nov 22, 2024

I want to add keychain detachment method, and I'm looking for someone to push me in the right direction.

After checking base_gcmessages.proto I think I need to use CMsgModifyItemAttribute

So something like

this._send(Language.ModifyItemAttribute, Protos.CMsgModifyItemAttribute, {
		item_id ,
		attr_defidx ,
		attr_value ,
});

similar to #15

Is this correct ?

Also, here #15 (comment) @vankxr suggest that you can hook to GC interface.

Is there any documentation how to do that?

@DarkGL
Copy link
Author

DarkGL commented Nov 22, 2024

For anyone wondering in the future from where this ids come from #15 (comment) "114 for sticker in slot 1, 118 for slot 2, 122 for slot 3 and 126"

go here https://raw.githubusercontent.com/SteamDatabase/GameTracking-CS2/master/game/csgo/pak01_dir/scripts/items/items_game.txt search for "sticker slot 0 wear"

looks like 299 is id for "keychain slot 0 id"

@Skr1pt
Copy link

Skr1pt commented Jan 5, 2025

You're going in the wrong way

@DarkGL
Copy link
Author

DarkGL commented Jan 6, 2025

Could you elaborate more? Any information would be highly appreciated

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

2 participants