Commit Graph
100 Commits
Author SHA1 Message Date
Tomas Slusny a21fae7fbc Add raids fishing spot
Add missing fishing spot on Mount Qudamortem.

Closes: #848

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-04-02 11:44:21 +02:00
Tomas Slusny 2455b4f639 Add support for drawing player team's names
Add support for drawing player names and indicators for players in same
team as actual player.

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-04-01 14:27:20 -04:00
Tomas Slusny 185aa3f45b Add clan changed hook
Add hook that will fire when user changed his clan.

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-04-01 14:27:19 -04:00
Tomas Slusny d98fe4cf2d Properly invalidate clan ranks and names
- Invalidate clan ranks when player changes his clan
- Invalidate player names when game state changes

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-04-01 09:13:54 -04:00
Tomas Slusny d268f9a75c Add clan changed hook
Add hook that will fire when user changed his clan.

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-04-01 09:13:54 -04:00
Tomas Slusny 01f2532b1c Add DMM name drawing opcodes to cache
Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-04-01 09:13:54 -04:00
Tomas Slusny 52129598e5 Always remove tags from player.getName()
- Move removal of tags to RSPlayerMixin
- Remove tags from players names where needed

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-04-01 09:13:53 -04:00
Tomas Slusny 59ad536fa9 Merge clan chat and player indicators plugin
As the only purpose of clan chat was to add clan chat icons for players
in CC, this functionality can be done too from Player Indicators plugin.

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-04-01 09:13:52 -04:00
Tomas Slusny 5044e40bdd Use built-in name rendering in player indicators
- Change player indicators to use built-in player name rendering
- Add support for drawing clan member rank icons thanks to built-in
player name rendering

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-04-01 09:13:50 -04:00
Tomas Slusny 7c233a096c Add mappings and api for DMM player names
- Add mappings for DMM player names and methods using them
- Create class with DMM player name rendering masks
- Create mapping for cleanName from player
- Create mapping for setting name to player

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-04-01 09:11:12 -04:00
Tomas Slusny 24e6b24200 Add support for drawing player team's names
Add support for drawing player names and indicators for players in same
team as actual player.

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-04-01 09:11:11 -04:00
Tomas Slusny 4ddd3bc32f Add option for enabling small font
- Add option for toggling between small and large font for in-game
overlays
- Normalize the font size usage around overlays

Closes: #1214

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-04-01 09:25:27 +02:00
Tomas Slusny a24b7b427e Merge pull request #1211 from deathbeam/fix-item-manager-init
Use provider for client in item manager
2018-04-01 07:14:51 +02:00
Tomas Slusny a730ae0d22 Use provider for client in item manager
To prevent ItemManager initializing with null client change reference to
the client to Provider<Client>.

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-04-01 04:18:08 +02:00
Tomas Slusny 7164d4cc8c Merge pull request #1202 from rune3132/master
Added the turquoise slayer helmet to the slayer plugin
2018-04-01 01:57:36 +02:00
Tomas Slusny dff0ce007d Invalidate item manager cache on hopping and login
Invalidate item manager composition cache when person is hopping or goes
to login screen to prevent issues with changing from p2p to f2p worlds.

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-03-31 20:56:31 +02:00
Tomas Slusny 19bd1f5c67 Invalidate ground items cache properly
Instead of clearing ground items after game state change, just mark the
ground items dirty.

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-03-31 20:54:29 +02:00
Tomas Slusny 9dfd671121 Reduce the amount of temporary objects in items
- Reduce the amount of GroundItem objects created by mutating objects
instead of creating merged copies
- Reduce the amount of stream transformations required by using
LinkedHashMap and sorting the ground items before collection

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-03-30 18:40:13 -04:00
Tomas Slusny 5272e2d9b6 Color the hidden items gray when in highlight mode
Color hidden ground items gray when in item highlight mode to show
different between non-hidden and hidden items.

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-03-30 18:40:13 -04:00
Tomas Slusny 76d954db21 Improve ground items plugin
- Reduce amout of iterations per frame by pre-collecting the ground
items on game tick
- Collect ground items in ground item plugins and pre-compute some
easy-to-get values
- Replace the looping over all tiles with looping over collected ground
items
- Change GroundItemOverlay logic to support single list of items instead
of multi-dimensional array

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-03-30 18:40:12 -04:00
Tomas Slusny 9a47c4db6d Move title toolbar buttons to sidebar in native
When native window decorations are enabled (e.g when custom window
chrome is disabled), to reduce code complexity, but to maintain current
usability (e.g prevent adding new UI elements in order to position the
icons somewhere) move the title toolbar icons to sidebar.

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-03-31 00:28:08 +02:00
Tomas Slusny e7897eccc2 Save overlay data after resetting position
Due to flaw in logic, the save event in mouseReleased was never
triggered when overlay position was reset. It is not possible anymore to
go through the logic again/not worth and so save the overlay data
immediately.

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-03-30 04:01:02 +02:00
Tomas Slusny 37ac47417c Move viewport check below gamestate and CTP
Move viewport widget check below logged in check and click to play
screen check.

Fixes: #1190

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-03-30 03:33:34 +02:00
Tomas Slusny 15cd9164b4 Merge pull request #1066 from ShaunDreclin/black-demon-hp-fix
Fix capitalization of 'Black demon' in npc_health.json
2018-03-29 17:33:58 +02:00
Tomas Slusny da029b9276 Merge pull request #1175 from Abextm/log-game-crash
Log game crashes to the logger, not Stdout
2018-03-29 12:19:09 +02:00
Tomas Slusny fca60e32ec Merge pull request #1135 from JustANull/tray-icon-crash
Fix tray icon crash when clicked quickly on start
2018-03-28 14:02:46 +02:00
Tomas Slusny 347e42a5a3 Move loading of session before starting plugins
To remove the need for restarting plugins or reloading configurations
when plugins are loaded and then their confifguration changes, load
session configuration in advance.

Closes: #1121

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-03-27 12:52:18 +02:00
Tomas Slusny 2214e7d906 Add null-check for Client to MenuManager
Add null-checks for Client, what can be null when in Vanilla to
MenuManager (e.g HiscorePlugin is calling it when Client can be null
when it is running).

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-03-25 17:11:00 +02:00
Tomas Slusny 03a0602d85 Expand panels based on click event not isSelected
- Remove changing of isSelected property on navigation button in order
to open it
- Change navigation button handling to always "click" the wrapped button
no matter if button is selected or not and let the special callback
handle it

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-03-24 21:24:32 +01:00
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 0c0f047f0c Add getCanvasOffset to clientUI, fix screenshots
Fix screenshot offset by exposing getCanvasOffset from ClientUI and
using it when taking screenshots with game frame enabled.

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-03-24 12:08:25 +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