Commit Graph
100 Commits
Author SHA1 Message Date
Jordan Atwood d69a5ddd8b status bars: Add counter text drop shadow
This drop shadow was present prior to the plugin refactor in
1165780f42 which erroneously removed it.
2021-06-06 15:53:59 -04:00
Jordan Atwood 70dc7f56bc clues: Fix three step cryptic clue getLocations NPE
Prior to this commit, ThreeStepCrypticClue simply returned a
concatenation of the active step locations without filtering the mapped
locations in any way. This could lead to NPEs in the plugin as some
cryptic clues have null locations for steps which have no specific
location or have a variable location. This commit addresses this by
making CrypticClue's location field `@Nullable`, filtering null
locations from ThreeStepCrypticClue's getLocations stream, and by adding
a test to ensure ThreeStepCrypticClue's getLocations method cannot yield
any null entries in its return value.
2021-06-05 17:53:17 -04:00
Jordan Atwood b1dd93bb0b item identification plugin: Add item mapping test
This will ensure any ImmutableMap building errors are caught at test
time rather than at runtime.
2021-06-01 16:35:51 -04:00
Jordan Atwood 25ec5a7c5c ProgressBar: Fix center label centering
BorderLayout does not guarantee equal sizing of its children, so having
a component centered between two components of unequal sizes will leave
it centered relative to their sizes, such as the following:

```
|-----BorderLayout-------------------------------------------|
||----WEST----||------CENTER------||----------EAST----------||
||------------||------------------||------------------------||
|------------------------------------------------------------|
```

Conversely, GridLayout uses fixed, equal-width columns for its children,
ensuring the center component will always occupy the center third of the
parent's dimensions.

P.S. This change causes labels to truncate earlier as they do not expand
beyond a third of the parent container's dimensions. Because the use
case for this component is with small labels, I do not anticipate this
will cause breakage.
2021-06-01 12:15:49 -04:00
Jordan Atwood e57f6d0d6e XpInfoBox: Give stats panel equal column widths 2021-06-01 11:02:55 -04:00
Jordan Atwood 502895979d menu manager: add menu entries in insert order 2021-05-04 13:50:40 -04:00
Jordan Atwood e6d45bd67a HotColdLocation: Fix Seers' Village bank spot
Ref: #9601
2021-05-02 22:58:27 -07:00
Jordan Atwood 36ec314ab7 Revert "opponentinfo: Show health bar of actors attacking the player"
This reverts commit 48ea01dd28.
2021-03-09 21:30:58 -08:00
Jordan Atwood d26e3ec7b2 opponent info: Add simple interaction tests 2021-03-04 18:52:32 -05:00
Jordan Atwood bd67d82bbb Widget: Mark getChildren() as nullable 2021-02-27 10:54:29 -05:00
Jordan Atwood 7c59815869 npchighlight: Apply correct highlights to changed NPCs 2021-02-27 10:44:21 -05:00
Jordan Atwood e8fd08fa41 client: Remove shaded jar minimizing
After the addition of runelite-jshell, some of its dependencies are not
preserved during jar minimization, causing the shell dev tool to fail on
some systems. This change ensures all dependencies are preserved in the
resulting shaded jar. This change results in a roughly 2Mb larger output
shaded jar.
2021-02-26 19:05:20 -05:00
Jordan Atwood 11f32eb5ce HotColdLocation: Center some location spots
Center some hot-cold locations as reported and verified from the mega\
issue.

Ref: runelite/runelite#9601
2021-02-24 21:17:32 -08:00
Jordan Atwood 50c39164b7 item identification: Fix duplicate tree seed entries 2021-02-20 19:25:53 -08:00
Jordan Atwood d716503c04 menu entry swapper config: Fix formatting from previous commit 2021-02-20 15:03:06 -08:00
Jordan Atwood c92f835102 timers plugin: Improve imbued heart detection
As is the case with other graphics-based timers, the imbued heart timer
will not fire if other graphics animations are triggered (such as those
created when fighting the Dagannoth Kings). To add this timer more
reliably, this commit will add the timer when a Magic stat boost occurs
of the appropriate amount after recently clicking on an imbued heart.
Because the magic level boost, combined with an imbued heart click
check, is a reliable way to detect usage of an imbued heart, the
graphics check is removed.
2021-02-15 13:09:54 -05:00
Jordan Atwood 2cdfdf0284 cluescrolls: Re-check named object highlights after hopping 2021-02-13 13:35:25 -05:00
Jordan Atwood 0fa078d8f1 notifier: Add username to tray notification title
This also removes the player's ingame name from notifications which are
referring to the active player in favor of the title.
2021-02-13 10:36:12 -05:00
Jordan Atwood fadfc15cd0 cluescrolls: Fix beginner/master clue step reset
Commit 36bb7c8401 improved the clue scroll
plugin by resetting the active clue step when a beginner or master clue
item was displayed in the chat dialog when receiving a new step. This
commit caused a new bug, however, in that it became possible to click on
a new clue step while the new step dialog was open such that the new
step dialog persisted through a GameTick due to client-server delay,
causing the saved clue item ID to be lost. This commit fixes that issue
by resetting only the active clue object, but not the recorded clue item
ID, as beginner and master clues only use a single item ID.
2021-02-13 10:30:33 -05:00
Jordan Atwood aa6ac7cbc0 clues: Add Isle of Souls coordinate clues 2021-02-05 12:16:32 -05:00
Jordan Atwood bbfa08f8b7 MenuOptionClicked: Add selectedItemIndex field 2021-02-02 22:58:41 -05:00
Jordan Atwood e5ccde56ed HotColdLocation: Fix Pirates' Cove spot
Ref: #9601
2021-01-11 15:53:11 -08:00
Jordan Atwood 1f95987d1a ChatboxTextInput: Improve open selection left/right handling
Previously, when pressing left or right without Shift pressed, the
cursor would end up one character left or right of the start of the
selection, which is not expected behavior compared to how most programs
handle this case. This commit changes this behavior to place the cursor
at the start or end of the selection when pressing left or right,
respectively, when a selection is active.
2021-01-07 15:06:53 -08:00
Jordan Atwood ed1d47f283 ChatboxTextInput: Select full message on ctrl+a 2021-01-07 14:13:51 -08:00
Jordan Atwood ccc40e3eb4 Add support for trailblazer kit rewards 2021-01-07 13:55:43 -08:00
Jordan Atwood 7c98afb173 AnimationID: Remove incorrect trailblazer harpoon entry
This animation is not used for harpooning. It appears to be some kind of
obscure trailblazer mining animation.
2021-01-07 12:57:56 -08:00
Jordan Atwood ead554e23b itemstats: Add Darkmeyer foods 2020-12-31 12:39:50 -05:00
Jordan Atwood cb31e1ddd4 timers: Fix leagues area teleport bug
Teleporting using a trailblazer leagues area teleport previously caused
a home or minigame teleport timer to be created, depending on which of
the two was most recently stored as `lastTeleportClicked`. To avoid
this, a new TeleportWidget has been registered which does not follow any
code paths in the plugin.
2020-11-13 14:31:22 -05:00
Jordan Atwood 9479b23229 devtools: Render world map location above region overlay 2020-10-24 21:30:42 -07:00
Jordan Atwood 5e2946024b nightmarezone: Set absorption notification var on startup 2020-10-24 17:54:08 -07:00
Jordan Atwood 842749fe15 Move heart sprite recolors to public package 2020-10-24 06:08:28 +02:00
Jordan Atwood d0589c80b9 kourendlibrary: Don't reset state when not finding Varlamore Envoy
The Varlamore Envoy is a quest item which, while having a known location
in the library once a rotation is determined, cannot be found under
certain circumstances. (when the Depths of Despair quest has not been
started, has been collected while completing the quest, and after the
quest is completed) Previously searching a bookcase which could contain
this book and not finding it would cause a state reset. This commit
keeps those null finds from resetting the known library state.
2020-10-08 14:09:06 -07:00
Jordan Atwood d9876976d6 util: Remove unused and unneeded methods
ImageUtil had previously provided a number of image fill and outline
methods which accepted Predicates to control the fill and outline
behavior, but they are not used anywhere in the client or by external
plugins. This commit removes these methods and the
is(Not)?FullyTransparent ColorUtil methods which existed solely as
Predicate defaults for them.
2020-10-03 12:06:52 -04:00
Jordan Atwood 32638ccf63 KeyManager: Add debug logging
We receive numerous support queries regarding unknown or errantly-set
keybinds causing issues during normal gameplay for our users, especially
since the plugin hub has been released and more plugins are able to
register keybinds. This commit adds logging for keybind registration and
activation for ease of troubleshooting.
2020-10-01 18:31:12 -04:00
Jordan Atwood e4fe839efe EmoteClue: Fix Infernal max cape item ID
Two infernal max cape items exist: one being the item which players can
use, and another presumably being the item displayed in the dialog shown
when combining a max cape and an infernal cape. `INFERNAL_MAX_CAPE` is
the definition for the latter cape, and `INFERNAL_MAX_CAPE_21285` is the
real item players would have.
2020-09-14 17:17:30 -07:00
Jordan Atwood 754fbf2b13 HotColdLocation: Center some location spots
Center some hot-cold locations as reported and verified from the mega
issue.

Ref: runelite/runelite#9601
2020-09-13 09:57:34 -07:00
Jordan Atwood a0acbb0f7b Move Experience tests to proper test class 2020-09-08 17:27:52 -07:00
Jordan Atwood a6628564f8 banktags: Don't lose scroll position when hiding separators 2020-09-07 00:40:24 -07:00
Jordan Atwood d1a765091a screenshot: Fix BA high gamble toggle
Because both level up dialogs and BA high gambles use the same widget
interface, commit 40f032bede caused BA
high gambles and some level up dialogs to trigger screenshots if either
config was enabled in the config, as that would set a flag to capture a
screenshot on the next game tick based on the widget text. This commit
adds config checks to the DIALOG_SPRITE_TEXT branch to ensure the
appropriate config flag must be set for a screenshot to be captured.
2020-08-30 13:14:06 -04:00
Jordan Atwood fb47850686 ItemIdentification: Fix target teleport definition 2020-08-24 13:11:57 -07:00
Jordan Atwood c9ef18b55e menuentryswapper: Prefer last-destination on Zanaris fairy ring 2020-08-21 16:10:47 -04:00
Jordan Atwood 105046b2f5 HotColdLocation: Fix Mos Le'Harmless southern bar spot
Ref: #9601
2020-08-15 18:31:33 -07:00
Jordan Atwood b16b3a8017 slayer: Fix slaughter bracelet proc text
After the 2020-08-06 game update[1] the Bracelet of slaughter gives a
slightly different text than before. This commit updates the slayer
plugin to identify that new text.

[1]: https://secure.runescape.com/m=news/pvp-changes?oldschool=1
2020-08-07 12:35:51 -04:00
Jordan Atwood 73b73a84c5 HotColdLocation: Center some location spots
Center some hot-cold locations as reported and verified from the mega
issue.

Ref: runelite/runelite#9601
2020-08-04 21:07:34 -07:00
Jordan Atwood 6bac3e81b8 OverlayRenderer: Fix overlay resizing logic
Prior to this commit, reducing the size of an overlay not attached to an
anchor point using the north or west edges and corners such that its
dimensions would be below the minimum overlay size would push that
overlay in that direction as it was dragged. This commit updates the
overlay resize logic to prevent "pushing" overlays when trying to reduce
the width or height below the overlay's minimum size.
2020-07-24 20:50:31 +02:00
Jordan Atwood 468d0a7967 EmoteClue: Specify uncharged glory amulet when needed 2020-07-16 00:35:52 -07:00
Jordan Atwood 16c78630fb xpdrops: Fix white xp drop text recolors
Selecting #FFFFFF as a prayer color yields an RGB value of -1. Since all
values will be negative numbers, 0 should be used as an "unset" value
instead.
2020-07-11 15:30:16 -07:00
Jordan Atwood cb4b7d42ea KeyListener: Add isEnabledOnLoginScreen() method
This commit moves login screen handling out of the KeyManager into the
KeyListener interface so it does not need any knowledge of
HotkeyListener's implementation.
2020-07-10 18:46:22 -04:00
Jordan Atwood 349efebd58 keyremapping: Remove vestigial LOGIN_SCREEN guard clause
Key remaps have been blocked at the KeyManager level as of commit
01bdbe5aab, so a LOGIN_SCREEN game state
check is no longer needed within individual KeyListeners.
2020-07-06 22:12:13 -07:00
Jordan Atwood 36e86c6619 TextComponent: Draw outline using one axis offset at a time
This commit prevents fonts with thin and angled glyphs from having gaps
between the characters and their outline by offsetting outline draws in
one direction exclusively.

(cherry picked from commit 8d1f028758)
2020-06-26 22:28:47 +02:00
Jordan Atwood e3056b8000 AnagramClue: Fix Cam the Camel elite step text 2020-06-26 00:13:51 -07:00
Jordan Atwood 7a500ebf1e widgets: Fix resizable minimap container ID
This also removes some unused and possibly outdated WidgetInfo entries
relating to resizable minimaps.
2020-06-25 10:10:52 -07:00
Jordan Atwood 8d1f028758 TextComponent: Draw outline using one axis offset at a time
This commit prevents fonts with thin and angled glyphs from having gaps
between the characters and their outline by offsetting outline draws in
one direction exclusively.
2020-06-24 21:01:34 -07:00
Jordan Atwood 6ccaf8876c bank plugin: Remove ContainerCalculation class
This commit removes the hashing feature from container calculation which
alone would make obsolete the ContainerCalculation class, so it
additionally inlines the `calculate()` method into the plugin class.

Additionally, this commit adds null handling for the items parameter of
`calculate()` to prevent NPEs.
2020-06-24 17:28:47 -07:00
Jordan Atwood 99afd3e0b7 ClientUI: Fix panel toggle after closing with click
This commit ensures the previously-active plugin panel can be reopened
with the plugin panel toggle hotkey after being closed via mouse click.
2020-06-24 17:01:52 -07:00
Jordan Atwood db917454e8 menuentryswapper: Fix birdhouse swap 2020-06-24 18:07:44 -04:00
Jordan Atwood 1dbf432377 slayer: Update initial amount if current amount is higher
Prior to this commit it was possible to receive a change or update in
task by playing on mobile or another client, log back in to RuneLite
with incorrect task information saved to config and, once updated via
checking a slayer gem or speaking with a slayer master, having a task
amount greater than the saved initial task length. This updates the
plugin to use the greater of these numbers so that case is no longer
possible.
2020-06-24 14:56:35 -07:00
Jordan Atwood b17ef5615b discord: Add Darkmeyer and Hallowed Sepulchre minigame 2020-06-23 23:30:33 -07:00
Jordan Atwood 1a7014a0f2 SkillChallengeClue: Fix "Mine a mithril ore" step 2020-06-23 16:18:51 -07:00
Jordan Atwood e4c818d4a5 worldmap: Add Daeyalt essence mine tooltip 2020-06-21 15:59:38 -07:00
Jordan Atwood 2ad0ea80dc worldmap: Add Drakan's medallion teleport locations 2020-06-21 15:59:37 -07:00
Jordan Atwood 8822ae0afd HotColdLocation: Center some location spots
Center some hot-cold locations as reported and verified from the mega
issue.

Ref: runelite/runelite#9601
2020-06-15 00:49:46 -07:00
Jordan Atwood fd517da9d4 HotColdLocation: Add new Darkmeyer master step
See: runelite/runelite#11713
2020-06-15 00:45:44 -07:00
Jordan Atwood b6204d0a44 ConfigPanel: Fix checkstyle violation 2020-06-10 10:53:03 -07:00
Jordan Atwood 4b4720751c infoboxmanager: Test infoboxes with same plugin and priority
See: 406c2bc7db
2020-06-09 12:51:01 -04:00
Jordan Atwood c2a9ac443b client: Simplify ItemContainer usage
Because itemManager#getItemPrice() canonicalizes the passed item ID, it
is no longer necessary to get noted items' base IDs or otherwise
canonicalize item IDs before interacting with the method.
2020-05-23 16:22:29 -04:00
Jordan Atwood f9d3647db1 itemmanager: Canonicalize price lookup item IDs 2020-05-23 16:22:29 -04:00
Jordan Atwood 39a2407b71 examine: Move price lookups off executor
Historically price lookup was done by sending a web request on price
lookups, which required calls to be done on an executor. As of
a1ae397e11, client prices are loaded periodically and cached, thus no
longer imposing any thread requirement on price lookup.
2020-05-23 16:22:29 -04:00
Jordan Atwood 116e1a0090 loot tracker: Use "an" prefix for monster names starting with vowels 2020-05-23 13:35:00 -04:00
Jordan Atwood e658928277 HotColdLocation: Center some location spots
Center some hot-cold locations as reported and verified from the mega
issue.

Ref: runelite/runelite#9601
2020-05-21 21:49:29 -07:00
Jordan Atwood 9c77948f80 loottracker: Show chat message after NPC and PVP kills
This commit adds configs to display chat messages with the name and
value of NPC and/or PVP kills.
2020-05-07 14:30:10 -07:00
Jordan Atwood 7bea9f9f3b timers: Remove color matching for teleblock messages
When playing using the resizable viewport and the transparent chatbox,
teleblock messages are sent using a different color than when using the
standard chatbox. This commit removes that color matching entirely from
messages indicating that a teleblock timer has been applied or removed.
2020-05-02 13:14:23 -04:00
Jordan Atwood 5b9591db6e HotColdLocation: Center some location spots
Center some hot-cold locations as reported and verified from the mega
issue.

Ref: runelite/runelite#9601
2020-04-07 11:11:32 -07:00
Jordan Atwood 95556aadc7 widget: Expose widget model getters and setters
This commit also adds these widget properties to the widget inspector
dev tool.
2020-03-18 23:55:09 -07:00
Jordan Atwood af7647e204 HotColdLocation: Center some location spots
Center some hot-cold locations as reported and verified from the mega
issue.

Note: Because this commit makes adjustments to some locations relied
upon in the hot-cold solver class test, some tests must be adjusted in
order to keep passing.

Ref: #9601
2020-03-12 10:00:38 -07:00
Jordan Atwood c278562834 SkillChallengeClue: Highlight broken Dorgesh-kaan lamps
For the skill challenge clue "Fix a magical lamp in Dorgesh-Kaan.",
highlight lamps in the area which are broken.

Fixes runelite/runelite#10069
Closes runelite/runelite#10117
2020-03-05 22:28:51 -08:00
Jordan Atwood c48d8db3a1 clues: Create NamedObjectClueScroll interface
This commit adds a new clue type, NamedObjectClueScroll, which allows
highlighting of objects based on object name. (and optionally region
ID(s) where that object should reside)

This commit introduces two new fidlds to the ClueScrollPlugin class to
track player plane changes to address some unusual client behavior.
Namely, when a player travels up or down planes, multiloc objects only
have their varbit values updated on the tick after the plane change
occurs. Since these objects must be in their desired state before
checking their name, these fields are used to track both the player's
plane, and whether the plugin should wait an extra tick to process the
new plane's objects based on a plane change occurring.
2020-03-05 22:26:09 -08:00
Jordan Atwood bb0e693aea itemstats: Add tooltip string method tests
This commit adds tests to ensure proper formatting of the tooltip string
so as to prevent bugs like the one fixed by 7ca4a929.
2020-03-04 16:05:13 -08:00
Jordan Atwood 0451944522 itemstats: Fix unarmed attack speed
Since the writing of this plugin, the wiki has changed the format for
weapon attack speeds[1] and now displays weapon attack speeds in length
of game ticks. Hence, since unarmed attacks are at the rate of once
every 4 game ticks, this commit updates our definition of the unarmed
attack accordingly.

[1] https://oldschool.runescape.wiki/w/Unarmed?diff=8467472&oldid=7810087
2020-03-04 16:04:34 -08:00
Jordan Atwood 7ca4a929fe item stats: Fix tooltip stab bonus comparison
This fixes the bug introduced in commit af00494a which incorrectly
compared the attack speed field and labeled it "Stab" in the item stats
tooltip.

Fixes runelite/runelite#10926
2020-03-02 19:07:36 -08:00
Jordan Atwood 41c8d8aff1 HotColdLocation: Center some location spots
Center some hot-cold locations as reported and verified from the mega
issue.

Ref: runelite/runelite#9601
2020-02-27 21:25:50 -08:00
Jordan Atwood 896b417e66 util: Add subdirectory option to image captures
This commit adds an optional and nullable `subDir` string to the
`takeScreenshot()` function, allowing screenshots to be filed into a
subdirectory within the player's screenshots folder.
2020-02-23 09:25:35 -08:00
Jordan Atwood e3db56804e plugins: Use RSTimeUnit util where applicable
This replaces uses of `Duration#minusMillis()` and `TemporalUnit`
referencing units of time defined in RSTimeUnits with their definitions.

The Timers plugin constructors are changed to accept implementations of
the `TemporalUnit` interface as they do not require any
`ChronoUnit`-specific APIs. Furthermore, the timer lengths updated use
the game tick lengths described in the OSRS wiki, which generally
closely correspond to the previous length definitions we used.
2020-02-20 14:05:19 -08:00
Jordan Atwood 4f9c22c4c1 util: Create RSTimeUnit enum
This commit adds a list of time units used in some duration
calculations, specifically client ticks and game ticks.
2020-02-20 14:05:18 -08:00
Jordan Atwood 9e560d91e3 cluescroll plugin: Clear stale location clue hint arrows
Location clue scrolls added a hint arrow when the player was nearby one
of the clue's locations. It did not, however clear that arrow if the
locations were changed and the previously-set hint arrow location was no
longer marked. This commit updates this behavior to clear the active
hint arrow each game tick before re-adding any location hint arrows.
(and if no NPC hint arrows are set)

Fixes runelite/runelite#10370
2020-02-20 15:23:00 -05:00
09114ca83a timers: use poison varplayer for antipoison/venom timers
This commit allows the poison timer to be much more accurate as it
receives periodic updates from the server, and covers edge cases where
poison may be delayed or cured from sources besides potion clicks.
(banked potion drinks, HP orb "Cure" menu option, etc.)

This commit removes the `initialDelay` field from GameTimer as the field
was used only to chain antivenom timers into their follow-up antipoison
timers.

Fixes runelite/runelite#1471
Fixes runelite/runelite#10724

Co-authored-by: Lucas <lws.ned1260@gmail.com>
Co-authored-by: Adam <Adam@sigterm.info>
2020-02-15 19:37:44 -05:00
Jordan Atwood 967fadf59d Revert "timers plugin: Improve imbued heart detection"
This reverts commit 45c5df3379.
2020-02-14 09:01:44 -08:00
Jordan Atwood 5b28f343ca clues: Don't return clue instances for empty text
This commit ensures that all clues providing a static `forText()` method
return null when given an empty string as clue text.
2020-02-11 14:05:42 -08:00
Jordan Atwood 1b0cf969d7 ClueScrollPlugin: Reset clue on empty dev command
Fixes runelite/runelite#10775
2020-02-11 13:52:42 -08:00
Jordan AtwoodandLucas 45c5df3379 timers plugin: Improve imbued heart detection
As is the case with other graphics-based timers, the imbued heart timer
will not fire if enough other graphics animations are triggered (such as
those created when fighting the Dagannoth Kings). To add this timer more
reliably, this commit will add the timer when a Magic stat boost occurs
which is large enough that it can only be triggered by the heart.

Because the heart's boost scales with the player's level, it gives an
equal boost to the Magic essence and Magic potion boosts, depending on
the base magic level. To account for this, it will only be applied if
the user's base magic level is high enough to assuredly identify that a
potion was not used to trigger the boost.

Fixes runelite/runelite#3516

Co-authored-by: Lucas <lws.ned1260@gmail.com>
2020-02-08 18:57:22 -05:00
Jordan Atwood 13e69f8317 ConfigPlugin: Expand RuneLite plugin tags
This commit adds a number of related tags to the RuneLite configuration
in order to make it more easily discoverable as many users are not able
to find the settings it contains via search.

Closes runelite/runelite#8491
2020-02-03 22:39:24 -08:00
Jordan Atwood 73d37c061b HotColdSolver: Add same-temperature solution narrowing
The hot-cold solver previously was unable to perform narrowing if given
a temperature change of "SAME", leading to less-than-optimal results
when a number of otherwise-possible solutions could be removed from the
possible results by inferring that since they would have yielded a
"COLDER" or "WARMER" temperature change. This commit removes possible
solutions which are absolutely closer or farther from the previous
tested location.

One pre-exisitng test needed to be updated to pass with this change, as
it expected results to be narrowed more slowly than they now are. In
addition, a minimal test case with only two starting locations has been
added to demonstrate this change is working correctly.
2020-02-02 15:46:50 -08:00
Jordan Atwood 4ce575a1fd HotColdLocation: Center some location spots
Center some hot-cold locations as reported and verified from the mega
issue.

Ref: runelite/runelite#9601
2020-01-31 17:17:02 -08:00
Jordan Atwood dd771eaab7 woodcutting: Fix overlay hiding during long chop delays
This fixes a bug where the overlay would become hidden when chopping at
a tree without successfully chopping a log for longer than the
configured timeout, and would display "NOT woodcutting" if a log was
successfully chopped thereafter.

Fixes runelite/runelite#7506
2019-11-28 10:31:18 -08:00
Jordan Atwood 8a206e8c92 woodcutting: Add axe animation matching helper method 2019-11-28 10:29:56 -08:00
Jordan Atwood 8dc0e752c8 woodcutting: Reduce visibilities, mark Nullables 2019-11-28 10:29:45 -08:00
Jordan Atwood 503847f644 boosts: Hide restore timer when no boosts are visible
Fixes runelite/runelite#6983
2019-10-20 10:02:35 -07:00
Jordan Atwood 36bb7c8401 cluescrolls: Reset clue on new beginner/master step
When receiving a new beginner or master clue step (which can be detected
by checking the item ID shown in the chat dialog), the clue ID does not
change, because all beginner and master clues share a single ID. Hence,
we can reset the current clue when the "You've found a new clue!" dialog
appears to prevent stale clue information from persisting between steps.

Closes runelite/runelite#9830
2019-09-10 16:58:27 -07:00
Jordan Atwood 664ab26de9 slayerplugin: Fix first slayer kill not being registered
Because a user can have 0 slayer experience on a new account, we cannot
rely on 0 as the pre-login value. Prior to this change, a player getting
their first slayer kill in the described scenario would cause it not to
be counted toward the tracked task.
2019-08-21 09:11:00 -04:00
Jordan Atwood 1c6333410a hotcold: Center level 5 wilderness location
Ref: runelite/runelite#9601
2019-08-06 21:36:04 -07:00