Commit Graph

2906 Commits

Author SHA1 Message Date
Jordan Atwood
06cd5cd7d0 Add image utility class 2018-08-04 01:10:42 -07:00
Jordan Atwood
f0799ffe79 SwingUtil: Fix grayscaleOffset to not modify alpha
With previous code, grayscaleOffset was modifying all image components
(including alpha), instead of only the color components. This commit
fixes that by using a `RescaleOp` instead, which allows for distinct
modifiers per component.
2018-08-04 01:10:40 -07:00
Jordan Atwood
3963785de9 resources: Remove unused images
This removes the now-unused images left over from the removed special
attack orb plugin and plugin rework for new title toolbar.
2018-08-04 01:10:23 -07:00
Tomas Slusny
a535a809e6 Merge pull request #4655 from Nightfirecat/update-chat-commands-to-check-for-space-after-command
chat commands plugin: Use consistent message check
2018-08-04 10:02:59 +02:00
Tomas Slusny
3bcf87b327 Merge pull request #4627 from Kamielvf/itemstats-fix
item stats: fix tooltip not appearing when hovering over item
2018-08-04 09:55:38 +02:00
Adam
8cc4059525 Fix applying default config to session settings
cda98f moved the plugin manager to not be registered on the eventbus until
after the session was opened. The session config was relying on the plugin
manager applying the default config based on the session open event.

This moves session loading to be prior to applying the default config, so newly
added config options get properly set at startup.

Fixes config panel breaking which expects the config to always have non-null
values for config items with defaults.

Co-authored-by: Tomas Slusny <slusnucky@gmail.com>
2018-08-03 16:09:08 -04:00
Adam
38ab0c329e Merge pull request #4630 from deathbeam/fix-logger-tooltip
Account for linked item id, format tooltip
2018-08-03 15:40:01 -04:00
Tomas Slusny
eed9c447c6 Merge pull request #4631 from Kamielvf/menu-swapper-fairy-ring-fix
menu entry swapper: fix fairy ring swaps not working for zanaris ring, arceuus ring and PoH tree-ring combo
2018-08-03 19:49:44 +02:00
Tomas Slusny
14b654c9a5 Account for linked item id, format tooltip
- Account for linked item id when getting item price
- Format item price tooltip
- Create new data structure for loot tracker and precompute it
to avoid calling methods that are unsafe outside of client thread

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-08-03 11:22:04 +02:00
Tomas Slusny
9964d5f327 Merge pull request #4640 from deathbeam/fix-screen-marker-name
Use correct marker name when cancelling edit
2018-08-03 08:33:38 +02:00
Tomas Slusny
7f291fb95d Merge pull request #4664 from MagicfTail/Pharao-scepter
Add pharaoh's sceptres, tome of fire, and toxic staff of the dead item mappings
2018-08-03 08:31:10 +02:00
Magic fTail
58701aa3d1 Add pharaoh's sceptres, Toxic staff of the dead, tome of fire item maps 2018-08-03 08:15:25 +02:00
Tomas Slusny
be993f5d1c Merge pull request #4626 from Kamielvf/fix-clear-public
chat history: clear public chat when menu option is clicked
2018-08-03 08:10:00 +02:00
Tomas Slusny
9791d9271f Merge pull request #4654 from Nightfirecat/fix-kandarin-achievement-diary-mining-requirement
achievement diary plugin: Fix coal mining req
2018-08-03 08:03:29 +02:00
Kamiel
46ecd431c4 player indicators: draw tile highlight on ABOVE_SCENE layer (#4629)
Fixes #1564
2018-08-03 08:03:14 +02:00
Adam
ca7ca3a7a0 Disable zoom extender when a cache overlay fails to load
The zoom extender relies on multiple scripts to be up to date. If only one is changed, its functionality breaks badly.
2018-08-02 18:52:30 -04:00
Jordan Atwood
3159a02edf chat commands plugin: Use consistent message check
All chat messages are either checked for equality to command strings
which are not followed by spaces or are checked to start with command
strings followed by a space, and use the constants' length (plus one,
for the space) to get the command argument.
2018-08-02 11:59:27 -07:00
Jordan Atwood
bb2c800875 achievement diary plugin: Fix coal mining req
Fixes runelite/runelite#4646
2018-08-02 11:38:14 -07:00
Runelite auto updater
1b2eb7eeaf [maven-release-plugin] prepare for next development iteration 2018-08-02 13:29:49 +00:00
Runelite auto updater
70e4294b33 [maven-release-plugin] prepare release runelite-parent-1.4.10 2018-08-02 13:29:42 +00:00
Adam
537a97e145 runelite-client: update options panel rebuilder script for game update 2018-08-02 09:00:26 -04:00
Tomas Slusny
64c71385a9 Remove special cased wizard death from loot manage
Remove special cased wizard death animations from loot manager as as of
latest OSRS update this now works normally:

The Elemental Wizards south of Falador now give loot at the end of their
death animation rather than the beginning.

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-08-02 12:43:19 +02:00
Tomas Slusny
4ce0f31846 Merge pull request #4625 from Kamielvf/fix-shiftmodifier-focus-lost
fix menu entry swapper shiftModifier getting stuck on focus lost
2018-08-02 10:33:44 +02:00
Tomas Slusny
30ecd21120 Merge pull request #4638 from deathbeam/fix-clientui-sidebar
Reverse ClientUI sidebar condition
2018-08-02 10:25:01 +02:00
Tomas Slusny
08f96d2e38 Use correct marker name when cancelling edit
Instead of using marker overlay name use marker name, as marker overlay
name contains date.

Fixes #4634

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-08-02 08:30:14 +02:00
Tomas Slusny
b3d9de7a41 Reverse ClientUI sidebar condition
- Reverse ClientUI sidebar condition as when opening sidebar is always
open so current master will effectively shrink window instead of
restoring to correct size
- Apply this condition also to KEEP_WINDOW_SIZE

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-08-02 07:57:44 +02:00
Kamiel
a4f35255be instance map: properly remove mouse listener on shutdown
Fixes #3473
2018-08-02 01:41:05 +02:00
Kamiel
dd852dbd89 menu entry swapper: fix zanaris swap not working for PoH tree-ring combo 2018-08-02 01:05:21 +02:00
Kamiel
00e9d1cd1f menu entry swapper: fix zanaris fairy ring not being recognized
Fixes #1639
2018-08-02 00:55:24 +02:00
Kamiel
d000b60b5c menu entry swapper: fix last destination on arceuus fairy ring
Fixes #2590
2018-08-02 00:44:31 +02:00
Kamiel
24749adca7 item stats: fix tooltip not appearing when hovering over item
Fixes #1505
2018-08-02 00:11:09 +02:00
Kamiel
b05d17f6e0 chat history: clear public chat when menu option is clicked
Fixes  #1292
2018-08-01 23:50:34 +02:00
Kamiel
dc38c15558 fix menu entry swapper shiftModifier getting stuck on focus lost
fixes #3289
2018-08-01 23:16:59 +02:00
Tomas Slusny
7598aa0250 Fix LootManager zulrah location
We pack scene x/y and not world x/y, so create world point from scene.

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-08-01 19:55:26 +02:00
Tomas Slusny
19f3d05dae Merge pull request #4611 from Nightfirecat/add-ungael-obstacles
agility: Add Ungael obstacles
2018-08-01 12:02:12 +02:00
Tomas Slusny
9fe667c763 Merge pull request #4547 from Abextm/fairy-ring-defer
Prevent crash when updating the fairy ring filter
2018-08-01 10:18:47 +02:00
Tomas Slusny
dd07ff033f Merge pull request #4588 from Abextm/no-key-released
runelite-client: Make hotkeys run on KeyPressed
2018-08-01 10:14:07 +02:00
Jordan Atwood
d617ff5985 agility: Add Ungael obstacles
Ref:
https://user-images.githubusercontent.com/2199511/43506201-e027cfaa-9558-11e8-89f7-f0efbabcdc8f.png
https://user-images.githubusercontent.com/2199511/43506202-e043a72a-9558-11e8-984a-5fd9214e889d.png
https://user-images.githubusercontent.com/2199511/43506203-e05d3dc0-9558-11e8-852d-1cf06b99f29d.png
https://user-images.githubusercontent.com/2199511/43506204-e0751c24-9558-11e8-9e33-19ec490b4edb.png
https://user-images.githubusercontent.com/2199511/43506638-2e190156-955a-11e8-90fe-80fa28603b6e.png
https://user-images.githubusercontent.com/2199511/43506639-2e30a040-955a-11e8-8fee-54882adb2f80.png
https://user-images.githubusercontent.com/2199511/43506640-2e4a1a02-955a-11e8-8e72-65742dd776ca.png

Fixes runelite/runelite#2629
2018-08-01 00:12:58 -07:00
Jordan Atwood
39e3f6fb7e clues: Fix Lumbridge swamp cave emote clue location
Ref: https://user-images.githubusercontent.com/2199511/43506141-b57a40e4-9558-11e8-9e4d-a6a5ddbdcd4a.png
2018-08-01 00:01:31 -07:00
Magic fTail
205599f4db Clarify wording of default log tracker message (#4602)
It doesn't only track kills, but also clues and raids completions
2018-08-01 00:38:37 +02:00
rswindows10
da2ced6f34 Add support for crafting leather idle notification (#4600)
Fixes #4599
2018-08-01 00:11:05 +02:00
Tomas Slusny
5b963ce240 Merge pull request #4596 from JaimySmets/4593-emote-clue-dragon-pickaxe
Add alternative dragon pickaxes to emote clue
2018-08-01 00:05:56 +02:00
Tomas Slusny
126e10cc6f Merge pull request #4555 from deathbeam/lootevents
Add loot tracker
2018-07-31 23:49:47 +02:00
psikoi
9b49e9d6a7 Add loot tracker plugin
Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-07-31 22:25:27 +02:00
Adam
f6b44a502e Add LootManager
Add loot manager that will manage item drops received and stream them as
item drop events for correct entity with correct items.

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-07-31 20:59:04 +02:00
Jaimy Smets
3a52cb053d Add alternative dragon pickaxes to emote clue
Fixes #4593

Signed-off-by: Jaimy Smets <smets.jaimy@hotmail.com>
2018-07-31 20:35:24 +02:00
Tomas Slusny
9146b76b17 Fix FontManagerTest package
Change cache.ui to client.ui

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-07-31 11:54:42 +02:00
forsco
0c3380c500 Add flick helper to player bar (#3882)
Allows the player to toggle the prayer flick location between the Quick Prayer Orb, Prayer Bar or Both.
2018-07-31 10:52:52 +02:00
aquivers
6d99d3abcb Add spade requirement reminder to fairy ring clues (#4585)
Fixes #4449
2018-07-31 10:36:21 +02:00
Max Weber
d581f3e55e runelite-client: Make hotkeys run on KeyPressed
Finding when keyUp actually happens is difficult because you have to store state to tell if a key is up on modifier or it's optional non-modifier. The current implementation is good enough for masking events, but not accurate enough for generating them

Fixes #4513
2018-07-31 02:16:12 -06:00