Jump to content
McKay Development

sNIP

Member
  • Posts

    36
  • Joined

  • Last visited

Everything posted by sNIP

  1. It is not worth it, since almost every time you will have a different ip address with each invocation, also I believe it is hard to manage events (steam message for example). In general it is worth to just use monolith application for steam bots and don't deal with serverless functions.
  2. I am gonna try the luminati proxy and I will return a feedback in the coming months! Thank you for the heads up
  3. Hello everybody, hope you are doing fine in these covid times... My question is: I want to run a limited amount of steam account on the steam network. I was using the ips provided from my VPS provider, but I want to use more flexible solution, like https://luminati.io/, more specific the data center private proxy. If I chose that option, it asks me for a list of targeted domains. Are the domains "steamcommunity.com" and "steampowered.com" enough to satisfy the need of managing trade offers, sending and receiving steam messages and removing friends from the friendlist? What is your experience and can you suggest me a suitable proxy provider?
  4. Good evening, When you stop your trade offer manager instance, then start it again after a long period of time with the latest poll data from the last session, does the updated property corresponds to the time when the offer state was actually changed, but not when the trade offer manager acknowledged that there is a change in the offer. Example: Steam bot is running on Monday, and it have sent one offer that day. Steam bot is shut down Monday evening. Tuesday: Partner declines the offer that the steam bot have sent the previous day. Wednesday: I start the steam bot again, with the poll data saved from Monday, I receive one event from the EventEmmiter's on("sentOfferChanged"), does that event(trade offer) have the "updated" property which should be date object, which also point to Tuesday, when the state was actually changed? Or it is Wednesday, when the bot acknowledged that there is a change?
  5. I tried, but it too much hassle, I just gave up on the multithreading model and can run up to 50 accounts with no issues whatsover right now
  6. Thank you, because Iam switching from each each NodeJS instance, to all instances in one NodeJs
  7. I know I can use localAddress options in both steam community and user. But will I run into problems, if I try to run multiple instances of node-steam-user instances with different localAddress setings on the same nodejs instance? Thanks in advance
  8. Iam not sure if this is relevant but here is my take: community.on("sessionExpired", function(err) { if (err) { console.log("Session Expired: " + err); } if (client.steamID) { client.webLogOn(); console.log("called weblogon: " + thisId); } else { client.logOn(logOnOptions); console.log("called logon"); } });
  9. This is the test that I made with 45 test IPC processes. The test consist of sending and expecting to receive message every 1 second. I have tested the execution of the time a message goes to the child process and then waiting for that message to come back to the parent process. The transaction time doesnt exceed 1 second. It takes average ~80 mb per process. So if I want to save ram, I need to run them in one process(multiple instances of steam user class). My only concern about spawning multiple processes is that I dont know if I will hit an IPC bottleneck. What happens if a parent process have 500 child processes, which he needs to have constant connection to them? Iam not sure if it will be actually OS related. If that is the case, I need to spawn a process which spawns a process.
  10. Currently I have one main nodejs app, which spawns one nodejs process for each account. The communication is done by IPC protocol. So my question is: Is it going to be better if I just create multiple steam user instances and place them in an array or in an object collection?
  11. Dont use confirmation checker, thats how I got like 5 ips blacklisted before I realized what was causing it. I use accept all confirmations on confirmation event. It has 1.7% fail ratio for the event to emit, as much as I know. The other way is to accept all confirmations 10 seconds after the trade is sent, it might fail again but its still a workaround.
  12. Iam using this, it works fine, when I have time, I will look it up, probably after my finals. if(oldState == 12){ return; }
  13. The old state is 12, which is strange because the TradeOfferEnum max number is 12. Is that a debug number?
  14. I will check it, but I believe its the same, because if I keep the app running, it can emit 1000 times before I close it or the trade offer changes it states
  15. EDIT2: the emmiting stops when the trade offer is accepted and finalized(havent tested with others statuses) EDIT2.1: some offers are fine, some are causing "sentOfferChanged" to emit too much
  16. When I send a trade, it keeps telling me that the offer status is changed to 2 (Active), this happens every ~4-~7 seconds after I send the offer. Code related to the trade offer manager EDIT: The code below is wrapped inside an async Start() function, so I can use async. var pollData = await offerService.getPollData(); const manager = new TradeOfferManager({ steam: client, community: community, language: "en", cancelOfferCount: 30, pollData: pollData }); manager.on("sentOfferChanged", (offer, oldState) => { //<this emits every ~4-~7 seconds console.log(`Sent offer changed:` + offer.state); senderService.onSentOfferChanged(thisId, offer.partner.getSteamID64(), offer); }); manager.on("pollData", data => { offerService.savePollData(thisId, data); });
  17. I hold the credentials of my bots in plain text, but Iam sure that nobody can access the vps server and the plain text files. So one of the bot got his inventory wiped out by this guy https://steamcommunity.com/profiles/76561198878870680 . I have auto confirm all trades on confirmation event emit. Its strange that I hold credentials for other bots on the same file which are not touched at the moment and have items. I locked the other accounts but left 2 too see what will happen
  18. const client = new SteamUser();client.setOption("localAddress",logInConfig.publicIP);const logInOptions = { accountName: logInConfig.accountName, password: logInConfig.password, twoFactorCode: SteamTotp.generateAuthCode(logInConfig.sharedSecret)}; const community = new SteamCommunity({ localAddress:logInConfig.publicIP});const manager = new TradeOfferManager({ steam: client, community: community, language: "en", cancelOfferCount: 30});client.logOn(logInOptions);Will the manager use the logInConfig.publicIP?
  19. I had run into the same problem and I had to change ips, the first time it happened was when I used confirmation checker, the second was that I used client.weblogon too much
  20. It seems that everything is ok from the manager debug, it prints "doing trade offer poll since *somenumber*" and 1/5 of the times or something "trade offer poll since 1(full update)", but no emits. EDIT: I just love javascript and my stupidity manager.on("sentOfferChanged " I had this space floating around, thanks anyways!
  21. const client = new SteamUser();const community = new SteamCommunity();const manager = new TradeOfferManager({ steam: client, community: community, language: "en",}); const logInOptions = { accountName: logInConfig.accountName, password: logInConfig.password, twoFactorCode: SteamTotp.generateAuthCode(logInConfig.sharedSecret)}; client.logOn(logInOptions); client.on("loggedOn", () => { console.log("logged on"); client.setPersona(SteamUser.EPersonaState.Online); client.gamesPlayed(730); client.webLogOn();}); client.on("webSession", (sid, cookies) => { manager.setCookies(cookies); community.setCookies(cookies); });Really looking forward for help edit: Also this community.on('sessionExpired', function(err) { if (err) { console.log('Session Expired: ' + err); } if (client.steamID) { client.webLogOn(); console.log('called weblogon: ' + thisId); } else { client.logOn(logOnOptions); console.log('called logon'); }});Edit:2 I do not receive ANY emits now from sentOfferChanged, can confirm that client.on("webSession", (sid, cookies) => { is called
  22. const manager = new TradeOfferManager({ steam: client, community: community, language: "en"}); manager.on("sentOfferChanged ", function (offer,oldState) { console.log(`Sent offer changed:` + offer.state);}); sentOfferChanged doesnt emit, the only time it emits something is when I send an offer that needs to be confirmed (ETradeOfferState = 9). Do I have to call doPoll() manually or Iam missing something?
×
×
  • Create New...