PokemonGoBot icon indicating copy to clipboard operation
PokemonGoBot copied to clipboard

Bot not Starting from selected GPS Data

Open pet90210 opened this issue 9 years ago • 17 comments

Helklo Folks,

Description:

my bot starts everytime at the Same spot... I already changed the coordinates for 10 times. But it is still starting at another coordinates ( I used in the past).

It always starts at the Point #1 Coordinates.

Steps to reproduce:

"Part of my config.properties file

Fill in the start GPS location (latitude/longitude) where you want the bot to start

latitude=yy.zzzzzz longitude=yy.zzzzzz

1Point xx.yyyyyy xx.yyyyyy

2Point yy.zzzzzz yy.zzzzzz

Do you want the bot so start from the location when you shut it down?

save_location_on_shutdown=true

Expected behavior:

Bot is should start from Point #2

Actual behavior: Bot starts from Point #1

Version: Latest develop version

Operating System: Mac OSX 10.11.6

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)

Leave this sentence in your issue as proof that you have read and used this template. Thank you!

pet90210 avatar Aug 24 '16 15:08 pet90210

changes needs to be done in json file not properties after 1st run.

FrancYescO avatar Aug 24 '16 15:08 FrancYescO

all changes? Since when? The other changes I make in my config.properties file are working.

I'm not using the compiled version!

pet90210 avatar Aug 24 '16 15:08 pet90210

yes, all changes

Version: Latest develop version

lying?

FrancYescO avatar Aug 24 '16 15:08 FrancYescO

download this one today "8ae3816" -it's two days old. It is the latest one.

pet90210 avatar Aug 24 '16 15:08 pet90210

also in the .json file isn't my mapzen API Key ... and I get API confirmed in console everytime

24 Aug 17:31:27 [default: PokestopLoop] - [Route] Got route coordinates from MAPZEN (API KEY: true)

from json file

"mapzenApiKey" : "",
  "googleApiKey" : "",

The whole files don't match ....

pet90210 avatar Aug 24 '16 15:08 pet90210

aaah with

I'm not using the compiled version!

you intend not the release one...

my config.properties file is pratically ignored after getting a json file.

FrancYescO avatar Aug 24 '16 16:08 FrancYescO

my json file is ignored in many places ... for example the amount of items in the config.properties doesn't match with the json file. And the bot is using the stats from config, not .json

Trying out to change coordinates in .json .. lets see

pet90210 avatar Aug 24 '16 16:08 pet90210

for example the amount of items in the config.properties doesn't match with the json file. And the bot is using the stats from config, not .json

i noticed this issues exactly because the bot was not matching the numbers i wrote in config.properties about the useless items ... so i'm confused.

FrancYescO avatar Aug 24 '16 16:08 FrancYescO

no change ....

pet90210 avatar Aug 24 '16 16:08 pet90210

are you closing the bot before making changes to json? try to fully delete the json (ever close the bot first or will be resaved on close) so it will load for sure from properties

FrancYescO avatar Aug 24 '16 16:08 FrancYescO

yes ... I do. Trying out your idea!

pet90210 avatar Aug 24 '16 17:08 pet90210

nothing ..... is catching the #1 GPS Coordinates ... getting me crazy 💃

pet90210 avatar Aug 24 '16 17:08 pet90210

+1, same issue

LordJavi avatar Aug 24 '16 18:08 LordJavi

it takes the GPS #1 Data also if json file is deleted and no GPS Date is given in config.properties

`# Fill in the start GPS location (latitude/longitude) where you want the bot to start latitude= longitude=

#1Point xx.yyyyyy xx.yyyyyy #2Point yy.zzzzzz yy.zzzzzz

#Do you want the bot so start from the location when you shut it down? save_location_on_shutdown=true`

24 Aug 20:09:49 [default: BotLoop] - Getting map of (52.52865913281816, 13.445229477035042)
24 Aug 20:09:49 [default] - Running socket server on port 8001
       24 Aug 20:09:49 [default] - Attempting to bind Socket Server to port 8001
       24 Aug 20:09:49 [default: PokestopLoop] - Looting nearby pokestop "GPS #1"
       24 Aug 20:09:49 [default] - Bound Socket Server to port 8001
24 Aug 20:09:49 [default] - Open the map on http://ui.pogobot.club/
24 Aug 20:09:49 [default] - Saving settings for default
24 Aug 20:09:49 [default: BotWalkBackLoop] - Will go back to starting PokeStop in 5000 seconds
       24 Aug 20:09:51 [default: PokestopLoop] - Looted pokestop "GPS#1"; +50 XP, but inventory is full: []```

pet90210 avatar Aug 24 '16 18:08 pet90210

fixed, delete bot-settings/default.json

LordJavi avatar Aug 24 '16 18:08 LordJavi

great @alone23 One question - Every time I change my Coordinates , i have to delete

bot-settings/default.json

Right?

pet90210 avatar Aug 25 '16 10:08 pet90210

Yes

LordJavi avatar Aug 25 '16 12:08 LordJavi