Search the Community
Showing results for tags 'persona'.
-
Recently (In the last few months) the function setPersona state partly broke. The persona still changes and updates if you set the persona to be Online, but setting it to Away, Busy or Snooze will not have any effect. the setPersona function is called using a value from `EPersonaState.js` (https://github.com/DoctorMcKay/node-steam-user/blob/master/enums/EPersonaState.js). When setting the persona to a value of 2, 3, 4, 7 or 8, steam will not update the persona. It is worth noting that persona state 5 and 6 (LookingToTrade/Play) still work perfectly fine. I have added a code snippet of how I set my persona state below. this._steam = new SteamUser({ dataDirectory: dataDir }); // Login to steam, and wait for the 'loggedOn' event. // The following is tried with a number of states defined in the EPersonaState.js this._steam.setPersona( SteamUser.EPersonaState["Busy"] ); I then used the official steam client to check the effective personaState, which was only updated if it was set to offline, LookingToTrade or LookingToPlay. Setting the persona to another value such as Away still worked a few months ago. Another notable effect is that node-steam-user still receives a correct persona update event if the persona is being set to invisible, but the persona is NOT updated in other steam clients. states such as Away and Busy don't receive any steam persona update event.