Commit Graph
100 Commits
Author SHA1 Message Date
Tomas Slusny f8e6321363 Merge pull request #3546 from psikoi/icon-tabs-refactor
Improve Material Tabs Code
2018-06-01 13:10:16 +02:00
Tomas Slusny edb55fde3e Merge pull request #3511 from Nightfirecat/fix-the-hand-clue-step
Fix "The hand ain't listening." clue step
2018-05-31 14:36:21 +02:00
Tomas Slusny ed01a36ed1 Change schedule to GameTick sub in Tithe plugin
Instead of using 600ms schedule, use GameTick event for subscribing to
game ticks.

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-05-30 12:40:23 +02:00
Tomas Slusny ef8f088158 Change tithe farm to use PieComponent
Instead of creating logic for drawing arcs by itself, use PieComponent
and similar appearance of the pies as hunter plugin

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-05-30 12:39:12 +02:00
Tomas Slusny 8c7104efed Merge pull request #3483 from MagicfTail/Alphabetical-order
MenuEntrySwapper: Reorder config items to alphabetical order
2018-05-30 12:17:28 +02:00
Tomas Slusny 483a4b800b Merge pull request #2880 from MESLewis/clue-plugin-overlay-text
Clue Scroll Plugin: Add wording to direct users to world map
2018-05-30 11:30:35 +02:00
Tomas Slusny 12a080d5ce Merge pull request #2870 from MESLewis/world-map-dev-overlay
Dev-tools: Add location overlay to show world map position
2018-05-30 11:27:52 +02:00
Tomas Slusny db6dafa923 Merge pull request #3445 from deathbeam/add-limestone-attack-stone
Add Limestone attack stone to skill calc
2018-05-30 10:17:25 +02:00
Tomas Slusny 6deef3123b Merge pull request #3467 from Nightfirecat/fix-iban-emote-clue
Fix Iban's Temple emote clue
2018-05-30 10:14:25 +02:00
Tomas Slusny 2e4f720c14 Merge pull request #3401 from MagicfTail/Boss-Timer-id
BossTimerPlugin: Find bosses based on id instead of name
2018-05-29 15:46:46 +02:00
Tomas Slusny 5bb0fdd852 Update Lombok to 1.16.22
This will make Lombok work with JDK10.

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-05-29 15:39:24 +02:00
Tomas Slusny b3acf6107d Add Limestone attack stone to skill calc
This is apparently method for UIM to train construction so it is
probably very useful to have.

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-05-29 11:07:55 +02:00
Tomas Slusny 7a0d7198f8 Merge pull request #3345 from sainttx/fix-array-index-empty-command
Fix ArrayIndexOutOfBoundsException when an empty command is typed
2018-05-26 23:04:30 +02:00
Tomas Slusny e790a5536e Merge pull request #3359 from Nightfirecat/add-bandit-camp-fishing-spot
Add Wilderness Bandit Camp fishing spot
2018-05-26 23:03:46 +02:00
Tomas Slusny 15d9cf2f8b Merge pull request #3340 from deathbeam/fix-card-layout
Properly set preferredSize of navContainer
2018-05-26 16:40:38 +02:00
Tomas Slusny 4234edef6c Properly set preferredSize of navContainer
- New CardLayout requires also preferredSize in addition to maximum and
minimum sizes to expand/contract properly without leaving artifacts +
also requires revalidation.
- Remove entire container repaint to prevent unnecessary slowdown for no
reason

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-05-26 13:53:35 +02:00
Tomas Slusny 1baad52f7c Merge pull request #3304 from psikoi/client-cardlayout-refactor
Refactor ClientUI using CardLayout
2018-05-26 13:17:23 +02:00
Tomas Slusny f8e43ed71c Store markers based on epoch millis
To create fully unique identifier, store markers based on epoch millis
instead of using their name, to allow renaming.

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-05-26 02:35:28 +02:00
Tomas Slusny bd71408eac Merge pull request #3320 from Nightfirecat/fix-grand-tree-mushrooms-clue
Fix Grand Tree mushrooms clue
2018-05-26 00:42:27 +02:00
Tomas Slusny faec69c7b2 Merge pull request #3307 from shmeeps/1116
Exclude ironmen from daily herb box notifications
2018-05-25 23:51:16 +02:00
Tomas Slusny 64324a0f70 Move highlighted/hidden to top
Move the text areas for highlighted and hidden items to top of ground
items config.

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-05-25 21:11:12 +02:00
Tomas Slusny 4a8ca1d1e5 Change config TextField to TextArea
For better readability of text configurations, change TextField to
TextArea that can span multiple lines.

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-05-25 21:11:12 +02:00
Tomas Slusny e37afdda19 Change default PluginPanel layout to DynamicGrid
This serves as better default for new plugin panels, as it is not
forcing same heihgt for all elements, what is undesired behaviour in
most of the cases. The current implementations of plugin panels remains
unchanged.

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-05-25 21:11:05 +02:00
Tomas Slusny 08df33c273 Merge pull request #3252 from iguaan/ui-importantcaps
timers: use correct capitalisation for antifire in settings
2018-05-24 23:38:37 +02:00
Tomas Slusny ae232ec14a Add support for fullscreen mode
Add support for toggle in "RuneLite" settings to go into fullscreen
mode, that will make RuneLite window fully fullscreen without any weird
hacks.

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-05-24 20:30:56 +02:00
Tomas Slusny 1223770c5b Merge pull request #3159 from iguaan/idlenotifier-altar
idlenotifier: add support for gilded altar
2018-05-24 19:38:51 +02:00
Tomas Slusny a56c32f8ae Merge pull request #3084 from devLotto/emoteclue-improvements
emoteclues: display when item is in inventory
2018-05-23 13:19:29 +02:00
Tomas Slusny f3bdd4ca18 Change ScreenMarkers to use OverlayRenderer
Change ScreenMarkers to use OverlayRenderer bounds instead of holding
its own bounds.

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-05-22 18:54:25 -04:00
Tomas Slusny f11d6e4680 Add support for preferredSize to OverlayRenderer
- Add basic support for preferredSize to OverlayRenderer and Overlays
- Add methods for saving and deleting overlays to OverlayRenderer to
take advantage of this new variable
- Add support for saving multiple types of same overlay (support for
keys to overlays)

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-05-22 18:54:24 -04:00
Tomas Slusny 7204a7b570 Add support for player experience goals to tracker
- Add new fields for start and end goal XP to xp tracker state
- Use Varps for determining start and end goal

Closes: #1168

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-05-22 16:05:54 +02:00
Tomas Slusny 570584310b Add Varps for player experience goals
Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-05-22 16:04:40 +02:00
Tomas Slusny f66c261935 Fix access levels in XpStateSingle
Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-05-22 16:04:40 +02:00
Tomas Slusny 3a5e391607 Change Anti-Drag plugin to work only with SHIFT
Due to complains in PKing community, nerf this feature to work exactly
like its counterpart in other clients and make it work only when SHIFT
key is pressed.

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-05-21 19:34:12 +02:00
Tomas Slusny 0a7c09310d Merge pull request #2987 from LeviSchuck/xp-time-remaining
Fix til next level time for low xp amounts
2018-05-21 10:04:52 +02:00
Tomas Slusny ecc5ee698b Merge pull request #3046 from Nightfirecat/add-drunken-dwarf-puzzle-box-indicator
Add puzzle box indicator to Drunken Dwarf clue
2018-05-21 08:16:34 +02:00
Tomas Slusny 3b89933e37 Merge pull request #3036 from AlexKolpa/reset-xp-skill
Clear plugin skill tracking on reset
2018-05-21 00:23:49 +02:00
Tomas Slusny 7831aceb10 Merge pull request #2964 from psikoi/obsidian-redesign-patch
SetOpaque UI performance fix
2018-05-21 00:11:33 +02:00
Tomas Slusny ddd115f5ce Merge pull request #2999 from sethtroll/fixnpcspawn
impling plugin: fix impling list not clearing on hopping worlds
2018-05-20 10:22:37 +02:00
Tomas Slusny 95d55608c1 Merge pull request #2959 from devLotto/entityhider-no-hide-npcs
entityhider: don't hide npcs by default
2018-05-19 20:21:54 +02:00
Tomas Slusny 3c150c1aea Merge pull request #2956 from wa1id/teak-garden-bench-calc
Add teak garden bench to construction calculator.
2018-05-19 18:21:10 +02:00
Tomas Slusny f533dbf966 Merge pull request #1419 from psikoi/color-scheme-orange-dark
"RuneLite Obsidian" Client Redesign
2018-05-19 16:02:33 +02:00
Tomas Slusny 404cdddebd Move private methods at bottom of NPC plugin
Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-05-18 17:40:41 +02:00
Tomas Slusny 822bceacd7 Use NpcSpawned and despawned for getting cacheNpc
- Merge highlightedNpcs and npc tags to one list
- Update highlightedNpcs with npc tags on spawn/despawn and menu entry
click
- Add brackets to single line ifs, remove redundant code

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-05-18 17:40:41 +02:00
Tomas Slusny 464f5057c3 Unify NPC highlighting color settings
Merge NPC highlight and tag color to one setting.

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-05-18 17:40:41 +02:00
Tomas Slusny fd3e568c81 Delay setting of low detail mode
To not change low detail flag before sounds are loaded, delay it to be
set only when arriving at login screen to not end up with corrupted
sound data.

Fixes: #696

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-05-18 17:30:52 +02:00
Tomas Slusny fdc8e9d41d Merge pull request #2681 from Kamielvf/raids-pointbox-fix
fix: Hide vanilla raid points box when inside chambers of xeric
2018-05-14 10:33:32 +02:00
Tomas Slusny 9805472e50 Merge pull request #2673 from jplsek/reset-stroke
overlayutil: reset stroke for renderpolygon
2018-05-13 20:46:09 +02:00
Tomas Slusny 9a98671f83 Calculate child preferred size based on max size
If panel component child exceeds the preferred size, correctly send this
new max size to other children, so they can resize/reposition themselves
correctly.

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-05-12 23:37:59 +02:00
Tomas Slusny 0829ea607b Reset clue overlay preferred size each render
To prevent affecting other clue types, reset the preferred size of the
clue scroll panel component to default value each render cycle, as the
clues can modify it.

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-05-12 23:36:09 +02:00
Tomas Slusny f66c2ff627 Fix updating of Hot/Cold clue
- Properly reset the WorldMapPoints when Hot/Cold clue updates.
- Add null-check for location
- Add size check for multiple location points

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-05-12 22:52:39 +02:00
Tomas Slusny 4c451676d9 Do not floor percentage in progress bars
Closes #2614

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-05-12 19:25:13 +02:00
Tomas Slusny a583b150e7 Merge pull request #2619 from Nightfirecat/british-floor-numbering
Use British floor numbering in cipher clues
2018-05-12 18:34:58 +02:00
Tomas Slusny da5b91e113 Merge pull request #2637 from Nightfirecat/fix-gypsy-aris-cryptic-clue
Fix Gypsy Aris cryptic clue
2018-05-12 18:34:13 +02:00
Tomas Slusny f523d5c589 Add support for map for hot/cold clues
- Create new interface for clues that will return multiple locations,
have update and reset methods for clues with undetermined location
- Implement new LocationsClueScroll and LocationClueScroll to
HotColdClue to add support for displaying all the points on world map
- Handle the LocationsClueScroll to add each WorldPoint to the world map
when found
- Add new removeIf method to the WorldMapPointsManager

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-05-11 19:21:55 -04:00
Tomas Slusny deb0bdf4ab Merge pull request #2584 from Nightfirecat/fix-warriors-guild-emote-clue
Fix Warrior's guild emote clue
2018-05-11 20:34:58 +02:00
Tomas Slusny 630474a96e Move Hot/Cold message logic to HotColdClue
Instead of having giant chunk of logic related to only Hot/Cold clues,
move this logic inside the HotColdClue class.

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-05-11 19:44:32 +02:00
Tomas Slusny 37703ef8b6 Improve performance of ClueScrollWorldMapPoint
- Create the buffered image only once and not every time
ClueScrollWorldMapPoint is created
- Pass the world point directly to clue world map point constructor and
do it only once

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-05-11 19:39:34 +02:00
Tomas Slusny bf9a019c2f Merge clearMapPoint with resetClue
- Move logic from clearMapPoint to resetClue
- Call resetClue on plugin shutdown

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-05-11 19:37:33 +02:00
Tomas Slusny 4452118e56 Reset Fight Cave plugin prayer background color
Fix resetting of background color of Fight Cave plugin overlay.

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-05-11 18:31:10 +02:00
Tomas Slusny 66688b85b3 Merge pull request #2595 from Abextm/groundmarker-npe
groundmarkers: Fix NPE in drawTile
2018-05-11 12:55:21 +02:00
Tomas Slusny d38cbacb57 Merge pull request #2578 from ypperlig/fightcavesoverlayfix
Clear previous image components in fight caves overlay
2018-05-11 08:50:17 +02:00
Tomas Slusny 6a493c4ebd Fix World Map widget check in Hooks.java
- Correctly check for world map view widget and not for the option
widget
- Name option widget properly

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-05-10 17:35:06 +02:00
Tomas Slusny 15ed702c29 Merge pull request #1272 from SoyChai/checkstyle-suppressions
Suppress checkstyle warnings in runescape-client package
2018-05-10 10:01:25 +02:00
Tomas Slusny a94a6fab2a Add ItemLayer height to GroundItems overlay
Add back ItemLayer#getHeight consideration when drawing ground items.

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-05-09 22:36:53 +02:00
Tomas Slusny 4b05e072c7 Merge pull request #2505 from Abextm/bdr-clue
Add Burgh de Rott map clue
2018-05-09 11:29:52 +02:00
Tomas Slusny 2169887898 Update opponent info to use PanelComponent
- Use panel component with custom paddings for opponent info
- For opponent/opponents opponent names use TitleComponent that is
horizontally centered
- Use new progress bar with full display mode when needed

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-05-09 11:05:58 +02:00
Tomas Slusny 19afa3f933 Improve ProgressBarComponent to support %/FULL
- Add minimum, maximum and value properties to ProgressBarComponent
- Add label display mode that will differentiate between percentage and
current/maximum display modes
- Properly center the text in progress bar

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-05-09 11:05:58 +02:00
Tomas Slusny d0699901fe Merge pull request #2504 from deathbeam/clue-platebody-platelegs
Iron platelegs -> platebody for Draynor emote clue
2018-05-09 10:20:53 +02:00
Tomas Slusny fb3955b568 Iron platelegs -> platebody for Draynor emote clue
Fix Draynor Manor spin clue requirement requiring platelegs instead of
platebody.

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-05-09 08:48:28 +02:00
Tomas Slusny 186adf6130 Restore min width when keeping window size small
Restore minimum width after closing sidebar when keeping window size but
window size was too small.

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-05-07 22:58:03 +02:00
Tomas Slusny 5bce0e43fc Add support for customizable gap and border
Add support for customizable gap and border to PanelComponent.

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-05-07 17:40:03 +02:00
Tomas Slusny fa8667fa2c Update plugins to use the new TitleComponent
Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-05-07 17:40:03 +02:00
Tomas Slusny f8fb6b3543 Simplify component system
- Properly use/not use paddings
- Remove title property and extract it to separate component
- Remove position property, let user handle the positioning
- Extract common constants to ComponentConstants
- Use lombok.Setter on classes instead of fields

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-05-07 17:40:02 +02:00
Tomas Slusny 634f4898ec Merge pull request #2434 from deathbeam/fix-location-overlay
Clear children in LocationOverlay
2018-05-07 12:09:27 +02:00
Tomas Slusny 2db26a69ff Clear children in LocationOverlay
Clear children each frame in LocationOverlay to prevent infinite adding
of components there.

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-05-07 10:25:23 +02:00
Tomas Slusny af22852352 Merge pull request #2416 from Nightfirecat/add-shadow-dungeon-emote-location
Fix Shadow dungeon emote clue location
2018-05-07 09:58:28 +02:00
Tomas Slusny ba01b9298d Sanitize player indicators options
- Name the player indicators options properly
- Extend the clan ranks icon setting to support also overhead names

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-05-07 09:55:21 +02:00
Tomas Slusny 4126be0a36 Merge pull request #2414 from deathbeam/xp-globes-fix
Move the xp/hr in globes to new system
2018-05-07 00:55:48 +02:00
Tomas Slusny fe26066c27 Move the xp/hr in globes to new system
Fix compliation error because of move to new PanelComponent system.

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-05-07 00:44:35 +02:00
Tomas Slusny 41d8884493 Make ProgressPie follow component pattern
- Implement RenderableEntiry
- Create setters for position and progress

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-05-06 20:51:57 +02:00
Tomas Slusny 7e45dfd7f2 Update all overlays to support new PanelComponent
- Move all PanelComponents declarations to be persisted
- Use new LineComponent and ImageComponent classes and add them to
PanelComponent

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-05-06 20:51:56 +02:00
Tomas Slusny fa9e05f0a6 Merge ImagePanelComponent with PanelComponent
- Remove ImagePanelComponent
- Add LayoutableRenderableEntity that is RenderableEntity with preferred
size
- Add support to PanelComponent for rendering list of
LayoutableRenderableEntity
- Add support for aligning PanelComponent horizontally or vertically
- Add ImageComponent to be used in PanelComponent
- Make other components support new design

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-05-06 20:48:05 +02:00
Tomas Slusny 11b7608856 Merge pull request #2386 from deathbeam/fix-logback
Disable filtering on logback.xml
2018-05-06 06:10:10 +02:00
Tomas Slusny 4cbe810f54 Disable filtering on logback.xml
Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-05-06 05:54:57 +02:00
Tomas Slusny 81679dc48f Merge pull request #2374 from LeviSchuck/fps-fix
FPS plugin: fix startup not applying limits
2018-05-05 22:15:34 +02:00
Tomas Slusny ca8c8bef13 Merge pull request #2336 from MESLewis/wmo-plane-fix
WorldMapOverlay: Add check for current plane
2018-05-05 16:33:27 +02:00
Tomas Slusny 63de63bd62 Merge pull request #2355 from Nightfirecat/fix-mausoleum-clue
Fix "No boots" requirement in Mausoleum clue
2018-05-05 15:15:26 +02:00
Tomas Slusny dd64309b31 Merge pull request #2292 from SoyChai/demonic-gorilla-style-tweaks
Demonic gorilla plugin: Capitalise plugin name
2018-05-04 10:08:37 +02:00
Tomas Slusny e54b7b581d Merge pull request #2302 from iguaan/hard-cryptic
Fix hard Entrana cryptic clue
2018-05-04 10:06:43 +02:00
Tomas Slusny ed64689a3a Merge pull request #2242 from Nightfirecat/coordinate-clue-wording-fix
Allow "degree" and "minute" in coordinate clues
2018-05-03 10:09:08 +02:00
Tomas Slusny 61792707a1 Merge pull request #2263 from Juzzed/clue-fix
Fix master fire cape emote clue
2018-05-03 10:08:47 +02:00
Tomas Slusny 5a95a340cc Verify game's minimum size
Due to some race condition, we can't really rely on applet's minimum
size, so add verification for minimum size when size is changed.

Fixes: #2261

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-05-02 22:00:45 +02:00
Tomas Slusny 7e8772dd7d Merge pull request #2101 from sethtroll/removeoppinfopadding
opponent info: reduce padding size
2018-05-02 20:37:50 +02:00
Tomas Slusny 5904f3d924 Add 2 new notifications modes (message, flash)
- Change the notification mode selection to be dropdown
- Add chat message notification mode that will send game message on
notificiation
- Add screen flash notification that will flash screen for few ticks

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-05-01 21:07:05 -04:00
Tomas Slusny 144886aea1 Option to only recolor right click menu on ground
- Add option to only recolor right click menu for ground items (e.g
possibility to switch between Overlay, Right-click menu or Both)
- Merge highlight of option and item name in right click menu to 1
config option where you can choose between Option, Item name and Both

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-04-30 12:13:01 +02:00
Tomas Slusny 73c54db006 Merge pull request #2022 from sethtroll/addhintarrowtoggle
clue scroll: Add toggle for hint arrows
2018-04-30 11:49:18 +02:00
Tomas Slusny 5fdfaa28e9 Merge pull request #2137 from sethtroll/resetprogresscolor
farming panel: reset progress bar background
2018-04-30 11:47:59 +02:00
Tomas Slusny ed32646b52 Add Cerberus plugin
Add Cerberus plugin that will show order of ghosts in bottom right
corner.

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-04-29 19:34:02 +02:00
Tomas Slusny dc10744c5e Reset clue on unknown clues
If we opened clue but it is uknown simply reset clue overlay

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-04-28 15:19:22 +02:00
Tomas Slusny 4de74743df Reset clues based on item ID
- Save last item ID on either map clue or when reading regular clue
- If this item is removed from inventory reset clue

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-04-28 15:19:22 +02:00