Commit Graph

5111 Commits

Author SHA1 Message Date
Tomas Slusny
e05c1baffd Make XP globes use TOP_CENTER snap point
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>
2018-09-05 12:23:42 +02:00
Tomas Slusny
503e4bc3b8 Merge pull request #5312 from deathbeam/snap-center
Add TOP_CENTER snap corner to snap center viewport
2018-09-05 12:15:15 +02:00
Tomas Slusny
1115277368 Add TOP_CENTER snap corner to snap center viewport
Closes #5310

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-09-05 12:06:49 +02:00
Tomas Slusny
c969c3385c Merge pull request #5064 from deathbeam/layoutable-rs-widgets
Make RuneScape widgets layoutable
2018-09-05 09:16:44 +02:00
Tomas Slusny
17e8b38864 Merge pull request #5300 from raiyni/set-itemquant
widget: add setItemQuantity
2018-09-05 09:14:47 +02:00
raiyni
7b1b53d4c0 widget: add setItemQuantity 2018-09-04 12:57:16 -05:00
Abex
2a87137fea Merge pull request #5297 from Abextm/fontid
Import Widget::fontId
2018-09-04 11:29:36 -06:00
Max Weber
115f570cc7 Import Widget::fontId 2018-09-04 11:25:02 -06:00
Abex
1dbb81a9e8 Merge pull request #5296 from raiyni/set-itemid
Widgets: add setItemId
2018-09-04 10:54:07 -06:00
raiyni
cbbae60079 Widgets: add setItemId 2018-09-04 11:45:21 -05:00
Tomas Slusny
84700125cd Merge pull request #5293 from Unmoon/show-runenergy-toggle
Show run energy remaining in overlay if orb shows run time remaining
2018-09-04 18:09:58 +02:00
Tomas Slusny
2ab24da690 Merge pull request #5292 from Unmoon/orb-overlay-visibility
Don't show orb overlays when the orbs are hidden
2018-09-04 17:11:47 +02:00
Unmoon
29b56ceaf6 Show run energy instead of time remaining if tooltip shows time remaining 2018-09-04 18:04:16 +03:00
astaninger
9f3b5c0a4c Add ourania teleport to skill calculator (#5285) 2018-09-04 16:59:37 +02:00
astaninger
e3ca19edff Sort planks in construction guide by XP in skill calc (#5289) 2018-09-04 16:58:59 +02:00
astaninger
a1f6ef7e26 Order tiaras in RC skill calc by experience gained (#5288) 2018-09-04 16:50:45 +02:00
astaninger
1ff3b0fec3 Fix dragonstone necklace name in skill calculator (#5287) 2018-09-04 16:48:48 +02:00
Unmoon
547fe78926 Don't show run energy hover overlay if run energy orb is hidden 2018-09-04 17:33:28 +03:00
Unmoon
07cca2e4eb Don't show prayer orb hover overlay if prayer orb is hidden 2018-09-04 17:32:56 +03:00
astaninger
8f5540d3c6 Properly order prayer skill calculator (#5290) 2018-09-04 10:34:52 +02:00
Adam
19b6efa3a2 loot manager: limit to one kill per location per tick 2018-09-03 21:32:53 -04:00
Adam
d3080f059b Revert "Make same-tick same-tile loot event fire once"
This reverts commit 549150a749.
2018-09-03 21:25:13 -04:00
Tomas Slusny
6570e23b67 Merge pull request #5279 from ShaunDreclin/ground-marker-fix
Fix ground markers getting set at wrong position
2018-09-03 21:19:45 +02:00
ShaunDreclin
0b6ea39e41 Fix ground markers getting set at wrong position 2018-09-03 14:55:40 -04:00
Tomas Slusny
5f2432eb6d Merge pull request #5273 from deathbeam/xp-globes-off-by-default
Disable XP globes plugin by default
2018-09-03 08:49:54 +02:00
Tomas Slusny
b5e16f0b17 Disable XP globes plugin by default
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>
2018-09-03 08:23:34 +02:00
Tomas Slusny
d3c37aca26 Merge pull request #5267 from deathbeam/cannon-with-cannon
Show cannon spot overlay only with cannon
2018-09-03 08:16:13 +02:00
Tomas Slusny
c5020ecff6 Merge pull request #5268 from deathbeam/fishing-with-fish-stuff
Show fishing overlays only when player can fish
2018-09-03 08:09:03 +02:00
Tomas Slusny
54b733f5bc Show cannon spot overlay only with cannon
This makes cannon spot overlays show only when full cannon is present in
player inventory.

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-09-03 08:08:28 +02:00
Tomas Slusny
f6f764a0ed Show fishing overlays only when player can fish
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>
2018-09-03 08:01:21 +02:00
Tomas Slusny
8715645bca Merge pull request #5151 from TheStonedTurtle/LootTrackerBugFixes
Add player death check, ToB region check and 1 loot per-tile per-tick check to loot tracker events
2018-09-02 23:10:17 +02:00
Michael Goodwin
369fd90d1d Check for correct ToB region when receiving loot
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>
2018-09-02 22:04:34 +02:00
Michael Goodwin
98ec2cd5c8 Add common method for converting local to world point
- 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>
2018-09-02 22:04:32 +02:00
Michael Goodwin
0b2c7af6aa Check for player HP being 0 in player loot event
Check if player HP is 0 (e.g player being really dead) when sending
PlayerLootReceived event.

Fixes #4653
2018-09-02 22:00:56 +02:00
Michael Goodwin
549150a749 Make same-tick same-tile loot event fire once
Make kills done in same tick on same tile count only once to prevent
duplicated entries in loot tracker.

Closes #4839
2018-09-02 22:00:49 +02:00
Tomas Slusny
e6df8d27b7 Merge pull request #5222 from MagicfTail/In-Combat-Logout-Notification
Fix in combat idle logout notification and add config option for notification
2018-09-02 10:25:49 +02:00
Magic fTail
e1036922f3 Add support for combat idle 20 minute timer
- 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
2018-09-02 10:14:09 +02:00
CC007
9506c672a0 Fix locale not being applied for StackFormatterTest (#5216)
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.
2018-09-02 09:54:15 +02:00
Tomas Slusny
0a3fbf2cf5 Merge pull request #5182 from deathbeam/reduce-noise
Reduce default plugin noise for regular users
2018-09-01 21:59:55 +02:00
Tomas Slusny
f249b041e4 Merge pull request #5250 from oplosthee/runecraft-pouch-decay
Add "one" to binding necklace regex matching group
2018-09-01 20:59:57 +02:00
Tomas Slusny
dfea20ccbc Make KourendLibrary overlay show only on interact
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>
2018-09-01 14:46:05 +02:00
Tomas Slusny
eca392687b Disable lit/unlit burner indicators by default
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>
2018-09-01 14:18:37 +02:00
Tomas Slusny
5e5684f39f Disable blast furnace clickboxes by default
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>
2018-09-01 14:18:37 +02:00
Tomas Slusny
c96b5f857e Add common hidden items to GroundItemsPlugin
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>
2018-09-01 14:09:34 +02:00
Tomas Slusny
161c9f5ec3 Take preferred position into account when ordering
Take overlay preferred position into account when ordering overlays.

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-09-01 12:25:26 +02:00
Tomas Slusny
428832bcf9 Make RuneScape widgets layoutable
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>
2018-09-01 12:25:26 +02:00
Noël Keijzer
0a17590c2a Add automatic bounty hunter target lookup in HiScore plugin (#5193)
Make HiScore plugin lookup bounty hunter target automatically on chat message that the person got new target assigned (disabled by default).

Closes #4173
2018-09-01 12:21:48 +02:00
Sebastiaan Vanspauwen
44782c156a WidgetOverlay: Make fossil island oxygen bar moveable (#5246) 2018-09-01 12:14:43 +02:00
Tomas Slusny
95cf046f47 Merge pull request #5162 from ShaunDreclin/dragonstone-hint-arrow
Fix mta dragonstone hint arrow not clearing
2018-09-01 12:13:22 +02:00
Shaun Dreclin
79cda7028d Fix mta dragonstone hint arrow not clearing 2018-08-31 19:12:18 -04:00