Open NoobWithBoobs opened 8 years ago
Would be interesting
would be ideal for a nest area and gpx are pretty easy to make with google earth and bunch of other programs too.
Support for GPX was already in the previous version of the GUI so it shouldn't be too hard to implement
I have the bot reload every 30mins due and usually i'm not around to resubmit via the gui again and again. If gpx support was build into config/json file, bot could roam around in more focus areas without having to be instructed to each and every time. .
Just checked, it's do-able
The excitement rages!!!
It would be a great add on!!! :)
Will do it today or tomorrow
i look forward to it, keep us posted here 👍
Will have two settings I think :
Repeat is an awesome idea, please be sure to include -1 option as well.
Of course ^^
How can I make this kind of GPX?
Easist ways to make GPX files online http://www.gpsies.com/createTrack.do?language=en
@Peyphour Direction might be cool in future versions.
Directions ?
Direction as in backwards, forward, bidirectional.
I think the only logical route to have is a circular one... There is no point to directly go back the opposite route as nothing would have been spawn yet. On the other hand, a delay time maybe a good idea if you have a small route ;)
@staurakis, you do have a point with circular routes but I was thinking long roads and such. Anyways, I'm excited for just the basic, I could make a loop myself.
Delay Time to wait for Pokemon to spawn?
Me too! ;) @NoobWithBoobs yes a delay amount of time to wait to restart the route i think would be a nice think to have :)
damn exciting, can't wait to see it be included in the main build!!
Can you test it ? I can't do it right now ^^
yep, pulling as I type!
ink.abb.pogo.scraper.TestSettings > testDefaultSettings FAILED
java.io.FileNotFoundException at TestSettings.kt:25
ink.abb.pogo.scraper.TestSettings > testTemplateKeys FAILED
java.io.FileNotFoundException at TestSettings.kt:73
2 tests completed, 2 failed
:test FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':test'.
> There were failing tests. See the report at: file:///Users/Katherine/Desktop/Beta/PokemonGoBot/build/reports/tests/index.html
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
BUILD FAILED
Total time: 10 mins 37.845 secs
Happened on your end as well?
10min for building ?!
Are you sure you have a config.properties.template ? Build passed on Travis so this isn't my fault
mhmm redo time!
So I've tested it now for 20mins and I don't see it following the gpx patch. Could you provide your gpx file and which one is correct?
# GPX file to be added on the bot's start
gpx_file=/Users/Katherine/Desktop/Beta/PokemonGoBot/WalkInCentralPark.gpx
# Number of times the bot must repeat this GPX file
gpx_repeat=-1
or
# GPX file to be added on the bot's start
gpx_file=WalkInCentralPark.gpx
# Number of times the bot must repeat this GPX file
gpx_repeat=-1
If gpxRepeat is -1 or 0, the bot will not follow the path at all. Literally : number of times the bot will repeat the path, so at least 1
And the path is relative to the jar file
Well the formulation may be wrong for gpxRepeat, will change that
I have to run outside but i'll come back and test some more in two-three hours. Still very excited 👍
Going to sleep, we will continue tomorrow
gpx file loads but it's still going to latitude/longitude settings in config file. Were I to remove those settings before hand? And I ended up using your test file
What does it do after going to config coords ? Could you provide a bit of logs (via pastebin)?
@Peyphour currently dealing with soft ban, i'm sure you noticed it if you were running the bot last night. @staurakis perhaps you'd be willing to test it too?
Nope not banned ^^ I think I know what the problem is, will keep you posted
I hope it's not hard ban! Please keep me posted, i'd be very grateful. 👍
@NoobWithBoobs i'm willing to help by any means (and that's obvious i think) but i'm a bit out of my expertise here... If i receive some rough guidelines, i can and will be more than happy to do so! :)
Just run the bot with a GPX file, let it run for 4-5 minutes et send me : the GPX file and the logs
i have the compiled version @Peyphour .... As far as i understand, i have to go for the other way to run it and get the files you have changed.... That is the part i am missing.... That's the part that i need a bit of info. I am missing the platform to 'compile' it.... I think at least.....
Forget it then, I'll do it myself tomorrow
i think i did it.... building it right now.... I will test it with my gpx and let you know ;) pffff :( Download https://repo1.maven.org/maven2/com/fasterxml/classmate/1.1.0/classmate-1.1.0.jar :compileKotlin :compileJava FAILED
FAILURE: Build failed with an exception.
What went wrong: Execution failed for task ':compileJava'.
Could not find tools.jar. Please check that C:\Program Files (x86)\Java\jre1.8.0_101 contains a valid JDK installation.
BUILD FAILED
Total time: 1 mins 51.099 secs
fixed it...continuing.....
Sorry, didn't see your issue, you need JDK 1.8
yeap yeap figured it out ;) checking the gpx right now ;)
@Peyphour my gpx format is a bit different from your test.gpx. Also, don't you have any 'switch' (as you describe in your code) in the configuration file? I haven't seen anything.
I have added two variables in to the configuration file: gpxFile and gpxRepeat in a try to make it read my gpx file but without any luck. I have also changed my gpx xml file in accordance to your xml but again it didn't help. @Peyphour Could you please help on how to make it "read" the gpx file?
What do you mean by 'switch' ? Could you provide via pastebin your config file and GPX file ?
i think i found it.... you name your variables with _ in between. I had them in the configuration file as you describe them in the comments without anything. Testing again.
Hello, Requesting for GPX following to be build in to json/config file. Keep the bot from traveling off course.
Do-able?