spock Posted November 2, 2016 Report Posted November 2, 2016 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? Quote
spock Posted November 2, 2016 Author Report Posted November 2, 2016 Looks like I need to use the getReceivedItems method on the trade callback... err ok Quote
Dr. McKay Posted November 2, 2016 Report Posted November 2, 2016 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. 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.