Skip to content

Commit

Permalink
v2.2.0 - skill refactor, region sort, pvmp fixes (#188)
Browse files Browse the repository at this point in the history
* initial skill data refactor

* add map coords to skill data

* add overlap class skills to skill data

* combine language strings into a single file for easier maintainability

* add sort by label

* fixup Settings.order/enabled key format

* quick fix sorting save issue when loading global defaults

* fix lastLoadedVersion to update to the current version on a save

* improve save/load settings

remove Settings.order and Settings.enabled
add global racial id tag

* optimize settingsArg.enabled/order updates for Account scope

* unblocking map working in pvmp in english

fixed my own typo in method name

* update DE/FR for Return to Gramsfoot (0x70028BBC)

* add hasSameText to disambiguate/track skills with duplicate name/desc

* include all skills in TravelShortcuts with only usable being visible

* disable global load/save buttons for creeps

* fix broken debug message in verifySkill

* add sort move up/down by 10 buttons

* smooth out grid resize snapping around a column midpoint

* remove Turbine Utils dependency

* on checkskills() skip skills for classes without those skills

* add level progression sorting

* ensuring plugin loads on older saved version strings

* fixed bug in enable/disable overlapping

* changed some doc files to have correct filetypes

* adding v2.2.0 metadata

* more secure way of handling characters in patch version

---------

Co-authored-by: whiterabbit963 <[email protected]>
  • Loading branch information
wduda and whiterabbit963 authored Mar 4, 2024
1 parent 195e832 commit 533e412
Show file tree
Hide file tree
Showing 34 changed files with 3,108 additions and 2,005 deletions.
73 changes: 73 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,20 @@
# CHANGELOG

## v2.2.0

- add: sorting alphabetically by skill label
- add: sorting by zone level
- add: move skill in sort list up/down by 10 slots
- enhance: saving globals properly remembers hunter/mariner/warden skills for those classes
- enhance: smooth out grid resize snapping around a column midpoint
- enhance: remove dependency on Turbine utils, these can be removed if you do not need them for other plugins
- enhance: significantly improved skill data storage in codebase to prevent human mistakes when creating new releases
- fix: saving and loading globals will save properly every time and not mess up sort order
- fix: plugin will load again for creep characters
- fix: updated creep travel skills in EN/DE/FR

## v2.1.0

- add: default and alphabetic ordering buttons in sorting tab (note: sort by name sorts by ingame name, not by TW II label)
- add: a fade out delay and option slider to control duration of that delay
- enhance: mini and legacy windows having the same minimum size
Expand All @@ -13,6 +29,7 @@
- fix: multiple small resizing issues

## v2.0.0

- adds a mini window option offering an alternative interface with minimal window size
- adds skills snapping for cleaner resizing of main and mini windows
- adds slider to control speed of fadeout to min opacity
Expand All @@ -26,11 +43,14 @@
- significant code cleanup under the hood for more reliable and maintainable code

## v1.4.0

- reintroduces a rewritten Map Window feature - thanks to @whiterabbit963
- toggle button will no longer be out of bounds after reducing client resolution - thanks to @whiterabbit963
- fixes error message on check untrained skills in options - thanks to @whiterabbit963
- fixes Muster in Dale skill in DE client properly this time - thanks to @whiterabbit963

## v1.3.0

- fixed Warden Muster to Dale in DE client
- fixed Bloody Eagle Tavern skill in DE client
- fixed more sorting issues for Hunter, Warden and DE/FR clients caused by duplicate skillnames - thanks to @whiterabbit963
Expand All @@ -39,12 +59,16 @@
- improved layout and resizing for pulldown tab - thanks to @whiterabbit963
- more consistent and performant setting of window opacity and options window opacity - thanks to @whiterabbit963
- vast amounts of code quality improvements that should result in stability, faster loading and no stutters when resizing TW II - thanks to @whiterabbit963

## v1.2.0

- fixed U38 allegiance travel skills in EN/FR/DE client
- added new U38.1.1 skill in EN/FR/DE client
- fixed duplicate skillnames causing all kinds of sorting issues - thanks to @whiterabbit963
- minor performance improvement - thanks to @whiterabbit963

## v1.1.0

- fixed two U38 reputation travel skills in EN client
- added U38 Mariner skills in FR client
- added U38 Mariner skills in DE client
Expand All @@ -54,73 +78,113 @@
- fixed Mariner skills in DE client
- fixed all Mariner skills not showing up in Enabled and Sort options tabs
- fixed newly learned Mariner skills not being found when checking trained skills

## v1.0.29alpha

- fixed Mariner skills showing up twice in DE client
- adding U38 skills in EN/FR

## v1.0.28alpha

- added support for Mariner Sail skills in EN/DE/FR
- added support for River Hobbits racial travel
- fixed rare bug in hunter skills sorting

## v1.0.27

- fixed typo in init.lua causing crash on load

## v1.0.26

- added support for U36 skills (Pelargir in King's Gondor) in EN/DE/FR

## v1.0.25beta

- fixed typo in Carn Dum skills introduced in v1.0.24beta
- added Glan Vraig skill in EN/DE/FR
- fixed some DE/FR skill labels to better reflect the source of the skill

## v1.0.24beta

- added Clegur skills from U35 in EN/DE/FR
- added Carn Dum skills from U35 in EN/DE/FR
- fixed some DE/FR skills that had their names changed

## v1.0.23beta

- saving options is now reliably done on every logout

## v1.0.22beta

- fixed bug with duplicate skillID affecting hunters trying to sort their travel skills
- fixed TWII button not saving position when being moved
- fixed error message when resetting skills to default

## v1.0.21beta

- added U34 skills for EN/DE/FR
- fixed two Muster skills in DE
- PluginManager button for options no longer opens a second copy of options window
- Maps open again but are still buggy in terms of showing travel locations
- error message when using dropdown view should no longer show up

## v1.0.20beta

- added Yondershire port
- worked around plugin manager causing client crash; replaced the manager options with a button opening the actual options window

## v1.0.19beta

- added new option to close Travel Window when using a travel skill regardless of window mode
- updated behaviour of Travel Window when using function key and escape to hide the UI, should now handle all cases correctly
- added Tornhad travel skills
- fixed many French Warden skills that were renamed by SSG

## v1.0.18beta

- fixed changed Gundabad translations for FR

## v1.0.17beta

- added 7 new skills for U31

## v1.0.16beta

- added 7 new skills for U31

## v1.0.15beta

- made the icon grid the default view on new characters
- fixed bug causing window size not being saved on logout
- cleaned code from references to Map Home item that existed before Milestone skills

## v1.0.14beta

- added new travel skills for U30 in EN, DE, FR

## v1.0.13beta

- fixed plugin crash for Wardens with travel to Trestlebridge learned (bugfix)

## v1.0.12beta

- fixed unloadable settings for 64bit DE and FR clients (bugfix)
- fixed label of Hultvis hunter guide in FR client (enhancement)

## v1.0.11hotfix2

- fixing plugincompendium version data

## v1.0.11hotfix1

- fixed one French U29 skill - thanks homeopatix for the bug report

## v1.0.11beta

- full U29 travel skills support for DE and FR (enhancement)

## v1.0.10beta

- U29 travel skills support for EN (enhancement)
- attempted U29 travel skills support for DE and FR - no translations for skills were available on Bullroarer (enhancement)
- checking for untrained skills both through options button and menu item will now add newly learned skills immediately (enhancement)
Expand All @@ -130,17 +194,20 @@
- cleaned up a lot of global/local internal variables and names (internal)

## v1.0.9beta

- fixed bug where pressing Esc did not close the options window (bugfix)
- fixed bug where changing options was lagging the client, especially on changing opacity sliders (bugfix)
- automated github builds for faster releases (internal)
- cleaned up settings stored by plugin to remove unused data (internal)
- cleaned up some code for better readability (internal)

## v1.0.8beta

- made it so the plugin can attempt to import all settings from v1.06beta or earlier if new settings file is not present, so an import can be forced by deleting TravelWindowII.plugindata - see FAQ
- fixed German travel to Dale

## v1.0.7beta

- changed enabled/disabled function to identify skills by ID - fixes problems with skills sharing names, like racial/rep, map home/Beorning racial (bugfix) closes #25 #17
- changed sorting identify skills by ID - sorting will now work and save its settings properly (bugfix) closes #15
- fixed wrong order of milestone skills (bugfix) closes #9
Expand All @@ -154,12 +221,14 @@
- reduced code duplication in indexedDictionaries so future development will become easier (internal)

## v1.0.6beta

- Plugin Compendium will now install Turbine libraries if they are not installed yet when you install Travel Window (enhancement)
- changed Shire and Rivendell skill labels to be closer to user expectations (they are now Shire (Store), Shire (Racial), Rivendell (Store)) (bugfix)
- fixed Premium house skill in German client (bugfix)
- fixed about 30 skills in German client that were not working before (bugfix)

## v1.0.5beta

- removed references to setting the glan vraig map and the obsolete map home for now (GUI improvement)
- cleaned up internal naming of variables to better differentiate skill names and skill labels used by plugin (internal)
- made pulldownlist, enable options and sort options use labels instead of skill names (GUI improvement)
Expand All @@ -177,17 +246,21 @@
- replaced some deprecated methods

## v1.0.3beta

- fixed Plugin Compendium confusing TravelWindow and TravelWindowII

## v1.0.2beta

- included French client fixes from Adra
- some internal code cleanup

## v1.0.1beta

- added racial skills to sort options while not functioning yet
- created lotrocompendium capability

## v1.0beta

- based off of v28.2 last worked on by Thaliruth
- fixed Eriador/Rhovannion/Eriador maps with overlays
- fixed High Elf racial travel skill that was broken since U28.2
Expand Down
2 changes: 1 addition & 1 deletion TravelWindowII.plugin
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<Information>
<Name>Travel Window II</Name>
<Author>Hyoss</Author>
<Version>v2.1.0</Version>
<Version>v2.2.0</Version>
<Description>
This plugin creates a single window that contains all the available travel skills, including the race, class and reputation skills.
It is a further development of Travel Window, that has been worked on by multiple authors before.
Expand Down
6 changes: 2 additions & 4 deletions TravelWindowII.plugincompendium
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,12 @@
<PluginConfig xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<Id>1113</Id>
<Name>Travel Window II</Name>
<Version>v2.1.0</Version>
<Version>v2.2.0</Version>
<Author>Hyoss</Author>
<InfoUrl>http://www.lotrointerface.com/downloads/info1113</InfoUrl>
<DownloadUrl>http://www.lotrointerface.com/downloads/download1113</DownloadUrl>
<Descriptors>
<descriptor>TravelWindowII\TravelWindowII.plugin</descriptor>
</Descriptors>
<Dependencies>
<dependency>0</dependency>
</Dependencies>
<Dependencies />
</PluginConfig>
1 change: 1 addition & 0 deletions doc/changelog_old.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# Changelog

v19.0.0

- added new U19 skills (rep + housing)
Expand Down
4 changes: 2 additions & 2 deletions doc/credits.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Contributors:
# Contributors

Orendar
Frell
Expand All @@ -25,4 +25,4 @@ mhdubose
Eili
Lumbago
daks-ua
whiterabbit963
whiterabbit963
19 changes: 0 additions & 19 deletions doc/lotroforums.md

This file was deleted.

18 changes: 18 additions & 0 deletions doc/lotroforums.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
A new version is available!

v2.2.0

- add: sorting alphabetically by skill label
- add: sorting by zone level
- add: move skill in sort list up/down by 10 slots
- enhance: saving globals properly remembers hunter/mariner/warden skills for those classes
- enhance: smooth out grid resize snapping around a column midpoint
- enhance: remove dependency on Turbine utils, these can be removed if you do not need them for other plugins
- enhance: significantly improved skill data storage in codebase to prevent human mistakes when creating new releases
- fix: saving and loading globals will save properly every time and not mess up sort order
- fix: plugin will load again for creep characters
- fix: updated creep travel skills in EN/DE/FR

Huge kudos to @whiterabbit963 for making this release possible!

Download it at [url=https://www.lotrointerface.com/downloads/fileinfo.php?id=1113]Lotrointerface[/url], [url=https://github.com/wduda/TravelWindowII/releases]GitHub[/url], via [url=https://github.com/JeremyStepp/OneLauncher]OneLauncher[/url] or via [url=https://www.lotrointerface.com/downloads/info663-LOTROPluginCompendium.html]Plugin Compendium[/url].
27 changes: 13 additions & 14 deletions doc/lotrointerface.md → doc/lotrointerface.txt
Original file line number Diff line number Diff line change
Expand Up @@ -32,20 +32,19 @@ Use the mousewheel while hovering over the travel skill icon to change the selec
[/LIST]

Version history:
v2.1.0
- add: default and alphabetic ordering buttons in sorting tab (note: sort by name sorts by ingame name, not by TW II label)
- add: a fade out delay and option slider to control duration of that delay
- enhance: mini and legacy windows having the same minimum size
- enhance: resize hitbox now has highlight on hover
- enhance: increased size for mini-window resize hitbox
- enhance: overlapping skills button no longer turns off Lalia's market
- enhance: enable/disable overlapping skills buttons only show up if character has overlapping skills
- enhance: updated labels for King's Gondor Dol Amroth in EN/DE/FR
- enhance: download size of plugin reduced from 2MB+ to 200kb
- fix: last entry in text list being not visible in legacy window
- fix: made row snapping much smoother
- fix: multiple small resizing issues
v2.2.0

- add: sorting alphabetically by skill label
- add: sorting by zone level
- add: move skill in sort list up/down by 10 slots
- enhance: saving globals properly remembers hunter/mariner/warden skills for those classes
- enhance: smooth out grid resize snapping around a column midpoint
- enhance: remove dependency on Turbine utils, these can be removed if you do not need them for other plugins
- enhance: significantly improved skill data storage in codebase to prevent human mistakes when creating new releases
- fix: saving and loading globals will save properly every time and not mess up sort order
- fix: plugin will load again for creep characters
- fix: updated creep travel skills in EN/DE/FR

Huge kudos to @whiterabbit963 for making this release possible!

Rest of changelog found [URL="https://github.com/wduda/TravelWindowII/blob/master/CHANGELOG.md"]here[/URL].
Rest of changelog found [URL="https://github.com/wduda/TravelWindowII/blob/master/CHANGELOG.md"]here[/URL].
File renamed without changes.
Loading

0 comments on commit 533e412

Please sign in to comment.