Send by Percent Route type
Send by Percent route type is one of the most powerful and popular route types that we have in TCommander Bot. It has been proven that sending resources to another village by fill percent of warehouses/granary is much more effective to manage the resources among your villages.
If you feel you are wasting resources because warehouses or granaries are full, then Send by Percent Route is for you. You can use this route type to send resources to other villages when warehouses or granaries are about to be full. This way you avoid your mines to stop producing resources due to lack of capacity in warehouses/granaries.
You can use Send by Percent Route also to supply smaller villages to send resources before its warehouses/granaries are about to be empty. This way you can ensure that none of your own villages are lack of resources by always keeping warehouses and granaries over certain % full.
So, we have two conditions to send resources by percent. When source village´s warehouse and granary is over certain percent full or when destination village´s warehouse and granary is below certain percent. Let´s see it more clearly by adding Send by Percent Route (see image below):
If you have more than one village in your account, Send by Percent Route becomes available. This route type works only to send resources among your own villages. When you open “Create route” dialog, “Send by %” route type is selected by default.
“Destination” field displays a dropdown list with all your available villages to select to send resources. You can optionally change “Route Type” dropdown list to select another route type. Now let´s leave with its default selection to continue with our example.
“Fill resources to set %” field is where you define the % of each resource that you want to keep fill percentage in source village. Default values are 90% for lumber, 90% for clay, 90% for iron and 90% for crop. This means that Marketplace Automator will try to keep your warehouse/granary not to be over these percentages. If current warehouse/granary percentages is over the set percentages, Marketplace Automator will try to send the extra resources to destination village.
For example, if warehouse lumber fill % is 92.4%, Marketplace Automator will try to send 2.4% lumber to destination village to keep lumber 90% in warehouse. The same condition is applied to clay, iron and crop percentages.
“Empty resources to set %” field is where you define the % of each resource that you want to keep fill percentage of destination village. Default values are 10% for lumber, 10% for clay, 10% for iron and 10% for crop. This means that Marketplace Automator will try to keep destination village´s warehouse/granary not to be under these percentages. If current destination village´s warehouse/granary percentages is under these percentages, it will try to send resources to destination village.
For example, if destination village lumber is 8%. Marketplace Automator will try to send 2% lumber to destination village to keep lumber 10% back again. The same condition is applied to clay, iron and crop percentages of destination village.
“Minimum Total Resources” threshold field is self-explanatory. It will not send any resources if total resources to carry (lumber + clay + iron + crop) are under this number. This way you can ensure not to send smaller amounts of resources and reduce merchants’ traffic. Make sure to increase this value if you have more merchants available.
If you don’t want to check fill % condition and only check empty % condition you have to set 100% for all text boxes of “Fill resources to set %” field. And vice versa, if you don’t want to check empty fill % condition and only check fill % condition you have to set 0% for all text boxes of “Empty resources to set %” field.
Send by Percent Route sending logic
Marketplace Automator will always send one shipment at a time. If merchants are underway to the same destination village, it will not send any resources until they arrive to home. This pre-condition is checked for every route type. We did it this way to avoid sending multiple route shipments to the same destination unnecessarily.
Then we have two conditions to check. Fill % condition in source village and empty % condition in destination village. If any of these two conditions is met, it sends the resources.
First it checks fill % condition in source village (checks if resources in warehouse and granary are over % set). Then the calculated resources amount is adjusted to not send more than the capacity available in destination village. Then if total resources amount is greater than “Minimum Total Resources” and there are enough merchants available in home village, it sends the resources.
Otherwise, if fill % condition is not met, it checks if resources in warehouse and granary are under % set. Then if total resources amount is greater than “Minimum Total Resources” and there are enough merchants available in home village, it sends the resources.
When all requirements to send resources are met, it sends calculated resources and route becomes green in routes list, see image below: