Commit Graph

4068 Commits

Author SHA1 Message Date
Tomas Slusny
2ba6978f0e Merge pull request #7160 from Nightfirecat/correct-exp-drop-highlighting
experiencedrop: Highlight only correct exp drops for prayer
2019-01-04 06:26:26 +01:00
Adam
8e5da844b6 client: copy screenshot image in draw manager callback
The image backed by the client buffer which will change on the next
frame, however the screenshot plugin uses both executor thread and EDT
thread to paint the full screenshot, and so it requires the image will
not change. Note the gpu plugin already returns a new image because it
has to pull it out of the GL.
2019-01-03 20:25:03 -05:00
Adam
4ec50046c7 object markers: determine tile from menu parameters 2019-01-03 20:21:23 -05:00
Spedwards
57d2ec5317 Split Valuable and Untradeable screenshot options (#7167) 2019-01-03 23:12:24 +01:00
Reasel
8dc049e9a5 Add Moonlight Mead to ItemStatsPlugin (#7172)
Its a beer but it has no downsides whatsoever.
2019-01-03 23:10:59 +01:00
Trevor Guidry
13fb464706 Make Pyramid Plunder widget layoutable 2019-01-03 04:03:18 -05:00
Jordan Atwood
05473d2050 dev tools: Fix overlay layer
After the introduction of the new ABOVE_MAP layer, the dev tools overlay
was no longer able to draw above the map, which is needed for the widget
inspector.
2019-01-02 19:33:33 -08:00
Jordan Atwood
4f18a54c23 experiencedrop: Highlight only correct exp drops for prayer
Prior to this commit, hitpoints exp drops (and combined exp drops
containing hitpoints) would be highlighted for any combat prayer. This
commit corrects this behavior so combined drops will only be highlighted
when containing the proper combat style prayer, and split exp drops will
only highlight hitpoints when the correct prayer type was active for the
experience drops which precede it.

Fixes runelite/runelite#1697
2019-01-02 19:03:42 -08:00
Jordan Atwood
f8c445a085 reportbutton: Add date time format
This matches the screenshot plugin's date formatter.

Closes runelite/runelite#1228
2019-01-02 17:16:41 -08:00
Jordan Atwood
e8ee7478a0 reportbutton: Make time formatting methods static where possible 2019-01-02 17:16:16 -08:00
Jordan Atwood
414981372e itemprices: Add "tooltips" plugin tag 2019-01-02 16:38:10 -08:00
Adam
487ec5fad3 screenshot plugin: fix to paint client ui from EDT
Fix deadlock between the game thread and the EDT
2019-01-02 15:53:16 -05:00
Adam
2a77d7db39 Merge pull request #7145 from Abextm/premul-stretch
gpu: Fix stretched mode with global premul alpha
2019-01-02 15:34:59 -05:00
Tomas Slusny
b40f1880da Merge pull request #7122 from Nightfirecat/xp-drop-highlight-persist-per-tick
experiencedrop: Maintain active prayer per tick
2019-01-02 17:20:32 +01:00
Adam
b6dcb611b4 clue scroll plugin: correct usage of getImpostor 2019-01-02 11:07:20 -05:00
Tomas Slusny
e367507626 Merge pull request #7023 from Hydrox6/flax-and-bonemeal
Add Flax and Bonemeal to Daily Task plugin
2019-01-02 16:26:38 +01:00
Tomas Slusny
3f042289b0 Merge pull request #7060 from rbbi/reset-search-skill-calc
Clear search bar when switching between skill calculators
2019-01-02 15:10:41 +01:00
William
5352827aa8 Add missing sanfew serums to the prayer dose indicator. (#7131) 2019-01-02 15:07:36 +01:00
Max Weber
17a55221ce loottracker: Don't build the panel 1000 times when downloading loot 2019-01-01 15:08:29 -07:00
Max Weber
7a166990b7 gpu: Fix stretched mode with global premul alpha 2019-01-01 14:44:46 -07:00
Adam
553a690d23 discord service: prevent event handlers from being gc'd 2019-01-01 10:24:47 -05:00
Jordan Atwood
5edeeb6633 combatlevel: Fix prayer level needed to next combat
This adds a test which exposes an edge case where the needed prayer
levels to next combat level had been calculated to be 3 instead of 1,
and fixes that calculation.

Fixes runelite/runelite#7103
2018-12-31 20:01:05 -08:00
Adam
758f95c517 Merge pull request #7090 from Abextm/premul-alpha-external
gpu: Use premultiplied alpha
2018-12-31 22:41:20 -05:00
Robin Withes
8a152a922d Add weiss agilility obstacles (#7123) 2018-12-31 20:03:42 +01:00
Jordan Atwood
541ad1e26d combatlevel: Clean up plugin code
This commit moves constants from the test to the overlay, and replaces
instances of magic numbers with them. It additionally fixes the odd
check in `correctPrayer()` and fixes some minor whitespace issues.
2018-12-31 10:40:26 -08:00
Jordan Atwood
665d7130c6 experiencedrop: Maintain active prayer per tick
This commit fixes the occasional issue of xp drops not being highlighted
while flicking prayer from the prayer menu; that is, before this commit
it was possible to select or deselect a prayer between xp drop widgets
being spawned, causing different highlighting for them. This commit
saves the active prayer at the beginning of each tick and uses that
tick's prayer for all widgets unhidden during that tick.

Fixes runelite/runelite#1280
Closes runelite/runelite#6679
2018-12-31 08:53:24 -08:00
DannysPVM
4f57f51b76 Add null-check for target tile in ObjectIndicatorsPlugin (#7115)
Sometimes there is no target tile (e.g climb-down ladders).
2018-12-31 01:31:25 +01:00
DannysPVM
5a7f1786a4 Add null-check for target tile in GroundMarkersPlugin (#7112)
Sometimes there is no target tile (e.g for climb-down ladders).
2018-12-31 01:29:39 +01:00
TorkelV
92556d168a Add farming patch type to tooltips on world map (#7105)
Closes #7091
2018-12-30 16:40:20 +01:00
jakespeare
96feb0c8a6 Split pause/unpause all to separate options in XpTrackerPlugin (#7076)
Closes #6994
2018-12-30 16:32:35 +01:00
Honestidade
39f386e6fd Add wilderness cannon spots to cannon plugin (#7026)
Update cannon spots to add the Wilderness slayer spots as outlined in the Oblivion Wilderness Slayer Points guide.
2018-12-29 19:59:16 +01:00
tanlines
392cdfd4f7 Add barbarian mix timers to Timers plugin (#7088)
Closes #7079
2018-12-29 19:39:45 +01:00
Tomas Slusny
7762963424 Add object marker plugin
Add plugin that can mark any named GameObject when holding shift.

Closes #4497
Closes #3792

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
Co-authored-by: Adam <Adam@sigterm.info>
2018-12-29 12:27:27 -05:00
Adam
1d53e4e64c loot tracker plugin: support saving loot tracker data across restart
Co-authored-by: TheStonedTurtle <TheStonedTurtle@users.noreply.github.com>
2018-12-28 18:18:40 -05:00
Max Weber
b1bfe1c47f gpu: Use premultiplied alpha 2018-12-27 13:32:07 -07:00
Tomas Slusny
e9c336da70 Flip state and details in Discord status
Currently we have this implemented inverse. Training should be "details"
as it is more detailed description of what player is currently doing,
and "state" should be "In Game", "In Menu", "Exploring", "Raiding" etc,
as that describes best what is player currently doing (also, e.g for
discord party integration, it is appended after state, so there always
MUST be some state, and this PR ensures that).

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-12-27 03:46:10 +01:00
Adam
d3f24e4621 Merge pull request #7082 from devLotto/issue-6949
gpu: limit msaa samples to supported value
2018-12-26 18:57:11 -05:00
Adam
1c1bf75c08 herbiboar plugin: optimize object and tunnel overlays 2018-12-26 18:40:56 -05:00
Lotto
0ee7d130f4 gpu: limit msaa samples to supported value 2018-12-25 18:38:23 +01:00
Adam
7ccf52b3b4 ui: cleanup progress bar 2018-12-24 09:14:27 -05:00
Jakob Ankarhem
10a3c4139e Add ntermediate progress markers for xptracker plugin (#6895)
Closes #6863
2018-12-24 11:42:46 +01:00
Adam
021fdbeba7 Merge pull request #7056 from jakespeare/Jakespeare/Fix_Subtract_Typos
Fix Typo in ItemStats: "substracted" to "subtracted"
2018-12-23 18:47:25 -05:00
Tomas Slusny
3bb8fa1675 Update Discord library to latest version
Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-12-23 23:00:45 +01:00
Robbie McLeod
7d4d843fd0 Clear search bar when switching between skill calculators 2018-12-23 02:16:57 +00:00
Jake Schaum
65d8cda020 Fix ItemStats/ItemStatOverlay Typos "substracted" to "subtracted" 2018-12-22 16:24:56 -06:00
Adam
3d9c962c6f Remove old session service and replace usages with new one
The new service was split off into a separate repository
2018-12-22 14:31:18 -05:00
Hydrox6
3c5d48cc87 Add Flax and Bonemeal options to Daily Task plugin 2018-12-20 13:27:11 +00:00
Adam
e8d0d03d3e Merge pull request #7010 from raiyni/post-onclose
Send config updates on close
2018-12-19 19:12:46 -05:00
Adam
8e4d4b07b5 slayer plugin: fix npe from getTransformedComposition returning null
Prefer checking if slayer targets is not empty before doing task lookup.

Introduced in c8105908c0
2018-12-19 18:38:27 -05:00
Adam
850f487080 client: add cooking plugin
Co-authored-by: Cronick <Cronick@users.noreply.github.com>
Co-authored-by: Joris <kjorisje@gmail.com>
2018-12-18 19:47:36 -05:00