Jump to content
McKay Development

All Activity

This stream auto-updates

  1. Past hour
  2. But it works on a linux server (in a different country) with the same time, identity_secret and code.
  3. Today
  4. 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?
  5. Yes, 76561198024816553 is a full SteamID, not an account ID. An account ID is what you see in a [U:1:46143802] ID (46143802 is the account ID).
  6. Just replaced "SteamID.fromIndividualAccountID(76561198024816553)" with "76561198024816553" for testing and it worked fine, was I using "SteamID.fromIndividualAccountID()" wrong?
  7. 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
  8. Okay, that individual item endpoint works, but now I realize a bulk method is more important as iteratively calling this endpoint is quite inefficient, and can take up to 5 minutes with an extremely large inventory, so I require the actual steam inspect link via the /bulk POST endpoint. What I did was replace the %owner_steamid% , and %assetid% keywords in the inspect link, so instead of it looking like steam://rungame/730/76561202255233023/+csgo_econ_action_preview%20S%owner_steamid%A%assetid%D10281089380224386840 it now looks like steam://rungame/730/76561202255233023/+csgo_econ_action_preview%20S76561198107078290A36862217483D10281089380224386840 now it works beautifully. Thanks!
  9. Yesterday
  10. If you're fetching your time offset and it's 1, then your clock is correct. If you're still being told that your authenticator is invalid, then the secret must be wrong.
  11. No. When you sign into a site using Steam OpenID, the site only gets your SteamID and nothing more. Certainly not an access token. That's great. I'm still not going to help you compromise your own account.
  12. You need to provide the asset owner's SteamID as well. The linked repository only indicates that S is optional because you need either S or M (M is used for market listings).
  13. I still haven't figured this one out, maybe it's something obvious but I don't know... Time and timezone is the same on both linux and windows, it's wrong TZ for linux even so it works there, but not on windows. The internet says that this error can be fixed on mobile Steam authenticator by changing the language to English, but the only way to truly change the Windows language is with a clean reinstall. 🫠
  14. So, for the past 8 months I have been trying to bulk request floats of like 1000 inspect links every second. While doing one inspect 1000 times is fine. Whenever I bulk request with 1000 different ones, things tend to go mayhem. I get max 4-5 floats depending on how I choose which floats are first. As example: M7800872405789066379A37059871447D11863687337479355678 M7903329297310948975A37061864046D11863687337479355678 M7284084347070041204A37057504987D11863687337479355678 M7384289439309646801A37065312421D11863687337479355678 M4863399372752009970A37055616057D11863687337479355678 M7384289439309646711A37065089523D11863687337479355678 M7800872405789081739A37059417732D11863687337479355678 M7903329297310948855A37065289802D11863687337479355678 M7800872405789080869A37059428152D11863687337479355678 returns: Float value (1): 0.13861724734306335 Float value (4): 0.12481389194726944 Float value (7): 0.1271217167377472 Float value (2): 0.11473843455314636 but, by changing a few links around it sometimes is able to get more. I find this very interesting and get no further error. The only error I have gotten somehow after leaving it running for hours is: Steam error: Error: getaddrinfo ENOTFOUND api.steampowered.com at GetAddrInfoReqWrap.onlookup [as oncomplete] (node:dns:108:26) { errno: -3008, code: 'ENOTFOUND', syscall: 'getaddrinfo', hostname: 'api.steampowered.com' }. Which can be due to me running it on school Wi-fi. I haven't been able to found a fix to bulk request floats but I hope someone here can help me. csgo.on('connectedToGC', () => { console.log('Connected to CS:GO Game Coordinator'); fs.readFile('inspect_links.txt', 'utf8', (err, data) => { console.log("Reading File") if (err) { console.error('Error reading inspect_links.txt:', err); return; } const inspectLinks = data.split('\n').map(link => link.trim()).filter(link => link); // Split by newline, trim whitespace, and filter out empty lines console.log(inspectLinks) const startTime = process.hrtime(); try { inspectLinks.forEach((inspectLink, i) => { console.log("Item") csgo.inspectItem(inspectLink, (item) => { console.log("item2") if (item) { const float = item.paintwear; console.log(`Float value (${i + 1}):`, float); if (i === numRequests - 1) { // Measure end time when all requests are completed const endTime = process.hrtime(startTime); console.log(`Total time taken: ${endTime[0]} seconds ${endTime[1] / 1000000} milliseconds`); } } else { console.error(`Failed to inspect item (${i + 1})`); } }); }); } catch (err) { console.log(err); }; }); }); Where InspectLinks is just a TXT with 100 different inspect links looking like this: M7903329297310948855A37065289802D11863687337479355678 M4863399372752009970A37055616057D11863687337479355678 M7800872405789066379A37059871447D11863687337479355678 +97 more lines.
  15. Last week
  16. I am intending to append the float value for each item in a CEconItem[], and I needed the inspect link in order to access this data, for the https://github.com/csfloat/inspect repository. It states that we need the A, D properties in order to call the endpoint, or a valid inspect link. However, the inspect link returns a value like this from the .actions[] array, steam://rungame/730/76561202255233023/+csgo_econ_action_preview%20S%owner_steamid%A%assetid%D9405817623045777193 the S, and A properties are just filled in with a placeholder, which results in an invalid inspect link and I'm wondering how to resolve this. I tried to derive the A property from the a assetid property on CEconItem (having A & D properties seems to be sufficient) , however the link was still not valid using the tool mentioned above. WIth a valid inspect link Let me know what you think
  17. Aren't you taking similar risks when logging in with steam in any website? They also use an app you can download and use to trade, which also gives them full control of everything including running an exe file on your pc. Many other markets such as Waxpeer also do it. I've been selling on those markets for years so it's a risk I'm willing to take
  18. Giving an access token to a third-party site is effectively the same thing as giving them your username, password, and mobile auth code. I wouldn't recommend it.
  19. When You send offer, you can use setTimeout and offer.cancel() function to cancel the offer
  20. I tried to get offer information using offerId but an AccessDenied error occurred. Can you help me check it. With other methods, I still get data normally
  21. Sry, missed your msh, yeap I putted inside constructor
  22. I see, is it safe to assume that the item is marketable if "market_tradable_restriction" is above 0?
  23. Because I want to deposit cs items to market.csgo.com and with the recent update they require you to pass in the access token
  24. Fixed an unhandled error that may be thrown if a network error occurs Full Changelog: v2.11.2...v2.11.3 View on GitHub
  1. Load more activity
×
×
  • Create New...