Commit Graph
41 Commits
Author SHA1 Message Date
dekvall 5356e7c47e inventorygrid: re-add a delay to showing the overlay
If a player for example tries to drop an entire inventory quickly with the
overlay turned on, the inventory grid will flash for each small mouse movement
if the left mouse key is held down. This change mitigates the issue by adding a
delay option that controls the amount of time the user has to wait after
pressing it before enabling any overlay functionality. Showing the grid still
requires the mouse to be moved ~5px away from the first clicked position.

This delay just delays the activation of the overlay, as the the delay
countdown is started upon item press rather than the exit this ~5px range.
Making it respect the exit is needlessly complex as desired functionality is
reached with the current changeset.
2020-02-20 21:21:23 +01:00
dekvall 976ecd8f6b hiscores: add nightmare boss 2020-02-13 07:13:12 +01:00
dekvall 81dec7c136 clanchat plugin: strip leading / from clan tab chat messages
Users might accidentally prepend their message with / by force of habit.
2020-01-24 12:14:10 +01:00
dekvall 84a3f838b2 widgetid: change sound slider ids
They were moved back when the show unlock message option was added
2020-01-23 13:18:18 +01:00
dekvall 5ad94eae2e chatcommands: support keybinds in pms 2019-12-29 14:01:46 -05:00
dekvall c6d9b20ecb xp tracker: don't unpause on failed login
If the wrong password is entered, the xp tracker unpauses for a brief moment since
the GameState is no longer LOGIN_SCREEN.
2019-12-26 07:45:25 +01:00
dekvall b064c27079 widgetinfo: fix tithe farm score 2019-12-16 20:54:26 -05:00
dekvall 1b3fe266bc prayer-reorder: remove test
The plugin has been removed.
2019-11-27 21:23:57 +01:00
dekvall 51e951e4dc attack styles: add test for swap between bludgeon and bow
When swapping between bludgeon and bow, onWidgetHiddenChanged is called before
the weapon varbit is set. Since that varbit determines which widgets should be
hidden we would like to make sure the widget is set to hidden even after a
varbit change.
2019-11-14 09:54:00 +01:00
dekvall 87af40bec7 emojis: add facepalm emoji 2019-11-13 01:55:14 +01:00
dekvall 61a382299f emojis: add five new emojis
Added emojis are:
 - Fire `(/\)`
 - Alien `(@.@)`
 - Eggplant `8=D`
 - Wave `(^_^)/`
 - Heart eyes `(*.*)`
2019-11-06 12:42:01 +01:00
dekvall 4f2df0440b emojis: reduce file size of emoji icons
By stripping metadata from the images and compressing them by running
`optipng -o7 -strip all <emoji.png>` the file sizes went from 15kb or 1.1kb
to around 0.2-0.5kb.
2019-11-06 12:41:51 +01:00
dekvall 75e0824ba8 worldmap: add black border to wilderness crab teleport icon
The current border color was the same as the crab, greyish, and it looked a bit
off since all of the other worldmap icons have black borders.
2019-11-05 19:10:41 +01:00
dekvall 33f75c4917 inventorygrid: use mouse dragged distance to determine if overlay should show
Replace the time dependant showing of the inventory overlay with a distance
based one. An item sprite only follows the mouse if the mouse is held
down and dragged ~5 pixels. Thus, the overlay will only show when you are
certain to be dragging an item and the time-delay is unnecessary.

Original PR by Jbleezy.
2019-11-04 21:51:10 +01:00
dekvall 6aea005bfa chat timestamps: add timestamps to split private chat 2019-10-23 14:25:49 +02:00
dekvall f025082676 examine plugin: add pricecheck for trade interface 2019-10-22 19:48:41 -04:00
dekvall 1b60dbb575 random events: fix npe on login
on login, interactingChanged fires once with both player and target
set to null.
2019-10-23 01:47:04 +02:00
dekvall fbe9f71e70 loottracker: add confirm dialog to reset all 2019-10-22 21:18:33 +02:00
dekvall 27a304dce6 loottracker: add fishing trawler 2019-10-22 10:08:13 +02:00
dekvall a3ccd12db1 fishing: reset trawler start time when back on land 2019-10-22 10:08:13 +02:00
dekvall 9b569f8506 skill calc: clear combined action slot on skill change
It doesn't make much sense to combine actions across skills.
2019-10-18 16:19:26 +02:00
dekvall e50dd43c9d Clarify that blowpipe won't work with Robin clue
The ranged bonus of the toxic blowpipe is dynamic depending on darts
and does not count when trying to complete this cryptic clue.
2019-10-15 13:41:05 +02:00
dekvall 7971b88f7d XpTracker: Fix hopping to/from DMM worlds 2019-10-13 11:32:13 +02:00
dekvall 6d554aae1b Add wilderness canoe icon to world map
The wilderness canoe works like a portal teleport as it
is a one way transportation. I opted to use the normal transportation
icon in order to stay consistent with the other canoe stations,
though with a clarifying tooltip that no departures are to be made.
2019-10-11 11:52:36 +02:00
dekvall 019ed814ea item identification: show identifier for placeholders and noted items 2019-10-11 09:05:46 +02:00
dekvall e9a805c735 fishing: Set status to NOT fishing when the flying fish is active
Since you are not getting fish while the flying fish is active, you are not
actually fishing any minnows.

Closes #8584
2019-10-09 00:52:36 +02:00
dekvall a23411f7f2 xptracker: fix goals set from level 1
Since the base xp for level 1 is 0 the startLevelXp was initialized from
the current level which made the progress bar calculations wrong as they
were based on the xp earned from the current level base xp and not level 1.
2019-10-04 23:51:45 +02:00
dekvall 047861d8cd object indicators: add ability to mark wall objects 2019-10-01 15:16:54 +02:00
dekvall 3819994572 runelite-api: add convexhull to wallobject 2019-10-01 14:05:51 +02:00
dekvall 03216e5954 Inventorygrid: Draw image for replaced item 2019-09-28 03:39:30 +02:00
dekvall ce4f90f6fa mining plugin: fix respawn timers in misc and resource area
Fix respawn timers for:
 - Adamant rocks in Wilderness Resource area
 - Coal rocks in Miscellania

The doubled respawn rate of the adamant rocks is a possible Jagex bug as
they are the only type of rock within the Wilderness resource area to do so.
The coal rocks in Miscellania are mined for favour instead of ores
and therefore have a shortened respawn time.
2019-08-12 19:55:05 -04:00
dekvall c2111810d8 examine plugin: remove examine value for coins
Removed the GE and HA price message when examining coins since
it's redundant information.
2019-08-12 19:49:27 -04:00
dekvall 1abadb0c9c loottracker: fix order on client reload
The panel is currently rebuilt with the earliest loots at the top.
For the sake of consistency, it should be the other way around.

Closes #9575
2019-08-10 12:28:27 +02:00
dekvall ef4c628068 loottracker: remove timestamp from LootTrackerRecord 2019-08-10 11:36:45 +02:00
dekvall e0dcb668da attack styles: fix hide styles on weapon change
Hiding attack styles primarily relies on a subscription to
onWidgetHiddenChanged but when swapping between bludgeon and bow this event
fires before onVarbitChanged which means that when swapping quickly between
the two, the longrange option will not be hidden. Since the plugin uses info about
the weapon to determine in which skill xp will be gained and ultimately, which widgets
should be hidden, we need an extra call to ProcessWidgets after a weapon switch to ensure
expected behavior.
2019-08-09 09:40:48 -04:00
dekvall 688ab50647 attack styles: fix NPE in overlay 2019-08-09 09:40:48 -04:00
dekvall 2f15420a84 Disable inventory grid if the dragged item is removed 2019-08-08 01:40:49 +02:00
dekvall 9fe8e8347e Add Nullable to widget dragging methods
The docs say both return null if no item is dragged
2019-08-08 00:52:41 +02:00
dekvall 0c76f473ec Add Nullable to Client::getLocalPlayer
At startup on loginscreen this method returns null
2019-08-08 00:44:28 +02:00
dekvall 85a5eb0cf9 Fix NPE in groundmarker plugin
Right-clicking the void in puro-puro sets the selectedSceneTile to null.
2019-08-07 20:32:59 +02:00
dekvall efc37e00d5 Add Nullable to Actor::getName 2019-08-07 20:32:02 +02:00