Kokoman111 Posted March 2, 2019 Report Posted March 2, 2019 Hey, I'm trying to retrieve the items im getting in trades, but problem is I can't do that when my language is removed from my client constructor let client = new SteamUser(), manager = new TradeOfferManager({ "steam": client, "pollInterval": "10000", "cancelTime": "1800000" }), Is there a work around? I had to remove language, and adding it back isn't an option Quote
Dr. McKay Posted March 3, 2019 Report Posted March 3, 2019 Why is adding it back not an option? Quote
Kokoman111 Posted March 3, 2019 Author Report Posted March 3, 2019 (edited) Why is adding it back not an option?It's a level bot, and when the inventory gets too big the bot will crash I came up with a solution to simply scan the entire inventory & compare assetid's & then retrieve the name but that's gonna be quite a heavy task, so I was wondering if there's another way Edited March 3, 2019 by Kokoman111 Quote
Dr. McKay Posted March 3, 2019 Report Posted March 3, 2019 When did you remove the language? Some changes were made in August 2017 to reduce memory usage. Quote
Kokoman111 Posted March 3, 2019 Author Report Posted March 3, 2019 When did you remove the language? Some changes were made in August 2017 to reduce memory usage.August 2018 My inventory is really big so It was the only way. Quote
Dr. McKay Posted March 4, 2019 Report Posted March 4, 2019 There is no way to get description data including market_hash_name in steam-tradeoffer-manager without specifying a language. You would need to load your inventory separately, or use GetAssetClassInfo. Quote
Kokoman111 Posted March 4, 2019 Author Report Posted March 4, 2019 There is no way to get description data including market_hash_name in steam-tradeoffer-manager without specifying a language. You would need to load your inventory separately, or use GetAssetClassInfo.Ok, thx for your help 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.