jabbink / PokemonGoBot

DEFUNCT - Bot that plays Pokemon Go
https://www.pogobot.club/
GNU General Public License v3.0
557 stars 232 forks source link

Bot Only Getting Map and Nothing Else #862

Open SparkenSirius opened 8 years ago

SparkenSirius commented 8 years ago

Description: So I start the bot and it authenticates fine but then it just loops over and over again the map find and nothing else. It doesn't appear to walk anywhere or do anything. If there is a Pokemon in range it will catch it but otherwise it just loops this:

Also Included the config file incase it is an issue in there. Config1.properties.txt

"08 Aug 20:41:25 (default: BotLoop): Getting map of (51.49197931106165, -0.13224887332709787) 08 Aug 20:41:30 (default: BotLoop): Getting map of (51.49193136086234, -0.13228058120941844) 08 Aug 20:41:35 (default: BotLoop): Getting map of (51.49191806206808, -0.13231800168501637) 08 Aug 20:41:35 (default: ProfileLoop): Profile update: 1789863 XP on LVL 29; 139863/350000 (39.96%) to LVL 30 08 Aug 20:41:35 (default: ProfileLoop): XP gain: 0 XP; Pokemon caught/transferred: 0/0; Pokemon caught from lures: 0; Items caught/dropped: 0/0; Pokebank 204/300; Stardust 10184; Inventory 212/450 08 Aug 20:41:40 (default: BotLoop): Getting map of (51.49198019883925, -0.13226271662623768) 08 Aug 20:41:45 (default: BotLoop): Getting map of (51.491899982397285, -0.13230304756702352) 08 Aug 20:41:50 (default: BotLoop): Getting map of (51.491932311334686, -0.13223990228767593) " Steps to reproduce: Run bot

Version: 0.5.0

Operating System: MAC OSX

Java version: java version "1.8.0_101" Java(TM) SE Runtime Environment (build 1.8.0_101-b13) Java HotSpot(TM) 64-Bit Server VM (build 25.101-b13, mixed mode)

Danman00 commented 8 years ago

I am using nerly the same config and it works fine for me try follow_streets=false and please provide a full stack trace with pastebin

SparkenSirius commented 8 years ago

@Danman00 Thanks for your feedback, I have tried toggling follow_streets on and off to no avail. Here is the full stack trace. http://pastebin.com/neiFvEiT Only had it running for a minute or two but you get the idea.

Danman00 commented 8 years ago

very nice looks like its running like a charm now ;)

langerhans commented 8 years ago

Is this still an issue? If not, close please. If it is, try some different coorddinates like Central Park just to check.

Lorkster commented 8 years ago

I'm not sure what triggers it, but the latest version of develop definitely has the problem. Bot just never starts walking and gets stuck with:

14 Aug 12:23:27 [default: BotLoop] - Getting map of (40.77465470687624, -73.97209406784859) 14 Aug 12:23:32 [default: BotLoop] - Getting map of (40.774634528239524, -73.97214266538417) 14 Aug 12:23:33 [default: PokestopLoop] - Error fetching route from provider: Connection timed out: connect 14 Aug 12:23:37 [default: BotLoop] - Getting map of (40.774635645965304, -73.97209678753305) 14 Aug 12:23:42 [default: BotLoop] - Getting map of (40.774631017298724, -73.9721329974752) 14 Aug 12:23:47 [default: BotLoop] - Getting map of (40.77466979417305, -73.97213372165493) 14 Aug 12:23:52 [default: BotLoop] - Getting map of (40.77462479027002, -73.9720572700883) 14 Aug 12:23:57 [default: BotLoop] - Getting map of (40.774667064501095, -73.97210819227058) 14 Aug 12:24:02 [default: BotLoop] - Getting map of (40.774655514825994, -73.97212074827144) 14 Aug 12:24:07 [default: BotLoop] - Getting map of (40.77463386578773, -73.97210371125243) 14 Aug 12:24:12 [default: BotLoop] - Getting map of (40.774688813585705, -73.97211598798015)

It seems that every time I see the issue this happens: 14 Aug 12:35:33 [default: PokestopLoop] - Error fetching route from provider: Connection timed out: connect

Danman00 commented 8 years ago

i got a several issue with a stable version the problem was that my pokebank was full just a suggestion

Lorkster commented 8 years ago

Pokebank 198/250 so at least that's not my issue. I'm running the develop branch and building from source though.

Lorkster commented 8 years ago

After several tries when the bot fails to walk the common denominator seems to be: 14 Aug 12:58:59 [default: PokestopLoop] - Error fetching route from provider: Connection timed out: connect

In other words, as soon as getRoutefile fails once, the bot never recovers. It will still catch and spin within range, but never move.

Lorkster commented 8 years ago

Seems like it's http://yournavigation.org/ that is unstable.

DieterrrP commented 8 years ago

I have the same problem: "Error fetching route from provider: Server returned HTTP response code: 503 for URL: http://yournavigation.org/api/dev/route.php?.... "

Any solutions?

I've put marks and it does follow them, but only in straight lines. And 'follow streets' is also on. If I don't put marks, it just walks straight to the next stop.

Sieberkev commented 8 years ago

The route provider error has been fixed in the develop branch (not released yet), but the original issue is still not resolved?

DieterrrP commented 8 years ago

Not here, still errors for 'yournavigation'

Sieberkev commented 8 years ago

What errors? Did you try other providers?

DieterrrP commented 8 years ago

This one, all the time: "Error fetching route from provider: Server returned HTTP response code: 503 for URL: http://yournavigation.org/api/dev/route.php?.... "

I didn't try other providers, I have no clue how to do so. I'll wait for the update, no problem.

Sieberkev commented 8 years ago
# Should the bot follow the streets? If false, go directly to pokestops/waypoints
# If so, separate route providers by a comma, ordered by preference
# Example: MAPZEN,MOBROUTING,PROJECTOSM,YOURNAVIGATION,GOOGLE
# WARNING: If you use GOOGLE, you must use a Google Api Key
follow_streets=MAPZEN,MOBROUTING,PROJECTOSM,YOURNAVIGATION