PokeMobBot icon indicating copy to clipboard operation
PokeMobBot copied to clipboard

Add proxy support

Open StealthyXor opened this issue 8 years ago • 8 comments

update to the api git is also required PR is opened there as well

https://github.com/DurtyFree/Pokemon-Go-Rocket-API/pull/2

StealthyXor avatar Aug 03 '16 13:08 StealthyXor

I support this, some testing is needed though.

ActuallyTrent avatar Aug 03 '16 17:08 ActuallyTrent

@StealthyXor I will test this out for you, tried compiling and got a ton of errors, you got a compiled version I can try out? Thanks!

antfuentes87 avatar Aug 03 '16 19:08 antfuentes87

with the latest changed to the Niantic side throttling and IP limitations we need this asap lol!

bjornegrim avatar Aug 03 '16 19:08 bjornegrim

@antfuentes87 yes

it will not compile until my my PR on the API is accepted as well it depends on them

StealthyXor avatar Aug 03 '16 20:08 StealthyXor

@StealthyXor Oh ok, that makes sense, and thanks will test this out.

antfuentes87 avatar Aug 03 '16 20:08 antfuentes87

@StealthyXor Doing some testing, but figured this is not the best place to chat back and forth. Maybe Skype or Google Hangouts? Email me antfuentes87 [at] gmail if you want to get in touch with me, thanks.

antfuentes87 avatar Aug 03 '16 20:08 antfuentes87

Works fine with ptc login, but when I try to login via google I see a wall of exceptions:

[08:25:42] Logging in using account Google [08:25:44] System.IndexOutOfRangeException: Индекс находился вне границ массива. в DankMemes.GPSOAuthSharp.GoogleKeyUtils.ParseAuthResponse(String text) в DankMemes.GPSOAuthSharp.GPSOAuthClient.PerformAuthRequest(Dictionary2 data) в DankMemes.GPSOAuthSharp.GPSOAuthClient.PerformMasterLogin(String service, String deviceCountry, String operatorCountry, String lang, Int32 sdkVersion) в PokemonGo.RocketAPI.Login.GoogleLoginGPSOAuth.DoLogin(String username, String password) в C:\Users\steal\Source\Repos\PokeMobBot\Pokemon-Go-Rocket-API\PokemonGo.RocketAPI\Login\GoogleLoginGPSOAuth.cs:строка 17 в PokemonGo.RocketAPI.Rpc.Login.<DoGoogleLogin>d__1.MoveNext() в C:\Users\steal\Source\Repos\PokeMobBot\Pokemon-Go-Rocket-API\PokemonGo.RocketAPI\Rpc\Login.cs:строка 30 --- Конец трассировка стека из предыдущего расположения, где возникло исключение --- в System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) в System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) в System.Runtime.CompilerServices.TaskAwaiter.GetResult() в PoGo.PokeMobBot.Logic.State.LoginState.<Execute>d__0.MoveNext() в C:\Users\steal\Source\Repos\PokeMobBot\PoGo.PokeMobBot.Logic\State\LoginState.cs:строка 46 --- Конец трассировка стека из предыдущего расположения, где возникло исключение --- в System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) в System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) в System.Runtime.CompilerServices.TaskAwaiter1.GetResult() в PoGo.PokeMobBot.Logic.State.StateMachine.<Start>d__3.MoveNext() в C:\Users\steal\Source\Repos\PokeMobBot\PoGo.PokeMobBot.Logic\State\StateMachine.cs:строка 37

I`m sitting behind TMG Forefront proxy

goodwind avatar Aug 04 '16 02:08 goodwind

Maybe it connected with protocol changes, will try later again

goodwind avatar Aug 04 '16 03:08 goodwind