Jump to content
McKay Development

All Activity

This stream auto-updates

  1. Past hour
  2. is that per IP? or per account? because csfloat/inspect project has the ability to add multiple users. and also, i can spin up multiple instances.
  3. does anyone know this? i know i can use puppeteer to load their trade link to see their inventory, but is there any better way?
  4. Today
  5. Ah I thought that was a given since the refresh request is sent using the CM connection anyway 🤔 And I meant that I am logging in using the token with CMsgClientLogon
  6. Thank you, your advice worked. I think it would be useful to specify directly in the example code with the comment // trades for CS2 are supported with access token enabled.
  7. Yesterday
  8. I believe in both of those cases you would need to use getUserDetails.
  9. It means you need to have an established connection to a CM (the same servers the Steam client logs into) in order to refresh the token. You can use steam-user to do this if you want. What do you mean by "log in using the refresh token"?
  10. If you're trading CS2 items, you'll need to enable the useAccessToken option in the TradeOfferManager constructor.
  11. It wouldn't hurt to clusterize things, but either way things should generally work fine without need for much hardware.
  12. Seems like event newOffer is not working at all
  13. Hi everyone. Please, could you help me or just explain why am i facing with the next problem. Explanation: 1) I've installed all of the requirements npm install steam-user steamcommunity steam-totp steam-tradeoffer-manager npm WARN deprecated [email protected]: This package is deprecated. Use destructuring assignment syntax instead. npm WARN deprecated [email protected]: this library is no longer supported npm WARN deprecated [email protected]: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details. npm WARN deprecated [email protected]: request has been deprecated, see https://github.com/request/request/issues/3142 added 145 packages, and audited 146 packages in 9s 3 packages are looking for funding run `npm fund` for details 8 vulnerabilities (3 moderate, 5 high) Some issues need review, and may require choosing 2) right after copied examples/storehouse-steam.js from the official git, filled the authorization data Login Password And sharedsecret 3) Started the code. 4) Then i saw 5) After that i've sent tradeoffer from my second account to the bot's account, waited 10 minutes, and nothing happened. Example code didn't accept my tradeoffer or even didn't write about trade offer, litteraly nothing happened. I tried to switch on examples/storehouse-steamcommunity.js to try, but the same result. I even tried to add this code in the example client.on('webSession', function(sessionID, cookies) { manager.setCookies(cookies, function(err) { if (err) { console.log(err); process.exit(1); // Fatal error return; } console.log("Cookies set"); }); community.setCookies(cookies); manager.getOffers(1, function(err, sent, received) { if (err) { console.log('getOffers error:', err); return; } console.log(`Found ${received.length} received offers`); received.forEach(offer => { console.log(`Offer from ${offer.partner.getSteamID64()}, state: ${offer.state}`); }); }); }); and after i reloaded the code without cancelling existing tradeoffer. And the bot sees the active tradeoffer and printing in the cosole offer from [steamid] state: Active. May be it is known problem and im not the first one?
  14. help me please
  15. Last week
  16. According to the docs the CM must be authenticated. What does this mean? Does it mean only a valid Steam client (Steam Desktop Client) can be used? Can it be spoofed? I also tried to use k_EAuthTokenPlatformType_MobileApp but for some reason I get EResult 5 (k_EResultInvalidPassword) when I try to log in using the refresh token. Works when I switch back to SteamClient but then I can't refresh the token
  17. Can I somehow get the trade hold in these 2 cases where I don't know the trade-link? 1) If someone sends my bot an offer. (I got the offer object and their steamid64 but not the token) 2) If my bot wants to send an offer to a person in the friend list. (I got their steamid64 but not the token)
  18. Yes, I use node-steamcommunity. Requests will be frequent on all bots. Thanks, so I need to provide a proxy server for each account. What about the cluster? Will it be redundant? The problem is that I don't understand what kind of power I need. I've had a couple of bots for a long time now, and everything was fine on a cheap vps, but now I want to make more bots, but I'm afraid to run into the limitations of single-threaded of node.js
  19. Just request the trade URL once and then cache it somewhere? It doesn't change after the first time you fetch it.
  20. Hi everyone. This is common issue right now, not only for node-steam users. We are facing this problem within /market/* endpoints. Nature of bans is not defined yet but proxy could be a reason
  21. It depends on what you're doing and how you're doing it. If you're using node-steamcommunity for all those accounts, you're going to hit rate limits unless you're performing actions infrequently. And if you're logging in that many accounts from one IP, that'll rate limit you as well.
  22. we dont hit that when we call the method it calls that thats where the tradeurl is stored no? async function getTradeURL() { return new Promise((resolve, reject) => { community.getTradeURL((err, url, token) => { if (err) { reject(err); } else { tradeurl = url; tradetoken = token; resolve(url); } }); }); }
  23. Why would you need to hit the /tradeoffers/privacy endpoint ever?
  24. https://steamapi.xpaw.me/#IEconService/GetTradeHoldDurations
  25. I've noticed that for some Dota2 items I have to wait 7 days to list on the community market while some are immediately marketable. Is there a way to check if a Dota2 item not in my inventory will have a market restriction or not?
  26. the main problem is with this endpoint how can we fix this ? https://steamcommunity.com/profiles/steamid/tradeoffers/privacy @Dr. McKay
  27. Hello, I was wondering is there any other way to check if an user has trade hold without calling getUserDetails on the offer object? getUserDetails has new rate-limit settings which are to aggresive.
  28. I'm writing a farm and I have about 50 steam accounts. At the moment, it looks like this: I made a store where I put each logged-in account, then I use the steamid to access the desired one and perform an action. const BotInstance = new Bot('login', 'password', 'shared_secret', 'identity_secret', 'steamid'); const newBot = await accountsStore.add('steamId', BotInstance); newBot.login(); const getBot = await accountsStore.get('steamId'); getBot.addFriend('friendSteamId'); How would it be more efficient to leave it as it is or implement it all through a cluster? what kind of power is needed to support such a large number of accounts? and won't I have a problem if they're all on the same ip?
  1. Load more activity
×
×
  • Create New...