|
Script Summary:
Major revamp of Utopia Kingdoms interface |
This script has no discussions. |
This script has no reviews. |
Version 1.01
Bug Fixes
- Fixed map learning code so coordinate associates/blank squares are properly learned/cleared.
- Fixed coordinate link in battle report message's attacker node to link to map, and not march.
- Fixed issues with "send resource" page when having only one castle. Actually implemented auto-uncheck "without unloading" for using saved beneficiary pulldown.
Version 1
General
- Configuration screen enables user to specify default attack formation, server time offset, hero scout level (for timing estimates), and unit upgrades for estimating damage against walls.
- The script memorises data as pages are visited (merchant capacity, association between coordinates and player/city names, etc).
- Replaces static server time node with a timer, showing local time and approximate server time.
- Converts most server times to local times.
- Coin reminders automatically closed. Links to convert resources, send resources, and overview on every page.
- Shows total resources and amount exceeding maximum merchant capacity on every screen.
Castle
- Automatically calculates total resources/needed resources for the next level of each building (20% premium for third queue item not calculated).
Map
- Squares have digits showing number of light cav/cav archer needed to loot all scavenge from square (green for minimum user-configurable amount, blue for nonzero, white for zero; black for targeted square).
- Tooltip calculates one-way march time and local return time for merchant, quickest, and slowest units. Also converts last activity server time to local, and sums total scavenge available in square.
- Mouseover square for march timing tool.
- Program learns coordinate/name/clan associations as player navigates over map. These data can be copied into a spreadsheet via a button on the map page.
Army
- Button to release troops from all training facilities in city.
- Calculation of resources returned when cancelling unit training, and resources and time used to train selected number of troops at a given speed.
- Ability to paste formations copied from battle reports (only units observed in the report will be placed).
Sim
- Tools to max upgrades/skills, zero all unit counts, paste/add unit counts, paste skills copied from battle report.
Battle Reports
- Coordinates complemented with player/city name if known.
- Buttons to copy skills/armies/formations.
- Shows unit upgrades.
- Calculates pop/life/resources lost; calculates maximum total scavenge based on losses.
- Calculates total light cav/cav archer needed to haul stolen/scavenged resources. Calculates attacker's stolen resources as capacity of surviving units.
Marches
- March info page lists city names where known, calculates effective speed, percent capacity, time from origin. Also has a copy button for when units are shown.
- "Contents" field's alert() replaced with formatted numbers inline.
- Coordinates replaced with city name, where the code has learned the square's information (mouseover to see coordinates).
- Added clickable "Time" field for marches en route, to show time from start of march and time remaining to target.
- Unhid coordinate boxes so attacks can be sent directly from the marches page; added pulldown of player's own cities so troop transfers can be done on a single page.
- Added icons to reattack/go to map square for "To" field. Current target is asterisked.
- Fixed issues with sorting/paging not retaining sort/filter parameters.
- Added single infantry, paste (e.g., copied from sims), invert, and other troop selection tools.
- Wall damage, mystic wall damage, carry weight, non-mystic pop shown on march page for current troop selection.
- Shows castles ordered by distance to target.
- Timing tool in local time for current troop selection and target coordinates. Mouseover for one-way arrival time. Click "A"ttack, "S"cavenge, or "T"ransfer to perform that action at that travel speed.
- Added support for sending simple (coinless) marches from a single page. After submit, page automatically redirects to same coordinates.
- For complicated marches, use "continue" to access second march page. This page has server arrive/return times which should be calculated to within a second of actual server.
Market
- Calculates profit/profit ratios of trades on open market.
- Conversion tool to calculate minimum number of one res to get another in internal market.
- Facility to save/delete coordinates for sending resources. Top-up and even distribution tools added, with march timer. Automatically checks "without unload" for cities not owned by player or in the saved beneficiaries.
Messages
- Added facility to save messages to a local computer.
- Added option to delete page of messages for most categories.
- Coordinates are complemented with their city/player names if known. Convenience links to march/map in most cases. Message age noted and coloured.
- Battle report notifications show battle scavenge and stolen resource capacity.
- Market page has tool to calculate the total scavenge retrieved from a square.
- Spy reports reformatted to show closest cities and march times for current city. Ability to copy supports/camps. Total/max stealable resources calculated based on buildings. Two copy-and-pasteable text boxes for saving spy data to spreadsheet (columns are date, city name, x, y, max resource production, wall, guard station, storehouse, stealable resources, maximum observed resources, maximum possible resources, homes, order, maximum unit production; second line omits max observed onward so it doesn't overwrite old data on paste).





