Open Delicious-Bacon opened 2 years ago
You're right! It seems that gsbot.go
needs to send a response that it accepts the sentry file. I'm happy to accept pull requests for this.
Do you know which fields would correspond to JobID
, BytesWritten
, EResult.OK
to write back to Steam?
I'm also having errors when requesting the sentry file for the first time - the client immediately logs off after writing the request for sentry file:
sc.Write(
protocol.NewClientMsgProtobuf(
steamlang.EMsg_ClientUpdateMachineAuth,
&protobuf.CMsgClientRequestMachineAuth{}, // Tried setting MachineName and FileName
),
)
I use Steam Guard 2FA and I can't solve this one.
Right now, the sentry file is ignored on subsequent login attempts, and I'm always asked for the 2FA. Here are some observations on the code.
An observation on the
gsbot
'sAuth
typeHandleEvent
method:It never informs Steam servers of accepting the Sentry file.
An observation on SteamKit's
MachineAuthUpdateEvent
:It informs Steam servers of accepting the sentry file. Source: SteamKit SteamGuard example