PokemonGoBot icon indicating copy to clipboard operation
PokemonGoBot copied to clipboard

can't run the new version prebuilt bot

Open li24yang75 opened this issue 10 years ago • 3 comments

Hi, admin, when I run the new version prebuilt bot, I got an error:

E:\111\444>java -jar pogo.scraper-all-0.4.2.jar 25 七月 02:21:02: Display Keepalive Coordinates setting ("display_keepalive ") not specified, defaulting to "true".  Logging in to game server... Exception in thread "main" com.pokegoapi.exceptions.LoginFailedException at com.pokegoapi.auth.PtcLogin.login(PtcLogin.java:196) at ink.abb.pogo.scraper.MainKt.main(Main.kt:87)

I have no idea about how to solve this. Actually when I run the bot from the source code. At the last step "gradlew run", I also got this error. Would you please tell me how to solve this? Thanks.

li24yang75 avatar Jul 25 '16 09:07 li24yang75

Why did you remove the template that you have to fill in?

Probably fixed by going to your config.properties and setting the token= line to NOT contain any token.

jabbink avatar Jul 25 '16 09:07 jabbink

I use Google Login. And my config.properties files like this:

PTC/Google login credentials

username=

Choose plaintext or base64'd password

password= base64_password=

Token to login directly

token= latitude=37.788475 longitude=-122.407661

desired chance to catch Pokemon with 1 throw

desired_catch_probability=0.8

is there something wrong?

li24yang75 avatar Jul 25 '16 09:07 li24yang75

There's your problem, set username to your correct username or to @, see your original comment, it references PtcLogin.

jabbink avatar Jul 25 '16 10:07 jabbink