Closed waylaidwanderer closed 11 years ago
Check out the exception that's being thrown.
Just says something like exception thrown at Boolean SteamWeb.Authenticate (callback, SteamClient, out sessionId, out token);
.
Not much use :(
Upon further digging, it gives me this: System.NullReferenceException: Object reference not set to an instance of an object
when it tries to get the value of client.SteamID.ConvertToUInt64 ()
. Do you know why?
This is all set upon SteamBot logging in (for example the client
thing), and I think the problem is that the LoggedOnCallback is not returning OK for some reason.
Actually, SteamUser.LoggedOnCallback
is not being sent at all. It's being skipped (I'm comparing it to a working bot).
After more testing, it seems that SteamUser.LoggedOnCallback
triggers when I enter the wrong password or SteamGuard code needs to be entered. However, if the password is correct and SteamGuard is not needed, then SteamUser.LoggedOnCallback
doesn't trigger.
one of the error I get there is 'SteamKit2.WebAPI.Interface' does not contain a definition for 'AuthenticateUser'
and here:
public override DynamicMetaObject BindGetMember(GetMemberBinder binder)
{
return IsOverridden("TryGetMember")
? CallMethodWithResult("TryGetMember", binder, NoArgs, e => binder.FallbackGetMember(this, e))
: base.BindGetMember(binder);
}
I get this error:
'Newtonsoft.Json.Linq.JObject' does not contain a definition for 'success'
Can you show the whole stack trace?
the problem is described here https://github.com/Jessecar96/SteamBot/issues/207
Is this still an issue?
Nah. Please close it for me since I'm on my phone. Thanks.
Jeremy Rodi notifications@github.com wrote:
Is this still an issue?
Reply to this email directly or view it on GitHub: https://github.com/Jessecar96/SteamBot/issues/191#issuecomment-17185606
I'm having a strange problem here. Basically when SteamBot launches, something is causing the
token
inbool authd = SteamWeb.Authenticate (callback, SteamClient, out sessionId, out token);
inBot.cs
to return as null every time, and so it keeps looping "Authentication failed, retrying in 2s..." until I press Ctrl+C.Does anyone have any ideas as to why
token
would return as null? In SteamWeb.cs' Authenticate function, here's the section of code that would cause it to return null, but I don't know why.