Jessecar96 / SteamBot

Automated bot software for interacting with Steam Trade
http://scrap.tf
MIT License
1.33k stars 910 forks source link

How to get assetid for TradeOffer? #1137

Closed reisei231 closed 5 years ago

reisei231 commented 6 years ago

How use offer.Items.AddMyItem(0, 0, 0)?

TimoKruth commented 6 years ago

Please ask the next Question on Stack Overflow. This Issue Tracker is for Issues not for HowTo's. Please close this when done. Here is a short explanation on how to get an assetid:

  1. Get the desired Inventory
  2. Get the Item you need from the Inventory.items
  3. Add this Item.Value.assetid to your TradeOffer