Tomas Slusny
34e95cdafe
Reset Discord state if now > updated + timeout
...
Correctly reset Discord state only if now > updated + timeout instead of
updated > start + timeout.
Signed-off-by: Tomas Slusny <slusnucky@gmail.com >
2018-07-04 16:45:59 +02:00
Tomas Slusny
b4d836a903
Merge pull request #2899 from PandahRS/feature/discord-area-update
...
Add minigames/bosses/cities/dungeons to Discord plugin
2018-07-04 16:13:51 +02:00
Tomas Slusny
896f70d7a5
Make Discord plugin more extensible/support region
...
- Simplify DiscordState to support more scenarious and use simple
list-based system for determining last event and timeout each event
separately
- Remove actionDelay as that functionality is no longer present
- Add debug log output to DiscordService
- Cleanup DiscordGameEventType to follow new simple DiscordState logic
and add proper priorities to events
- Add support for different type of regions
Signed-off-by: Tomas Slusny <slusnucky@gmail.com >
2018-07-04 15:58:40 +02:00
Tomas Slusny
0cd709f9ef
Add logging of presence to DiscordService
...
Signed-off-by: Tomas Slusny <slusnucky@gmail.com >
2018-07-04 15:57:42 +02:00
Tomas Slusny
d494570ffd
Merge pull request #4166 from Nightfirecat/add-agility-pyramid-entrance-obstacles
...
agility plugin: Add pyramid entrance obstacles
2018-07-04 11:26:50 +02:00
Tomas Slusny
5eb4fa4639
Merge pull request #4124 from Abextm/range-stat-boost
...
itemstats: Add variable healing food
2018-07-04 09:54:32 +02:00
Tomas Slusny
2539adb1d4
Merge pull request #4137 from deathbeam/varrock-quiz
...
Add Varrock Museum Quiz solver to puzzle solver plugin
2018-07-04 01:26:04 +02:00
Tomas Slusny
5571705183
Merge pull request #3957 from takuyakanbr/improve-plugin-list
...
Improve plugin list/config panel
2018-07-04 01:23:46 +02:00
Tomas Slusny
5643e2b41e
Merge pull request #4145 from Nightfirecat/fix-skill-calculator-combined-item-decimals
...
skill calculator: Fix combined items with decimals
2018-07-03 10:49:10 +02:00
Tomas Slusny
257342de72
Merge pull request #4127 from Nightfirecat/fix-empty-ge-search
...
Fix empty GE search render bug
2018-07-02 10:21:40 +02:00
Tomas Slusny
3359828821
Merge pull request #4100 from Nightfirecat/add-field-rations
...
item stats plugin: Add field ration
2018-06-30 14:48:49 +02:00
Tomas Slusny
6e3eaf3111
Merge pull request #4088 from deathbeam/fix-title-component-size-return
...
Return preferredSize.width from TitleComponent
2018-06-30 14:47:36 +02:00
Tomas Slusny
84b09f05b4
Merge pull request #4086 from Nightfirecat/add-missing-rfd-foods
...
item stats: Add missing RFD foods
2018-06-30 14:45:55 +02:00
Tomas Slusny
9e316525b2
Merge pull request #4093 from Nightfirecat/add-eel-fishing-spots
...
fishing plugin: Add cave eel and slimy eel spots
2018-06-30 13:36:19 +02:00
Tomas Slusny
eacf445e18
Merge pull request #4094 from Nightfirecat/add-swamp-caves-shortcuts
...
agility plugin: Add Lumbridge swamp cave shortcuts
2018-06-30 02:15:34 +02:00
Tomas Slusny
f440796e76
Return preferredSize.width from TitleComponent
...
To return parent defined dimensions properly, return preferredSize.width
instead of text width, as this is block component so it should act like
block and not return custom sizes.
Signed-off-by: Tomas Slusny <slusnucky@gmail.com >
2018-06-29 23:37:36 +02:00
Tomas Slusny
7482d2f5a6
Merge pull request #4079 from deathbeam/fix-sotd-sol
...
Make SOTD/SOTL timer use chat messsage
2018-06-29 14:38:19 +02:00
Tomas Slusny
e7022475b0
Make SOTD/SOTL timer use chat messsage
...
Instead of using graphic make SOTD/SOTL timer use chat message as that
one is more reliable and same for both.
Fixes #4078
Signed-off-by: Tomas Slusny <slusnucky@gmail.com >
2018-06-29 14:20:33 +02:00
Tomas Slusny
dab700b710
Merge pull request #1942 from Gamer1120/ironman-hiscore-lookups
...
Fix ironman hiscore lookup in chat
2018-06-29 12:26:41 +02:00
Tomas Slusny
865bae6c2d
Add ironman status and AccountType to API
...
- Add ironman status varbit and account type to API
Signed-off-by: Tomas Slusny <slusnucky@gmail.com >
2018-06-29 12:21:15 +02:00
Tomas Slusny
bbe6417518
Merge pull request #4063 from Nightfirecat/dont-apply-vengeance-other-timer-on-energy-transfer
...
timers plugin: Apply Vengeance Other timer only on Vengeance Other graphic
2018-06-29 10:23:06 +02:00
Tomas Slusny
f25afcbec2
Merge pull request #4064 from Nightfirecat/fix-chat-color-config-typo
...
chat color: Fix description typo
2018-06-29 08:10:28 +02:00
Tomas Slusny
a83e05ddaa
Merge pull request #4047 from Kamielvf/screenmarker-panel-fix
...
screen-markers: fix graphical bug
2018-06-28 15:25:44 +02:00
Tomas Slusny
08b4cfc72d
Merge pull request #4043 from Nightfirecat/add-edible-seaweed
...
item stats plugin: Add Edible seaweed
2018-06-28 15:25:22 +02:00
Tomas Slusny
5620fb5e90
Merge pull request #4013 from Abextm/hotkey-ezfix
...
runelite-client: Don't use system specific modifier key names
2018-06-28 10:24:24 +02:00
Tomas Slusny
85b800f0a1
Merge pull request #4045 from Nightfirecat/clear-opponent-info-fields-on-shutdown
...
opponent info plugin: Clear fields on shutdown
2018-06-27 23:49:29 +02:00
Tomas Slusny
30897eb9aa
Merge pull request #3997 from deathbeam/remove-corp-useless-title
...
Remove title from corp panel
2018-06-27 10:28:44 +02:00
Tomas Slusny
fc16e51c70
Merge pull request #4018 from Abextm/hotkey-compare
...
runelite-client: Add a equals implementation to Keybind
2018-06-26 14:45:17 +02:00
Tomas Slusny
954d7fe692
Merge pull request #4017 from deathbeam/fix-kraken-tridents
...
Fix price of tentacle tridents
2018-06-26 10:46:33 +02:00
Tomas Slusny
932c957b3c
Fix price of tentacle tridents
...
- Fix price/mapping of trident of the seas (e)
- Fix price/mapping of trident of the swamp (e)
Signed-off-by: Tomas Slusny <slusnucky@gmail.com >
2018-06-26 10:02:12 +02:00
Tomas Slusny
4f36a787de
Merge pull request #4002 from HSJ-OSRS/battlestaves-idle
...
Add battlestaff crafting to idle notifier
2018-06-25 17:21:12 +02:00
Tomas Slusny
f68dea3df7
Merge pull request #3830 from deathbeam/center-stretched-fixed
...
Center stretched fixed mode horizontally
2018-06-25 16:40:21 +02:00
Tomas Slusny
a919653360
Make Fight Cave plugin more accurate
...
- Replace fixed scheduled hook with AnimationChanged hook to determine
what to pray
- Null current attack when Jad despawns (goes out of view)
Closes #3904
Signed-off-by: Tomas Slusny <slusnucky@gmail.com >
2018-06-25 16:31:15 +02:00
Tomas Slusny
b7ec293201
Merge pull request #4007 from Nightfirecat/add-stamina-mix-timer
...
timers plugin: Create timer for stamina mixes
2018-06-25 11:28:26 +02:00
Tomas Slusny
41d79b02a8
Remove title from corp panel
...
This is completely unnecessary as it is obvious and is just using screen
estate for no real reason. Also we dont do this for any other plugin.
Signed-off-by: Tomas Slusny <slusnucky@gmail.com >
2018-06-24 19:55:30 +02:00
Tomas Slusny
beb9100c39
Merge pull request #3990 from Shingyx/karamja-stepping-stones-level
...
agilityShortcutLocation: Fix SE Karamja agility marker
2018-06-24 13:31:54 +02:00
Tomas Slusny
2d01eae2c4
Merge pull request #3963 from Nightfirecat/fix-more-hot-cold-clues
...
Even more hot-cold clue fixes
2018-06-24 13:30:29 +02:00
Tomas Slusny
c8e0f5a3f9
Merge pull request #3976 from deathbeam/add-callback-docs
...
Update documentation for Callbacks interface
2018-06-24 11:58:16 +02:00
Tomas Slusny
49c3f538ef
Add inventory tagging plugin
...
Add plugin that will tag items in inventory with 4 different categories
and draw outlines for tagged items.
Signed-off-by: Tomas Slusny <slusnucky@gmail.com >
2018-06-23 14:28:33 -04:00
Tomas Slusny
af7e76502b
Add new toBufferedOutline method to SpritePixels
...
Add method that returns item image with outline to SpritePixels.
Signed-off-by: Tomas Slusny <slusnucky@gmail.com >
2018-06-23 14:20:11 -04:00
Tomas Slusny
3c3e0ef1ae
Update documentation for Callbacks interface
...
Signed-off-by: Tomas Slusny <slusnucky@gmail.com >
2018-06-23 15:46:47 +02:00
Tomas Slusny
27de05c785
Move shift-click config to top of menu swapper
...
This should be clearly separated from other options and be priority at
the top.
Signed-off-by: Tomas Slusny <slusnucky@gmail.com >
2018-06-23 04:25:01 +02:00
Tomas Slusny
9839049abd
Remove Age menu entry swapping
...
This feature is mostly unnecessary as it is way too spefic and with very
little use.
Signed-off-by: Tomas Slusny <slusnucky@gmail.com >
2018-06-23 04:24:40 +02:00
Tomas Slusny
42341133b7
Merge pull request #3961 from NathenSample/3911-KourendLibrary
...
Update kourend library plugin encapsulation
2018-06-23 02:33:40 +02:00
Tomas Slusny
d21cac1449
Add documentation for Hooks
...
Signed-off-by: Tomas Slusny <slusnucky@gmail.com >
2018-06-22 19:53:36 -04:00
Tomas Slusny
ffbc89a801
Move menuActionHook to mixins
...
Signed-off-by: Tomas Slusny <slusnucky@gmail.com >
2018-06-22 19:53:36 -04:00
Tomas Slusny
486c8c985a
Move clientMainLoop to mixins
...
Signed-off-by: Tomas Slusny <slusnucky@gmail.com >
2018-06-22 19:53:35 -04:00
Tomas Slusny
7437da1237
Move drawRegion call to mixins
...
Signed-off-by: Tomas Slusny <slusnucky@gmail.com >
2018-06-22 19:53:35 -04:00
Tomas Slusny
d948dc05ed
Move drawAboveOverheads call to mixins
...
Signed-off-by: Tomas Slusny <slusnucky@gmail.com >
2018-06-22 19:53:34 -04:00
Tomas Slusny
bac06e5b3a
Move graphicsObjectCreated to mixins
...
Signed-off-by: Tomas Slusny <slusnucky@gmail.com >
2018-06-22 19:53:34 -04:00
Tomas Slusny
517c4c4796
Move addChatMessage to mixins
...
Signed-off-by: Tomas Slusny <slusnucky@gmail.com >
2018-06-22 19:53:33 -04:00
Tomas Slusny
4d6386d846
Move projectileMoved to mixins
...
Signed-off-by: Tomas Slusny <slusnucky@gmail.com >
2018-06-22 19:53:32 -04:00
Tomas Slusny
3835f005f6
Move setMessage to mixins
...
Signed-off-by: Tomas Slusny <slusnucky@gmail.com >
2018-06-22 19:53:32 -04:00
Tomas Slusny
4241e4384f
Move postItemComposition to mixins
...
Signed-off-by: Tomas Slusny <slusnucky@gmail.com >
2018-06-22 19:53:31 -04:00
Tomas Slusny
eea63dd171
Move focusLost to mixins
...
Signed-off-by: Tomas Slusny <slusnucky@gmail.com >
2018-06-22 19:53:29 -04:00
Tomas Slusny
384bdb1179
Move focusGained to mixins
...
Signed-off-by: Tomas Slusny <slusnucky@gmail.com >
2018-06-22 19:53:28 -04:00
Tomas Slusny
2944e5b334
Move updateNpcs call to mixins
...
Signed-off-by: Tomas Slusny <slusnucky@gmail.com >
2018-06-23 00:04:44 +02:00
Tomas Slusny
8fb285f928
Move menuOpened to mixins
...
Signed-off-by: Tomas Slusny <slusnucky@gmail.com >
2018-06-22 23:59:59 +02:00
Tomas Slusny
d6e26410c8
Move onActorHitsplat to mixins
...
Signed-off-by: Tomas Slusny <slusnucky@gmail.com >
2018-06-22 23:59:59 +02:00
Tomas Slusny
cea506cff2
Merge pull request #3870 from jplsek/swap-assign
...
Menu Swapper - Add Age/Assignment Swapping
2018-06-22 21:42:12 +02:00
Tomas Slusny
79e3a24395
Merge pull request #3918 from Abextm/prayer-holy-wrench
...
prayer: Remove the ring of the gods from the holy wrench list
2018-06-21 09:58:37 +02:00
Tomas Slusny
0e38f5b59d
Merge pull request #3906 from Nightfirecat/fix-east-of-shilo-village-stepping-stones-highlight
...
Fix stepping stone object IDs east of Shilo Village
2018-06-20 13:32:28 +02:00
Tomas Slusny
8b637d1f09
Merge pull request #3797 from ypperlig/patch-1
...
CONTRIBUTING.md - Provide link to coding conventions
2018-06-19 10:11:13 +02:00
Tomas Slusny
52b70418bc
Merge pull request #3880 from deathbeam/fix-ground-markers-layer
...
Fix ground marker plugin layer
2018-06-19 10:09:24 +02:00
Tomas Slusny
2c1006635e
Merge pull request #3888 from Nightfirecat/hot-cold-clue-location-fixes
...
Hot cold clue location fixes
2018-06-18 21:56:12 +02:00
Tomas Slusny
c69e8ebf3f
Merge pull request #3886 from Nightfirecat/fix-slayer-tower-emote-clue
...
Fix Slayer Tower emote clue
2018-06-18 21:55:24 +02:00
Tomas Slusny
2d323e0027
Fix ground marker plugin layer
...
This plugin is marking ground, it should be at lowest possible layer to
not interfere/draw over other overlays.
Signed-off-by: Tomas Slusny <slusnucky@gmail.com >
2018-06-18 12:58:58 +02:00
Tomas Slusny
fe36c5bc35
Optional support for recoloring right-click menu
...
Add back support for recoloring right-click menu in Ground Items, but
make it optional and disabled by default.
Signed-off-by: Tomas Slusny <slusnucky@gmail.com >
2018-06-17 15:37:42 +02:00
Tomas Slusny
4ddf7173bc
Merge pull request #3862 from deathbeam/fix-ground-item-swapped-values
...
Fix ground item swapped price values
2018-06-17 14:38:25 +02:00
Tomas Slusny
170bfd15b0
Fix ground item swapped price values
...
Swap gePrice and haPrice in getHidden and getHighlighted calls
correctly.
Signed-off-by: Tomas Slusny <slusnucky@gmail.com >
2018-06-17 14:20:37 +02:00
Tomas Slusny
b6056e4f0e
Merge pull request #3597 from raqes/info-wiki-link
...
Add wiki link to info panel
2018-06-17 04:18:11 +02:00
Tomas Slusny
8f235a81f8
Merge pull request #3827 from deathbeam/disable-osb
...
Disable OSB prices by default
2018-06-17 03:56:19 +02:00
Tomas Slusny
3ad62abed5
Merge pull request #3737 from Jonatino/patch-2
...
Add tooltip to absorption panel
2018-06-16 12:34:46 +02:00
Tomas Slusny
571e4d761a
Merge pull request #3762 from Nightfirecat/add-staff-of-the-dead-timer
...
Add Staff of the Dead timer
2018-06-16 12:32:29 +02:00
Tomas Slusny
b13c3273f0
Merge pull request #3831 from sethtroll/fixworldmapagilitymark
...
agilityShortcutLocation: Fix shilo village agility marker
2018-06-16 12:31:07 +02:00
Tomas Slusny
d638a5c3e3
Merge pull request #3832 from sethtroll/fixtextareatooltip
...
configPanel: remove tooltips for JTextArea
2018-06-16 02:37:16 +02:00
Tomas Slusny
b0127283d1
Center stretched fixed mode horizontally
...
To fit with fixed mode with stretched fixed disabled, center stretched
fixed mode horizontally.
Signed-off-by: Tomas Slusny <slusnucky@gmail.com >
2018-06-16 00:56:32 +02:00
Tomas Slusny
93bb31eb1b
Disable OSB prices by default
...
Depending on 3rd party API is bad enough, having it enabled by default
is worse.
Signed-off-by: Tomas Slusny <slusnucky@gmail.com >
2018-06-15 23:41:15 +02:00
Tomas Slusny
51d00d913a
Reload overlay settings on plugin change
...
When plugin is loaded/unloaded, reload all overlay settings as they
might've changed.
Signed-off-by: Tomas Slusny <slusnucky@gmail.com >
2018-06-15 19:09:23 +02:00
Tomas Slusny
0c1b98fcd5
Change ground items box size from 6 px to 8 px
...
Signed-off-by: Tomas Slusny <slusnucky@gmail.com >
2018-06-15 18:37:35 +02:00
Tomas Slusny
459f126537
Fix UnsupportedOperationException in ground items
...
This issue was caused by ground item values not being copied to
ArrayList when modified. To avoid unnecessary allocations, create new
copy only when required (e.g when holding alt).
Signed-off-by: Tomas Slusny <slusnucky@gmail.com >
2018-06-15 17:05:06 +02:00
Tomas Slusny
62dc7c75c0
Merge pull request #3572 from psikoi/hiscore-tab-refactor
...
Material Tabs in Hiscores + OnTabSelected event
2018-06-15 15:51:40 +02:00
Tomas Slusny
1a0935ed7b
Mark InfoboxOverlay as singleton
...
To prevent accidental misuse, mark this overlay as singleton.
Signed-off-by: Tomas Slusny <slusnucky@gmail.com >
2018-06-15 14:03:30 +02:00
Tomas Slusny
ebd6d61272
Fix loading of core overlay properties
...
When loaded and added in OverlayRenderer, it was too early to load their
properties because configuration was not loaded yet.
Fixes #3799
Signed-off-by: Tomas Slusny <slusnucky@gmail.com >
2018-06-15 14:03:11 +02:00
Tomas Slusny
963e28f719
Merge pull request #3798 from Nightfirecat/fix-mausoleum-hot-cold-clue
...
Fix south-of-mausoleum hot-cold clue location
2018-06-15 13:54:31 +02:00
Tomas Slusny
ea051beb4e
Reduce code duplicity in resetOverlay method
...
Use saveOverlay and null all fields to achieve same result.
Signed-off-by: Tomas Slusny <slusnucky@gmail.com >
2018-06-15 10:14:57 +02:00
Tomas Slusny
3fb79ebf79
Make hidden items color configurable
...
Signed-off-by: Tomas Slusny <slusnucky@gmail.com >
2018-06-14 19:34:29 +02:00
Tomas Slusny
7abff96c6e
Ignore highlights when value is set to 0 (disable)
...
When highlight value is set to 0, disable highlight for that particular
configuration.
Signed-off-by: Tomas Slusny <slusnucky@gmail.com >
2018-06-14 19:30:22 +02:00
Tomas Slusny
36b114ed0b
Consider anything with GE > 0 as tradeable too
...
In ground items, consider anything that has positive GE value as
tradeable and exclude it from untradeable checks.
Signed-off-by: Tomas Slusny <slusnucky@gmail.com >
2018-06-14 08:40:29 -06:00
Tomas Slusny
f83f959caf
Fix overlay collection modification checks
...
- Remove check for .add as for ArrayList it is always true and so it is
dead condition
- Add check for removeIf, so the overlay layers will be rebuilt only
when something is removed
Signed-off-by: Tomas Slusny <slusnucky@gmail.com >
2018-06-14 08:36:40 -06:00
Tomas Slusny
205659defa
Use Object.equals for Overlays
...
- Generated equals from Lombok can cause falsy equals checks and so match
with unrelated overlay.
- Do not add overlay twice to overlay list based on equals
Signed-off-by: Tomas Slusny <slusnucky@gmail.com >
2018-06-14 08:36:40 -06:00
Tomas Slusny
f069434b6f
Merge pull request #3780 from Nightfirecat/fix-zeah-hot-cold-dig-locations
...
Fix zeah hot cold dig locations
2018-06-14 08:42:13 +02:00
Tomas Slusny
8cbe9dc449
Disable camera zoom by default
...
Instead of having the plugin enabled and everything inside disabled just
disable it and by default enable 1 option.
Signed-off-by: Tomas Slusny <slusnucky@gmail.com >
2018-06-13 17:21:18 +02:00
Tomas Slusny
a672c1694a
Add support for configurable infobox size
...
Add new configuration option to RuneLite settings for setting infobox
size.
Signed-off-by: Tomas Slusny <slusnucky@gmail.com >
2018-06-13 01:04:26 +02:00
Tomas Slusny
274b0f235c
Change the default size of infoboxes to be smaller
...
- To follow Konduit style a bit more, change the default size of infoboxes
to be somewhat around 24x24 instead of 36x36.
- Change the margin between infoboxes to 1px
Depends on #2874
Closes #1771 and closes #1016
Signed-off-by: Tomas Slusny <slusnucky@gmail.com >
2018-06-13 00:20:30 +02:00
Tomas Slusny
bd487d4bbf
Change InfoBoxOverlay to use PanelComponent
...
Instead of doing layouting by itself, use PanelComponent and newly added
support for component wrapping and disabling of background.
Signed-off-by: Tomas Slusny <slusnucky@gmail.com >
2018-06-13 00:20:30 +02:00
Tomas Slusny
3130e0f254
Add support for preferred location to Panel
...
- Add support for storing preferredLocation in PanelComponent and
translate children based on it.
- Offset children in PanelComponent by metrics.getHeight by default
- Add null check for background in PanelComponent to support panels
without background
Signed-off-by: Tomas Slusny <slusnucky@gmail.com >
2018-06-13 00:20:28 +02:00
Tomas Slusny
c8d6691d18
Add support for wrapping to PanelComponent
...
Add support for wrapping at x elements to PanelComponent, depends on
panel component orientation.
Signed-off-by: Tomas Slusny <slusnucky@gmail.com >
2018-06-13 00:17:58 +02:00
Tomas Slusny
013cc54ba2
Merge pull request #3126 from drivfe/bugfix/combinedactionslot
...
Skill Calc - Fix combined action slot not updating when an input field was changed
2018-06-12 23:51:16 +02:00
Tomas Slusny
41e0b27a99
Make plugins work with new OverlayManager
...
- Remove the usage of getOverlay and getOverlays
- Replace the overlay addition/removal with correct calls to
overlayManager.add and overlayManager.remove
- Update tests
Signed-off-by: Tomas Slusny <slusnucky@gmail.com >
2018-06-12 14:40:06 +02:00