PokemonGo-Bot icon indicating copy to clipboard operation
PokemonGo-Bot copied to clipboard

Location Bug: If location have more than 6 decimal numbers bot crash

Open DimaVIII opened this issue 10 years ago • 8 comments

If location have more than 6 decimal numbers bot crash.

Other Information

Git Commit: dc2fa60b14cd7be1ed689de509e1d32ba63aa4fe

DimaVIII avatar Jul 31 '16 03:07 DimaVIII

Provide your error log please

DayBr3ak avatar Jul 31 '16 04:07 DayBr3ak

Bot is doing nothing and google maps api don't work

[05:51:52] Starting PokemonGo Bot.... [05:51:53] [x] Next egg incubates in 1.00 km [05:52:04] Walking from (-73.97305377126574, 40.76756843041008) to [-73.97305377126574, 40.76756843041008] 0.00km [05:52:16] Walking from (-73.97305377126574, 40.76756843041008) to [-73.97125377126574, 40.76756843041008] 0.20km

DimaVIII avatar Jul 31 '16 04:07 DimaVIII

Before this commit 8b887a13e162371f3ea057b2c3a3576c90cb11b1 it was working.

  • https://github.com/PokemonGoF/PokemonGo-Bot/commit/8b887a13e162371f3ea057b2c3a3576c90cb11b1#commitcomment-18461936

DimaVIII avatar Jul 31 '16 04:07 DimaVIII

You're getting something similar to what I'm getting here.

https://github.com/PokemonGoF/PokemonGo-Bot/issues/1885

jonathanbalagot avatar Jul 31 '16 04:07 jonathanbalagot

@ayiire no, this issue is not related.

DimaVIII avatar Jul 31 '16 04:07 DimaVIII

The bot doing nothing is what I'm referring to. I'm using 6 decimal places like I've always done

[23:59:39]  Starting PokemonGo Bot....
[23:59:39]  [x] Next egg incubates in 5.00 km
[23:59:42] Walking from (40.760546, -73.979342) to [40.760546, -73.979342] 0.00km
[23:59:43] Walking from (40.760546, -73.979342) to [40.762346, -73.979342] 0.20km
[00:01:58]  [x] Next egg incubates in 4.80 km
[00:02:41] Walking from (40.762346, -73.979342) to [40.762346, -73.977542] 0.15km
[00:05:06] Walking from (40.762346, -73.977542) to [40.760546, -73.977542] 0.20km
[00:05:55]  [x] Next egg incubates in 4.57 km

Edit Or it's just taking forever to walk or not update at walking speed 4.16

jonathanbalagot avatar Jul 31 '16 04:07 jonathanbalagot

@ayiire Please read the title: If location have more than 6 decimal numbers bot crash

DimaVIII avatar Jul 31 '16 04:07 DimaVIII

on the dev branch earlier tonight I was having issues where greater than 6 digits after the decimal was somehow "corrupting" the location values but not crashing the bot. It would work fine until the first time it tried to move and then I'd teleport several hundred kilometers away (long only, lat unaffected). After truncating to 6 sigfig the issue went away. I was in the 32's for lat, -93's for long for startup values

raxxon avatar Jul 31 '16 07:07 raxxon