JumpIfZero
5442ba7c88
Merge remote-tracking branch 'rl-upstream/master' into rl-upstream-160322
2022-03-16 14:00:41 +02:00
Adam
e953631a08
chat message manager: fix gim rl-format messages
...
The rl-format messages aren't prepended with |, causing them to be sent to normal clan chat instead.
2022-03-15 15:42:17 -04:00
Adam
28d4ceb2b5
loottracker: refactor inv change events
...
Instead of having logic to set the event type and then pick it up again in the inv change event, store a callback to be called on inv change
2022-03-13 15:55:12 -04:00
Owain van Brakel
7cab454a0a
Merge remote-tracking branch 'runelite/master'
2022-03-09 01:50:40 +01:00
Owain van Brakel
5ab766c256
Merge remote-tracking branch 'runelite/master'
2022-03-09 01:47:04 +01:00
Adam
64abf450d9
loot tracker: store loot in config
...
Since loot is now aggregated, the data is little enough to store in
config. This allows loot to persist between sessions even when not
logged in.
2022-03-06 15:12:52 -05:00
Adam
5d7edacd21
item manager: fix active price threshold calculation
...
This was meant to keep items within 5x of their Jagex price, but the
logic was only correct if activePriceThreshold <= 1.0.
2022-02-27 12:33:40 -05:00
Jordan Atwood
d94abb884d
slayer: Fix name matching
...
The Slayer plugin highlights target monsters based on their name rather
than NPC ID, as many common monsters (skeletons, zombies, etc.) have
nearly endless variations for different models and combat levels.
Previously, this name matching was done via a simple
`String#contains()`, which led to some incorrect matches such as pirates
being highlighted while on rat tasks and Jonny the beard being
highlighted while on bear tasks.
This commit changes matching to use regex to match string boundaries or
whitespace at either end of the task string, ensuring these substring
matches can only happen when word breaks occur. The only known existing
case where this would apply is for baby dragons and brutal dragons,
which are valid alternatives for their respective chromatic dragon
tasks.
2022-02-25 12:40:43 -05:00
Owain van Brakel
e870559388
Merge remote-tracking branch 'runelite/master'
2022-02-06 10:12:29 +01:00
LootBagger
e17baf1aee
plugin manager: fix plugins with multiple dependencies
...
If one plugin has multiple dependencies this would throw a concurrent
modification exception due to iterating the successors after removing
the edge
Fill out javadoc for topologicalSort
Co-authored-by: Adam <Adam@sigterm.info >
2022-02-05 23:17:43 -05:00
Adam
b37d46e488
client: add runtime config
...
A form of this was added in 1.7.11.2 in
e8ea616fc24691177cb2de18698f13ba17448a11, but did not bind the config to
the RuneLite guice module.
2022-02-02 22:34:01 -05:00
Owain van Brakel
4892c6b672
Merge remote-tracking branch 'runelite/master'
2022-01-19 18:35:40 +01:00
SirGirion
48a6d40418
itemcharges: Add support for blood essence
...
Co-authored-by: Adam <Adam@sigterm.info >
2022-01-18 15:49:13 -05:00
Owain van Brakel
663ac37175
Merge remote-tracking branch 'runelite/master'
2022-01-16 02:09:51 +01:00
Adam
5960a2f43e
chat message manager: format rl-messages at chat build time
...
This allows different final messages being built for split chat vs
normal chat, fixing <colNORMAL> incorrectly applying the default chatbox
color to split chat.
2022-01-13 09:52:12 -05:00
Adam
513c250d28
chat notifications: restore normal color after own name highlight
2022-01-11 21:32:41 -05:00
Justin
2f9e0d2787
Merge branch 'master' of https://github.com/runelite/runelite into upstream-03012022
...
Conflicts:
README.md
cache-client/pom.xml
cache-updater/pom.xml
cache/pom.xml
cache/src/test/java/net/runelite/cache/SpritePixelsManagerTest.java
config/checkstyle/checkstyle.xml
config/checkstyle/suppressions.xml
deobfuscator/src/main/java/net/runelite/asm/attributes/code/instructions/BALoad.java
deobfuscator/src/main/java/net/runelite/asm/pool/Class.java
deobfuscator/src/main/java/net/runelite/deob/DeobProperties.java
deobfuscator/src/main/java/net/runelite/deob/deobfuscators/lvt/LVTType.java
deobfuscator/src/test/java/net/runelite/asm/annotations/MyAnnotation.java
deobfuscator/src/test/java/net/runelite/asm/execution/mapper/StaticStepTest.java
deobfuscator/src/test/java/net/runelite/deob/deobfuscators/UnusedParametersTest.java
deobfuscator/src/test/java/net/runelite/deob/deobfuscators/transformers/buffer/BufferFinderTest.java
deobfuscator/src/test/java/net/runelite/deob/deobfuscators/unusedclass/ClassA.java
deobfuscator/src/test/java/net/runelite/deob/deobfuscators/unusedclass/EmptyClass.java
http-api/src/main/java/net/runelite/http/api/RuneLiteAPI.java
http-api/src/main/java/net/runelite/http/api/item/ItemStats.java
http-api/src/main/resources/runelite.properties
injection-annotations/src/main/java/net/runelite/api/mixins/Mixins.java
pom.xml
runelite-api/pom.xml
runelite-api/src/main/java/net/runelite/api/Frames.java
runelite-api/src/main/java/net/runelite/api/events/NpcActionChanged.java
runelite-api/src/main/java/net/runelite/api/events/PlayerSkullChanged.java
runelite-api/src/main/java/net/runelite/api/events/WidgetPressed.java
runelite-api/src/main/java/net/runelite/api/queries/InventoryItemQuery.java
runelite-api/src/main/java/net/runelite/api/util/JagexPrintableCharMatcher.java
runelite-client/pom.xml
runelite-client/src/main/java/com/openosrs/client/events/OPRSPluginChanged.java
runelite-client/src/main/java/com/openosrs/client/events/OPRSRepositoryChanged.java
runelite-client/src/main/java/com/openosrs/client/game/AttackStyle.java
runelite-client/src/main/java/net/runelite/client/ClientSessionManager.java
runelite-client/src/main/java/net/runelite/client/RuneLite.java
runelite-client/src/main/java/net/runelite/client/RuneLiteModule.java
runelite-client/src/main/java/net/runelite/client/SessionClient.java
runelite-client/src/main/java/net/runelite/client/config/ConfigManager.java
runelite-client/src/main/java/net/runelite/client/game/ItemClient.java
runelite-client/src/main/java/net/runelite/client/game/ItemManager.java
runelite-client/src/main/java/net/runelite/client/game/WorldService.java
runelite-client/src/main/java/net/runelite/client/plugins/xptracker/XpData.java
runelite-client/src/main/java/net/runelite/client/plugins/xtea/XteaClient.java
runelite-client/src/main/java/net/runelite/client/util/PvPUtil.java
runelite-client/src/main/resources/net/runelite/client/runelite.properties
runelite-client/src/test/java/net/runelite/client/config/ConfigManagerTest.java
runelite-client/src/test/java/net/runelite/client/plugins/raids/RaidsPluginTest.java
runelite-client/src/test/java/net/runelite/client/plugins/xptracker/XpTrackerPluginTest.java
runelite-jshell/pom.xml
runelite-mixins/src/main/java/net/runelite/mixins/ProcessClientErrorMixin.java
runelite-mixins/src/main/java/net/runelite/mixins/RSTextureMixin.java
runelite-script-assembler-plugin/pom.xml
runescape-api/src/main/java/net/runelite/rs/api/RSAbstractRasterProvider.java
runescape-api/src/main/java/net/runelite/rs/api/RSDecimator.java
runescape-api/src/main/java/net/runelite/rs/api/RSFrames.java
runescape-api/src/main/java/net/runelite/rs/api/RSProjectile.java
runescape-api/src/main/java/net/runelite/rs/api/RSRasterProvider.java
runescape-api/src/main/java/net/runelite/rs/api/RSScriptEvent.java
runescape-api/src/main/java/net/runelite/rs/api/RSUsername.java
runescape-client/src/test/java/ISAACCipherTest.java
2022-01-03 02:04:47 +11:00
Adam
0a501429e6
Move okhttp client from http-api
...
The client has been recreated with a new builder off of the http-api
client for awhile anyway since runelite-client has multiple other
requirements (caching, tls, etc). This fully moves creation of the
okhttp client into both http-service and runelite-client separately.
I've kept the CLIENT field in http-api for now since a few external
plugins depend on it currently.
2021-12-23 12:36:05 -05:00
Adam
37d538f0db
Move http-api clients to rl-client
2021-12-23 11:30:55 -05:00
Owain van Brakel
df5e3e2334
project: Add a bit of backward compatibility to the reworked menus
2021-12-16 10:19:51 +01:00
Owain van Brakel
a42c845ad3
project: Implement the new menu entry handling
2021-12-16 09:45:44 +01:00
Owain van Brakel
8b80c0b71f
Merge remote-tracking branch 'runelite/master'
2021-12-15 05:49:19 +01:00
Owain van Brakel
62a5942180
Merge remote-tracking branch 'runelite/master'
2021-12-15 05:39:29 +01:00
Adam
b3c4465e73
Move hiscore client to rl-client
...
Thie removes the http-service hiscore api, which we haven't used in
awhile and doesn't work in practice due to upstream rate limits, as well
as the xp tracker which also hasn't been used in a long time since there
are now multiple quality community run xptrackers.
2021-12-14 20:24:22 -05:00
Adam
e04a6becd2
grandexchange: remove osb ge client
2021-12-14 18:48:37 -05:00
Ron Young
a0c14cf06a
api: MenuEntry::setDeprioritized return self
2021-12-11 18:06:45 -05:00
Adam
4fe37f978c
friendslist: add option to hide per-friend login notifications
2021-12-10 15:06:55 -05:00
Adam
409d0dda76
api: make MenuEntry an interface
...
This adds a new createMenuEntry api method to make MenuEntries instead.
Menu entries now have an associated callback called when they are
clicked on, avoiding most plugins from having to hook separately to
detect the menu click. Additionally get/set type has changed to take a
MenuAction.
2021-12-09 13:56:40 -05:00
Justin
8d5c68eae7
Merge branch 'master' of https://github.com/runelite/runelite into upstream_0712
2021-12-07 12:19:59 +11:00
Adam
a05655f412
screenshot plugin: test screenshot filenames
2021-12-05 12:13:18 -05:00
Adam
9564e13d0f
screenshot plugin: add combat achievements
...
Co-authored-by: Evan <55665020+EvanDeadlySins@users.noreply.github.com >
2021-12-05 12:06:28 -05:00
Justin
f41d8905ee
Merge branch 'master' of https://github.com/runelite/runelite into upstream-2122021
...
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/MenuAction.java
runelite-client/pom.xml
runelite-client/src/main/java/net/runelite/client/config/ConfigManager.java
runelite-client/src/main/java/net/runelite/client/plugins/chathistory/ChatHistoryPlugin.java
runelite-client/src/main/java/net/runelite/client/plugins/config/ConfigPanel.java
runelite-client/src/main/java/net/runelite/client/plugins/worldhopper/WorldSwitcherPanel.java
runelite-jshell/pom.xml
runelite-script-assembler-plugin/pom.xml
2021-12-02 09:06:51 +11:00
Adam
90f200be53
chat message manager: don't apply color changes to message nodes
...
Apply the color changes at chat build time directly to the message being
set on the component, instead of prepending the color change onto the
message itself.
This is a bit more robust since it doesn't break things which depend on
the chat message not starting with a color, which they would not
otherwise, such as the chat filter.
2021-11-28 17:34:21 -05:00
Justin
41a5f5fbbc
Merge branch 'master' of https://www.github.com/runelite/runelite into 23112021
2021-11-23 20:19:50 +11:00
Adam
e36e362aa1
chat commands: update duel arena messages
2021-11-18 17:23:06 -05:00
Adam
58bc37f051
screenshot: update duel arena messages
2021-11-18 17:23:06 -05:00
Justin
a3f23037c7
Merge remote-tracking branch 'rl/master'
2021-11-15 10:35:00 +11:00
Adam
1362af414a
chat filter: Ignore character accents for matching
...
This lets plain latin-character filters to match messages with accents
and diacritics which are not easily typed on all keyboard layouts.
Co-authored-by: Jordan Atwood <jordan.atwood423@gmail.com >
2021-11-13 10:15:42 -05:00
Adam
67f7e7f488
clues test: remove unnecessary stubbing
2021-11-12 20:02:42 -05:00
Hydrox6
32ff64b30c
clues: make item requirements work with the runepouch
2021-11-11 21:03:52 -08:00
Owain van Brakel
2f90cf3075
Merge remote-tracking branch 'runelite/master'
2021-11-04 21:41:32 +01:00
Tal Skverer
e50b0f61a8
timers: Track imbued heart timer from varbit
2021-11-04 11:46:28 -07:00
Owain van Brakel
99bd6c08cd
Merge remote-tracking branch 'runelite/master'
2021-10-28 11:01:49 +02:00
Tal s
533bcd26be
woodcutting: Add clue nest notification config ( #14132 )
2021-10-27 21:21:43 +00:00
Owain van Brakel
65fd9b22c7
Merge remote-tracking branch 'runelite/master'
2021-10-27 03:29:13 +02:00
Adam
4187db4059
prayer: fix sanfew prayer dose indicator
...
The plugin was incorectly computing the amount of prayer sanfews restore
2021-10-26 14:53:19 -04:00
Owain van Brakel
3e3ba784ea
Merge remote-tracking branch 'runelite/master'
2021-10-01 10:42:22 +02:00
Jordan Atwood
7b678b2afb
skill calculator: Define actions and bonuses in Java
...
As the number of bonus types increases, the existing system of allowing
only a single type of bonus to be applied, and only allowing actions to
entirely opt out of having bonuses applied rather than more fine-grained
control, is showing its age. This commit redefines all bonus and action
entries in Java enums so that such systems can be better-defined.
Additionally, it comes with the benefit of easier change validation via
testing and enabling item and sprite ID referencing via runelite-api.
2021-09-28 22:05:00 -04:00
superiorser9
0d0e75b825
screenshot: Capture collection log popup notifications
2021-09-24 01:18:30 +02:00
Jordan
1b49afa56b
Merge pull request #14019 from superiorser9/notification-screenshot
...
ScreenshotPlugin: support collection log popup
2021-09-21 07:34:24 +00:00