RocketBot icon indicating copy to clipboard operation
RocketBot copied to clipboard

App crashing when trying to set up google login at google.com/device. Workaround?

Open Machiavellian0 opened this issue 10 years ago • 3 comments

I have an old refresh token from other bots. Can I just paste that token in some config file so it will bypass the crash when trying to get me to enter a pin for my google account? if so where should I put it? I see

public string GoogleRefreshToken { get { return GetSetting() != string.Empty ? GetSetting() : string.Empty; } set { SetSetting(value); }

But doesn't seem to work when I add it in the (value) area or before the ; in (value);. Any advise and help would be greatly appreciated. I don't have a PTC account so in order to use this bot I would have to create one and start from level 1 correct? I would like to avoid that if possible. Thanks! and sorry for being such a Pleb with this VS/programming stuff.

Machiavellian0 avatar Jul 28 '16 13:07 Machiavellian0

Just open the PokemonGo.RocketAPI.Window.exe.config file with a text editor and add your token in the quote of the line : <add key="GoogleRefreshToken" value="" />

Zayceur avatar Jul 28 '16 14:07 Zayceur

How do we manually generate a token?

dm18 avatar Jul 28 '16 15:07 dm18

<add key="GoogleRefreshToken" value="" />
<add key="GoogleUsername" value="" />
<add key="GooglePassword" value="" />

xuames avatar Jul 28 '16 20:07 xuames