Commit Graph

2770 Commits

Author SHA1 Message Date
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
8da1bb8d7d wsservice: remove sessions on close or error 2018-03-25 17:01:24 -04:00
Adam
519e4bd87f Merge pull request #1065 from SoyChai/experience
Expand tests for and document the Experience API
2018-03-25 15:39:48 -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
SoyChai
51e42a3231 Expand tests for and document the Experience API 2018-03-25 15:30:09 -04:00
Adam
36495126d1 Merge pull request #1106 from Abextm/client-threading
Ensure createItemSprite is called on the game thread
2018-03-25 15:04:39 -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
Adam
96be64b936 Merge pull request #1103 from Abextm/injector-assert
injector: Allow use of assert
2018-03-25 14:37:47 -04:00
Max Weber
764e361626 mixins: Use assert in scriptvm 2018-03-24 20:38:59 -06: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
Adam
a71bec83f8 travis: remove oracle-java8-installer as it broke and use the oraclejdk travis ships, which is new enough now 2018-03-24 09:13:22 -04:00
Kamiel
f6de72f5c8 Fix ranging potion showing invalid boost value 2018-03-24 13:31:50 +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
Adam
25e9eb8256 Merge pull request #1064 from Abextm/configsync
configmanager: Synchronize disk access
2018-03-23 12:03:54 -04: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
Tomas Slusny
c3eddf02a8 Improve caching of game-related variables
- Add caching for chatbox bounds
- Use cache variables when calculating OverlayBounds
- Cache everything at once when needed in the caching method without
early returns

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-03-23 13:32:09 +01:00
Tomas Slusny
4a8af3d049 Create translated copy of OverlayBounds
- Add new method to OverlayBounds for translating them that will return
translated copy of the bounds
- Use this new method in OverlayRenderer to prevent mutations of
OverlayBounds, what are not desired
- Use stored overlay bounds in mouse events and translate them by making
new copy

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-03-23 12:06:46 +01:00
Tomas Slusny
553fee70c4 Calculate overlay bounds also for dynamic overlays
In order to use their's bounds later, calculate the bounds for dynamic
and tooltip overlays too.

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