node-globaloffensive icon indicating copy to clipboard operation
node-globaloffensive copied to clipboard

Keychain detachment

Open DarkGL opened this issue 1 year ago • 3 comments

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 https://github.com/DoctorMcKay/node-globaloffensive/issues/15

Is this correct ?

Also, here https://github.com/DoctorMcKay/node-globaloffensive/issues/15#issuecomment-647001110 @vankxr suggest that you can hook to GC interface.

Is there any documentation how to do that?

DarkGL avatar Nov 22 '24 14:11 DarkGL

For anyone wondering in the future from where this ids come from https://github.com/DoctorMcKay/node-globaloffensive/issues/15#issuecomment-464921488 "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"

DarkGL avatar Nov 22 '24 14:11 DarkGL

You're going in the wrong way

Skr1pt avatar Jan 05 '25 10:01 Skr1pt

Could you elaborate more? Any information would be highly appreciated

DarkGL avatar Jan 06 '25 05:01 DarkGL