Commit Graph

363 Commits

Author SHA1 Message Date
UniquePassive
e4487362a5 Expand the hiscore panel when looking up players 2018-01-02 08:28:09 -05:00
Adam
ce1de258e9 Merge pull request #303 from Noremac201/addMissingSKills
Added and reordered missing skilling skills from boosts overlay.
2017-12-31 20:14:17 -05:00
Julian Tith
6d3110f0a1 Add craft spinning animation ID and idle notification 2017-12-31 12:10:14 -08:00
noremac201
537a76fcc6 Added missing skilling skills from boosts overlay. Reordered from left to right and up to down. 2017-12-30 18:56:18 -06:00
Tomas Slusny
389a2be7ae Show account and config plugins when outdated
Add property to load when outdated to both account and config plugins to
make them visible even when native client is loaded.

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2017-12-30 00:02:45 +01:00
Tomas Slusny
0d8870e7da Remove unnecessary null checks for game client
Remove unnecessary null checks for game client from plugins, as now
client is always not null in all of them, since in the case of it being
null the plugins are not even started.

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2017-12-29 18:17:17 +01:00
Tomas Slusny
6c2e827d4a Move creation of UI to ClientUI class
- Move setting of UI-related variables to ClientUI class (create new
"create" static method to set them before creating the UI window)
- Clean up ClientUI class

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2017-12-29 18:17:16 +01:00
Tomas Slusny
6bf63a447f Cleanup RuneLite class fields
- Remove runelite variable
- Use setters for options and injector (to use them outside of tests)
- Remove getter for gui and make it package-private
- Use package-private gui field when providing ClientUI from
RuneliteModule

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2017-12-29 18:17:16 +01:00
Tomas Slusny
b4eba39f6b Move creation of tray icon to ClientUI
Move creation of tray icon from RuneLite to ClientUI.

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2017-12-29 18:17:15 +01:00
Tomas Slusny
06836b3e1d Move setTitle to ClientUI
Move setTitle method from RuneLite to ClientUI.

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2017-12-29 18:17:15 +01:00
Tomas Slusny
bd521acbb0 Move creation of client to RuneLite
Instead of using setters and getters to move around reference to Client
and creating the client in the client panel, move creation of the Client
to RuneLite and add new field to PluginDescriptor if the plugin should
be loaded when client is outdated.

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2017-12-29 18:17:09 +01:00
Tomas Slusny
69b88fe3e3 Extract runQuery to QueryRunner service
Extract runQuery method from runelite to separate Guice service.

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2017-12-29 16:41:09 +01:00
Tomas Slusny
984ebb63dd Extract session-related logic to SessionManager
- Extract runelite session related logic from RuneLite to SessionManager
class and expose this as Guice service
- Move WSClient to account package

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2017-12-29 16:41:09 +01:00
Tomas Slusny
82ee4a0036 Change Notifier to be injectable service
Move notify methods to Notifier and change it to be injectable Guice
service.

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2017-12-29 16:41:09 +01:00
Adam
94ffd34ba9 Merge pull request #275 from RobinWeymans/hunter-plugin
Hunter plugin
2017-12-23 20:16:09 -05:00
Adam
041181d469 Merge pull request #269 from deathbeam/better-swing-ui
Clean up swing UI
2017-12-23 20:15:00 -05:00
Tomas Slusny
19416ba5ca Normalize plugin panel display
- Add same padding to each panel
- Wrap each panel in JScrollPane
- Clean up plugin panel API and set normalized width, height and layout
to each panel instead of having to manually specify it for each panel
- Make PluginPanel class abstract

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2017-12-23 19:30:27 -05:00
Tomas Slusny
4568f4302f Move IconTextField to Hiscore plugin
As it is the only place where it is used, it should be placed there.

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2017-12-23 19:30:26 -05:00
Tomas Slusny
670ffe135f Simplify navigation button code
Simplify code of the navigation button to also handle images and to
extend the swing JButton instead of wrapping it in getButton method.

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2017-12-23 19:30:25 -05:00
Tomas Slusny
bb8f17d75e Change XP tracker button to use image
Change xp tracker button to use actual image instead of text because
text was not showing on both Windows and Linux.

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2017-12-23 19:30:21 -05:00
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
Unmoon
833bc3e6b2 Ground Items - Always show highlighted items
Show highlighted items even if they are under the GE/HA value thresholds.
2017-12-23 19:24:43 -05:00
Unmoon
d74f2f3e46 Ground Items - Fix quantity in high alch value display 2017-12-23 19:24:41 -05:00
Unmoon
c647d755b4 Ground Items - Fix coins not having value 2017-12-23 19:24:40 -05:00
Unmoon
701ae90ed5 Ground Items - Fix alch value not applying to whole stack 2017-12-23 19:23:43 -05:00
Onvo
e4ea7d15e4 Add hunter plugin 2017-12-23 19:11:39 -05:00
Onvo
93b950c829 Make ground items overlay use new Widget.contains 2017-12-23 19:11:34 -05:00
Onvo
9f6b4e2d6c Add GameObjectsChanged event 2017-12-23 19:11:27 -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
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
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
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