Commit Graph

10231 Commits

Author SHA1 Message Date
Broooklyn
bf69f263b0 chatnotifications: add private message notification 2021-02-05 10:07:27 -05:00
Adam
e71b18b02b chat history: fix replaying runelite-formatted messages
This stores the underlying message node, which may be updated much later with a
new message value if a command is used, and replays that. Previously
this was storing and replaying the raw RL formatted message, which is
why colors would be stripped off of RL-formatted messages on replay.

This also no longer triggers chat message events from history replay,
which fixes commands incorrectly refiring from replay (and thus the nbsp
hack), and fixes the chat notifier sending notifications for replayed
messages.
2021-02-04 20:53:41 -05:00
Adam
a2b2d049cc chat message manager: format runelite messages prior to adding
This allows plugins listening for the chat message event to get the runelite formatted message
2021-02-04 20:53:40 -05:00
Adam
236c23b25e chat command manager: remove unnecessary null tests 2021-02-04 20:53:40 -05:00
Adam
29747b1ea7 api: add an addChatMessage method overload to allow skipping events 2021-02-04 20:53:39 -05:00
Adam
fc8360f6cc config manager: require config group and key when setting configuration 2021-02-04 16:18:18 -05:00
Adam
7b5fb1fb76 clue scroll plugin: fix test 2021-02-04 13:41:32 -05:00
Adam
1ae0770705 bank tags: allow plugins to register their own tag names
This also moves the clue tab logic into the clue plugin and inverts the bank tags -> clue plugin dependency
2021-02-04 11:39:38 -05:00
Jordan
8c5354b510 Merge pull request #12975 from akhtar-u/grounditems
grounditems: add despawn timer for items placed on tables
2021-02-04 06:00:49 +00:00
Usman Akhtar
e90b8293de grounditems: Add despawn timer for items placed on tables 2021-02-03 17:45:42 -05:00
Usman Akhtar
4f6f518a15 worldmap: use boosted level for map icon tooltips 2021-02-03 17:18:16 -05:00
Adam
263b02ac14 config manager: use createTempFile for config temp file
With multiple clients with different configs saving at once, the same temp file was being used, which can cause it to not save or to move() a temp file from a different client
2021-02-03 15:05:25 -05:00
Taylor Abraham
27fb56f5b8 music: Make volume percent visible when hovering handle 2021-02-03 11:31:02 -05:00
Jonatino
9381e62f6d Fix incorrect named value when storing FlatStorage caches 2021-02-03 10:54:52 -05:00
Jonathan Lee
a6841c5ceb loot tracker: add support for isle of souls chests
They have the same description and behavior as stone chest. From melky test:

2021-02-03 13:54:03 [Client] DEBUG n.r.c.p.l.LootTrackerPlugin - Tick: 417
2021-02-03 13:54:04 [Client] DEBUG client-patch - Chat message type SPAM: You manage to unlock the chest.
2021-02-03 13:54:04 [Client] DEBUG n.r.c.p.l.LootTrackerPlugin - Tick: 418
2021-02-03 13:54:04 [Client] DEBUG client-patch - Chat message type SPAM: You steal some loot from the chest.
2021-02-03 13:54:04 [Client] DEBUG n.r.c.p.l.LootTrackerPlugin - Received icc: [Item(id=12791, quantity=1), Item(id=13068, quantity=1), Item(id=13222, quantity=1), Item(id=13069, quantity=1), Item(id=5698, quantity=1), Item(id=6705, quantity=1), Item(id=6705, quantity=1), Item(id=6705, quantity=1), Item(id=6705, quantity=1), Item(id=6705, quantity=1), Item(id=6705, quantity=1), Item(id=6705, quantity=1), Item(id=228, quantity=2), Item(id=12631, quantity=1), Item(id=11953, quantity=1), Item(id=1523, quantity=1), Item(id=1523, quantity=1), Item(id=1355, quantity=1), Item(id=314, quantity=121), Item(id=1621, quantity=1), Item(id=2510, quantity=8)] tick: 418
2021-02-03 10:29:48 -05:00
Adam
a58b2d3fdf Revert "image component: support setPreferredSize"
This reverts commit 5e7242388d.
2021-02-02 23:26:18 -05:00
Jordan Atwood
bbfa08f8b7 MenuOptionClicked: Add selectedItemIndex field 2021-02-02 22:58:41 -05:00
Adam
5e7242388d image component: support setPreferredSize 2021-02-02 21:15:39 -05:00
Broooklyn
e4d5450283 worldmap: add Shades of Mort'ton minigame location 2021-02-02 19:59:18 -05:00
Broooklyn
b5b64bc9ee loottracker: add Gold Chest tracking (Shades of Mort'ton) 2021-02-02 19:59:18 -05:00
Psikoi
fe01c7dbf4 Resize and tweak hiscores boss icons 2021-01-31 23:44:17 -05:00
Adam
ab4bb3bc97 Revert "runelite-client: Don't use system specific modifier key names"
This reverts commit 962bc58178.
2021-01-31 12:37:29 -05:00
Broooklyn
cdba2ef297 hotkey button: use default font 2021-01-31 12:33:01 -05:00
Adam
ca56ef1082 Apply default font to text with unicode characters
MacOS does not support fallback fonts, and any character not in our RS
fonts do not render correctly.

We only render unicode characters a handful of places, mostly for the
check mark/cross in overlays, and on the icon text field suggestion
button. So this sets the font of those places to the default system font
which can render them correctly.
2021-01-30 19:30:56 -05:00
Max Weber
243929826b ReflectUtil: allow privateLookupIn cross-classloader with JDK-8173978 2021-01-30 11:24:18 -05:00
Max Weber
2b3ce15516 don't use gson's reflection serialization on non RuneLite classes
java >=16 disallows access to most private fields which makes these
fail with the reflection type adapter
2021-01-30 11:24:18 -05:00
Adam
61f732d330 tile: add setter for ground object 2021-01-30 11:17:00 -05:00
Adam
e3b0755385 world hopper: move hop() to client thread 2021-01-29 14:40:49 -05:00
Jordan
d01073506b Merge pull request #13117 from Broooklyn/sw-bandages-update
itemstats: Update Soul Wars Bandages healing
2021-01-28 23:53:14 +00:00
Jordan
718165244d Merge pull request #13120 from Broooklyn/npc-indicators-colortags 2021-01-28 09:05:42 +00:00
Adam
84661dfe52 api: remove npc action changed event
Despite menu manager using this, the methods to register npc menu options was removed awhile ago, and so it is unused
2021-01-27 21:01:03 -05:00
Adam
f5df6a0298 menu manager: preserve managed menu option ordering
Also add a check that the menu being added is of type CC_OP so that we know getWidgetId() is valid
2021-01-27 21:01:02 -05:00
Broooklyn
267dbb3231 npc indicators: remove tags from minimap npc name 2021-01-27 20:26:50 -05:00
Broooklyn
42e745881f itemstats: Update Soul Wars Bandages healing 2021-01-27 10:20:01 -05:00
Runelite auto updater
585bdc65d4 Bump for 1.6.39-SNAPSHOT 2021-01-27 11:49:39 +00:00
Runelite auto updater
5eab226b37 Release 1.6.38 2021-01-27 11:49:30 +00:00
Adam
2be9fe9df3 slayer plugin: update task completion message parsing 2021-01-27 03:59:23 -07:00
RuneLite Cache-Code Autoupdater
3c9674f63e Update NPC IDs to 2021-1-27 2021-01-26 16:53:31 -07:00
RuneLite Cache-Code Autoupdater
93a4a4c379 Update Object IDs to 2021-1-27 2021-01-26 16:53:31 -07:00
RuneLite Cache-Code Autoupdater
805158a644 Update Item variations to 2021-1-27 2021-01-26 16:53:31 -07:00
RuneLite Cache-Code Autoupdater
8aee2fb0c2 Update Item IDs to 2021-1-27 2021-01-26 16:53:31 -07:00
loldudester
d68d66b01d Fix javadoc cutting off descriptions
Co-authored-by: Jordan Atwood <nightfirecat@protonmail.com>
2021-01-25 19:49:18 -08:00
Adam
f6c68eefc8 api: remove PlayerMenuOptionClicked
There is only one legitimate use of this, which is in the hiscore
plugin, but it is simple to replace it with a normal menu option clicked
event. Additionally the world hopper was incorrectly using this event
for the Hop option, so it has been changed to use the menu option
clicked event.
2021-01-25 20:20:27 -05:00
Adam
426265c765 ground markers: add option to export and import
Co-authored-by: Paul Norton <napkinorton@gmail.com>
2021-01-25 18:50:59 -05:00
Jordan
cc56854da9 Merge pull request #12893 from Hydrox6/timetracking-soonest
timetracking: Add option to show the soonest completion time of a tab
2021-01-25 08:13:06 +00:00
Cyborger1
a5b6e279a8 idle notifier: Add low & high energy notifications (#12995)
Co-authored-by: Reasel <tannermjelde@gmail.com>
2021-01-25 08:05:55 +00:00
wrightmalone
49138527f8 xp globes: add option to show virtual level in tooltip
Co-authored-by: Adam <Adam@sigterm.info>
2021-01-24 19:30:19 -05:00
Psikoi
d0bf05ddd9 hiscore panel: update boss icons
This uses a new boss icon set from Psikoi he made for wiseoldman
2021-01-24 16:39:01 -05:00
Adam
f6953f3bef inventory tags: add fill tag option
This changes the display mode selector to be several separate options so
that users can select multiple, such as outline and fill.

Co-authored-by: Jordan <Nightfirecat@users.noreply.github.com>
Co-authored-by: 1jz <philipgolovin@gmail.com>
2021-01-24 16:23:57 -05:00
Adam
46434c304c image util: simplify fillImage alpha check 2021-01-24 16:23:57 -05:00