secundum

Active Member
Reaction score
22
Author
suilenroc
Contributors
costache (used his UI)
Quickbar Entry
javascript:$.getScript('https://dl.dropboxusercontent.com/scl/fi/aqzxdsms61n5ybj5zond1/optiMint2.js?rlkey=ymx95vzao1npn5yp43w5if5xu&dl=0');
Public?
Public
Helps request resources for minting.
Improve minting routes by sending resources halfway to the minting village.
Routes are displayed on the map (red indirect routes, green direct routes to the centre)
The script calculates your routes according to the given resource request interval.
You can request more often than your interval, as already running and returning merchants will be detected.

1700046573181.png1715693063787.png


Settings:
1715691971887.png

1. % of Warehouse capacity to keep at home. (example for a recrument still running)

2. Interval time you plan to request your resources with this script (very important for calculation)

3. group id uses the current group you are in (i dont recommend to change it, just change the group)

4. Travelling time for merchants should be the same on most worlds (ignore this).

5. your minting village must be in the current group (will be saved per group)

6. Set it to 0 for minting. Set it to any other warehouse % percentage to start sending resources along the planned route, but prevent overfilling.



Statistics for evaluating your Minting Group before and after optimisation

1715692126025.png

1. Good(Bad) Simple indicator of how many villages are rated as good for minting and not optimal/bad. Helps to quickly evaluate if this script would improve the minting performance. Groups the villages into 2 groups according to their performance.

2. Shows from x% of the villages the lowest res/h throughput to the mint village. Helps to plan the use of resource packages.

3. You can see what the account would look like after the request. (Even if you see more than 100% capacity, this means that some res will arrive after your next resource request, according to your interval.)

1715691295452.png

4. Simple overwiev of Resources per houre to center Village using this calculated Routes. Good for finding villages to exclude or mint douwn. Also you can calcualte how much % Res Packages you can process in a given time.

1715691652082.png

Send Wirth Enter Button like other scripts
1715692939961.png
 
Last edited:
Upvote 0

RedAlert

Senior In-Game Staff
Tribal Wars Team
Senior
Team
Script Moderator
Reaction score
688
Script has been made public after script author request.
 

mephisto

New Member
Reaction score
4
Yes, I used this one in a world with 150 villages, and I think it's good, but I didn't have time to look through the entire script (I try to make some scripts too). I don't understand how you calculate how much resources will get to the main village, but I would like to see an option that allows you to send not only the value of a coin. For example, in my case, some villages had 100k of iron idle; I had to manually transfer them to my main village. Another thing that might be better is to use time to limit your travels. For instance, each village will travel at most 1 hour(Example) and will fill the storage of the village closest to the main village. This is what I could see using it; maybe if I have time to look at the script, I would change my mind. It was a good idea, congrats.
Updated description
I would appreciate any feedback if u use it as I finished this at the end of my last active world.
 

secundum

Active Member
Reaction score
22
Quick explanation as far as I can remember
1. At first, the script plans everything using only direct routes.
2. The average is taken and the village with the worst performance gets traders taken from the direct route and put on a route to a village with the best throughput and where the request interval is used to the full.
3. The script recalculates the throughput to the central village after each small improvement, going back to step 2 until no improvements are possible.
4. Get the travelling and returning merchants and remove them from the planned optimised routes.
5. For each village, the script will take the routes with the best throughput, where not all merchants are already travelling, and give you the option to send with the missing amount of merchants on that route. For resource allocation, the script will only send merchants that are running at 95%+ capacity in coin ratio.

Limiting the maximum travel time would only force traders to stop in between if the coin group is too large. This means our throughput would be worse or u would have to request more often with a slightly worse performance.
For preconditioning ur account for minting its a good idea.

If you have too much of a resource I would recommend requesting it all at once as you dont want to have to trade it always just at some time of minting.
I dont find it too useful as its more work and quite expensive when you have 300-1000 villages. Most of the time it is more worthwhile to get resource packs in events for that amount of pps.


TODO:
- timer until next needed request with sound
- improve pre Minting with own calculation fill closest villages first and set time limit/ max travle time
- display what villages would overflow (including incomming resources before next res request) if you use a resource package
- optional timer for resource package usage (like i want to use one every 2h to use the booster at its fullest)
 
Last edited:

Dezachu

New Member
Reaction score
0
This is pretty neat. To confirm, it will wait for ALL merchants in a village to be home before sending again?
 
Top