Commit Graph

1312 Commits

Author SHA1 Message Date
Infinitay
6f0b5c05a3 Disabled plugin by default
- Hopefully will encourage users seeking this
   feature to configure it to their liking.
   For example, if ironman, disable herb box.
2018-03-26 01:51:38 -04:00
Infinitay
c369113f28 Fixed checkCanCollectEssence method 2018-03-25 20:34:39 -04:00
Adam
28bb91bcaa Merge pull request #1093 from deathbeam/fix-screenshot
Add getCanvasOffset to clientUI, fix screenshots
2018-03-25 19:04:05 -04:00
Adam
c0e211a4b5 Merge pull request #1099 from deathbeam/nav-button-lookup-fix
Expand panels based on click event not isSelected
2018-03-25 19:03:19 -04:00
Adam
44266d0dcc instance map plugin: rewrite to use client minimap code 2018-03-25 18:43:29 -04:00
Adam
8b8e91b5cc Merge pull request #1108 from Kamielvf/hunter-plugin-success-timer
Show remaining time on successful hunter traps
2018-03-25 18:42:56 -04:00
Adam
0fba6101e3 Merge pull request #1110 from deathbeam/fix-menu-manager
Add null-check for Client to MenuManager
2018-03-25 18:40:35 -04:00
Adam
cddf93ab51 Merge pull request #1068 from Infinitay/daily-task-indicators
Add daily task indicators
2018-03-25 18:39:27 -04:00
Adam
7b0859a8b5 Merge pull request #1088 from SoyChai/spicy-stew
Add spicy stews to item stats plugin
2018-03-25 18:36:39 -04:00
SoyChai
d0c0501044 Extra documentation for the Stat and StatChange classes 2018-03-25 18:21:53 -04:00
SoyChai
afc268c8cc Add spicy stews to item stats plugin 2018-03-25 18:21:53 -04:00
Adam
19052fb5d6 Merge pull request #1076 from Kamielvf/item-price-tooltip-linebreak
Item price tooltip: use linebreak instead of comma
2018-03-25 18:05:53 -04:00
Infinitay
b0cf1fe57f Added daily task indicators plugin 2018-03-25 17:44:41 -04:00
Adam
e7dea7b65c Merge pull request #1073 from deathbeam/add-stack-format-number
Add formatNumber methods to StackFormatter
2018-03-25 15:34:20 -04:00
Max Weber
92a94cff32 Ensure createItemSprite is called on the game thread 2018-03-25 14:51:14 -04:00
Max Weber
0ec8d7615f runelite-client: Add ClientThread to aid in synchronizing with the client 2018-03-25 14:51:13 -04:00
Tomas Slusny
2214e7d906 Add null-check for Client to MenuManager
Add null-checks for Client, what can be null when in Vanilla to
MenuManager (e.g HiscorePlugin is calling it when Client can be null
when it is running).

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-03-25 17:11:00 +02:00
Kamiel
e5ae7d5388 Show remaining time on successful hunter traps 2018-03-25 14:06:23 +02:00
Tomas Slusny
03a0602d85 Expand panels based on click event not isSelected
- Remove changing of isSelected property on navigation button in order
to open it
- Change navigation button handling to always "click" the wrapped button
no matter if button is selected or not and let the special callback
handle it

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-03-24 21:24:32 +01:00
Adam
37d0955d74 Merge pull request #1040 from sethtroll/addinfoboxpriority
Info Boxes: Group boxes by plugin, sort by priority
2018-03-24 14:19:52 -04:00
Tomas Slusny
87752d3982 Add formatNumber methods to StackFormatter
- Add formatNumber methods to StackFormatter that reuse the NumberFormat
instance
- Use new methods instead of using created NumberFormats on other places
- Use new formatter in NightmareZonePlugin

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-03-24 19:15:26 +01:00
Seth
0a622a9692 info boxes: sort boxes by priority
add high/med/low priority options and sort boxes by priority
2018-03-24 14:08:56 -04:00
Seth
06abbe6956 info boxes: associate plugins to infoboxes
associate plugins to infoboxes and allow the infobox manager to sort boxes by plugin descriptor name to stop all infoboxes mixing together
2018-03-24 14:08:54 -04:00
Adam
3d8212187b Merge pull request #1096 from Kamielvf/grounditems-mouseconsume-fix
Ground items: Only consume mouse clicks when a checkbox has been clicked
2018-03-24 12:28:22 -04:00
Adam
cc036b9d6f feed plugin: make scheduled method public
The scheduler only looks at annotations on public methods
2018-03-24 11:59:03 -04:00
Kamiel
cb6bdf0fca Ground items: Only consume mouse clicks when a checkbox has been clicked 2018-03-24 15:18:55 +01:00
Adam
295bfa0c07 Merge pull request #1087 from Abextm/stats-cleanup
itemstats: use EnergyStat instead of anonymous stat
2018-03-24 09:25:50 -04:00
Adam
4da2c83041 Merge pull request #1095 from Kamielvf/ranging-potion-fix
Fix ranging potion showing invalid boost value
2018-03-24 09:18:11 -04:00
Max Weber
7f64f93bb0 menumanager: Actually remove menu options 2018-03-24 09:16:21 -04:00
Kamiel
f6de72f5c8 Fix ranging potion showing invalid boost value 2018-03-24 13:31:50 +01:00
Tomas Slusny
0c0f047f0c Add getCanvasOffset to clientUI, fix screenshots
Fix screenshot offset by exposing getCanvasOffset from ClientUI and
using it when taking screenshots with game frame enabled.

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-03-24 12:08:25 +01:00
Max Weber
1e1f6f9174 itemstats: use EnergyStat instead of anonymous stat 2018-03-23 20:22:56 -06:00
Adam
fa71b3d336 Merge pull request #472 from Unmoon/tithe-farm-plugin
Add Tithe Farm plugin
2018-03-23 15:38:41 -04:00
Unmoon
fc0f7692d1 Add Tithe Farm plugin 2018-03-23 15:27:53 -04:00
Adam
6131fd6f1e Merge pull request #1048 from deathbeam/cave-horrors-cannon
Add Cave Horror cannon spot
2018-03-23 15:15:13 -04:00
Adam
ed55bf06c8 Merge pull request #1057 from deathbeam/lizardman-cannon-fix
Fix Lizardmen cannon spot plane
2018-03-23 15:14:53 -04:00
Adam
1ff55fafab Merge pull request #1081 from deathbeam/overlay-renderer-null-list
Add null-check for overlays in OverlayRenderer
2018-03-23 15:14:15 -04:00
Adam
c25520e8a2 Merge pull request #959 from deathbeam/tooltip-right
Move tooltip to the right of the mouse
2018-03-23 15:13:06 -04:00
Tomas Slusny
40086488d5 Add null-check for overlays in OverlayRenderer
Sometimes right after login overlays can be null instead of empty list.
Add null check to prevent ending on NPE.

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-03-23 19:18:42 +01:00
Adam
6e5751b71a Merge pull request #1006 from Infinitay/kingdom-of-miscellania
Added Kingdom of Miscellania plugin
2018-03-23 13:44:22 -04:00
Tomas Slusny
f15c550d83 Move tooltip to the right-bottom of the mouse
- Move tooltip default position to right-bottom of mouse cursor
- Automatically adjust cursor position based on space around the tooltip
- Remove the ability from Tooltip manager to have other tooltips other
than mouse tooltips (for custom-positioned tooltips use tooltip
component directly)

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-03-23 18:28:10 +01:00
Infinitay
ab7dbf4fa6 Added Kingdom of Miscellania plugin 2018-03-23 13:26:01 -04:00
Adam
0f19d53dcc Merge pull request #1077 from deathbeam/instance-map-fixed
Instance map improvements + moving
2018-03-23 13:22:26 -04:00
Adam
6f959e3f1f Merge pull request #1071 from deathbeam/movable-overlays-improvements
Movable overlays improvements
2018-03-23 13:21:44 -04:00
Tomas Slusny
f2e1ab5bfe Remove not needed parent point and minimap orb
- Remove not needed parent point parameter in RenderableEntity, it's
usage has been replaced with getBounds().getLocation()
- Remove unused class minimap orb

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-03-23 17:50:43 +01:00
Tomas Slusny
a05650cd31 Disable overlay dragging mode on focus lost
Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-03-23 17:36:42 +01:00
Tomas Slusny
adf4c5bc80 Make unsetConfiguration non-blocking
Send saving of the unsetConfiguration call to client to different thread
using ExecutorService to not block when it is called.

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-03-23 17:17:51 +01:00
Tomas Slusny
1554fe01e7 Instance map improvements + moving
- Change instance map to resize on "fixed" layer so it can be layouted
- Scroll minimap only when mouse is in the minimap bounds

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-03-23 15:45:48 +01:00
Kamiel
2d41a3bb53 Item price tooltip: use linebreak instead of comma 2018-03-23 15:25:01 +01:00
Tomas Slusny
143762f4a6 Change multiple overlay lists to map
Change multiple overlay list definitions to use synchronized map with
layers and list of overlays to simplify the implementation a bit.

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-03-23 15:19:08 +01:00