Closed ilpersi closed 5 years ago
Yup looks good, I can have a look at the Worldboss settings and see if they can be loaded as a string too, that way everything is standardised.
In the future would be nice to have a settings UI, its getting pretty crowded in the settings file at the moment
A GUI is a whole new project to build and to maintain, the bot how it is now is enough for me. :)
I've modified the syntax as proposed and I took the chance to also optimize and centralize the random selection logic in a dedicated class. I applied it to expeditions, dungeons and raids and intentionally left out worlbosses waiting for your modification. :)
I had no chance to test the modifications as the whole kongregate.com site is now giving a 503 error to me.
True it would be a purely aesthetic upgrade, I'm not up to the task either, maybe we'll get a roaming GUI specialist pass through the project. Hopefully I can find some time before the end of the week to fix the not enough energy and revamp the worldboss settings string.
What we can do is to have a "launcher". You basically have a GUI where you set everything and then you launch the bot and the GUI will take care of writing the ini file in the right way.
If we go down this path, to avoid having to write hundreds of lines of code we need to have a better management of the ini file maybe using a library like ini4j.
Right now you have two settings to control how expeditions work:
Sometimes this can be inconsistent because there will never be two expeditions at the same time and if you forgot settings for an expedition (in the previous example there only are hallowed configurations) the bot will basically switch to the other one keeping the portal.
As a new expedition is coming out in a couple of days I would like to change how the settings behave and have something like:
This would make it more flexible and independent from the expedition. To ease the transition some checks would be added in place to warn the user if he's using the old settings.
@Fortigate what do you think? Are you ok with this?