Update: Version 4.7 (Experimental)
Changelog
4.6.1 -> 4.7:
-add: Time-based cache for groups and selectors.
-add: farm groups (you can whitelist groups for farming in the config helper).
-add: by-ingame selector for ingame groups.
-change: lowered population threshold to build farm.
-change: sorting villages by name now.
This is a nightly (==experimental) update. I reworked the caching system (cache entries expire after 20 minutes now instead of staying until restart of the bot) for groups and selectors.
Also, you can now use ingame premium groups for DSX. See the examples below...
You can now make the bot only farm with certain groups (new field in the config helper). This way, you can reserve units (e.g. in full offensive villages) but still farm with the ones that are still in construction. This should also improve overall farm assist compability.
I am noticing a few flaws in my tests with a bigger account (30+ villages).
The threshold to upgrade farm was lowered from 93% to 85%. This means that DSX is now prioritizing farm earlier when population space runs out.
I will add a few telegram tweaks that Kenji suggested here next.
Balancing resources is a big problem and tribal wars does not offer a good solution by default. I need this feature too so this is something that will be added soonish.
Ingame group example: Lets say you have a group called '#Off' in game. To use this group in dsx, open 'groups.xml'
and create a group like this:
Code:
<groups>
...
<group id="#off">
<by-ingame>#off</by-ingame>
</group>
</groups>
The selector is case insensitive, so you could use '#oFf' as well. I recommend keeping it all lower case
for simplicity.
Be careful: DSX will match a village to the off group if the ingame groups contain the substring '#off'.
This means that the ingame groups '#off ram' or 'full #off' would be treated as '#off' by DSX too.
Because of XML limitations you want to avoid the characters '<>&' in group names.
To prevent false matches, make sure to (re)name your groups accordingly.
Edit: Of course, you can add multiple groups in the config helper. The 'Use groups' field takes a list of group IDs seperated by comma (,) so '#off,farm' for example.