Jump to content
McKay Development


  • Content Count

  • Joined

  • Last visited

Contact Methods

  • Website URL

Recent Profile Visitors

276 profile views
  1. check if we still have a trade-offer(sent by bot) active with the user
  2. Is there a way if bot is still connected and alive other than sending a message and see if it replies
  3. how should I go on reserving those items? create another variable where I push items that is added to trade offers and every time bot creates offer, it will check first if item is already in array?
  4. I'm almost done with my bot but I have a few questions Which one would be the best and optimized way A: 1. Store bot's inventory in a variable for the first time loading the bot 2. Every time a user request for cards sets stock, access stored inventory to minimize request to steam 3. This will also be true in creating trade-offers and adding bot's items 3. Only update variable with the latest inventory contents it after successfully done a trade B: 1. For every request that needs to access bot's inventory, always fetch latest bot's data via getInventoryContents()
  5. After a few hrs with using that, my bots don't go offline but one of them keeps crashing with SIGKILL error from forever logs eventhough my server is running at 50% on average
  6. function login(err) { if (err) { return process.exit(5); } else { client.on('loggedOn', function() { client.setPersona(1, account.botDisplayName) }); client.gamesPlayed("some strings here") } } setInterval(() => { client.gamesPlayed("some strings here") }, 1000 * 60 * 60)
  7. here sir function login(err) { if (err) { return process.exit(5); } client.on('loggedOn', function() { return client.setPersona(1, account.botDisplayName) } should I replace my client.gamesPlayed in my interval? or should I call setPersona first before calling client.gamesPlayed
  8. I noticed my bots go from online(in custom game, using client.gamesPlayed) to offline status after a few hrs. it can still receive messages and recognizes the commands and all, it still functions as it should be even tho it's in offline status it still processes any trades being sent to it I even added a setInterval function for client.gamesPlayed every 1 hr and when it goes offline, I wait for the interval to refresh the client.gamesPlayed part and it doesn't work
  9. I have looked in steam-user, steamcommunity and trade-offer-manager but can't seem to find this. Is this feature available?
  10. Thanks for this. Was browsing trade-offer-manager thinking this was there
  11. from steam-user or trade-offer-manager or steamcommunity modules?
  12. Is there a way to extract a trade url?
  • Create New...