Commit Graph

613 Commits

Author SHA1 Message Date
ThatGamerBlue
ea04edba2b Merge remote-tracking branch 'upstream/master' into master 2021-03-24 16:58:14 +00:00
Hydrox6
ad10d6d6c1 chat commands: change pbs from int to double and support parsing them
Co-authored-by: Adam <Adam@sigterm.info>
2021-03-23 13:46:08 -04:00
Jonathan Pritchard
5fb97e2b6d chat commands: fix hs kc patterns to match values greater than 999 2021-03-23 10:28:05 -04:00
ThatGamerBlue
9824ddd787 actually put the test on the repo 2021-03-17 22:19:45 +00:00
ThatGamerBlue
7a9dda82fe Merge remote-tracking branch 'upstream/master' into master 2021-03-17 22:19:21 +00:00
Adam
088cb19752 ge plugin: use prices.runescape.wiki for ge link when using wiki prices 2021-03-15 22:55:33 -04:00
David Uhler Brand
19cc5dc461 chat notifications: add regex highlights
Co-authored-by: Adam <Adam@sigterm.info>
2021-03-15 19:36:28 -04:00
ThatGamerBlue
74028f9690 Merge remote-tracking branch 'upstream/master' into hi-phil-swift-here-for-flex-tape-the-super-strong-waterproof-tape 2021-03-10 16:32:29 +00:00
Jordan Atwood
36ec314ab7 Revert "opponentinfo: Show health bar of actors attacking the player"
This reverts commit 48ea01dd28.
2021-03-09 21:30:58 -08:00
Adam
d5dda05d55 ge plugin: support wiki prices in search panel 2021-03-09 16:40:23 -05:00
Adam
71595d0b6e chat commands: support wiki prices in price command 2021-03-09 16:40:23 -05:00
chaticon
48ea01dd28 opponentinfo: Show health bar of actors attacking the player 2021-03-04 18:52:32 -05:00
Jordan Atwood
d26e3ec7b2 opponent info: Add simple interaction tests 2021-03-04 18:52:32 -05:00
Adam
60b8d3370f Fix slayer plugin setting config values to null
null is not permitted in properties and throws an exception. Additionally mark value in setConfiguration as NonNull.
2021-03-04 00:05:18 -05:00
Owain van Brakel
a63e481706 Merge remote-tracking branch 'runelite/master' into upstream-0203 2021-03-03 22:12:58 +01:00
Adam
45fd98d487 chat commands: add jad challenge kc and pbs 2021-03-03 14:51:45 -05:00
Owain van Brakel
7d63fc7746 Merge remote-tracking branch 'runelite/master' 2021-03-02 13:16:12 +01:00
superiorser9
d587ff5540 cooking: Fix POH altar burners false positive burn message (#13284) 2021-03-02 06:21:22 +00:00
Cyborger1
40720bd987 slayer plugin: store task in rs profile configuration
Co-authored-by: Adam <Adam@sigterm.info>
2021-03-01 19:29:07 -05:00
Broooklyn
e27636639e chat notifications: Prevent localPlayer highlights and notifications (#13244) 2021-02-28 19:22:53 +00:00
Jordan Atwood
7c59815869 npchighlight: Apply correct highlights to changed NPCs 2021-02-27 10:44:21 -05:00
ThatGamerBlue
db49157fc8 Merge remote-tracking branch 'upstream/master' into runelite 2021-02-22 00:13:07 +00:00
Adam
e0be69c725 client: move core singleton eventbus registration to singleton constructors 2021-02-19 10:48:03 -05:00
Jordan Atwood
c92f835102 timers plugin: Improve imbued heart detection
As is the case with other graphics-based timers, the imbued heart timer
will not fire if other graphics animations are triggered (such as those
created when fighting the Dagannoth Kings). To add this timer more
reliably, this commit will add the timer when a Magic stat boost occurs
of the appropriate amount after recently clicking on an imbued heart.
Because the magic level boost, combined with an imbued heart click
check, is a reliable way to detect usage of an imbued heart, the
graphics check is removed.
2021-02-15 13:09:54 -05:00
ThatGamerBlue
f4580f37e0 Merge remote-tracking branch 'upstream/master' into runelite
# Conflicts:
#	cache-client/pom.xml
#	cache-updater/pom.xml
#	cache/pom.xml
#	http-api/pom.xml
#	http-service/pom.xml
#	pom.xml
#	runelite-api/pom.xml
#	runelite-api/src/main/java/net/runelite/api/Client.java
#	runelite-api/src/main/java/net/runelite/api/FarmingTrackerTest.java
#	runelite-client/pom.xml
#	runelite-client/src/main/java/net/runelite/client/plugins/menuentryswapper/MenuEntrySwapperConfig.java
#	runelite-client/src/test/java/net/runelite/client/chat/ChatMessageManagerTest.java
#	runelite-client/src/test/java/net/runelite/client/plugins/cluescrolls/ClueScrollPluginTest.java
#	runelite-client/src/test/java/net/runelite/client/plugins/emojis/EmojiPluginTest.java
#	runelite-client/src/test/java/net/runelite/client/plugins/grounditems/GroundItemsPluginTest.java
#	runelite-client/src/test/java/net/runelite/client/plugins/idlenotifier/IdleNotifierPluginTest.java
#	runelite-script-assembler-plugin/pom.xml
2021-02-14 00:31:56 +00:00
Cyborger1
496a28c9f9 emoji plugin: set message node message instead of rl format message
The replaced message has no rl-format tags, and using the rl-format message causes it to lose color whenever the message node is refreshed due to not containing any rl-format tags
2021-02-13 14:16:19 -05:00
Hydrox6
5e14d666e0 chat color: fix nonsensical test 2021-02-13 11:12:22 -05:00
Hydrox6
63cbe6ae09 chat color: fix usernames not being recoloured if they have an icon 2021-02-13 11:12:22 -05:00
Jordan Atwood
0fa078d8f1 notifier: Add username to tray notification title
This also removes the player's ingame name from notifications which are
referring to the active player in favor of the title.
2021-02-13 10:36:12 -05:00
Adam
525c64b8df farming tracker: don't send notifications for empty crop state 2021-02-09 11:43:12 -05:00
Liam Schmidt
37838ac836 screenshot: Add valuable drop threshold config 2021-02-06 15:06:53 -08:00
Adam
7b5fb1fb76 clue scroll plugin: fix test 2021-02-04 13:41:32 -05:00
zeruth
7b0678d0a1 Merge branch 'upstream-master' into runelite
# Conflicts:
#	cache-client/pom.xml
#	cache-updater/pom.xml
#	cache/pom.xml
#	http-api/pom.xml
#	http-service/pom.xml
#	pom.xml
#	runelite-api/pom.xml
#	runelite-api/src/main/java/net/runelite/api/Client.java
#	runelite-api/src/main/java/net/runelite/api/events/MenuEntryAdded.java
#	runelite-api/src/main/java/net/runelite/api/events/NpcActionChanged.java
#	runelite-api/src/main/java/net/runelite/api/events/PlayerMenuOptionClicked.java
#	runelite-client/pom.xml
#	runelite-client/src/main/java/net/runelite/client/plugins/worldhopper/WorldSwitcherPanel.java
#	runelite-client/src/test/java/net/runelite/client/plugins/slayer/SlayerPluginTest.java
#	runelite-script-assembler-plugin/pom.xml
2021-01-29 21:19:28 -05:00
Adam
2be9fe9df3 slayer plugin: update task completion message parsing 2021-01-27 03:59:23 -07:00
Adam
f6c68eefc8 api: remove PlayerMenuOptionClicked
There is only one legitimate use of this, which is in the hiscore
plugin, but it is simple to replace it with a normal menu option clicked
event. Additionally the world hopper was incorrectly using this event
for the Hop option, so it has been changed to use the menu option
clicked event.
2021-01-25 20:20:27 -05:00
zeruth
769e1aa342 Merge branch 'upstream-master' into runelite
# Conflicts:
#	runelite-client/src/main/java/net/runelite/client/plugins/tearsofguthix/TearsOfGuthixOverlay.java
#	runelite-client/src/main/java/net/runelite/client/plugins/tearsofguthix/TearsOfGuthixPlugin.java
2021-01-25 00:21:50 -05:00
wrightmalone
49138527f8 xp globes: add option to show virtual level in tooltip
Co-authored-by: Adam <Adam@sigterm.info>
2021-01-24 19:30:19 -05:00
TheRealNull
0147abf768 project: upstream 2021-01-20 12:04:14 -08:00
Adam
b12860b52d chat notifier: restore original color when highlighting own name 2021-01-19 13:04:01 -05:00
TheRealNull
a2a295a054 Merge remote-tracking branch 'upstream/master' into runelite
Also pulled out a couple of our merged apis into our own classes. Getting much easier to keep up to date with their data

# Conflicts:
#	.github/FUNDING.yml
#	.github/workflows/CI.yml
#	cache-client/pom.xml
#	cache-updater/pom.xml
#	cache/pom.xml
#	cache/src/main/java/net/runelite/cache/fs/jagex/DiskStorage.java
#	ci/build.sh
#	http-api/pom.xml
#	http-service/pom.xml
#	http-service/src/main/java/net/runelite/http/service/chat/ChatController.java
#	http-service/src/main/java/net/runelite/http/service/config/ConfigController.java
#	http-service/src/main/java/net/runelite/http/service/config/ConfigService.java
#	http-service/src/main/java/net/runelite/http/service/ge/GrandExchangeController.java
#	http-service/src/main/java/net/runelite/http/service/ge/Trade.java
#	http-service/src/test/java/net/runelite/http/service/config/ConfigServiceTest.java
#	http-service/src/test/java/net/runelite/http/service/hiscore/HiscoreServiceTest.java
#	pom.xml
#	runelite-api/pom.xml
#	runelite-api/src/main/java/net/runelite/api/Client.java
#	runelite-api/src/main/java/net/runelite/api/ObjectID.java
#	runelite-api/src/main/java/net/runelite/api/ParamHolder.java
#	runelite-api/src/main/java/net/runelite/api/ParamID.java
#	runelite-api/src/main/java/net/runelite/api/Preferences.java
#	runelite-api/src/main/java/net/runelite/api/ScriptEvent.java
#	runelite-api/src/main/java/net/runelite/api/ScriptID.java
#	runelite-api/src/main/java/net/runelite/api/SettingID.java
#	runelite-api/src/main/java/net/runelite/api/StructComposition.java
#	runelite-api/src/main/java/net/runelite/api/StructID.java
#	runelite-api/src/main/java/net/runelite/api/Varbits.java
#	runelite-api/src/main/java/net/runelite/api/events/PlayerChanged.java
#	runelite-api/src/main/java/net/runelite/api/events/PostStructComposition.java
#	runelite-api/src/main/java/net/runelite/api/events/WidgetClosed.java
#	runelite-api/src/main/java/net/runelite/api/events/WidgetHiddenChanged.java
#	runelite-api/src/main/java/net/runelite/api/events/WidgetPositioned.java
#	runelite-api/src/main/java/net/runelite/api/events/WorldChanged.java
#	runelite-api/src/main/java/net/runelite/api/widgets/Widget.java
#	runelite-api/src/main/java/net/runelite/api/widgets/WidgetID.java
#	runelite-api/src/main/java/net/runelite/api/widgets/WidgetInfo.java
#	runelite-api/src/main/java/net/runelite/api/widgets/WidgetModalMode.java
#	runelite-api/src/test/java/net/runelite/api/plugins/combatlevel/CombatLevelOverlayTest.java
#	runelite-client/pom.xml
#	runelite-client/src/main/java/net/runelite/client/RuneLiteModule.java
#	runelite-client/src/main/java/net/runelite/client/callback/Hooks.java
#	runelite-client/src/main/java/net/runelite/client/plugins/config/PluginToggleButton.java
#	runelite-client/src/main/java/net/runelite/client/plugins/customcursor/CustomCursor.java
#	runelite-client/src/main/java/net/runelite/client/plugins/menuentryswapper/MenuEntrySwapperConfig.java
#	runelite-client/src/main/java/net/runelite/client/plugins/mta/alchemy/AlchemyRoomTimer.java
#	runelite-client/src/main/java/net/runelite/client/plugins/tearsofguthix/TearsOfGuthixOverlay.java
#	runelite-client/src/main/java/net/runelite/client/plugins/tearsofguthix/TearsOfGuthixPlugin.java
#	runelite-client/src/main/java/net/runelite/client/plugins/worldhopper/WorldTableHeader.java
#	runelite-client/src/main/java/net/runelite/client/plugins/worldhopper/WorldTableRow.java
#	runelite-client/src/main/java/net/runelite/client/ui/ClientUI.java
#	runelite-client/src/main/resources/net/runelite/client/runelite.properties
#	runelite-client/src/main/scripts/OptionsPanelZoomUpdater.hash
#	runelite-client/src/test/java/net/runelite/client/config/ConfigManagerTest.java
#	runelite-client/src/test/java/net/runelite/client/plugins/chatcommands/ChatCommandsPluginTest.java
#	runelite-client/src/test/java/net/runelite/client/plugins/chatfilter/ChatFilterPluginTest.java
#	runelite-client/src/test/java/net/runelite/client/plugins/chatnotifications/ChatNotificationsPluginTest.java
#	runelite-client/src/test/java/net/runelite/client/plugins/discord/DiscordStateTest.java
#	runelite-client/src/test/java/net/runelite/client/plugins/grandexchange/GrandExchangePluginTest.java
#	runelite-client/src/test/java/net/runelite/client/plugins/screenshot/ScreenshotPluginTest.java
#	runelite-client/src/test/java/net/runelite/client/plugins/specialcounter/SpecialCounterPluginTest.java
#	runelite-client/src/test/java/net/runelite/client/plugins/timers/TimersPluginTest.java
#	runelite-client/src/test/java/net/runelite/client/util/ColorUtilTest.java
#	runelite-script-assembler-plugin/pom.xml
2021-01-14 14:41:17 -05:00
Adam
4a214f9807 spec counter: add spec threshold notifications
This allows configuring spec thresholds which a notification will be sent for
when reached. Additionally it colors the infobox text red or green based on if
the threshold has been reached.

Co-authored-by: Dylan <dylanhe@gmail.com>
Co-authored-by: jgozon <47003557+jgozon@users.noreply.github.com>
2021-01-08 16:20:40 -05:00
Adam
fd9626495b client: bind runelite.properties to guice 2020-12-30 16:32:23 -05:00
Adam
ffebb9cf0c ge plugin: better handle trades updating on login
After login there are two sets of offer updates, I suspect the first is
from the server and the second is from the ge server - this also flags
ge server trade updates as on login. To do this we assume it always
happens in the first few ticks after the login burst.
2020-12-25 19:19:39 -05:00
Mrnice98
0c2f93d11c timers: use chat message for sire stun timer
This makes the timer work more reliably when stuns are stacked
2020-12-24 00:54:30 -05:00
pilino1234
ab4cf1afe9 Add alpha channel to color config options where applicable 2020-12-20 00:01:32 -05:00
therealunull
b54ff7f7db openrune: just about finish rework, gets to login 2020-12-13 15:12:37 -05:00
Adam
f67eed0f96 chatcommands: always apply pb from raids
This logic was from prior to cox having a pb message, and so it had to compare
the known pb with the current raid duration. Now that all raids have a pb
message, it is no longer necessary to do this. This fixes pb times syncing up
in the main game correctly that were overwritten by leagues.
2020-12-07 23:34:02 -05:00
Adam
f0233234da chat commands test: remove unnecesary argument matchers 2020-12-04 16:01:50 -05:00
Adam
3771444b7f chat commands: fix detecting pb when completing leagues tasks
The league task message is in between the kc and pb messages, so just look for the pb message on the same tick as the kc message
2020-12-04 15:50:21 -05:00
Adam
16149cdcae config manager: manually parse config keys
The regex used took too long to complete with large inputs that can
appear when the user has a corrupted config.
2020-12-02 19:26:13 -05:00