JAHMCR
Member-
Posts
5 -
Joined
-
Last visited
JAHMCR's Achievements
-
How to get defindex or item data from CEconItem
JAHMCR replied to JAHMCR's topic in node-steam-tradeoffer-manager
Yeah, that makes sense. Will have to implement my own function to retrieve the inventory using "IEconItems_440". Thanks! -
I'm trying to filter "backpack.tf" listings based on an inventory items, but I'm not sure how to get a "defindex" or any other way to map the item from CEconItem. I know the Steam WebAPI provides a "IEconItems_440" method to get the player items with relevant information like a "defindex", is there any special reason why you are not using this?
-
getUserInventoryContents always returning 401
JAHMCR replied to JAHMCR's topic in node-steamcommunity
Got it, thanks for the information! -
getUserInventoryContents always returning 401
JAHMCR replied to JAHMCR's topic in node-steamcommunity
Just replaced "SteamID.fromIndividualAccountID(76561198024816553)" with "76561198024816553" for testing and it worked fine, was I using "SteamID.fromIndividualAccountID()" wrong? -
Hey! I'm getting 401 every time I try to call this function to get an user inventory, any ideas of what could be wrong? getUserInventoryContents(440, 2, true, SteamID.fromIndividualAccountID(76561198024816553)) This is the console error log Error: HTTP error 401 at SteamCommunity._checkHttpError (/Users/user/Desktop/SteamTradeBot/node_modules/steamcommunity/components/http.js:108:9) at Request._callback (/Users/user/Desktop/SteamTradeBot/node_modules/steamcommunity/components/http.js:50:61) at self.callback (/Users/user/Desktop/SteamTradeBot/node_modules/request/request.js:185:22) at Request.emit (node:events:518:28) at Request.emit (node:domain:488:12) at Request.<anonymous> (/Users/user/Desktop/SteamTradeBot/node_modules/request/request.js:1154:10) at Request.emit (node:events:518:28) at Request.emit (node:domain:488:12) at Gunzip.<anonymous> (/Users/user/Desktop/SteamTradeBot/node_modules/request/request.js:1076:12) at Object.onceWrapper (node:events:632:28) { code: 401 } The function "getInventoryContents" works fine though. Thanks