
Frohser
-
Posts
9 -
Joined
-
Last visited
Reputation Activity
-
Frohser reacted to Dr. McKay in getTradeURL & changeTradeURL
You're adding an event listener named getTradeURL, not calling a method. community.getTradeURL(...
-
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
-
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).
-
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.