yashko Posted December 19, 2016 Report Posted December 19, 2016 Hello.I have a bot which buying some items on side marketplace, and then marketplace bot sends offer to my bot with items.I want to save price of each item (price for each assetid). I know assetid in marketplacebot inventory, but when my bot accepting trade offer, assetid changes, and i cant get old assetid to compare it and save price.Any ideas of solution? ty Quote
Dr. McKay Posted December 19, 2016 Report Posted December 19, 2016 You can get the new assetid using getReceivedItems, but there's no way to map the old ones to the new ones. You'll have to figure out a way to do that yourself. Quote
yashko Posted December 19, 2016 Author Report Posted December 19, 2016 Okay, probably i found the solution - i can save prices based on 'classid_instancid' since they doesnt change after trade.But there is one thing - if i buy two items. One for 1$ and another one for 10$, there can be situation when 1$ item can got price 10$, but it doesnt matter i think, coz items (skins) the same) Quote
yashko Posted December 20, 2016 Author Report Posted December 20, 2016 @Dr. McKay there is a new method which has assetid and new_assetid fields. Have you know about it? And can it be added to node-steam-tradeoffer-manager Quote
Dr. McKay Posted December 20, 2016 Report Posted December 20, 2016 That could be added, yeah. It'd be a new method if I do add it though, for compatibility. Not sure when I'd have the time to work on adding it. Quote
Van Kappa Posted December 21, 2016 Report Posted December 21, 2016 That could be added, yeah. It'd be a new method if I do add it though, for compatibility. Not sure when I'd have the time to work on adding it. There is something I'm not getting.Steam states a method to get trade history, called GetTradeHistory, but, as they explicity show the difference between a Trade and a TradeOffer, I can't understand what'd be the point of this GetTradeHistory method given also that it's already possible to get the TradeOffer history from the GetTradeOffers method. 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.