Closed IlyaAndr closed 8 years ago
You need to setup a location for credentials, so a sentry file can be created. After the fisrt login, it won't ask for email codes again. For example, client.set_credential_location("~/steam_credentials")
You can run 2 clients with dota started. I suspect you have dota running. When SteamClient
attempts to start dota again, it gets disconnected.
Thanks for your help! So with setting credential location i'm not asked for email code again but client still disconnects. So last lines are:
[2016-08-16 12:10:06,559] DEBUG SteamClient: Incoming: <MsgProto <EMsg.ClientServersAvailable: 5501>>
[2016-08-16 12:10:06,559] DEBUG SteamClient: Emit event: <EMsg.ClientServersAvailable: 5501>
[2016-08-16 12:10:07,327] DEBUG SteamClient: Incoming: <MsgProto <EMsg.Multi: 1>>
[2016-08-16 12:10:07,327] DEBUG SteamClient: Emit event: <EMsg.Multi: 1>
[2016-08-16 12:10:07,327] DEBUG SteamClient: Multi: Unpacking
[2016-08-16 12:10:07,327] DEBUG SteamClient: Incoming: <MsgProto <EMsg.ClientNewLoginKey: 5463>>
[2016-08-16 12:10:07,328] DEBUG SteamClient: Emit event: <EMsg.ClientNewLoginKey: 5463>
[2016-08-16 12:10:07,328] DEBUG SteamClient: Incoming: <MsgProto <EMsg.ClientLoggedOff: 757>>
[2016-08-16 12:10:07,328] DEBUG SteamClient: Emit event: <EMsg.ClientLoggedOff: 757>
[2016-08-16 12:10:07,328] DEBUG Connection: Connection error (reader).
[2016-08-16 12:10:07,328] DEBUG Connection: Disconnected.
[2016-08-16 12:10:07,328] DEBUG SteamClient: Emit event: 'disconnected'
I don't have dota client installed on current machine. Is that required?
Are you connected elsewhere on the same account?
I believe no (it's my private steam account and i didn't share it with anyone).
If the account it logged on somewhere, and running dota, you will get disconnected.
Ok, thanks for your help! I'll double check it!
I'm trying to run simple example to request profile card. The issue is that every time i fill in Email code it asks for it again (and again). I'm absolutely sure that the code is correct. I believe the problem is that client is disconnected for some reason but i don't understand why it happens. So here is the code snippet:
And the logs:
Thanks in advance!