Commit Graph

1170 Commits

Author SHA1 Message Date
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
joshpfox
fe86d0b930 configurable slayer infobox expiry timer
Add an option in plugin config to set a time for the infobox to expire
Infobox appears on getting task, checking task, killing slayer monster, initial log in
2018-03-15 12:27:31 -04:00
Adam
eb9430d968 Merge pull request #978 from deathbeam/fix-herbiboar-npe
Fix herbiboar plugin NPE on startup
2018-03-15 12:20:33 -04:00
Adam
c479485c19 Merge pull request #884 from xaviergmail/superior-foes
Add slayer superior foe notification
2018-03-15 12:19:44 -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
Xavier Bergeron
87acc04696 Add slayer superior foe notification 2018-03-15 11:30:40 -04:00
Adam
e85aca3c70 Merge pull request #688 from tylerthardy/herbiboarPlugin
Herbiboar plugin
2018-03-15 11:21:07 -04:00
Adam
fc05994f79 Merge pull request #880 from deathbeam/cleanup-clientui
Cleanup ClientUI
2018-03-15 11:16:51 -04:00
Tyler Hardy
6bfe2ef122 Add herbiboar plugin 2018-03-15 11:11:23 -04:00
Runelite auto updater
53e19ea206 [maven-release-plugin] prepare for next development iteration 2018-03-15 12:21:30 +00:00
Runelite auto updater
1dcdb90463 [maven-release-plugin] prepare release runelite-parent-1.3.0 2018-03-15 12:21:26 +00:00
XrioBtw
f4ed46edf6 Fix menu entry swap for shark harpoon fishing (#965)
* Change "Net" to "Big Net"

Shark harpoon option is supposed to be swapped with "Big Net", not "Net"
2018-03-15 10:02:44 +01:00
Adam
3959b39e9e Merge pull request #964 from SomeoneWithAnInternetConnection/menuEntryAdded-for-itemdefs
Use a fieldhook for MenuEntryAdded events
2018-03-14 18:15:51 -04:00
SomeoneWithAnInternetConnection
f1751e21c3 Use a fieldhook for MenuEntryAdded events
The previously-hooked addMenuEntry method in runescape-client is one
that occasionally gets inlined which can cause weird breakages like
MenuEntryAdded not getting fired for menu entries defined in
ItemDefinitions. Hooking the menuOptionCount field should be more
reliable.

Fixes #936
2018-03-14 17:31:37 -04: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
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
Toocanzs
3c3cfc1192 Fix spec orb regen timing 2018-03-14 11:57:45 -04: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
Adam
4c9a3bcea9 runelite-client: add github release plugin configuration 2018-03-13 21:03:09 -04:00
Adam
5411da531b runelite-api: add scale to createItemSprite 2018-03-13 14:13:14 -04:00
Adam
410ae392b5 Merge pull request #945 from deathbeam/fix-menu-entry-name
Title-case and remove "plugin" from ME swapper
2018-03-12 21:25:48 -04:00
Seth
fb3225ec34 fishing plugin: remove broken minnow npcs and swap to graphic check
previous "bad" minnow spot (npc ID 7734) was removed/changed to something different and now the fishing spot will just change graphic animation when the spot is bad.
2018-03-12 18:31:39 -05:00
Seth
3df3910b1b NpcID: update ids to cache 165 2018-03-12 18:31:10 -05: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
Dennis de V
9aac22477b Fix ground items nullpointer exception 2018-03-12 08:50:42 -04:00
Adam
1121be0628 Merge pull request #933 from nvisser/xptracker-roundactions
Round actions remaining up
2018-03-12 08:30:15 -04:00
Adam
1856a5f1a1 sessions: decrease session ping frequency 2018-03-12 08:12:10 -04: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
Adam
6f5a8b75ea dev tools overlay: transform npcs if applicable 2018-03-11 19:20:03 -04:00
Adam
d3e8e5e51a Merge pull request #931 from Joshua-F/feat/removeTags
Add a util method for removing tags
2018-03-11 12:16:19 -04:00
Adam
46ef2c8814 Merge pull request #927 from Blizik/hideminimap
Option to hide minimap
2018-03-11 11:54:28 -04:00
Joshua Filby
85ac977324 runelite-client: Update plugins to use Text.removeTags 2018-03-11 11:53:55 -04:00
Joshua Filby
e7f6793722 runelite-client: Add Text#removeTags method 2018-03-11 11:53:48 -04:00
Blizik
9848b58986 Add ability to toggle minimap display 2018-03-11 11:42:50 -04:00
Dennis
8f7db67984 ground items plugin: add option to highlight menu 2018-03-11 11:37:43 -04:00
Adam
398441616a Merge pull request #627 from XrioBtw/patch-12
Add Menu Entry Swapper plugin
2018-03-11 11:09:16 -04:00
XrioBtw
0ab5db6c2e Add menu entry swapper plugin 2018-03-11 10:58:38 -04:00