Skip to content
This repository has been archived by the owner on Jul 22, 2019. It is now read-only.

Bot not Starting from selected GPS Data #1231

Open
pet90210 opened this issue Aug 24, 2016 · 17 comments
Open

Bot not Starting from selected GPS Data #1231

pet90210 opened this issue Aug 24, 2016 · 17 comments

Comments

@pet90210
Copy link

pet90210 commented Aug 24, 2016

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!

@FrancYescO
Copy link
Contributor

FrancYescO commented Aug 24, 2016

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

@pet90210
Copy link
Author

pet90210 commented Aug 24, 2016

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

I'm not using the compiled version!

@FrancYescO
Copy link
Contributor

FrancYescO commented Aug 24, 2016

yes, all changes

Version:
Latest develop version

lying?

@pet90210
Copy link
Author

pet90210 commented Aug 24, 2016

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

@pet90210
Copy link
Author

pet90210 commented Aug 24, 2016

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 ....

@FrancYescO
Copy link
Contributor

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.

@pet90210
Copy link
Author

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

@FrancYescO
Copy link
Contributor

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.

@pet90210
Copy link
Author

no change ....

@FrancYescO
Copy link
Contributor

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

@pet90210
Copy link
Author

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

@pet90210
Copy link
Author

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

@LordJavi
Copy link

+1, same issue

@pet90210
Copy link
Author

pet90210 commented Aug 24, 2016

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: []```

@LordJavi
Copy link

fixed, delete bot-settings/default.json

@pet90210
Copy link
Author

pet90210 commented Aug 25, 2016

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

bot-settings/default.json

Right?

@LordJavi
Copy link

Yes

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants