Jump to content
McKay Development

OczkoSX

Member
  • Posts

    20
  • Joined

  • Last visited

Posts posted by OczkoSX

  1. I would go with the first one. It's not quite as simple as making a bot class because you have to make sure that every steamcommunity function acted on each bot in parallel, which would obviously be difficult to do with that amount of bots (you might be able to create separate steamcommunity instances though I'm not very familiar with this).

     

    Also if you're running that many bots you will need to use proxies to avoid rate limits otherwise you will get screwed fast.

     

     

     

    And how would you run these instances? I need to check length of an array in .json file (bots' credentials) and then launch many bot.js with given id (node bot 0, node bot 1...node bot 90 etc.). I'm using PM2

  2. Hi. I need to run many accounts (it may be even 100accs in the future) so I can't just copy methods and functions for every account. I was thinking about few solutions:

     

    1) running separate instances of bot.js with given botID as a parameter (node bot.js [id]):

      - pretty easy

      - bots don't depend on each other, won't crash others

     

    2) make a bot class and make an array:

      - if one bot crashes, the others too

      - easier then the first one

     

    Which one do you think? I would go with the first one. How can I launch many instances of an app? I would need to check length of .json file and then make a for-loop. 

     

    Best regards

  3. Hi. I’m making a betting site and I’m not sure about certain things. I’ve got a system where I simply deposit skins and convert them to coins (them you can buy skins for them). Is it against steam’s ToS? I think it’s legal because I’ve seen it on many sites and only direct betting is banned (you bet using skins, not coins). The second question is about getting users’ inventories. I’m using steamcommunty api and I cache results (people can refresh inv every 5mins). It is fine now for 10 active users, but what happens when I will have 100 requests every minute from different users (100 users will want to check their inventories)? How can i improve that and avoid getting timed out? I think I made all things clear, ask if you don’t get something. Thanks In advance.

  4. I don't really now to be honest. I've just thought that it will be good feature when something went wrong. Should I declare global variable with a Boolean value, set it as true in reconnect function, and read whether it is true on disconnect event and then log?

×
×
  • Create New...