Commit Graph
100 Commits
Author SHA1 Message Date
Lotto 6518a6a51d player-indicators: don't decorate non-player custom menu options
Splits the RUNELITE menu action into two actions:

RUNELITE -  general menu items.

RUNELITE_PLAYER - menu items which target a player and have its identifier set to a player index.

Then the player indicators plugin is changed to only decorate RUNELITE_PLAYER menu items.
2020-05-27 18:42:46 -04:00
Lotto 73773ca479 player-indicators: fix right-click menu targets expanding forever
Fixes the right-click menu targets expanding forever if clan rank or color decoration is enabled in the plugin. 

Menu entries don't get cleared while the menu is open, which was resulting in colors and ranks getting prepended on every client tick.
2020-04-16 16:55:57 -04:00
Lotto bdb554e9a1 player-indicators: highlight the 'Walk here' menu entry too 2020-04-02 13:34:37 -04:00
Lotto d4f2753e05 player-indicators: move menu logic to ClientTick 2020-04-02 13:34:36 -04:00
Lotto e7171ee386 player-indicators: break out decorating code into own methods 2020-04-02 13:34:01 -04:00
Lotto b85675f624 api: remove Follow and Trade menu actions
They are just the third and fourth player options but deprioritized by having 2000 added to them.
2020-04-02 13:34:01 -04:00
Lotto 541af9084c feed: use RuneLiteClient's Twitter list 2019-10-20 15:16:26 +02:00
Lotto 2ac1c2e387 fishing: make overlay colors configurable 2019-10-16 19:10:35 +02:00
Lotto 1e112f97d5 Merge pull request #4621 from ltvill/patch-4
Change default examine chat color to green
2019-06-27 20:31:21 +01:00
Lotto 8d4fff459c interface styles: add RuneScape cross sprites option 2019-06-26 18:45:30 -04:00
Lotto 99dcaf0060 Merge pull request #6165 from robinwithes/added-fally-agility-obstacle
Added missing falador rooftop course agility obstacle
2019-06-13 03:52:31 +02:00
Lotto 6dd1921bfd Merge pull request #8837 from devLotto/fix-onscreen-xptracker-leftstr
xp tracker: fix on-screen information type label
2019-05-15 20:53:08 +02:00
Lotto 09595863cd xp tracker: fix on-screen information type label 2019-05-15 20:38:09 +02:00
64019ea785 client: add emoji plugin
Replaces various emoticons entered in public/friends/private chats with their corresponding emoji images.

Co-authored-by: Adam <Adam@sigterm.info>
Co-authored-by: Tomas Slusny <slusnucky@gmail.com>
2019-05-14 20:11:39 +02:00
Lotto da2c195a17 client: change ClanManager to use ImageUtil image converter 2019-05-14 18:24:53 +02:00
Lotto 1cd1bbb005 client: add BufferedImage -> IndexedSprite converter to ImageUtil 2019-05-14 18:24:53 +02:00
Lotto 69d788d20c client: remove overrides in config enums with same converted name 2019-05-14 18:21:31 +02:00
Lotto 69e57c9a61 client: format enum config options as "Config Opt" instead of CONFIG_OPT 2019-05-14 18:19:59 +02:00
Lotto 4d85b49b6c Merge pull request #8818 from deathbeam/more-config
Add options for actions left and done for on screen XP
2019-05-12 20:52:20 +02:00
Lotto bf2eccc547 xp tracker: add right-click configure on on-screen trackers 2019-05-12 01:59:28 +02:00
Lotto ad16bf5b3f xp tracker (onscreen): add toggle between displaying XP Left/XP Gained 2019-05-12 01:59:28 +02:00
Lotto c95cd3bfd5 xp tracker: add start and goal levels to on-canvas tracker 2019-05-12 01:59:24 +02:00
LottoandJasper Ketelaar 6165bfabdf xp tracker: show on canvas
Co-authored-by: Jasper Ketelaar <Jasperketelaar@kpnmail.nl>
2019-05-12 01:58:43 +02:00
LottoandJasper Ketelaar 637d305ceb ui: add SplitComponent
SplitComponent is a component containing two other components, with the area split between the two, either horizontally or vertically.


Co-authored-by: Jasper Ketelaar <Jasperketelaar@kpnmail.nl>
2019-05-11 16:16:38 +02:00
Lotto ca377c7196 xp tracker: display >1m exp with thousandths precision 2019-05-08 01:38:04 +02:00
Lotto 3c48ee2d49 ba: use equipment ItemContainer instead of PlayerComposition
Makes equipment querying consistent across the client by changing the Barbarian Assault plugin to use the equipment ItemContainer instead of the local player's PlayerComposition.
2019-05-07 21:58:35 +02:00
Lotto 6fb3168090 interface styles: add default skin type 2019-04-06 14:29:50 -04:00
Lotto 8f53358a4e client: add HD health bars to Interface Styles 2019-04-06 14:29:49 -04:00
Lotto 45777a1782 client: fix npe when puzzle solver hasn't been executed yet
If the executor waits a while until it starts executing the puzzle
solver, the stopwatch will have a null value when hasExceededWaitDuration is called the next frame.
2019-04-04 18:43:08 +02:00
Lotto 046bdcc3e3 http-service: fix twitter feed links not working with newer theme
When using Twitter's new theme, https://twitter.com/statuses/[tweet_id] style links don't redirect to the tweet in question.

Urls before this change:
https://twitter.com/statuses/1102962117509087234

After this change:
https://twitter.com/OldSchoolRS/status/1102962117509087234
2019-03-05 18:59:04 +01:00
Lotto 0ee7d130f4 gpu: limit msaa samples to supported value 2018-12-25 18:38:23 +01:00
Lotto b145fae00f stretchedmode: reduce wait time after changing scaling percentage
It now sets the max width and height right before the canvas is resized,
so the canvas size uses those max bounds immediately, instead of setting
it 500ms after the canvas is resized initially.
2018-11-25 17:56:41 +01:00
Lotto 5858eeff45 gpu: add stretched mode support 2018-11-21 02:07:34 +01:00
Lotto 6d0a8a4975 gpu: add frame and render buffer utils 2018-11-21 02:06:11 +01:00
Lotto 5e3caf9190 gpu: limit interaction distance from camera
The bounding box limitation is not enough for preventing users from interacting with objects far away when the game window is wide.

This introduces a limit on how far away the camera can be from objects for you to be able to interact with them, remedying the issue above.
2018-11-17 16:15:28 +01:00
Lotto fdfdf77ddc stretchedmode: retain aspect ratio when scaling 2018-11-02 16:18:31 +01:00
Lotto 7474d72b13 stretchedmode: fix size not being reset on plugin disable 2018-11-01 17:58:21 +01:00
Lotto e7aea257e3 stretchedfixedmode: rename plugin to 'stretched mode' 2018-10-31 20:21:19 +01:00
Lotto 7cf3e3401a stretchedfixedmode: add resizable interface scaling 2018-10-31 20:21:07 +01:00
Lotto e4d3b6642b puzzlesolver: wait a duration before recomputing the solution 2018-10-20 20:46:58 +02:00
Lotto f608e37e77 puzzlesolver: make exclusive use of PuzzleSolver's constants 2018-10-20 20:24:08 +02:00
Lotto 681720842c puzzlesolver: break out -1 piece value into a constant 2018-10-20 20:22:57 +02:00
Lotto 2b5920d36b Change 'username' to 'player name' in usernameInTitle 2018-10-18 23:48:52 +02:00
Unknown 2a6ad6f573 instancemap: add 'X' button on the interface to close map 2018-09-24 17:37:07 +02:00
Lotto 18851f1094 entityhider: make hidden entities not occupy the tile they're on 2018-09-13 00:00:31 +02:00
Lotto 1e5cf3a2d2 worldhopper: fix spam in chatbox when trying to open switcher in bank 2018-08-17 22:31:49 -04:00
Lotto 9aed31d353 fpsindicator: remove caching of fps strings 2018-08-14 15:14:45 +02:00
Lotto 530d253b37 fpsindicator: fix overlay being cut off outside the canvas 2018-08-14 15:12:34 +02:00
Lotto 215f46e483 fpsindicator: fix overlay disappearing when using stretched fixed mode 2018-08-14 15:12:34 +02:00
Lotto 994d67ba70 clues: add fairy ring to sinclair mansion clue solution 2018-08-14 15:06:58 +02:00
Lotto 3d40997e23 clues: allow any imbued crystal bow for emote clue 2018-08-14 14:57:54 +02:00
Lotto 275d093767 runescape-api: add Protect annotation 2018-08-12 09:15:05 -04:00
12da232985 runelite-client: add world hopper plugin
Co-authored-by: Adam <Adam@anope.org>
Co-authored-by: psikoi <ruben.amendoeira@gmail.com>
Co-authored-by: Tomas Slusny <slusnucky@gmail.com>
2018-08-12 09:15:04 -04:00
Lotto 189d54122c runelite-api: add total level api 2018-08-12 08:51:02 -04:00
Lotto 6aa646c7ba runelite-api: make ClanMember extend ChatPlayer 2018-08-12 08:51:01 -04:00
Lotto 716c84c132 runelite-api: expose ChatPlayer.world 2018-08-12 08:51:01 -04:00
Lotto e93ee86a21 mixins: add world hopping mixin 2018-08-12 08:51:00 -04:00
Lotto 791af75396 runelite-api: add world switcher widget info 2018-08-12 08:30:53 -04:00
Lotto 848c73e556 emoteclues: display when item is in inventory 2018-05-22 23:58:25 +02:00
Lotto fe8ead3d88 emoteclues: change symbols to ✓ and ✗ 2018-05-22 23:57:03 +02:00
Lotto f672ef9014 stretchedfixedmode: use volatile image instead of buffered image
This takes advantage of your GPU to improve the stretched fixed mode performance significantly.
2018-05-20 03:12:24 +02:00
Lotto 1dfcfd3468 client: use Image instead of BufferedImage 2018-05-20 01:53:59 +02:00
Lotto c16051d7f1 entityhider: don't hide npcs by default 2018-05-19 18:30:57 +02:00
Lotto 921a0be0dc screenshotplugin: fix Hunter levelup widget ignoring toggle 2018-05-04 01:01:09 +02:00
Lotto c4fb92cd5d screenshotplugin: fix screenshot button ignoring displayDate setting 2018-05-04 00:48:13 +02:00
Lotto b8e090b098 screenshotplugin: fix timestamp "button" not being stretched 2018-05-04 00:41:52 +02:00
Lotto b23880d273 cluescrolls: support any type of ring of dueling in emote clues 2018-04-30 12:43:27 +02:00
Lotto d85d986c64 cluescroll-plugin: group item variants + display when to unequip items 2018-04-21 15:22:49 +02:00
Lotto 6772a322c8 cluescrolls: fix confusing solution text for Luthas 2018-04-16 23:21:34 +02:00
Lotto d7efba6295 hiscore panel: fix not displaying total level correctly 2018-04-16 23:03:49 +02:00
Lotto 17413db715 Revert "hiscore panel: fix total level breakage" 2018-04-16 23:01:57 +02:00
Lotto 0c14613fa4 hiscore panel: fix total level breakage 2018-04-16 21:58:26 +02:00
Lotto e2d295e093 hiscore panel: fix clue/lms/bh breakage 2018-04-15 19:33:04 +02:00
Lotto 7685a6a110 hiscore: display levels above 99 in the panel 2018-04-15 10:13:54 -04:00
Lotto 8274b1905c hiscore: lookup local player on double-click 2018-04-14 18:29:52 +02:00
Lotto a3872b12d2 cluescroll-plugin: remove duplicate anagram answers 2018-04-09 17:25:31 +02:00
Lotto 5eedb0d3c8 runelite-client: remove old clue scroll enums 2018-03-26 17:26:03 +02:00
Lotto 14aa57e126 runelite-client: revamp clue scroll plugin 2018-03-26 17:25:58 +02:00
Lotto 59f6258446 runelite-client: add resource images to clue scroll plugin 2018-03-26 17:25:40 +02:00
Lotto 00d230efcf runelite-api: add sprite ids class 2018-03-26 17:24:20 +02:00
Lotto 7f4e36cf5f runelite-client: add line wrapping to PanelComponent lines 2018-03-26 17:23:24 +02:00
Lotto 0aae96f0ce runelite-client: extend overlay util to render Areas and LocalPoint 2018-03-26 17:22:42 +02:00
Lotto 04abc1fb12 runelite-client: pass in z offset into renderActorOverlayImage 2018-03-26 17:12:16 +02:00
Lotto 35d8f2ef71 runelite-api: add emote window widget info 2018-03-26 17:11:36 +02:00
Lotto 0b2fa4aba1 runelite-api: make InventoryItemQuery take in InventoryID 2018-03-26 17:11:11 +02:00
Lotto 054dd4852d Synchronize usages of ImageIO.read(...)
ImageIO.read(...) is not really thread-safe, as calling it on several threads at the same time can cause NullPointerExceptions and ConcurrentModificationExceptions, as reported in https://bugs.openjdk.java.net/browse/JDK-8058973 and https://bugs.openjdk.java.net/browse/JDK-6986863.

This commit changes all usages of this method to synchronize on ImageIO.class, so the method is never run asynchronously.
2018-03-07 20:06:16 +01:00
Lotto 4c8276b6fa runelite-mixins: add mixin for processing game exceptions 2018-03-07 18:28:03 +01:00
Lotto 2cea57fddf runescape-api: add RSRunException 2018-03-07 18:28:01 +01:00
Lotto 01483c9f8e runelite-api: fix worldToMiniMap not working correctly in stretched mode
Fixes Perspective#worldToMinimap not returning correct values if in fixed mode and using the stretched fixed mode plugin.
2018-03-07 00:23:26 +01:00
Lotto a36e95580d runelite-client: fix Use tooltip arrow not being displayed 2018-03-06 20:33:25 +01:00
Lotto 1acaeb4826 Add stretched fixed mode plugin 2018-03-06 00:37:59 +01:00
Lotto e0e0b85093 Add mouse listeners that stretch event x/y
Don't use Provider for getting client instance
2018-03-06 00:37:59 +01:00
Lotto 6da6307d50 Add support for specifying the position to insert mouse listeners in 2018-03-06 00:37:59 +01:00
Lotto d0aa72f61b Add support for proxying mouseWheelMoved events 2018-03-06 00:37:59 +01:00
Lotto d1d45eb11f Modify the size and location of the game canvas if stretched is enabled 2018-03-06 00:37:59 +01:00
Lotto 4e198b6e0e Add logic for game image stretching in Hooks#draw
Cache stretched dimensions and image

Fix rendering hint not being set until you resize window
2018-03-06 00:37:59 +01:00
Lotto 22f931a438 Add a mixin for storing stretched fixed mode setting states 2018-03-06 00:37:59 +01:00
Lotto 725762460a Move the 765x503 constants to a Constants API class 2018-03-06 00:37:59 +01:00
Lotto e830442585 Use a mixin for calling Hooks.draw instead of a @Hook 2018-03-06 00:37:59 +01:00
Lotto 92e224fb94 runelite-client: add news feed plugin 2018-03-04 09:23:20 -05:00