Commit Graph
2945 Commits
Author SHA1 Message Date
Tomas Slusny 2d4c895e5e Properly check for changing values in raids plugin
- Determine if we are in raid on startup
- Properly reset state on shutdown
- Do not reset raid state when not necessary

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-08-06 21:49:32 +02:00
Adam 6cd71a9a34 scripts: update for game update 2018-08-06 08:39:46 -04:00
Tomas Slusny 94e5596d22 Merge pull request #4667 from deathbeam/move-index-to-db
Move isOverlayOutdated to IndexDatabase
2018-08-06 09:31:38 +02:00
Tomas Slusny 6644de3ac7 Merge pull request #4605 from Nightfirecat/remove-unused-slf4j
Remove unused @Slf4j annotations and imports
2018-08-06 07:28:36 +02:00
AdamandMagic fTail 4d35174d97 chat commands: add !cmb command
Co-authored-by: Magic fTail <runecnielsen3132@gmail.com>
2018-08-05 13:28:17 -04:00
Jordan Atwood 547f037330 Remove unused @Slf4j annotations and imports 2018-08-05 10:27:01 -07:00
Adam 4579869c0d Merge pull request #4510 from takuyakanbr/time-tracking
Add time tracking plugin
2018-08-05 12:46:17 -04:00
Tomas Slusny b07f470930 Merge pull request #4673 from deathbeam/remove-headers
Remove unnecessary headers from plugin panels
2018-08-05 12:15:27 +02:00
Tomas Slusny 2c410dea07 Merge pull request #4683 from deathbeam/add-tourney-world-type
Add Tournament world type
2018-08-05 12:06:29 +02:00
Tomas Slusny 6f77fe28ee Merge pull request #4709 from deathbeam/fix-canvas-focus
Add null-check for game canvas
2018-08-05 12:06:09 +02:00
Tomas Slusny 9b4dd209c2 Merge pull request #4703 from JaimySmets/4645-werewolf-agility-course
Add obstacles to Werewolf court
2018-08-05 11:55:34 +02:00
Tomas Slusny cbff6293ba Merge pull request #4706 from JaimySmets/4694-idle-notifier-make-tabs
Add tablet creation animation to idle notifier
2018-08-05 11:54:12 +02:00
Brady 5738b3a99f Add missing shortcuts to trollheim (#4711)
Fixes #4701 

Added two agility shortcuts that were not added in trollheim.

![selection_002](https://user-images.githubusercontent.com/21043852/43680660-122fc28a-980d-11e8-8bea-8e9fa9eed0ea.png)
2018-08-05 11:53:44 +02:00
Adam 19cf1fd344 ge plugin: fix accessing item composition from executor thread 2018-08-04 17:03:55 -04:00
Adam b72bda1c75 item manager: assert item composition access is done from client thread 2018-08-04 17:03:24 -04:00
takuyakanbr a8c418d180 time tracking: add overview tab 2018-08-05 01:54:05 +08:00
takuyakanbr 8435004956 time tracking: add clock panel 2018-08-05 01:54:04 +08:00
Tomas Slusny 7effa9ee50 Add null-check for game canvas
If frame is opened too fast and game did not managed to create the
canvas yet, frame will crash during startup on NPE.

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-08-04 19:48:25 +02:00
Jaimy Smets 8f85733883 Add tablet creation animation to idle notifier
Resolves #4694

Signed-off-by: Jaimy Smets <smets.jaimy@hotmail.com>
2018-08-04 17:37:42 +02:00
Jaimy Smets 06fed05f76 Add obstacles to Werewolf court
Resolves #4645

Signed-off-by: Jaimy Smets <smets.jaimy@hotmail.com>
2018-08-04 16:53:58 +02:00
takuyakanbr 15e0fd4306 time tracking: add bird house tracker 2018-08-04 21:01:52 +08:00
takuyakanbr b502964142 Convert farming tracker to time tracking plugin 2018-08-04 21:01:44 +08:00
Tomas Slusny 73645c0f2b Remove unnecessary headers from plugin panels
Now all plugin panels have tooltips so the headers are not necessary and
most of plugins do not have them already.

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-08-04 13:00:11 +02:00
Jordan Atwood 5c219c7ea5 ImageUtil: Add getResourceStreamFromClass method
This replaces invocations of `Class.getResourceAsStream(path)` in order
to relieve plugin/client code from managing synchronization and handling
exceptions.
2018-08-04 01:11:51 -07:00
Jordan Atwood 37092ce423 xp tracker plugin: Use shared image for icon 2018-08-04 01:11:00 -07:00
Jordan Atwood c8ba452c84 screenshot plugin: Use Sprite ID for overlay image 2018-08-04 01:10:59 -07:00
Jordan Atwood 24bc03bb1d raids plugin: Use Sprite ID for raids timer 2018-08-04 01:10:58 -07:00
Jordan Atwood 470966d0d6 puzzle solver plugin: Use Sprite ID for overlay image 2018-08-04 01:10:56 -07:00
Jordan Atwood 39ac378f4d kingdom plugin: Use Item ID for overlay image 2018-08-04 01:10:55 -07:00
Jordan Atwood ef4ce9708e hiscores plugin: Remove duplicate skill icon images 2018-08-04 01:10:54 -07:00
Jordan Atwood 2ccb2c7f5b fight caves plugin: Use Sprite IDs for overlay images 2018-08-04 01:10:52 -07:00
Jordan Atwood 99e2d766d6 death indicator plugin: Use Item IDs for overlays 2018-08-04 01:10:51 -07:00
Jordan Atwood ecea2e28ca clue scroll plugin: Use Item IDs for overlays 2018-08-04 01:10:49 -07:00
Jordan Atwood bcaa92905f agility plugin: Use Item ID for arena timer 2018-08-04 01:10:48 -07:00
Jordan Atwood ff31ffef01 plugins: Use shared clue arrow and reset images
These images are used throughout multiple plugins, thus are moved to a
new utility directory.
2018-08-04 01:10:46 -07:00
Jordan Atwood d6e465877e clan manager: Use Sprite IDs for rank badges
This commit adds `ImageUtil::resizeCanvas`, `ImageUtil::outlineImage`,
and `ImageUtil::fillImage`, and applies these functions to the clan
manager to replace the clan rank images with calls to `SpriteManager`.
2018-08-04 01:10:45 -07:00
Jordan Atwood 8fb36d3ea4 resources: Remove derivative images
This commit adds `ImageUtil::bufferedImageFromImage`,
`ImageUtil::alphaOffset`, `ImageUtil::grayscaleImage`, and
`ImageUtil::flipImage` functions and applies them to client and plugin
code to remove unneeded derivative images from the resources directory.
2018-08-04 01:10:44 -07:00
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
Tomas Slusny 027c3ce843 Add Tournament world type
Fixes #4682

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-08-03 22:26:34 +02:00
AdamandTomas Slusny 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 5a152f0514 Move isOverlayOutdated to IndexDatabase
Instead of creating new callback and then simply setting boolean on
RuneLite to dump it somewhere, expose this boolean from IndexDatabase
and remove injection of RuneLite.

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-08-03 11:09:54 +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