- 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>
- Rename Herbiboars to HerbiboarPlugin
- Rename HerbiboarsOverlay to HerbiboarOverlay
- Rename "Herbiboars" to "Herbiboar" plugin name
Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
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
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>
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
- Change the PlayerIndicators model to use injection
- Create new set from overlays when getOverlays is called
Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
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>
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.
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>
- 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>
- 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>
- 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>