Commit Graph
3565 Commits
Author SHA1 Message Date
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
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
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
Adam b29f2ff0ed npc indicators: remove unnecessary tagged npcs list 2018-05-06 20:40:30 -04:00
Tomas Slusny 4126be0a36 Merge pull request #2414 from deathbeam/xp-globes-fix
Move the xp/hr in globes to new system
2018-05-07 00:55:48 +02:00
Jordan Atwood d6e413d94d Fix Shadow dungeon emote clue location
Ref: https://user-images.githubusercontent.com/2199511/39678670-494e5caa-5180-11e8-8b02-ad08f8ccb507.png
2018-05-06 15:53:44 -07:00
Tomas Slusny fe26066c27 Move the xp/hr in globes to new system
Fix compliation error because of move to new PanelComponent system.

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-05-07 00:44:35 +02:00
Jonathan 56872da881 Add xp per hour to xp globes mouse-over tooltip 2018-05-06 17:39:15 -04:00
Adam 35d9384c01 Merge pull request #2405 from deathbeam/merge-image-panel-component
Merge image panel component with panel component
2018-05-06 17:35:00 -04:00
Adam 51a80bdc3c Merge pull request #2395 from Abextm/log-exceptions
runelite-client: Log uncaught exceptions
2018-05-06 17:20:57 -04:00
Adam 1c8626d119 Merge pull request #2371 from Juzzed/puro-puro
Add Puro Puro static spawn locations
2018-05-06 17:18:49 -04:00
Mantautas Jurksa cb3dc9d7b0 Add Puro-Puro static spawn locations 2018-05-06 17:17:57 -04:00
Adam edc627fc2b Merge pull request #2385 from Adam-/puro-puro
impling plugin: use spawn events
2018-05-06 16:46:55 -04:00
Tomas Slusny 41d8884493 Make ProgressPie follow component pattern
- Implement RenderableEntiry
- Create setters for position and progress

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-05-06 20:51:57 +02:00
Tomas Slusny 7e45dfd7f2 Update all overlays to support new PanelComponent
- Move all PanelComponents declarations to be persisted
- Use new LineComponent and ImageComponent classes and add them to
PanelComponent

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-05-06 20:51:56 +02:00
Tomas Slusny fa9e05f0a6 Merge ImagePanelComponent with PanelComponent
- Remove ImagePanelComponent
- Add LayoutableRenderableEntity that is RenderableEntity with preferred
size
- Add support to PanelComponent for rendering list of
LayoutableRenderableEntity
- Add support for aligning PanelComponent horizontally or vertically
- Add ImageComponent to be used in PanelComponent
- Make other components support new design

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-05-06 20:48:05 +02:00
Adam 77823d518d impling plugin: use spawn events
remove broken dynamic spawn support
2018-05-06 13:52:13 -04:00
Max Weber d1d93f05e0 runelite-client: Log uncaught exceptions
Previously exceptions would be printed to stderr, and not show in log files.

This also adds a case for AbstractMethodError because it almost always means the injector needs to be re-ran.
2018-05-06 01:02:36 -06:00
Tomas Slusny 11b7608856 Merge pull request #2386 from deathbeam/fix-logback
Disable filtering on logback.xml
2018-05-06 06:10:10 +02:00