{{ message }}
Change steam online status (e.g. Online) #421
-
Beta Was this translation helpful? Give feedback.
Answered by
rossengeorgiev
Dec 19, 2022
Replies: 2 comments
-
|
I'm going to assume this is because I'm creating a new steam client, not connecting to my existing one. Is this project capable of that? |
Beta Was this translation helpful? Give feedback.
0 replies
-
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
rossengeorgiev
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment

When you call
self.client.change_status(...)a message is queued to be sent. You need to yield to thegeventevent loop to allow the message to be processed. You could useclient.idle()orclient.sleep(seconds). That would change the online status ofclientinstance, which a separate session for your account that the session on Steam desktop. If your status changes in one session, it may display in other sessions, like when you are playing a game, etc. Once you kill that session, it will revert back.Note that you can't use this to control you Steam desktop client. For example, if you want to create a script change your status.