![]() ![]() There are several ways to find the "minimum total travel time solution" i digged a little and i think the best one is using the "Lap-Jv" algorithm. Of course you can change the order of the villages to get the rigth one, but when you are planning lot of nukes on lot of targets it would be really hard to spot and fix manually similar situation. The total travel distance for the nukes will be 4+7.07=11 when the most logical choice would be A-1 B-2 whith a total travel distance of 6. Please make sure to give feedback (preferably here or via PM) - I will try to add any features you request (providing they aren't against the ToS and fit with the rest of the script), fix any bugs you may have, and add any extra notes that I haven't already stated! (The script runs somewhat weirdly, so you may have to ask for clarification on some points).Īlso, it's possible that this post will become too old to be edited, in which case, I'll just post updates as they come in response to this thread.He will see which target is closest to A, create the first "couple" (A-2, distance 4) and then pair the other two villages(B-1, distance 7.07). Now allows the choice of spears, swords, axes, LC and mounted archers for regular farming. Now allows the choice of axes or spears (or whichever is available) for catapulting. Fixed it to work with the new village overview layout (hopefully?) Fixed it to work with the new report layout (oops?) Truly fixed the localization thing (and the stupid page thing - beta has changed that village overview page YET AGAIN) New option to prevent import of reports with a player as the defender Allows changing of minimum wall level required to send rams. The configuration script's "delete disabled villages" is a one-time thing - to have this happen again, you must re-run the configuration script (just press "OK" on everything before the 'delete disabled' bit) and perform this action. If an error message appears stating the bigger player's points are too high, or that the player is banned, running the script again will trigger that village to be disabled from your farm list. On the rally point, it uses the current outgoings to work out which village to do next - this means you may do multiple tabs to attack in for multiple villages, but not multiple tabs for a single village. It was originally done using Chrome as the test bed, but has been updated to work in Opera 12 as well as the major browsers (mostly untested apart from Chrome + Opera 12). This also means it will not work on multiple browsers, unless you save "localStorage.twstuffz" and reimport it on the other browser. It works using "localStorage", so you will have to have a browser compatible with this - it should warn you if localStorage is not present. On the confirmation page (Yes, click "Attack"!), if set to catapult, run the script again - here it will select and building and say "Changed" next to the dropdown. Run the script - it should automatically scout (if set to do this) stale/old/unscouted villages, then shape them if enough troops available and set to do this (with axes, a scout, rams for the walls, catapults for the farm and headquarters and so on), then farm them if set to do this (with light cavalry and scouts).Ħ. Add villages to your farm list (find their village page, run the script, click "Add to list" if it's not already added - importing reports will also add them this list is per-village ).ĥ. Import reports (either from Reports > Attacks or a specific report page by running the script).ģ. Run the configuration script once and do as it asks (also feed it information as it requests it).Ģ. It's been approved (I just wanted to check in case AJAX isn't allowed or something - it was in the case of TWPF, but just checking) - basically it reads reports, creates a clicky link or two on certain pages, and helps with farming and shaping.ġ. ![]() Ok - considering the void left after (first) TWFR died and (next) TWPF seems to have gone down, I decided to create a farming script. The name wasn't my idea, but I kinda like it (I'm sometimes called Throne3d, sometimes Nineza). ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |