Commit Graph

2592 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
Adam
6f1853575d runelite-mixins: add null checks in region mixin 2018-03-15 16:07:36 -04:00
Adam
680996ebe7 Merge pull request #838 from josharoo/slayer-infobox-expiry
Add timer to hide Slayer infobox
2018-03-15 12:40:08 -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
Tyler Hardy
38726e53a6 Add herbiboar varbits 2018-03-15 10:56:05 -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
Adam
0d5a7ea6d8 cache: change netty dependency to netty-buffer 2018-03-14 16:48:38 -04:00
Adam
2e0dda8291 Merge pull request #961 from deathbeam/fix-indicators-array-allocation
Fix NPEs on startup from PlayerIndicators
2018-03-14 15:25:10 -04: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
Toocanzs
3c3cfc1192 Fix spec orb regen timing 2018-03-14 11:57:45 -04:00
Adam
57fd8b4283 Merge pull request #958 from deathbeam/fix-minimap-names
Fix drawing of player names on minimap
2018-03-14 08:19:04 -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
34d0f56dda Merge pull request #954 from Adam-/spriteimg
http-service: add sprite service
2018-03-13 14:33:51 -04:00
Adam
c234605254 Merge pull request #952 from Adam-/item-zoom
runelite-api: add scale to createItemSprite
2018-03-13 14:28:40 -04:00
Adam
e82e404c6e http-service: add sprite service 2018-03-13 14:21:18 -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
Adam
b042e66926 Merge pull request #948 from sethtroll/fixminnowfishing
Fishing plugin: Fix minnow fishing
2018-03-12 21:15:19 -04:00
Adam
10311e4965 cache: fix item definition default zoom2d 2018-03-12 20:44:43 -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