Jump to content
McKay Development

Recommended Posts

Posted

After reading through this https://dev.doctormckay.com/topic/332-identifying-steam-items/ I got the impression that an assetId/Id is always unique. However, after trading items between bots I realize that this asset Id changes after a trade. Is this correct? If so how can I track items, uniquely, across trades?

 

Example scenario... I trade a gutknife doppler knife in csgo to my bot and a few other people trade the same type of knife to my bot, all with the same wear. How do I know which doppler knife was mine if the asset Id changes?

Posted

Asset IDs are unique, but not necessarily persistent. Only one item with a given asset ID will only exist at once within a given context (for Valve games there is only one context, so that can be expanded to "game-wide"), but it can also change to a new unique number at whim. As you discovered, you can use getReceivedItems to get the new IDs.

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...