Commit Graph
138 Commits
Author SHA1 Message Date
AdamandJustin Kufro 1ad41c76fd idle notifier: add spec regen notifier
Co-authored-by: Justin Kufro <kufroj@gmail.com>
2018-12-09 10:47:42 -05:00
tanlines 83eee1f074 screenshot plugin: add screenshot on valuable/untradeable item drop 2018-12-05 09:17:28 -05:00
Adam e3c243e1e0 Move EventBus implementation to runelite-client 2018-12-01 19:08:26 -05:00
Tomas Slusny 0281237b99 Replace usages of Guava EventBus with custom one
Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-12-01 16:41:09 -05:00
Twiglet1022 c4bea02599 Improve responsiveness of fishing idle notification (#6457)
Move fishing idle notification from animation-based to interaction based to enhance the responsiveness of it.
2018-11-25 13:12:40 +00:00
Michael 42542ddad9 Add support for parsing first slayer task (#6677)
Fixes #5945
2018-11-25 13:08:24 +00:00
Adam c28f53cd4a gpu: move common compute header to its own file 2018-11-23 13:22:13 -05:00
Brett 8452409937 Add tooltip to show levels required for next combat level (#5764)
* Add new final int under `Experience.java` for maximum combat level
* Add overlay that will calculate which skills and how many levels are necessary to increase combat
* Add new configuration page for the combat level plugin
* Create tests to ensure calculations are accurate

![image](https://user-images.githubusercontent.com/21368969/46361707-ec9acd80-c633-11e8-8467-90edab14f744.png)

![image](https://user-images.githubusercontent.com/21368969/46361749-03d9bb00-c634-11e8-9012-a0dd586ff4cb.png)
The tooltip will leave out anything you are unable to gain a combat level through training.

Closes #448
2018-11-20 10:26:38 +01:00
Adam 3f5e273349 Add GPU renderer 2018-11-15 09:37:36 -05:00
Tomas Slusny 91dd07f405 Make ItemVariationsMapping use generated json
This adds support for many new variations (mostly slayer helmets,
tridents and items with different ids but same names).

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-11-03 18:30:55 +01:00
Tomas Slusny 3f904d3804 Merge pull request #6244 from deathbeam/idle-notifier-fixes
Properly update last action times in Idle Notifier
2018-11-03 12:44:30 +01:00
Ron Young 7d4fa67af6 Add ItemVariationMapping enum and test
Add mapping for item variations to base items and test for it.
2018-10-31 10:36:29 +01:00
Hydrox6 0432ce4ca9 Merge multiple varbitChanged events in AttackStyles to one (#6258)
There's no good reason for this plugin to have 3 separate events for a Varbit changing.
2018-10-30 17:31:47 +01:00
Tomas Slusny 4800560dee Fix combat brace slayer test after double trouble addition
Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-10-29 12:39:42 +01:00
Tomas Slusny 4e8df5f6f2 Merge pull request #6164 from deathbeam/fix-combat-brace-race-condition
Fix combat brace slayer task race condition
2018-10-29 12:23:24 +01:00
Tomas Slusny 6515174e18 Properly update last action times in Idle Notifier
- Properly update last action times in Idle Notifier right after the
action is changed/updated.
- Do not reset lastCombatCountdown in resetTimers()

Supersedes/closes #6241
Extracted from #5369

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-10-29 11:58:13 +01:00
Dustin db684d8d1b Stop slayer kills desync for Grotesque Guardians with Double Trouble reward active (#5983)
Correctly reduce task amount by 2 if killing Grotesque Guardians with the Double Trouble slayer reward enabled

Fixes #4336
2018-10-28 08:44:06 +01:00
Tomas Slusny 338794f8f3 Fix combat brace slayer task race condition
Apparently combat bracelet message is sent before XP drop is received,
so task updates to correct amount and then is substracted by 1. To
combat this, virtually increase amount by 1 so the xp drop will
substract to correct amount.

Closes #6091

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-10-24 17:22:29 +02:00
Adam 5eae5201f1 runelite-client: add Twitch chat plugin 2018-10-22 21:44:53 -04:00
Jordan Atwood 8594cd4a93 slayer: Add combat bracelet task update handling
Fixes runelite/runelite#4473
2018-10-12 14:35:24 -07:00
Tomas Slusny f6588ae3ba Correctly parse slayer task with the and breaks in npc name
This fixes e.g chaos elemental task assignment.

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-10-10 17:34:33 +02:00
Kamiel 44dcba2f10 Fix chat notification highlight words split regex (#5798)
Fixes an issue where the chat notifications plugin would not split word highlights with input as `some,highlight` even though they are supposed to be valid
2018-10-08 15:18:48 +02:00
Tomas Slusny 6b5c0d719c Merge pull request #5784 from NathenSample/fix/DontUseNF
Improve readability of stackformatter tests
2018-10-05 10:51:28 +02:00
Nathen Sample fd50e773be Add support for partner assignment to slayer plugin (#5782) 2018-10-04 15:12:32 +02:00
Nathen Sample e3b33a7d61 Improve readability of stackformatter tests 2018-10-03 18:17:18 +01:00
robinwithes 2adb760f02 Add support for parsing Wilderness assignment updates to slayer plugin (#5757)
Fixes #5687
2018-10-03 15:00:20 +02:00
Jordan Atwood 20922aea9a slayer plugin: Add parsing for boss task assignments
Ref: https://user-images.githubusercontent.com/2199511/45984305-f9c22600-c04f-11e8-8cda-a8f4ab40e678.png
2018-09-24 16:05:55 -07:00
Max Weber f117ac082a idlenotifier: Correctly warn about AFK kicking 2018-09-17 15:23:31 -06:00
Tomas Slusny b90d37c8ec Use mouse/keyboard idle state properly in IdleNotifier
- Use mouseLastPressedMillis instead of mouseIdleTicks as
only mouse press events indicate that player is idle, and not mouse
movements
- Use also keyboard check when resetting idle when active

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-09-09 04:38:44 +02:00
Magic fTail e1036922f3 Add support for combat idle 20 minute timer
- Add support for timer that will reset each time hitsplat is applied to
local player and timeout after 20 mins
- Make idle logout configurable
- Add unit tests for new functionality
2018-09-02 10:14:09 +02:00
Tomas Slusny 232fd73247 Fix setting of barrows kc from chat
Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-08-26 19:26:01 +02:00
Tomas Slusny e2d6b13b47 Merge pull request #3412 from deathbeam/idle-notifer-combat-attack
Idle notifier fix combat notifications, reset notifications on interaction
2018-08-25 12:13:34 +02:00
Jamy C e2391eb99b TimeTracking: Refactor time parsing and add tests (#5050) 2018-08-22 08:20:07 +02:00
Tomas Slusny 960e7aad19 Add idle notifier plugin tests
- Add tests for combat idle, combat reset and combat logout
- Add tests for animation idle, animation reset and animation logout

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-08-20 13:09:28 +02:00
Tomas Slusny 553eeb03d1 Add tests for parsing NPC list
Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-08-20 10:59:35 +02:00
takuyakanbr b502964142 Convert farming tracker to time tracking plugin 2018-08-04 21:01:44 +08: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
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
Jordan Atwood 29777c0b1f Add color utility class
In addition to creating `colorTag`, `prependColorTag`, and
`wrapWithColorTag` functions, this commit moves
`SwingUtil::toHexColor` and `SwingUtil::colorLerp` to this new class.
2018-07-26 19:21:29 -07:00
Tomas Slusny 66bfbc5648 Send launch properties around as bound constants
Instead of exposing static variable provide launch properties to
dependant classes as bound constants in RuneLiteModule.

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-07-21 23:05:22 +02:00
Tomas Slusny 8909871554 Inject and load RS client and applet through Guice
Instead of requiring to create client from RuneLite just use Guice for
it and separate applet provider.

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-07-21 23:05:22 +02:00
Tomas Slusny 0f0ac2ab64 Allow RS loading classes to be used with Guice
- Provide OkHttpClient through Guice instead of using it from static
variable
- Chain the RS classes with Guice and inject ClientLoader to RuneLite
class
- Cleanup RS loading classes a bit

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-07-21 23:05:19 +02:00
Tomas Slusny dcbccbb01b Move rs-client related classes to own package
To properly differentiate between client loading logic, move these
classes to own package.

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-07-21 22:33:46 +02:00
Magic fTail ddc14df306 screenshot plugin: capture ToB rewards 2018-07-17 20:16:28 -04:00
Jordan Atwood 9cf09eee79 text: Fix removeTags for isolated < and > chars
Fixes runelite/runelite#4355
2018-07-16 10:19:30 -07:00
Magic fTail 3bc9eb7f84 ScreenshotPlugin: fix naming of event 2018-07-15 02:12:31 +02:00
AdamandMagic fTail b1038142cb screenshot plugin: fix hunter level up screenshots
Co-authored-by: Magic fTail <runecnielsen3132@gmail.com>
2018-07-14 15:53:07 -04:00
AdamandMagic fTail dfa892c2bc screenshot plugin: rename "raids" to "chambers of xeric"
Co-authored-by: Magic fTail <runecnielsen3132@gmail.com>
2018-07-14 15:53:02 -04:00