Commit Graph
100 Commits
Author SHA1 Message Date
Tomas Slusny 87752d3982 Add formatNumber methods to StackFormatter
- Add formatNumber methods to StackFormatter that reuse the NumberFormat
instance
- Use new methods instead of using created NumberFormats on other places
- Use new formatter in NightmareZonePlugin

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-03-24 19:15:26 +01:00
Tomas Slusny 40086488d5 Add null-check for overlays in OverlayRenderer
Sometimes right after login overlays can be null instead of empty list.
Add null check to prevent ending on NPE.

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-03-23 19:18:42 +01:00
Tomas Slusny f15c550d83 Move tooltip to the right-bottom of the mouse
- Move tooltip default position to right-bottom of mouse cursor
- Automatically adjust cursor position based on space around the tooltip
- Remove the ability from Tooltip manager to have other tooltips other
than mouse tooltips (for custom-positioned tooltips use tooltip
component directly)

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-03-23 18:28:10 +01:00
Tomas Slusny f2e1ab5bfe Remove not needed parent point and minimap orb
- Remove not needed parent point parameter in RenderableEntity, it's
usage has been replaced with getBounds().getLocation()
- Remove unused class minimap orb

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-03-23 17:50:43 +01:00
Tomas Slusny a05650cd31 Disable overlay dragging mode on focus lost
Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-03-23 17:36:42 +01:00
Tomas Slusny adf4c5bc80 Make unsetConfiguration non-blocking
Send saving of the unsetConfiguration call to client to different thread
using ExecutorService to not block when it is called.

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-03-23 17:17:51 +01:00
Tomas Slusny 1554fe01e7 Instance map improvements + moving
- Change instance map to resize on "fixed" layer so it can be layouted
- Scroll minimap only when mouse is in the minimap bounds

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-03-23 15:45:48 +01:00
Tomas Slusny 143762f4a6 Change multiple overlay lists to map
Change multiple overlay list definitions to use synchronized map with
layers and list of overlays to simplify the implementation a bit.

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-03-23 15:19:08 +01:00
Tomas Slusny c3eddf02a8 Improve caching of game-related variables
- Add caching for chatbox bounds
- Use cache variables when calculating OverlayBounds
- Cache everything at once when needed in the caching method without
early returns

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-03-23 13:32:09 +01:00
Tomas Slusny 4a8af3d049 Create translated copy of OverlayBounds
- Add new method to OverlayBounds for translating them that will return
translated copy of the bounds
- Use this new method in OverlayRenderer to prevent mutations of
OverlayBounds, what are not desired
- Use stored overlay bounds in mouse events and translate them by making
new copy

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-03-23 12:06:46 +01:00
Tomas Slusny 553fee70c4 Calculate overlay bounds also for dynamic overlays
In order to use their's bounds later, calculate the bounds for dynamic
and tooltip overlays too.

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-03-23 11:59:01 +01:00
Tomas Slusny 10629bfa4a Add support for getting real canvas dimensions
In stretched mode the canvas dimensions are the stretched dimensions, so
add method that will return normal game dimensions in case stretched
mode is enabled and we are not in resizeable mode.

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-03-22 21:03:45 -04:00
Tomas Slusny 0c5cde0894 Add support for points to ConfigManager
Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-03-22 21:02:21 -04:00
Tomas Slusny bfc600db30 Fix Lizardmen cannon spot plane
The plane is 0 not 1.

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-03-22 19:46:11 +01:00
Tomas Slusny 45c224cb30 Add Cave Horror cannon spot
Add Cave Horror cannon spot to the Cannon Plugin.

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-03-21 19:31:22 +01:00
Tomas Slusny ca2034f94c Set description to Agility plugin
Remove "Placeholder" description and replace it with real description.

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-03-21 16:27:36 +01:00
Tomas Slusny 03aebec1a9 Rename NPC Highlightign to NPC indicators
For consistent plugin naming this plugin should be named NPC Indicators
to follow the naming of Tile Indicators and Player Indicators.

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-03-21 16:27:35 +01:00
Tomas Slusny 9dcbe47b5d Title-case chat commands plugin name
Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-03-21 10:35:47 +01:00
Tomas Slusny b55d60a0a4 Merge pull request #1023 from DevDennis/fix-prayer-reorder-reset
Fix prayer order resetting
2018-03-20 14:27:07 +01:00
Tomas Slusny d29e8dd93b Do not display stack in price tooltips
Displaying amount of items in stack is unnecessary because the
information is shown on item itself, so it is just making the tooltip
unnecessary big.

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-03-18 19:55:59 +01:00
Tomas Slusny ec4bb17daa Fix tooltip modicon OutOfBounds
- Swap originalWidth with width

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-03-18 18:59:31 +01:00
Tomas Slusny c81d344e92 Click the navigation button on selecting in
Call click action when selection NavigationButton.

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-03-16 01:01:54 +01:00
Tomas Slusny 0ab3ee5378 Fix ClientUI settings loading
- Register services to EventBus before the ConfigManager#load is called
- Send events on loading from file
- Do not invokeLater in invokeLater

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-03-15 23:47:33 +01:00
Tomas Slusny 1bd796bee5 Remove unused variables in Herbiboar plugin
Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-03-15 17:22:13 -04:00
Tomas Slusny 5a7792d1ac Correctly name Herbiboar classes
- Rename Herbiboars to HerbiboarPlugin
- Rename HerbiboarsOverlay to HerbiboarOverlay
- Rename "Herbiboars" to "Herbiboar" plugin name

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-03-15 17:22:12 -04:00
Tomas Slusny a8daa0156e Fix Herbiboar plugin naming conventions
Methods should never start with uppercase letter.

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-03-15 17:22:11 -04:00
Tomas Slusny ea1d610f1d Fix AgilityPlugin naming conventions
Methods should never start with uppercase letter.

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-03-15 17:22:11 -04:00
Tomas Slusny 709ecd5987 Fix herbiboar plugin NPE on startup
Add null check for client.getMapRegions because during plugin startup
when game is loading, they are null.

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-03-15 16:46:22 +01:00
Tomas Slusny ad95be84cf Merge pull request #960 from Toocanzs/spec-orb-improvement
Fix spec orb regen timing
2018-03-14 22:25:10 +01:00
Tomas Slusny 65619e998b Fix NPE from RSPlayer#getName
Add null check for getRsName, because when logging to game, sometimes it
is null, and throws NPE.

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-03-14 18:09:58 +01:00
Tomas Slusny 380d4faba7 Fix NPEs on startup from PlayerIndicators
- Change the PlayerIndicators model to use injection
- Create new set from overlays when getOverlays is called

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-03-14 18:09:55 +01:00
Tomas Slusny 2f3dbb2678 Fix drawing of player names on minimap
Move drawing player names on minimap to separate overlay, so the minimap
names can be rendered over minimap in resizeable mode.

Fixes #940

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-03-14 10:09:31 +01:00
Tomas Slusny 258ff54848 Title-case and remove "plugin" from ME swapper
Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-03-12 18:08:35 +01:00
Tomas Slusny 16dae0f094 Lower default width of the PanelComponent
Lower default width of PanelComponent to same as the XP tracker, so 129.
Also, change fishing and woodcutting overlays to draw shorter text to
fit in new overlay panel size.
Update opponent info as well because it is using own implementation of
panel component.

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-03-12 17:38:14 +01:00
Tomas Slusny 4e46a7daf4 Use backgroundComponent for drawing border of map
- Add new property fill to background component, if set to false,
background is not drawn, only borders
- Use backgroundComponent for drawing instance map borders

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-03-12 17:38:14 +01:00
Tomas Slusny cc00631987 Reposition instance map correctly in resizeable
Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-03-12 17:38:14 +01:00
Tomas Slusny 3bbc18299e Set correct offsets to overlays, smaller panels
- Set correct offsets for overlays based on resizable or fixed mode
- Change PanelComponent inside padding to be slighly smaller

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-03-12 17:38:14 +01:00
Tomas Slusny 981855a14d Consistent behaviour between ClientUI and InfoPane
- Move method for creation of all buttons from NavigationButton to swing
util
- Correctly update InfoPanel when plugin is started or needs title bar
refresh
- Correctly update ClientUI title bar when custom one is visible

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-03-12 12:36:15 +01:00
Tomas Slusny d1cbf181e3 Change panel supplier to just getter for panel
As none of the plugins are creating the panels on demand anymore,
supplier for panel is not needed.

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-03-12 12:36:15 +01:00
Tomas Slusny 9a54c75113 Add support for popups to navigation button
- Add support for popup map to navigation button
- Re-add popup to ScreenshotPlugin

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-03-12 12:36:15 +01:00
Tomas Slusny f1d5c4ef72 Add Discord button through DiscordPlugin
Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-03-12 12:36:15 +01:00
Tomas Slusny 059f92ad6c Make plugins work with new title toolbar
- Change info panel to support new hooks
- Change plugins to use NavigationButton for adding buttons to
titleToolbar

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-03-12 12:36:15 +01:00
Tomas Slusny 381b111b4a Remove the need for custom TitleToolbar component
- Extract title toolbar layout to separate component
- Create new events for adding and removing title toolbar buttons
- Create TitleToolbar through Guice

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-03-12 12:34:41 +01:00
Tomas Slusny 716c052247 Make plugins work with the new PluginToolbar
- Use updated construction for NavigationButton
- Replace ClientUI injections with PluginToolbar injections

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-03-12 12:34:41 +01:00
Tomas Slusny 445c5baf99 Remove need to extend JToolBar in PluginToolbar
- Create PluginToolbar through Guice
- Create separate component class for toolbar layout
- Create custom navigation button component to not depend on swing
- Create new events that are fired on new toolbar button addition and
removal

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-03-12 12:34:41 +01:00
Tomas Slusny 9bcc646d88 Make plugins work with new ClientUI
- Change LinkBrowser to not use ClientUI as parent for message box (not
required at all) and change it from Guice service to static utility
class
- Set screenshot plugin offsets statically without recalculating them
based on swing component

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-03-12 12:34:41 +01:00
Tomas Slusny 31048d2632 Remove the need to extend JFrame in ClientUI
- Make ClientUI wrap JFrame inside
- Do not make RuneLite class depend on Swing API at all
- Create ClientUI through Guice
- Simplify initialization and showing of UI

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-03-12 12:34:41 +01:00
Tomas Slusny 571f5f50c6 Extract utlity methods to SwingUtil class
- Extract common utlity methods from ClientUI to SwingUtil utlity class.
- Make OSXUtil accept JFrame instead of ClientUI

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-03-12 12:34:41 +01:00
Tomas Slusny aabd37854d Merge pull request #618 from sethtroll/removeviewportcontains
Remove viewport contains from cannon/hunter plugin
2018-03-09 17:59:38 +01:00
Tomas Slusny 3e4f8ba99a Allow specifying default world in [0-9]{2} format
Automatically append 300 to every world that is lower than 300 to
support both f.e. 22 and 322 formats for specifying the world.

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-03-09 15:09:01 +01:00
Tomas Slusny 081c60f4b3 Merge pull request #853 from Kamielvf/raids-move-points-box
Raids plugin: Reposition the points box to prevent it from overlapping overlays
2018-03-09 00:06:51 +01:00
Tomas Slusny 683cef9b09 Merge pull request #895 from Bartvhelvert/master
Remove unneeded drawRegionTile calls
2018-03-08 20:47:44 +01:00
Tomas Slusny 07968fbfcd Merge pull request #898 from Kamielvf/instance-map-fix
Fix instance map "show" option not displaying in right-click menu
2018-03-08 19:21:17 +01:00
Tomas Slusny ce69024d31 Remove special attack orb plugin
Because special attack orb has been added to OSRS in latest update, this
plugin is no longer needed. The functionality that shows next change
will need to be readded in future.

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-03-08 13:13:38 +01:00
Tomas Slusny 12329828ea Merge pull request #837 from deathbeam/make-names-consistent
Normalize plugin names
2018-03-07 18:40:37 +01:00
Tomas Slusny da7f7a01ee Add support for drawing names on minimap
Add support to Player Indicators plugin to draw names on minimap
(disabled by default).

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-03-07 11:08:09 +01:00
Tomas Slusny 88c2804ed4 Remove duplicated and unused OverlayUtil code
- Use OverlayUtil in implings plugin
- Remove unused code in OverlayUtil

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-03-07 10:57:45 +01:00
Tomas Slusny ae78728658 Merge pull request #868 from josharoo/remove-duplicate-timer
Remove duplicate anti-venom+ config check
2018-03-06 21:47:26 +01:00
Tomas Slusny 79b660aad1 Inverse window resize condition
- Change isResizable to lockWindowSize
- Update the description and keyName
- Inverse the condition

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-03-06 21:45:18 +01:00
Tomas Slusny df1e51dbc6 Add default world plugin
Add default world plugin where user will be able to set his default
world. In case invalid world is set, the client default/selected one
will be used instead.

Fixes #475
Closes #749

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-03-06 15:22:01 +01:00
Tomas Slusny 78728c471e Simplify RuneLite API world
- Use Lombok for World object

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-03-06 15:22:01 +01:00
Tomas Slusny c0e9a502eb Add support for changing world to API
- Export World from RS client
- Export changeWorld method
- Create new method for creating RuneScape world

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-03-06 15:22:00 +01:00
Tomas Slusny 1d01816c3f Merge pull request #852 from Kamielvf/cannon-doublehit-fix
Fix cannon plugin showing incorrect double hit spots after region change
2018-03-06 11:05:16 +01:00
Tomas Slusny 0fb3d88309 Merge pull request #841 from ChaoticConundrum/waterskin-count
Add waterskin charges to jewellerycount plugin
2018-03-06 09:15:38 +01:00
Tomas Slusny 13eeb9965d Normalize plugin names
- Replace abbreviations with full names
- Make casing in plugins consistent (title case)

These changes are needed in order to achieve better navigation in config
panel and also to improve search results in the panel (and to reduce the
mess with current naming).

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-03-05 20:00:42 +01:00
Tomas Slusny 1c46fc7c09 Merge pull request #835 from Desetude/fix/xpdrop
Renamed 'Experience drop' -> 'XP Drop'
2018-03-05 18:33:06 +01:00
Tomas Slusny 84d710d0f8 Disable team capes plugin by default
For most of people this plugin is not relevant so it should be disabled
by default as it adds unnecessary clutter in populated areas.

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-03-05 15:43:39 +01:00
Tomas Slusny 2ad56f8dff Add idle anim and combat idle toggles to notifier
Add toggles for idle animation notifications and combat idle
notifications to idle notifier plugin.

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-03-05 15:41:10 +01:00
Tomas Slusny c4ebddf12d Restore original username on syncer shutdown
Fixes #804

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-03-05 15:08:15 +01:00
Tomas Slusny b9220785a5 Continue running in case Discord lib load failed
In case loading of Discord library failed, continue running application
and just disable Discord support.

Fixes #826

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-03-05 14:53:34 +01:00
Tomas Slusny fb99c107eb Merge pull request #818 from sethtroll/addmoreanimations
idle notifier: add barbtail/dragon harpoon animation
2018-03-05 00:00:17 +01:00
Tomas Slusny 20f805cc1a Use new link browser in feed plugin
Use new link browser to open links from feed plugin entries.

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-03-04 18:22:55 +01:00
Tomas Slusny 5bb29d32d5 Use new link browser in Grand Exchange plugin
Use new link browser when opening links from search results of the
Grand Exchange plugin

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-03-04 18:22:54 +01:00
Tomas Slusny 3aa6a92aa3 Use new LinkBrowser in SessionManager
Use new LinkBrowser API in SessionManager for opening the links.

Fixes: #434

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-03-04 17:32:16 +01:00
Tomas Slusny 6790591392 Add link browser utility service
Add link browser utility service that will try to open specified link in
browser, and in case operation fails displays message box and copy URL
to clipboard.

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-03-04 17:32:16 +01:00
Tomas Slusny 0fb7590ea9 Improve scoring of Jaro-Winkler
Increase scoring based on string equality and contains checks with
lowercased and original casing.

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-03-04 17:31:34 +01:00
Tomas Slusny 906034ed49 Make idle notifier work for splashing/missing
When you splash or miss too many times HP dissapears and thus client
thinks that you have -1 HP and then idle notifier ignores that. Reason
why -1 check was there is because it was added in modification when we
were preventing the NPCs to throw notifications. But after some testing
it looks like that just checking for combat level is enough.

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-03-04 10:22:53 +01:00
Tomas Slusny a911c9564d Merge pull request #579 from sethtroll/addraidsreward
Add Raids reward to screenshot plugin
2018-03-03 20:16:31 +01:00
Tomas Slusny b9cde8a787 Correctly focus game canvas when requesting focus
Correctly focus game canvas when requesting ClientUI focus. Also, move
the call to OSXUtil.requestFocus() to clientUI.

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-03-03 03:59:50 +01:00
Tomas Slusny 078e3fe9f6 Merge pull request #780 from Kamielvf/raids-plugin-hotfix
Raids plugin: read proper input for room whitelist
2018-03-02 22:02:51 +01:00
Tomas Slusny 829bc61023 Remove the timeout for HP/pray thresholds
Fixes: #757

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-03-02 15:10:43 +01:00
Tomas Slusny 03bf1da654 Merge pull request #771 from sethtroll/addraidfood
item stat: add raid food
2018-03-02 14:37:24 +01:00
Tomas Slusny 62af296912 Fix "You are fishing" in fishing plugin
Replace equality check with contains check due to recent renaming of
some fishing spots from OSRS side.

Fixes: #755

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-03-02 13:11:03 +01:00
Tomas Slusny 1fe2879140 Merge pull request #700 from l2-/prayerEnhanceTimerFix
fix prayer enhance timer. its actually 10 seconds shorter than 5 minutes
2018-03-02 13:09:17 +01:00
Tomas Slusny 7509701682 Merge pull request #766 from Kamielvf/resize-hotfix
Fix visual bug occuring when sidepanel is contracted after resizing
2018-03-02 11:48:59 +01:00
Tomas Slusny be211ebbee Allow other types of alerts when messages are off
- Allow sending beep and requesting window focus when having notification
messages disabled

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-03-02 10:37:21 +01:00
Tomas Slusny ff4066cd74 Merge pull request #772 from Kamielvf/raids-plugin-hotfix
Raids plugin: Make rotation whitelist not case-sensitive
2018-03-02 08:45:31 +01:00
Tomas Slusny 492196ca32 Remove inSequence import b/c problems with mapping (#753)
Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-03-01 15:31:38 +01:00
Tomas Slusny 3f544bc83f Remove unnecessary chatCommandsEnabled from config
As this is not used in chat commands only anymore, and since it is
configuration parameter that noone needs to disable, it is unnecessary
and is just causing confusion.

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-03-01 12:07:23 +01:00
Tomas Slusny 3c7aa79ac5 Add support for oily rod fishing to idle notifier
- Mainly for infernal eels (and other eels as well)

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-03-01 08:36:44 +01:00
Tomas Slusny a386dab3f2 Remove notification settings from NMZ
Remove notification settings from NMZ that are now contained in
RuneLiteConfig.

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-03-01 01:12:58 +01:00
Tomas Slusny 5f0f0c6836 Remove duplicate options from IdleNotifier
Remove options that are now contained in RuneLiteConfig from idle
notifier.

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-03-01 01:12:58 +01:00
Tomas Slusny 6ffe5da929 Move the notification options to Notifier
- Move enabling of tray notifications to RuneLiteConfig
- Move request when focused notification option to RuneLiteConfig and
use it in notifier
- Move request window focus to RuneLiteConfig and use it in notifier
- Change Notifier to use Guice for creation

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-03-01 01:12:58 +01:00
Tomas Slusny aebfe444af Add fuzzy searching to config panel
Add fuzzy search to config panel. Searches for matching query in list of
entries (plugin names) based on
[Jaro-Winkler Distance](https://en.wikipedia.org/wiki/Jaro%E2%80%93Winkler_distance).

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-02-28 23:43:45 +01:00
Tomas Slusny 76fbab60fc Remove catch rate overlay
Remove catch rate overlay because the catch attemps do not always need
to be correct, because sometimes it might count other player's trap.
Also, it works only for imps, boxes and bird snares otherwise it always
shows 100%.

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-02-28 10:27:13 +01:00
Tomas Slusny 70916be164 Remove animation checks
Remove animation checks from hunter plugin because animations are
unreliable and do not work during 3ticking. Reasoning is it is better to
have shown extra traps sometimes than not registering own traps
sometimes

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-02-28 10:26:13 +01:00
Tomas Slusny 326f498ae9 Merge pull request #565 from XrioBtw/patch-11
Add missing cancel menu action
2018-02-27 17:34:35 +01:00
Tomas Slusny bec15addbb Merge pull request #724 from devLotto/model-fix
Fix ArrayIndexOutOfBoundsException on getting vertices of certain gameobjects
2018-02-27 17:10:12 +01:00
Tomas Slusny 85003ff5c0 Fix NPE in minimap plugin
Prevent failing on NPE when trying to access originalDotSprites or when
trying to access map dots.

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-02-27 14:23:25 +01:00
Tomas Slusny 046304bedd Merge pull request #675 from Kamielvf/raids-plugin-fix
Fix minor issues with Raids plugin
2018-02-25 10:47:27 +01:00