Commit Graph

3581 Commits

Author SHA1 Message Date
Tomas Slusny
4b05e072c7 Merge pull request #2505 from Abextm/bdr-clue
Add Burgh de Rott map clue
2018-05-09 11:29:52 +02:00
Alex Kolpa
6f66b6790d Ensure tile spawns on all planes are simulated (#2495)
Instead of using just the current plane, simulate them for all 4 planes.
2018-05-09 10:22:46 +02:00
Tomas Slusny
d0699901fe Merge pull request #2504 from deathbeam/clue-platebody-platelegs
Iron platelegs -> platebody for Draynor emote clue
2018-05-09 10:20:53 +02:00
Max Weber
d34cd62481 Add Burgh de Rott map clue 2018-05-09 01:34:38 -06:00
Tomas Slusny
fb3955b568 Iron platelegs -> platebody for Draynor emote clue
Fix Draynor Manor spin clue requirement requiring platelegs instead of
platebody.

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-05-09 08:48:28 +02:00
AWarbear
e9b37c7236 Move system tray icon to be created before the client requests focus 2018-05-08 19:19:04 -04:00
Adam
5658e34426 Merge pull request #2498 from Abextm/split-notification-settings
runelite-client: Make notification options not mutually excusive
2018-05-08 18:34:10 -04:00
Adam
e8c2148042 Merge pull request #2478 from MagicfTail/Fix-Deadfall-Traps
HunterPlugin: Fix deadfall traps
2018-05-08 18:29:03 -04:00
Max Weber
8a9b28db05 runelite-client: Make notification options not mutually excusive
#2180 made it so Windows users could not have sound and a tray notification at the same time. This splits the enum into separate booleans
2018-05-08 16:23:59 -06:00
Adam
4535d97467 Merge pull request #2492 from Eadgars-Ruse/fix-warmer-colder-consideration
Fix warmer/colder consideration for hot-cold plugin
2018-05-08 17:39:20 -04:00
Adam
ef10bb5d6c Merge pull request #2425 from Abextm/async-sprite
Add SpriteManager to get sprites from the cache
2018-05-08 17:35:35 -04:00
Max Weber
5da9d697da Add SpriteManager to get sprites from the cache. 2018-05-08 17:23:53 -04:00
Adam
e7154cd291 Merge pull request #2443 from Rheon-D/friend-notes
Friend notes
2018-05-08 17:06:03 -04:00
Adam
d2bf775e3b Add friend notes plugin 2018-05-08 16:36:44 -04:00
Adam
e60d9ec2c1 chatbox input manager: add support for character limit 2018-05-08 16:36:44 -04:00
Adam
e74dfcf13d Add removed friend event 2018-05-08 16:36:44 -04:00
Adam
4037ba9c00 injector: add method hooks 2018-05-08 16:36:44 -04:00
Adam
8106d99f83 runelite-api: add nameable name change event 2018-05-08 16:36:44 -04:00
Adam
863522afa9 runelite-api: expose Friend 2018-05-08 16:36:41 -04:00
Eadgars-Ruse
02adaa36c8 Fix warmer/colder consideration for hot-cold plugin
There was an issue with the "and warmer than" case for the strange device check that made it exclude more areas than it should have. The changes fix that issue, and a few related variable and method names are renamed to help avoid similar confusion in the future.
2018-05-08 15:02:51 -05:00
Adam
0142e53e9f Merge pull request #2412 from Eadgars-Ruse/hot-cold
Add hot-cold clue scroll plugin
2018-05-08 13:04:48 -04:00
Magic fTail
3250628108 HunterPlugin: Fix deadfall trap
The player is sometimes 2 squares away when setting up the trap
fasd


Revert "HunterPlugin: Fix deadfall trap"

This reverts commit a54852e03817306e5e619fee13d4557ef523da4a.
2018-05-08 17:27:00 +02:00
Eadgars-Ruse
e2418f5d4f Add hot-cold clue scroll plugin
The hot-cold clue scroll plugin is an extension of the existing clue scroll plugins. When a hot-cold clue is opened, instructions for obtaining the strange device will be displayed. Once the user attempts to use the strange device, the panel component will switch to showing names of world areas and how many possible final locations are in each world area. Once the user checks in a different spot, the list of world areas and number of possible final locations will be updated to reflect the temperature obtained from the strange device. From the second check onward the warmer/colder result of the strange device will also be considered (same temperature is not considered at this time because I couldn't figure out a good way to implement it, but the process is still quick without it).

Once the number of possible final dig spots is reduced to 10, the panel component will switch to showing the descriptions of the remaining dig spots. The user can continue testing locations to further narrow the number of remaining spots. The remaining spots will have a blue ground highlight, showing approximately where the final 9x9 dig spot area will be. When the user receives a message that their device is shaking, a dig icon will be placed on that square signaling that a valid final dig location has been found.

The logic behind the hot-cold plugin is based on the precise range of squares that a player is away from the final location when checking the temperature of the strange device (measured in Chebyshev or Chess-board distance). All calculations are based off of the world map coordinate system, and strange device checks can be done anywhere on the world map. The centers of the final locations were manually approximated by comparing wiki location pictures to a coordinate map. So some final locations may be slightly off-center, but since the final areas are 9x9 this leaves room in the calculations for any slightly off-centered points.
2018-05-08 09:31:06 -04:00
WooxSolo
348cba59de Change WorldPoint::distanceTo to use chebyshev distance instead of euclidean distance 2018-05-08 08:58:13 -04:00
Jordan
1ec661010e Fix Sinclair Mansion emote clue (#2468)
Change earth rune to blue wizard robe requirement for equipment.

Fixes #2464
2018-05-08 13:48:42 +02:00
Rheon
8cb45edecf Add spade req, fix item reqs for emote clues (#1753)
- Add spade requirement for map clues
- Fix some map clue coordinates
- Fix item requirements for emote clues
- Add range of items to emote clues
2018-05-08 13:46:43 +02:00
Adam
11094edb3a Merge pull request #1977 from WooxSolo/window-confine-to-screen
Improve client window functionality
2018-05-07 17:37:16 -04:00
Tomas Slusny
186adf6130 Restore min width when keeping window size small
Restore minimum width after closing sidebar when keeping window size but
window size was too small.

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-05-07 22:58:03 +02:00
WooxSolo
2d968a832d Add option to keep either window or client size
- Add option to keep either window or client size when expanding sidebar
- When panel is expanded, push window to side to not expand from screen
2018-05-07 21:21:36 +02:00
Adam
733a44e5ac Merge pull request #2448 from shuhaowu/patch-1
Updated cryptic clue solution for Kalphite area
2018-05-07 15:12:08 -04:00
Adam
de46cd2e1b Merge pull request #2415 from deathbeam/player-indicators-sanitize
Sanitize player indicators options
2018-05-07 12:09:11 -04:00
Adam
d332193fa9 Merge pull request #2440 from deathbeam/infobox-new-system
More customization of component system
2018-05-07 11:59:42 -04:00
Shuhao Wu
89449b56af Updated cryptic clue solution for Kalphite area
The previous description is no longer accurate as stronghold slayer cave was split up.
2018-05-07 11:58:39 -04:00
Tomas Slusny
5bce0e43fc Add support for customizable gap and border
Add support for customizable gap and border to PanelComponent.

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-05-07 17:40:03 +02:00
Tomas Slusny
fa8667fa2c Update plugins to use the new TitleComponent
Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-05-07 17:40:03 +02:00
Tomas Slusny
f8fb6b3543 Simplify component system
- Properly use/not use paddings
- Remove title property and extract it to separate component
- Remove position property, let user handle the positioning
- Extract common constants to ComponentConstants
- Use lombok.Setter on classes instead of fields

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-05-07 17:40:02 +02:00
Adam
dcfbfd8441 mixins: inject get/set tick count 2018-05-07 11:30:37 -04:00
Adam
493fdd3642 Merge pull request #2428 from Joshua-F/refactor/hookrequest
Rename fields in ScriptEvent
2018-05-07 09:51:54 -04:00
Adam
077608478c demonic gollias: use tick counter 2018-05-07 09:43:31 -04:00
Adam
ccef1dddd0 runelite-client: add tick counter 2018-05-07 09:43:31 -04:00
Adam
5fde24cecb Merge pull request #2426 from Adam-/npcindicators
Cleanup npcindicators
2018-05-07 09:43:09 -04:00
Adam
40d0fab0b5 npc indicators: use events for highlighted npcs 2018-05-07 09:42:15 -04:00
Tomas Slusny
634f4898ec Merge pull request #2434 from deathbeam/fix-location-overlay
Clear children in LocationOverlay
2018-05-07 12:09:27 +02:00
Tomas Slusny
2db26a69ff Clear children in LocationOverlay
Clear children each frame in LocationOverlay to prevent infinite adding
of components there.

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-05-07 10:25:23 +02:00
Tomas Slusny
af22852352 Merge pull request #2416 from Nightfirecat/add-shadow-dungeon-emote-location
Fix Shadow dungeon emote clue location
2018-05-07 09:58:28 +02:00
Jordan
f95f5c8e3c Add all bracelets to Argdougne emote clue item requirement (#2417) 2018-05-07 09:58:08 +02:00
Tomas Slusny
ba01b9298d Sanitize player indicators options
- Name the player indicators options properly
- Extend the clan ranks icon setting to support also overhead names

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-05-07 09:55:21 +02:00
Joshua Filby
4a4866df9f fix: import correct field 2018-05-06 22:40:19 -05:00
Adam
1f17de5d18 Merge pull request #2372 from ypperlig/runepouchtooltip
Add config option that enables/disables mouse tooltip on rune pouch hover
2018-05-06 22:13:01 -04:00
Lars Ørnlo
43187c5f4c Add config option that enables/disables mouse tooltip on rune pouch however since information is already available on screen if rune pouch is enabled. 2018-05-06 22:03:21 -04:00