You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It seems like the setRichPresence function is not updating the Rich Presence information on your Steam profile even though there are no errors and the log messages indicate success. The information displayed on Steam only shows the game you are playing without the additional Rich Presence details.
conststeamworks=require('steamworks.js');constclient=steamworks.init(2520710);conststeamId=client.localplayer.getSteamId();console.log(client.localplayer.getName());console.log(steamId);if(client.achievement.activate('ACHIEVEMENT')){console.log('Achievement activated successfully.');}functionlogger(message){console.log(message);}functionsetRichPresence(key,value){console.log(`Trying to set Rich Presence with key: ${key}, value: ${value}`);if(client&&client.localplayer){client.localplayer.setRichPresence(key,value);console.log('Rich Presence set successfully.');console.log(client.localplayer.setRichPresence(key,value));}else{logger(`Could not set the rich presence, steamworks was not properly loaded!`);}}setRichPresence("status","Playing");
The text was updated successfully, but these errors were encountered:
It seems like the setRichPresence function is not updating the Rich Presence information on your Steam profile even though there are no errors and the log messages indicate success. The information displayed on Steam only shows the game you are playing without the additional Rich Presence details.
The text was updated successfully, but these errors were encountered: