KiTa Posted July 12, 2016 Report Posted July 12, 2016 It seems all csgo items have instance ids unique to their types such as all keys have the instance id of "143865972" and all R8 Revolver | Bone Mask (Well-Worn) have an instance id of 302028390. How would I get this info from a trade offer? Quote
KiTa Posted July 12, 2016 Author Report Posted July 12, 2016 Found this in https://github.com/DoctorMcKay/node-steamcommunity/wiki/CEconItem after looping through the offer's items you can get them all. (Didn't realize the docs doubled as a rabbit hole ) Quote
Dr. McKay Posted July 12, 2016 Report Posted July 12, 2016 You don't want to use instanceid to identify a type of item. See here: https://dev.doctormckay.com/topic/332-identifying-steam-items/ Quote
KiTa Posted July 12, 2016 Author Report Posted July 12, 2016 In my use case i'd only like to know if the items being traded are case keys or not, even then would instanceid be a bad idea? Quote
Dr. McKay Posted July 12, 2016 Report Posted July 12, 2016 Yes, it is always a bad idea. You should check the item's name to see if it's a key. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.