- Without sorting each layer separately, comparator is producing wrong and
undeterministic results every so often
- The order of widget overlay was inversed and also was using Set
instead of List what was returning undeterministic results once again
Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
Make XP globes layoutable and make them use TOP_CENTER snap point for
layouting. This removes the need for configurable centering, so remove
that as well.
Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
Vanilla RuneScape interface together with XP tracker already provides
all informations that is contained withing XP globes, so disable this
plugin by default to reduce the unnecessary noise for casual users.
Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
Show fishing overlays only when player can actually fish (e.g is in
fishing session or has fishing equipment). This drastically reduces
noise for casual players.
Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
Check for ToB region being end region when receiving ToB loot to avoid
falsely trigered loot (e.g for onions).
Foxes #4695
Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
- Add commom method for converting local to world point accounting for
instances
- Make both discord and ground marker plugin use this method
Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
- Add support for timer that will reset each time hitsplat is applied to
local player and timeout after 20 mins
- Make idle logout configurable
- Add unit tests for new functionality
Failed tests before the commit:
```
Failed tests:
StackFormatterTest.quantityToRSDecimalStackSize:49 expected:<21[.]7K> but was:<21[,]7K>
StackFormatterTest.quantityToStackSize:84 expected:<1[,]000> but was:<1[.]000>
StackFormatterTest.stackSizeToQuantity:107 expected:<10500> but was:<10>
```
After the commit, the tests succeeded.
Make KourendLibrary plugin overlay show only on interaction with
bookcase or with customer after login, as by default the noise caused by
the overlays is horrendous.
Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
Majority of players do not care about these and it is just permanent
noise in POH for them, leave the enabling of this setting to minority.
Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
A lot of people visit blast furnace without intention to actually do the
activity (e.g to buy ores) so simply disable the clickbox noise by
default and leave to user if they want them.
Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
To reduce default plugin noise add some common hidden items to
GroundItemsPlugin (basically same default hidden list as OSBuddy has).
Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
Instead of making RuneScape widgets detached, make them layoutable
- Add new snap corner CANVAS_TOP_RIGHT that is basically minimap
position
- Make WidgetOverlay use standard overlay layouting
- Adjust paddings in the OverlayRenderer to match game more closely
Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
Make HiScore plugin lookup bounty hunter target automatically on chat message that the person got new target assigned (disabled by default).
Closes#4173