-
Posts
4 -
Joined
-
Last visited
Reputation Activity
-
k1ne reacted to Dr. McKay in Can this manager auto accept incoming trades?
You could certainly use it to do that, yes.
-
k1ne reacted to Dr. McKay in Error : "Cannot log onto steamcommunity.com without first being connected to Steam network"
Depends on why you're not connected. If you disconnected because Steam went down or you otherwise lost connection, SteamUser will automatically attempt to reconnect. Unless you messed with the autoRelogin option, the only situation where you'd need to call logOn again is if the error event got emitted.
-
k1ne reacted to Dr. McKay in Error : "Cannot log onto steamcommunity.com without first being connected to Steam network"
You're probably not checking whether your client is still connected to Steam. In that case, whenever Steam goes down (or you otherwise lose connection), your web session will expire, triggering sessionExpired, which will make your code call webLogOn, which will fail with the given error because your client is no longer connected.
You should check whether client.steamID is not null to make sure you're still connected.