Add dependency on logback and configure logger to log to
~/.runelite/logs/application.log with rolling file appender, that means
every 10MB file will be rolled and also every day file will be rolled
with maximum history of 30 days, to not flood user's system space.
Add new console parameter -debug, because logback properties cannot be
set from console like slf4j-simple ones, so it needs to be done in a bit
more complicated way.
Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
- Remove log.info on each hover of the JRichTextPane
- Change log.info to log.warn when browser cannot be opened in the
JRichTextPane
Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
Add injectable Discord RPC service that will broadcast Discord events
through event bus and have API for setting Discord Rich Presence status.
Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
Currently MLM plugin sack overlay layer is set to ABOVE_SCENE, but it
needs to be set to UNDER_WIDGETS so overlay renderer can tile it
correctly with other overlays (and also to be rendered over overheads
and HP bars).
Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
You should never want to expose instance variables in the class to public, and you always want to either create getters/setters for them or make them private.
shownSkills wasn't being initialized until it received ConfigChanged
event, causing a NullPointerException when the overlay tried to iterate
over shownSkills
- Adjust overlay layers and priorities to correctly show f.e player names
on top, but below ui elements/widget elements.
Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
- Add new overlay layer position that draws right above overheads and HP
bars, what is perfect for game interfaces
- Make this new layer use UNDER_WIDGETS layer position, and move the
before layer position to ABOVE_SURFACE
Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
In order to not draw UI overlays over bank interfaces (and similar popup
interfaces), change default overlay position to UNDER_WIDGETS.
Fixes#451
Signed-off-by: Tomas Slusny <slusnucky@gmail.com>