Jump to content
McKay Development

Identifying StatTrak Items by classid/instanceid


kryo

Recommended Posts

To be more specific (and I should really make some kind of wiki with this information), classid and instanceid are used to identify a description, not an item. A description is the item's display information. Two identical items will most likely have identical classid/instanceid; this means that using classid and instanceid to track a specific unique item really won't work.

 

It would be like trying to use a car's make, model, and color to track that unique car. Sure you'll get close, but you won't always find that exact car. You want its license plate or VIN for that (assetid).

Link to comment
Share on other sites

You can't track a specific item across a trade. You can get the IDs of the new items you received in a trade from the trade receipt page (steam-tradeoffer-manager has a method for this), but there is no defined order of items in the receipt. You can match inputs to outputs using their market_name and other defining characteristics, but if you have two identical items in a trade, there's no way to know for sure which specific item is which.

Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...