Jump to content
McKay Development

Vizzy

Member
  • Content Count

    7
  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. That's precisely what I'm currently doing, I guess my issue lays somewhere else then.
  2. Okay, so getNotifications is not something that triggers sessionExpired? I'm currently having problems with running the tradebots 24 hours a day, 7 days a week. What would you suggest to achieve this?
  3. I've made a thread about this a few months ago but back then I managed to get it working. However, I now need to implement the same thing and I cannot get it to work. I'm simply trying to refresh the session after it has expired. I'm attempting this by manually invalidating the cookies, the event is never called. Code const SteamUser = require('steam-user'); const SteamCommunity = require('steamcommunity'); const SteamTotp = require('steam-totp'); const TradeOfferManager = require('steam-tradeoffer-manager'); const client = new SteamUser(); const community = new SteamCommunity(); con
  4. is there no other way? I feel like other unhandled errors might put the application in an unsafe state whereas a casual rate limit isn't as big of a deal, or would I just check for the specific error (and is there a list of errors that crash the application somewhere)?
  5. Hi, I'm running a couple of steambots but when one of the bots receives an error like TooManyRequests or LogonSessionReplaced the application crashes. I would like it not to crash, as I have a couple of other bots running as well (process.exit() is being used in the modules?). How can I stop this from happening?
  6. Huge facepalm right there, I even remember reading about it on the docs. Thanks, that's it, I never initiated anything to trigger the event.
  7. Hi, I'm trying to forcefully kill the cookies so that it will trigger the sessionExpired event. However, this does not seem to happen. I cannot get the sessionExpired event to trigger and after some digging around I'm unsure what I could have done wrongly. Code // Scripts const config = require('../config'); // Modules const fs = require('fs'); const SteamCommunity = require('steamcommunity'); const SteamTotp = require('steam-totp'); const TradeOfferManager = require('steam-tradeoffer-manager'); const SteamUser = require('steam-user'); // States let community = new SteamCommun
×
×
  • Create New...