Commit Graph

3672 Commits

Author SHA1 Message Date
Tomas Slusny
fdc8e9d41d Merge pull request #2681 from Kamielvf/raids-pointbox-fix
fix: Hide vanilla raid points box when inside chambers of xeric
2018-05-14 10:33:32 +02:00
Shuhao Wu
c18596983f Fix "Clap in the magic axe" master clue. (#2685)
Fix punctuation in sentence (replace '.' with '!').
2018-05-13 23:43:11 +02:00
Jordan
86b7faf216 Fix wording/locations of kill x elite cryptic clues (#2628)
- Use "Kill a <monster>." for all basic monster hunting clues.
- Null locations for monsters, that will falsely look like dig location

Fixes #2627
2018-05-13 23:41:01 +02:00
Kamiel
b9d105f5cc fix: Hide vanilla raid points box when inside chambers of xeric
Since commit 08c816e, the varbit change event is fired after this widget is shown and inRaidChambers is always false at that point. This would prevent the vanilla point box from being hidden.
2018-05-13 21:16:55 +02:00
Tomas Slusny
9805472e50 Merge pull request #2673 from jplsek/reset-stroke
overlayutil: reset stroke for renderpolygon
2018-05-13 20:46:09 +02:00
Adam
42005ffcea item manager: cache no price when unable to batch lookup 2018-05-13 11:47:06 -04:00
Jeremy Plsek
651d259a03 overlayutil: reset stroke for renderpolygon
If a plugin used a combination of renderPolygon and either use other
util methods or draw on their own on the same graphics object, the
stroke would get applied as well.
2018-05-13 10:08:09 -04:00
Adam
aa35b2c218 http-service: lombok item api 2018-05-13 08:42:00 -04:00
Adam
274c79a7ba http-service: optimize bulk item price lookup 2018-05-13 08:39:20 -04:00
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