No, I use setPersona the event loggedOn:
this.client.on('loggedOn', () => {
this.client.setPersona(SteamUser.Steam.EPersonaState.Online);
this.client.gamesPlayed([730]);
}); I told you that immediately after login everything is perfect. But after an hour or two, the bot disappears from the network (in the group), but it network to ellisite in his personal profile. Or setPesona need to use is some loop? Like that:
this.manager.on('pollSuccess', () => {
this.client.setPersona(SteamUser.Steam.EPersonaState.Online);
this.client.gamesPlayed([730]);
});How do you maintain state? Update: I did setPersona in loop:
setInterval(() => {
this.client.setPersona(SteamUser.Steam.EPersonaState.Online);
this.client.gamesPlayed([730]);
}, 3600000);in the end, it didn't help... I think maybe I break the session? Please help me