Jump to content
McKay Development

Frohser

Member
  • Posts

    9
  • Joined

  • Last visited

Reputation Activity

  1. Like
    Frohser reacted to Dr. McKay in getTradeURL & changeTradeURL   
    You're adding an event listener named getTradeURL, not calling a method. community.getTradeURL(...
  2. Like
    Frohser reacted to Vanilla in Error: "Not Logged In"   
    Use "sessionExpired" event from node-steamcommunity, then relogin using node-steam-user "webLogon()".
     
    edit: this might help https://dev.doctormckay.com/topic/1134-not-able-to-respond-to-offers-because-not-online/?p=3786
  3. Like
    Frohser reacted to Dr. McKay in Already logged on, cannot log on again   
    That should work, but for robustness you should listen for the disconnected event then re-login after that gets emitted (but make sure you only call logOn in response to disconnected if you manually initiated the logoff; disconnected can also be emitted if Steam goes down, in which case it will automatically reconnect).
  4. Like
    Frohser reacted to Dr. McKay in Already logged on, cannot log on again   
    Sleeping won't work. You need to use setTimeout to delay asynchronously. Delaying synchronously breaks pretty much everything, always.
×
×
  • Create New...