Dontcareaboutname
-
Posts
3 -
Joined
-
Last visited
Posts posted by Dontcareaboutname
-
-
Handle the
error
event, reconnect, and then only relaunch after your persona data tells you that you aren't in-game anymore.I try do it so:
"
client.on('loggedOn', function (details) {
console.log('logged');
client.setPersona(SteamUser.EPersonaState.Online);
client.getPersonas([client.steamID],function () {
console.log(arguments);//persona_state: null, gameid: null
});
});
client.on('error', function (err) {
console.log(err);
client.logOn(getLoginfo());//in console: "Steam app code:"
});
"
Probably I don't understand something, but how make what you said?
-
Hi, I'm using
SteamUser.gamesPlayed({"game_id": 440});
but when I try start game on steam client, bot get this error: "Error: LoggedInElsewhere" and crashes.
How to make bot doesn't crash, And waited until the account is freed and reconnect after that?
Error: "LoggedInElsewhere"
in node-steam-user
Posted
Thank you very much, I did it. But is it possible to let the game run without reconnecting the bot?