![]() ![]() Regarding the math, I produced below several plots comparing "standard scavenging" (scavenging with equal times in all options), with "optimal scavenging" (the output of my script). Then simply press enter and run the script again. Every time you call the script, the appropriate amount of troops to use in the rightmost scavenging option will be automatically filled in. Press "Accept configs" so that your options are saved in the cache. If you wish to impose no limit, leave the value at the default -1, and all troops will be used. You may also fill in the boxes below with the maximum amount of troops you wish to have scavenging (total from all scavenging options). Tick the boxes of the units you wish to scavenge with, set the maximal run time as the maximum time you wish the troops to stay away from home. The script is to be run on the scavenging screen: ![]() (The difference is more drastic if you have a low amount of spears). Nevertheless, the additional time spent will be rewarded with an average of 10 to 30% more resources per hour. While using this script, the scavenging times will be different for each scavenging option, so this requires more active time. The code, will test all possible splittings of troops amongst the available scavenging options and choose the most optimal splitting of troops per scavenge. Fundamentally, it is based on a script by to Kuma, but the inner math is such that the resources scavenged per hour are maximal (see plots below). This script goes back to basics, optimizing resource scavenging on a single village. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |