PokemonGoBot
PokemonGoBot copied to clipboard
Create nice interface for config creation
Description:
The config is getting out of hand. A nice (web) interface to click a config together would be nice. This interface should group options logically together, visually show which option supersedes another (autotransfer=false
disables many other parameters completely).
EDIT:
Make a webbased form with something like Timon to easily create a config.properties
or JSON. Host it on the website of #1123
Maybe as a page to @shilch's webui
I thought of adding a window 'Settings' to the GUI. But there would only be options that can be changed during runtime.
Maybe a Settings page for live changes, and a ConfigEditor one to change the config file
I actually thought about a simple HTML + JavaScript page hosted on GitHub pages that can read the properties file and create a new one that can be copypasted back.
Nice idea, I will try :D
I made one Here Be sure to post ur suggestions ;-; (I added dynamic parsing so that my program can easily keep up with new/custom configs)
❗ ATTENTION ❗ Keep in mind when you use above website you should probably not put your credentials in and instead do that manually. Not saying this site specifically is malicious, just that you should in general be careful. ❗ ATTENTION ❗
You could also have a map on this page so you can select the bot lat/long.
I started creating one 3 weeks ago but due to lack of time I was not able to finish it. Maybe someone wants to complete the creation tool? https://gist.github.com/shilch/cf75bb509e3fc39a52fc22e9886a17ca
I used a map there @Taclaa .
Nice! @shilch
Feel free to finish it if you have time.
I can try to give it a go tomorrow (in about 9/10 hours), I'll join you guys on Discord and let you know.
Update: I changed @shilch 's work to fetch the most recent template from GitHub and replace the options in the page. Added some options, just have to add the rest of them.
I'm not making it dynamic, I thought about it and I don't think it will work well. Also, with this method if a new option is added in the template and it's not yet on the UI, the default value specified in the template will be used. Future updates just need to add the HTML. It's purely javascript, so no server running required and libraries are fetched from CDN's to keep it in one file.
The output properties will be shown in a modal with a "Copy to clipboard" button.
Still have to work the map in order to get the starting coordinates, but it shouldn't be too hard.
Hopefully will make a PR on saturday.
Thoughts?
Oh, I found the time and worked on the config gui. I did it dynamic but it is not finished yet. Maybe I publish mine in ~14h and you can help me?
Yeah, what do you need?
Sorry for the late response. I have to add some missing properties to the builder before commiting. You will find the project here. One idea I have is that this gui is able to generate a zip file which includes the jar file, the custom config.properties and maybe a simple batch or exe file.
Kay. I'll check it out later tonight.
Ok, I took charge of uploading the config gui. You can find it at https://pogo.bot-builder.xyz/