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
2021-12-18 15:17:28 -05:00
2017-07-19 20:55:57 -04:00
2022-02-23 11:55:21 +00:00
2022-02-23 11:55:21 +00:00
2022-02-23 11:55:21 +00:00
2022-02-23 11:55:21 +00:00
2022-02-25 12:40:43 -05:00
2022-02-23 11:55:21 +00:00
2020-01-05 17:31:14 +00:00
2021-12-25 14:12:38 -05:00
2017-06-29 17:27:28 -04:00
2022-02-23 11:55:21 +00:00
2021-12-24 13:19:45 -05:00

runelite CI Discord

RuneLite is a free, open source OldSchool RuneScape client.

If you have any questions, please join our IRC channel on irc.rizon.net #runelite or alternatively our Discord server.

Project Layout

  • cache - Libraries used for reading/writing cache files, as well as the data in it
  • runelite-api - RuneLite API, interfaces for accessing the client
  • runelite-client - Game client with plugins

Usage

Open the project in your IDE as a Maven project, build the root module and then run the RuneLite class in runelite-client.
For more information visit the RuneLite Wiki.

License

RuneLite is licensed under the BSD 2-clause license. See the license header in the respective file to be sure.

Contribute and Develop

We've set up a separate document for our contribution guidelines.

Description
No description provided
Readme BSD-2-Clause 107 MiB
Languages
Java 98.9%
GLSL 0.7%
C 0.3%