Commit Graph
1572 Commits
Author SHA1 Message Date
Tomas Slusny 002cf6223f Change UIManager defaults to use OSRS font
Change UIManager defaults for fonts to use OSRS font instead.

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2017-12-23 19:30:11 -05:00
Adam 16b0bebd47 Skip archetype test by default
It requires mvn/jdk to be in your PATH
2017-12-23 09:28:57 -05:00
Adam 7d078b8126 Merge pull request #271 from devinfrench/zulrah
Update zulrah plugin overlay
2017-12-22 16:32:14 -05:00
Adam e6705133fc Merge pull request #278 from deathbeam/fix-memory-leak
Fix OkHttp connection leaks on connection error
2017-12-21 20:25:47 -05:00
Tomas Slusny 4660bb3739 Fix OkHttp connection leaks on connection error
When request fails, entire response needs to be wrapped in try with
resources in order to close the connection properly and not only
response body.

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2017-12-22 02:05:28 +01:00
kokkue 9125211f57 idle plugin: add ornament dragon pickaxe 2017-12-21 18:53:29 -05:00
Adam a6fde8fb28 Merge pull request #272 from devinfrench/jad
Update fight cave plugin
2017-12-21 11:34:25 -05:00
Adam 2f76aa1aa9 Merge pull request #277 from SomeoneWithAnInternetConnection/fix-plugin-archetype
Actually fix example plugin archetype, and add a test to make sure it stays that way
2017-12-21 11:24:45 -05:00
SomeoneWithAnInternetConnection a6e275e910 Add tests for archetype-plugin compilability
This should make sure that the example plugin archetype is compilable.
The test seems to fail in IDEA, but runs fine from a terminal :/
2017-12-21 08:42:09 -05:00
SomeoneWithAnInternetConnection 39ea262d32 Actually fix example plugin archetype
The previous fix introduced an import conflict: java.awt.Point and
net.runelite.api.Point
2017-12-21 08:41:40 -05:00
Runelite auto updater 75f69fdde2 [maven-release-plugin] prepare for next development iteration 2017-12-21 13:28:10 +00:00
Runelite auto updater c674896a5a [maven-release-plugin] prepare release runelite-parent-1.2.10 2017-12-21 13:28:06 +00:00
Devin abf3b33338 Update zulrah plugin overlay 2017-12-20 16:14:32 -08:00
kokkue 83e7e93b9e idle plugin: add infernal tool animation IDs 2017-12-20 17:20:53 -05:00
Tomas Slusny 7c989dc105 runelite-client: Add app name to RuneliteProperties 2017-12-19 20:37:40 -05:00
Tomas Slusny 3769cab5b4 Remove unused app property from RSStub
Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2017-12-19 20:15:54 -05:00
Adam 1a49da5b7f Merge pull request #268 from devinfrench/teamcapes
Add Team Capes plugin
2017-12-19 08:02:45 -05:00
Devin a92f8089b8 Add team capes plugin 2017-12-18 21:19:01 -08:00
Devin ff215f2bbc Update fight cave plugin overlay 2017-12-18 20:33:00 -08:00
Devin 30e319ea98 Add fight cave plugin config 2017-12-18 20:32:59 -08:00
Adam e69a26cf8a Merge pull request #261 from devinfrench/dev
Add additional functionality to overlay UI
2017-12-18 21:11:54 -05:00
Devin ddf9ee89e7 Fix padding for bottom right overlays 2017-12-17 17:48:21 -08:00
Devin 66dad47992 Add setter for background color of overlay components 2017-12-17 17:48:20 -08:00
Adam b8374d9f53 Merge pull request #266 from UniquePassive/spec-orb-changes
Make special attack orb look a little nicer
2017-12-17 19:34:24 -05:00
Adam 033cf3bb01 cache: split loading archive files from archive loading
Also no longer store archive contents in memory and instead read it from
storage on demand.
2017-12-17 18:36:05 -05:00
Tomas Slusny 801a907f15 Isolate graphics for each overlay (#267)
Clone graphics before rendering overlay, then use the cloned graphics
for the overlay and dispose it afterwards to prevent any unwanted side
effects from overlay.

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2017-12-17 14:18:15 +01:00
Devin c8348eeec2 Add getTeam method for Player 2017-12-16 19:45:33 -08:00
rbbi bc3af562bd Guice : RuneliteProperties inj (#212) 2017-12-17 04:06:23 +01:00
XrioBtw 7ac5d5935c Fix tooltips rendering behind the game
Fixes #257
2017-12-17 03:29:19 +01:00
Devin 65114f50d8 Add ImagePanelComponent overlay component 2017-12-16 18:13:07 -08:00
Adam 8dbe2d012a Merge pull request #263 from deathbeam/examine-bank-eq
Add support for examining bank and eq items price
2017-12-16 20:53:44 -05:00
Adam 3a9e1ecb62 Merge pull request #265 from deathbeam/fix-broken-plugins
Fix overlay renderer cache
2017-12-16 20:52:55 -05:00
Adam a1c74c2e21 Merge pull request #264 from SomeoneWithAnInternetConnection/fix-plugin-archetype
Fix example plugin to use the new overlay API
2017-12-16 20:51:35 -05:00
UniquePassive 044502da78 Make special attack orb look a little nicer 2017-12-17 02:25:36 +01:00
Tomas Slusny 69deaa5b4a Fix overlay renderer cache
Fix overlay renderer plugin caching to actually use plugin received from
onPluginChanged hook, because the events are fired before the plugins
are actually added/removed to the plugin list.

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2017-12-17 00:31:35 +01:00
Adam 21f2543059 cache: fix compression with encryption 2017-12-16 18:24:00 -05:00
Tomas Slusny 08e3282ed7 Add support for examining bank and eq items price
Add support for showing bank, bank inventory and equipment item prices
when examined.

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2017-12-17 00:16:51 +01:00
SomeoneWithAnInternetConnection 9e8b524eb1 Fix example plugin to use the new overlay API
PR #246 changed the API for overlays slightly. This change fixes the
maven archetype plugin to match
2017-12-16 18:01:10 -05:00
Tomas Slusny e4d15f0790 Fix displaying of examine price without GE value
Fix displaying of : in item price when GE value is missing and only HA
value is present.

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2017-12-16 23:54:33 +01:00
Adam cba9866304 cache: remove tree storage 2017-12-16 17:50:47 -05:00
Adam 440ecd6c7c cache server: never send appended archive revision 2017-12-16 17:27:21 -05:00
Adam 270ed11d1a Merge pull request #262 from SomeoneWithAnInternetConnection/XPOrb-tooltip-exception-fix
Fix IllegalArgumentExceptions from XPGlobes' tooltips for level 1 stats
2017-12-16 16:25:09 -05:00
SomeoneWithAnInternetConnection aad76b9bab Fix IllegalArgumentExceptions from XPGlobes' tooltips for level 1 stats
To draw the progress bar, XPGlobesOverlay.drawTooltipIfMouseover() uses
Experience.getXPForLevel(), which threw an IllegalArgumentException when
asked about level 1. This change shifts the XP_FOR_LEVEL array over by
one, so that XP_FOR_LEVEL[0] is the XP required to reach level 1 (i.e. 0),
rather than the XP required for level 2.
2017-12-16 16:09:58 -05:00
Adam c31758a715 cache: test scope slf4j-simple 2017-12-16 15:58:44 -05:00
Adam a94ccedbf0 cache: use own Xtea implmentation instead of bouncycastle's 2017-12-16 15:58:43 -05:00
Adam 0049b8d34e cache: improve xtea test 2017-12-16 15:58:42 -05:00
Adam 1a6f84caa9 cache: remove whirlpool as it is not in osrs 2017-12-16 15:58:41 -05:00
Adam e46d9e8c17 Merge pull request #254 from deathbeam/native-ui-cleanup
Cleanup overlay logic after native-ui changes
2017-12-16 08:30:35 -05:00
Tomas Slusny 4d8dde760f Cleanup overlay logic after native-ui changes
- Remove unnecessary derivations of runescapeSmallFont
- Render overlays in "safe" environment (restore original font and
tranform after overlay rendering is done)
- Use TextComponent at more places
- Remove unnecessary setting of default font in VolcanicMineOverlay
- Change RenderableEntity from abstract class to interface
- Remove unused tooltip configuration from RuneliteConfig
- Use viewportWidget instead of chatbox widget for positioning the
overlay groups (thanks to Devin for tip)

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2017-12-15 00:13:44 +01:00
Adam ebc52ed680 Merge pull request #246 from deathbeam/plugin-ui-update
Make overlay UI reusable and look native
2017-12-13 18:39:08 -05:00