Commit Graph

3663 Commits

Author SHA1 Message Date
Adam
ede2041a61 item controller: don't return duplicate items in bulk lookup 2018-05-13 08:14:12 -04:00
Adam
3ffcdafa26 Merge pull request #2656 from Adam-/feature-hitpoints-pvp
opponent info: use player hitpoints from hiscores
2018-05-12 20:10:53 -04:00
Adam
bf12597c37 Merge pull request #2642 from deathbeam/dont-floor-percentages
Do not floor percentage in progress bars
2018-05-12 20:09:56 -04:00
Adam
58e8e1e69a Merge pull request #2651 from AlexKolpa/fix-typo
Fix typo cryptic clue
2018-05-12 19:25:38 -04:00
Adam
6cb42e9761 Merge pull request #2645 from AlexKolpa/fix-etceteria
Fix region check Kingdom plugin
2018-05-12 19:22:18 -04:00
Adam
a6f60a9de4 Merge pull request #2641 from deathbeam/fix-overlay-resets
Fix overlay system sizing
2018-05-12 19:15:17 -04:00
Alex Kolpa
a74c716e6d Check player position on state change
The map region change is triggered when a game starts loading new regions, but that doesn't necessarily mean the player is in the correct region. Additionally the currently loaded regions reveal very little information about where a player is actually located. Instead of relying on this event, the plugin now listens to game state changes, which are triggered for player region changes. When that happens, the plugin checks player region against the actual kingdom regions (2 in total).
2018-05-12 19:09:15 -04:00
Adam
4f7c69c9cb Merge pull request #2634 from deathbeam/fix-hot-cold-update
Fix updating of Hot/Cold clue
2018-05-12 18:57:15 -04:00
Adam
3c1f3f2e5a opponent info: use player hitpoints from hiscores 2018-05-12 18:28:50 -04:00
Adam
3f55610612 runelite-client: add hiscore manager 2018-05-12 18:26:14 -04:00
Adam
bc2c959e7a runelite-api: add getWorldType() 2018-05-12 18:25:30 -04:00
Tomas Slusny
9a98671f83 Calculate child preferred size based on max size
If panel component child exceeds the preferred size, correctly send this
new max size to other children, so they can resize/reposition themselves
correctly.

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-05-12 23:37:59 +02:00
Tomas Slusny
0829ea607b Reset clue overlay preferred size each render
To prevent affecting other clue types, reset the preferred size of the
clue scroll panel component to default value each render cycle, as the
clues can modify it.

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-05-12 23:36:09 +02:00
Tomas Slusny
f66c2ff627 Fix updating of Hot/Cold clue
- Properly reset the WorldMapPoints when Hot/Cold clue updates.
- Add null-check for location
- Add size check for multiple location points

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-05-12 22:52:39 +02:00
Alex Kolpa
9c8722a55c Fix typo cryptic clue
So it's picked up properly by the plugin
2018-05-12 21:09:22 +02:00
Tomas Slusny
4c451676d9 Do not floor percentage in progress bars
Closes #2614

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-05-12 19:25:13 +02:00
Tomas Slusny
a583b150e7 Merge pull request #2619 from Nightfirecat/british-floor-numbering
Use British floor numbering in cipher clues
2018-05-12 18:34:58 +02:00
Tomas Slusny
da5b91e113 Merge pull request #2637 from Nightfirecat/fix-gypsy-aris-cryptic-clue
Fix Gypsy Aris cryptic clue
2018-05-12 18:34:13 +02:00
Jordan Atwood
b91b1393c1 Fix Gypsy Aris cryptic clue
Fixes runelite/runelite#2636
2018-05-12 08:29:01 -07:00
Adam
7d815b7216 Merge pull request #2522 from deathbeam/hot-cold-map
Add support for map for hot/cold clues
2018-05-11 19:59:26 -04:00
Jordan Atwood
4504fd0301 Use British floor numbering in cipher clues 2018-05-11 16:23:13 -07:00
Tomas Slusny
f523d5c589 Add support for map for hot/cold clues
- Create new interface for clues that will return multiple locations,
have update and reset methods for clues with undetermined location
- Implement new LocationsClueScroll and LocationClueScroll to
HotColdClue to add support for displaying all the points on world map
- Handle the LocationsClueScroll to add each WorldPoint to the world map
when found
- Add new removeIf method to the WorldMapPointsManager

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-05-11 19:21:55 -04:00
Adam
6f125c4130 Merge pull request #2607 from deathbeam/fix-jad-color
Reset Fight Cave plugin prayer background color
2018-05-11 18:38:32 -04:00
HSJ-OSRS
751dcdba12 Make existing config options for highlighting marks of grace also affect the overlay color 2018-05-11 18:12:25 -04:00
Adam
6e41c5bbac Merge pull request #2597 from Abextm/fix-kourendlibrary
kourendlibrary: Fix for rev 170 menu code
2018-05-11 17:38:13 -04:00
Adam
a184f8d900 Merge pull request #2596 from Abextm/perspective-nonnull
runelite-api: Annotate Perspective methods with `@Nonnull`
2018-05-11 17:35:44 -04:00
Adam
23d569124d Merge pull request #2583 from safinn/shopExamine
Show GE and high alch prices for shop items that are examined
2018-05-11 17:07:46 -04:00
Adam
bdf6532471 agility plugin: fix exception if obstacle is off screen 2018-05-11 16:48:04 -04:00
Adam
d5d5f4890d friend notes plugin: only add menu entry after "Message" 2018-05-11 15:47:04 -04:00
Adam
837d373fdd runelite-mixins: fix setting menu preventing menu add event from being fired 2018-05-11 15:47:04 -04:00
Tomas Slusny
deb0bdf4ab Merge pull request #2584 from Nightfirecat/fix-warriors-guild-emote-clue
Fix Warrior's guild emote clue
2018-05-11 20:34:58 +02:00
Adam
6d7c3ef45b Merge pull request #2550 from deathbeam/fix-world-map-widget-check
Fix World Map widget check in Hooks.java
2018-05-11 14:28:56 -04:00
Adam
782e426f52 Merge pull request #2528 from pettenge/hiscore-autocomplete
Autocomplete name when looking up player on HiScores
2018-05-11 14:08:55 -04:00
Adam
51a9f47297 Merge pull request #2530 from Abextm/varbit-event-defer
Make VarbitChanged only fire once, after everything has settled
2018-05-11 13:49:08 -04:00
pettenge
e92b37829b hiscore plugin: autocomplete name lookup based on friends, clan members, and players
runelite/runelite#785
2018-05-11 13:45:04 -04:00
Tomas Slusny
630474a96e Move Hot/Cold message logic to HotColdClue
Instead of having giant chunk of logic related to only Hot/Cold clues,
move this logic inside the HotColdClue class.

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-05-11 19:44:32 +02:00
Tomas Slusny
37703ef8b6 Improve performance of ClueScrollWorldMapPoint
- Create the buffered image only once and not every time
ClueScrollWorldMapPoint is created
- Pass the world point directly to clue world map point constructor and
do it only once

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-05-11 19:39:34 +02:00
Tomas Slusny
bf9a019c2f Merge clearMapPoint with resetClue
- Move logic from clearMapPoint to resetClue
- Call resetClue on plugin shutdown

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-05-11 19:37:33 +02:00
Adam
0ac809fae2 runelite-api: expose friends 2018-05-11 13:28:12 -04:00
Hashes
202d04be43 Fix ProgressBar percentage displaying (#2609)
Instead of trying to display floored and rounded ratio as percentage,
multiply it by 100 to not always show 0.
2018-05-11 19:26:07 +02:00
Adam
06f0b8973b Merge pull request #2524 from deathbeam/fix-ground-items-layer
Add ItemLayer height to GroundItems overlay
2018-05-11 13:08:15 -04:00
Tomas Slusny
4452118e56 Reset Fight Cave plugin prayer background color
Fix resetting of background color of Fight Cave plugin overlay.

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-05-11 18:31:10 +02:00
Tomas Slusny
66688b85b3 Merge pull request #2595 from Abextm/groundmarker-npe
groundmarkers: Fix NPE in drawTile
2018-05-11 12:55:21 +02:00
Max Weber
eb63fa2d30 kourendlibrary: Fix for rev 170 menu code
The X/Y gets unpacked into the ActionParam and WidgetID now
2018-05-11 02:17:15 -06:00
Tomas Slusny
d38cbacb57 Merge pull request #2578 from ypperlig/fightcavesoverlayfix
Clear previous image components in fight caves overlay
2018-05-11 08:50:17 +02:00
Max Weber
43c6cc8afe groundmarkers: Fix NPE in drawTile 2018-05-11 00:48:22 -06:00
Max Weber
3e21453d7a runelite-api: Annotate Perspective methods with @Nonnull
This is in an effort to make NPEs in render methods happen slightly less
2018-05-11 00:46:23 -06:00
Max Weber
c9d0abc1c3 Make VarbitChanged only fire once, after everything has settled 2018-05-10 21:01:04 -06:00
Adam
564f54a42b Merge pull request #2497 from Reasel/Silver-Jewelry-Charges
Slayer bracelet overlay
2018-05-10 21:49:48 -04:00
Adam
f6a093aada slayer plugin: move widget inventory check to game tick 2018-05-10 21:08:14 -04:00