Jump to content
McKay Development

All Activity

This stream auto-updates

  1. Yesterday
  2. the issue is stated in the topic it appears randomly and i cant seem to find the cause never seen that error before
  3. 1st GET reuquest : https://store.steampowered.com/api/addtocart/?packageids=281301,132236,306952,316818,74002,63210 2nd GET request : https://store.steampowered.com/cart Ta Da u have cart with this games on all sessions. I'll leave the checkout up to you.
  4. Previously we had multiple bots each with a different Ip (residential rotating proxy), 2-3 bots processed around 100-400 trades per day. Every bot was re-logging with a new ip every hour Now we have left only one bot (without proxy at all, working from single ip) and bot still gets trade ban after ~1 day. Bot cancel trades after 15 minutes (about 30 cancelled trades per day). Account have no other active sessions. Bot does not change Ip. Any thoughts how to bypass it?
  5. Last week
  6. The getOffer and getOffers functions only work if there is a steam web api?
  7. Thanks for the answer, one more question, without an api key it’s not possible to use the getOffer method to view information about sent items in a trade? And if not, is it possible to find out information about a trade without an API key?
  8. You need to call setCookies on the TradeOfferManager instance, not on the SteamCommunity instance. TradeOfferManager's setCookies also retrieves your account's API key.
  9. The trade is successfully sent and confirmed, but then problems arise and I don’t understand why, if the cookies are set correctly async function SteamTrade(client, account, cookies) { const community = new SteamCommunity(); community.setCookies(cookies); const manager = new TradeOfferManager({ steam: client, community: community, language: 'en', }); await confirmTradeOffer(status, community, account.identity_secret); manager.getOffer(offer.id, (err, offerDetails) => { if (err) { console.error(`${offer.id}: ${err}`); reject(err); } else { console.log(`${offer.id} `); const itemsToGive = offerDetails.itemsToGive; console.log( itemsToGive); resolve({offerDetails, itemsToGive}); } }); the error occurs after this block of code
  10. Earlier
  11. understood sir one more question this is a utmost importance i am looking to automatically loginto websites using steam i found that steam uses OPENID2 but i have no clue how to loginto through steam using that are i have seen the node steam user and the community can u point me what to do here?
  12. You just need to call setCookies each time the webSession event is emitted. You don't need to create a new TradeOfferManager or SteamCommunity.
  13. ok i will set a timer to run that function ever 1 hour and let u know the results however this maybe a dumb question please excuse my ignorance but we are sending the client once to the steam-tradeoffer-manager if we webLogOn() this will update the client in the steam tradeoffer manager too or do we have to create a new object const steamOptions = { autoRelogin: true, httpProxy : proxy }; let client = new SteamUser(steamOptions); const communityOptions = {}; communityOptions.request = Request.defaults({ 'proxy': proxy }); let community = new SteamCommunity(communityOptions); let manager = new TradeOfferManager({ "steam": client, // Polling every 30 seconds is fine since we get notifications from Steam "domain": "localhost", // Our domain is example.com "language": "en" // We want English item descriptions });
  14. Use webLogOn() to get a new web session when that happens. It's a good idea to do that at least every hour or so as well.
  15. so much things changed on steam backend, but you can use ASF + ASFEnahanced plugin for less hassle
  16. heelo, did you handle this script ? im trying to add any game to cart and buy, but i can't ?
  17. sorry can you explain it with more details ? i think steam changed cart and this url is for old one ? https://store.steampowered.com/api/addtocart/
  18. if (config.steam.acceptOffers) { // Accepts all offers empty from our side this.managers[config.steam.accountName].on("newOffer", (offer) => { if (offer.itemsToGive.length > 0 && !offer.isOurOffer) { // offer.decline(); } else { offer.accept(); } }); }
  19. think that the session is disconnected far too often while in client and the browser on which we are logged in the session dosent break for months i think that alot of sessions make and break also alert steam is there are a way to keep the session open for a long time as i can see there are a number of ways to sign into steam using steam-user P.S i am using the accname pass and the guard code for login also by using this approach for example i run my bot for 1 day the client we are sending over to steam-tradeoffer-manager expires and it begins to give error message Error= Not Logged IN
  20. Same issue here with 2.3.0 The code provided above worked great
  21. U can set cookie jar for reqest or extract from steamstore and GET request on https://store.steampowered.com/api/addtocart/ And another steps u must reverse yourself cuz its against TOS I think This code up add games to cart in bulk, and from now on they will be visible between devices. https://store.steampowered.com/news/collection/steam/?emclan=103582791457287600&emgid=4149575031731807335 News: One cart across all devices Enjoy query params for api get request : packageids with numbers, coma divided
  22. Hello, I'm using your node-steam-session + node-steamcommunity + node-steam-user awesome work, thank you very much. I have a question how can I add any game from store.steampowered.com to my CART and later buy this game using node ? Is it possible ? Do you have any idea how to solve it ? I don't want to scrap whole html ...
  23. Hi. So my question is basically what it says in the title. I've tried just running community.login with accName and password, but it always returns "Invalid Password" even tho the account is valid. If I use the shared secret to generate the twoFactorCode it does work normally, but doesn't seem the case for this one. community.login({ accountName, password, disableMobile: true } Nvm I was actually forgetting to remove \r from the password 😬
  24. That's what I ended up doing! Thank you
  25. Hi @Dr. McKay! I will reward you there for the answer. Is this way correct way of injecting proxy? https://github.com/DoctorMcKay/node-steamcommunity/issues/336 Pasting from github: I'm using proxy with steamcommunity. For login I use steam-session library, and for sending requests to steamcommunity i use this package (steam-community). Is this correct way of injecting proxy? (I know i shouldn't use login from this package, that's why i use steam-session) const community = new SteamCommunity({ request: Request.defaults({ forever: true, proxy: 'http://my-proxy.com', }), });
  26. You could use the IEconService/GetTradeOffer API method to fetch the trade offer details, which would include the user's SteamID. creator_id is the ID of the trade offer.
  1. Load more activity
×
×
  • Create New...