Commit Graph

7354 Commits

Author SHA1 Message Date
shmeeps
265e939116 prayer: add blighted super restore
Co-authored-by: Ethan Sarp <ethan.sarp@gmail.com>
2021-10-26 16:07:03 -04:00
Adam
4187db4059 prayer: fix sanfew prayer dose indicator
The plugin was incorectly computing the amount of prayer sanfews restore
2021-10-26 14:53:19 -04:00
Adam
983d82671c banktags: fix active tag being applied to shared storage 2021-10-26 11:59:17 -04:00
Adam
455e75b7bc widget overlay: update gwd kc position 2021-10-24 16:56:48 -04:00
Adam
2f613fa300 api: add clan id to clan channel changed event 2021-10-24 16:03:22 -04:00
BrianSchimert
9a0203d813 chat commands: Add shorthand names for Grotesque Guardians (#14305) 2021-10-24 01:29:36 +00:00
Adam
46d4247f8e wiki: fix positioning wiki icon with wiki entity lookup off
When the wiki entity lookup option is off the parent layer isn't
positioned at all, causing the resulting wiki icon we create to be
incorrectly positioned.
2021-10-18 18:51:01 -04:00
BrastaSauce
366ec8cb68 hiscore: Add player lookup in group ironman tab 2021-10-18 17:26:46 -04:00
Adam
3180576350 hiscore: simplify lookup menu option add logic 2021-10-17 20:38:27 -04:00
Adam
37608d1e64 gpu: improve model visible check
This method checks if the model is on screen by projecting points at the model
extremes to screen and seeing if they are in the viewport bounds.

When doing this, it offsets the model height for the top of the viewport check,
but does not offset the bottom of the model for the bottom viewport check. This
offsets the bottom height to the model y position before doing this check,
which improves the test on models which are beneath the tile they are placed on.
This is most noticible in the Karamja dungeon and Hydra dungeon which has
objects for the lava instead of tiles, and they are placed at y=0 with some or
all of the model being below that.
2021-10-15 17:26:27 -04:00
Adam
870933985d game event manager: send itemcontainer change events for all containers 2021-10-15 17:15:04 -04:00
Adam
5b0acccbc7 api: make HashTable implement iterable 2021-10-15 17:15:04 -04:00
Kerzyte
05b05b55e7 skill calculator: minor xp corrections 2021-10-12 02:56:49 -07:00
melkypie
771de7f431 banktags: fix group storage button location 2021-10-11 10:53:46 -04:00
melkypie
a4fec4f1fc banktags: fix bank equipment button and item count spacing 2021-10-11 10:53:46 -04:00
Illya Myshakov
59a6c86b5f chat commands: fix incorrect pet chin ID 2021-10-11 10:49:18 -04:00
Hydrox6
b75add6a2d skill calculator: fix incorrect icon for Hespori 2021-10-11 10:48:28 -04:00
Max Weber
6ccf8065fd grandexchange: don't use a stale widget for getting item id
this widget now is recreated of after the interface's onLoad
2021-10-06 04:56:25 -06:00
Adam
59e65877dd hiscore: switch to league hiscores 2021-10-05 14:59:18 -04:00
Adam
38f1d2e71f ui: recompute minimum size after frame restore
Without this, the minimum size will be the same size as was prior to
maximizing the frame. If the side bar or panel is opened or closed when
maximized this can cause the minimum size to be incorrect after a
restore.

Co-authored-by: Mark Koester <mark.koester1@gmail.com>
Co-authored-by: Jeremy Plsek <jeremyplsek@gmail.com>
2021-10-04 12:51:18 -04:00
Jordan Atwood
1efdf4a6fd cluescrolls: Add X Marks The Spot quest solutions 2021-10-04 12:26:32 -04:00
Brett
8649a197be slayer: Add duck as alternative for bird task (#14224) 2021-10-04 15:14:23 +00:00
Adam
5fc784f082 item charges: fix rof tracking with varrock platebody
When the varrock armour effect triggers it will smelt two bars at once,
using two charges, unless there is only one ore remaining where it will
use only one charge.

Co-authored-by: Jason Barr <58792686+JBarr2710@users.noreply.github.com>
2021-10-03 22:49:42 -04:00
Adam
4ca3db6358 Fix ground marker minimap overlay position
The ground marker minimap overlay gets a local point for the tile to mark from fromWorld()
and passes it to localToMinimap() - but because the adjustment of -1, when the player position
is subtracted from it to compute the minimap location it causes the computed position to be off
by a full tile.

Additionally, drawRect() width and height is inclusive so the width/height must be subtracted by 1
2021-10-01 19:09:03 -04:00
Max Weber
e98c3da758 rl-client: use vanilla ItemComposition cache 2021-10-01 16:59:36 -04:00
Jordan Atwood
bb7cd404a7 chat colors: Add engine message recoloring 2021-10-01 11:24:29 -07:00
Max Weber
0c79f847c1 rl-client/RSProfileType: add Shattered Relics profile type 2021-10-01 04:35:44 -06:00
Adam
e60ce99081 spec counter: add Dinh's bulwark 2021-09-30 17:47:09 -04:00
Hydrox6
c1f442e36e gpu: display device and driver being used during plugin startup 2021-09-29 18:38:31 -04:00
Adam
b6316b4772 api: move Favour to achievementdiary plugin 2021-09-29 10:23:36 -04:00
evaan
9209de31e2 skill calculator: Add bonecrusher prayer bonus 2021-09-28 20:03:51 -07:00
dekvall
1294984dce skill calculator: Add common thieving chests 2021-09-28 19:51:53 -07:00
neatclient12345
546cd6daf8 skill calculator: Fix grammar 0-action selections (#13995) 2021-09-29 02:43:31 +00:00
Jordan Atwood
ac8f778307 skill calculator: Add ItemSkillAction interface
This interface allows for drastically simplified skill actions, allowing
us to eschew their name entries in favor of looking up the item name
using the items' compositions (fetched from their IDs) at runtime.
2021-09-28 22:05:00 -04:00
Jordan Atwood
7b678b2afb skill calculator: Define actions and bonuses in Java
As the number of bonus types increases, the existing system of allowing
only a single type of bonus to be applied, and only allowing actions to
entirely opt out of having bonuses applied rather than more fine-grained
control, is showing its age. This commit redefines all bonus and action
entries in Java enums so that such systems can be better-defined.
Additionally, it comes with the benefit of easier change validation via
testing and enabling item and sprite ID referencing via runelite-api.
2021-09-28 22:05:00 -04:00
Jordan Atwood
6428a7af4f skill calculator: Code cleanup 2021-09-28 22:05:00 -04:00
LlemonDuck
b496f9e4e8 chatcommands: cg shorthand for corrupted gauntlet 2021-09-28 21:59:38 -04:00
geheur
6f4da3fd34 menu swapper: add extra op swapping for deposit box 2021-09-27 22:51:48 -04:00
Adam
4cab29cf2f api: remove cachedModels2 and nodecache setters
This is being moved internally since it benefits areas like the farming guild even with gpu off
2021-09-21 11:09:51 -04:00
pwatts6060
9c7fade732 api: Add contains methods to WorldPoint and WorldArea 2021-09-21 01:01:37 -07:00
Patrick Watts
86cda7de0b screenshot: Add clan member death screenshotting (#14052) 2021-09-21 07:41:54 +00:00
Jordan
1b49afa56b Merge pull request #14019 from superiorser9/notification-screenshot
ScreenshotPlugin: support collection log popup
2021-09-21 07:34:24 +00:00
superiorser9
8345f6c7bd screenshot: Capture collection log popup notifications 2021-09-21 00:28:13 -07:00
Christian Bull
c5d4c757f1 agility shortcut: include grapple rocks in observatory shortcut
Co-authored-by: christianbull-maxx <christian.bull@maxxpotential.com>
2021-09-19 16:44:08 -04:00
Adam
fc183c13af xp tracker overlay: treat counter=off progressbar=off as hidden
If the xptracker is shown, but both counter and progress bar set to off, the xp tracker layer is not actually hidden but only has hidden children. This causes the overlay renderer to layout things around the invisible xptracker. Avoid this by checking the vars for the xptracker to see if it is hidden or not.
2021-09-19 15:44:49 -04:00
Jordan Atwood
763db213a2 skybox: Show surface color while in Prifddinas 2021-09-19 15:10:12 -04:00
Jordan Atwood
d27f5f9a76 api: Add getMirrorPoint to WorldPoint API 2021-09-19 15:10:12 -04:00
Jordan Atwood
847c44c44c status bars: Clean up rendering code 2021-09-16 15:35:49 -07:00
Jordan Atwood
3c009c8f54 status bars: Fix left bar Y offset
Due to an apparent typo, the wrong value was being referenced for the
left bar's Y offset specifically for the resizable viewport with bottom
line interfaces. This commit fixes this reference and the associated
value.
2021-09-16 15:35:49 -07:00
Jordan
b7e1496bff Merge pull request #14115 from Hydrox6/cannon-not-mine
cannon: update cannon location when interacting with the player's cannon
2021-09-15 05:27:44 +00:00