Commit Graph

358 Commits

Author SHA1 Message Date
SebastiaanVanspauwen
bbf6552495 chat commands: add Prifddinas agility course kc and pb 2019-07-27 23:16:59 -04:00
Adam
38e64ee5bd Merge pull request #9428 from abextm/parallel-patch
Download and patch the client in parallel with startup
2019-07-26 13:36:52 -04:00
Max Weber
64643c136d runelite-client: Start the ClientLoader running before injection starts
This saves about a second of startup time. It also removes the possibly incorrect ClientUpdateCheckMode from the RuneLiteModule
2019-07-24 15:17:30 -06:00
Adam
f2cfea57cc chatfilter test: remove player bind 2019-07-24 15:10:47 -04:00
William Collishaw
87ec3f0bea emoji plugin: support nbsp in messages 2019-07-24 15:06:31 -04:00
Sander de Groot
b59405eec0 chat filter: fix filtering messages containing nbsp
The chat history plugin replays messages by replacing spaces with nbsp to avoid triggering notifications and chat commands, and this was preventing the chat filter from filtering replayed messages. censorMessage already does a nbsp to space replacement.
2019-07-24 15:01:47 -04:00
Adam
29533cd6c7 client: change item layer item uages to TileItem 2019-07-23 22:28:32 -04:00
Adam
3700876cf8 Merge pull request #9417 from Adam-/tooltip-crash
Fix tooltip error handling
2019-07-23 20:39:00 -04:00
Adam
877df92d11 tooltip component: fix exception from malformed tags 2019-07-23 20:30:50 -04:00
Zacharias Tyllström
e3266d1fa6 item charges: add ring of forging 2019-07-22 18:26:15 -04:00
Max Weber
fa99ba9cf8 runelite-client: remove RuneLiteModuleTest
It is being tested sufficiently by PluginManagerTest
2019-07-21 13:45:36 -06:00
TheStonedTurtle
742133e456 Fix BrokenOnDeathItems death value by adding repair price
Jagex uses the repair price when determing items lost on death by value. adds test for this case as well
2019-07-21 12:22:15 -07:00
Adam
2b2983242f bank plugin: refactor to allow pricing multiple containers
Co-authored-by: TheStonedTurtle <mgoodwin559@gmail.com>
2019-07-16 19:39:46 -04:00
Jordan Atwood
50dba92338 slayerplugin: Correct Jad and Zuk task tracking
This adds a field to Task which dictates the expected exp gain of the
task. When set to a non-zero value, it will prevent slayer exp gains
from registering as a kill unless they are of exactly that amount.

Closes runelite/runelite#1865
2019-07-13 00:26:55 -07:00
Adam Witkowski
70f2be507b mlm: fix rock obstacles not being marked on load 2019-07-10 20:15:18 -04:00
TheStonedTurtle
d39bfcb50f itemskeptondeath: fix many edge cases and add tests
This adds support for most degradeable and imbued items, which have
death prices that are fixed offsets of the prices of some other
reference item, clue boxes, and jewelery.

The plugin was refactored largely to be able to add the tests, and now
works on our internal DeathItem and ItemStack classes instead of widgets
and items.

Co-authored-by: Adam <Adam@sigterm.info>
2019-07-09 20:50:09 -04:00
Adam
7f7a71eb38 api: add item container id to item container changed event 2019-07-09 09:23:38 -04:00
Kusha Gharahi
80f0000f89 wintertodt plugin: add round start notification
Co-authored-by: Adam <Adam@sigterm.info>
2019-07-02 22:34:32 -04:00
Adam
ff5d0432c8 Merge pull request #9256 from Nightfirecat/hot-cold-fixes
Hot cold fixes
2019-07-02 20:48:32 -04:00
Adam
166e547f67 timers plugin: fix teleblock timers
Co-authored-by: jordibenck <jordi.b-98@hotmail.com>
2019-07-01 19:41:39 -04:00
Jordan Atwood
45e1441072 HotColdTemperature: Fix warm-but-colder temperature bug
Because the word "cold" is used both as a temperature ("The device is
cold"), and in a temperature change ("but colder than last time."),
HotColdTemperature tried to interpret COLDER temperature changes as a
COLD temperature match. By matching only the section of the temperature
string preceding the optional comma, this bug is avoided.
2019-07-01 00:03:36 -07:00
Jordan Atwood
76d4031445 cluescrolls: Add beginner hot-cold clues 2019-06-30 20:32:42 -04:00
Jordan Atwood
e5d4e7a897 HotColdClue: Add hot-cold solver class
This adds a general hot-cold puzzle solver class and implements it in
HotColdClue.
2019-06-30 20:32:42 -04:00
Jordan Atwood
5a6b39036d HotColdClue: Refactor to use enums for temperatures 2019-06-30 20:32:42 -04:00
Robert Alexander
8ee3e483f4 chat commands: add duel arena chat command 2019-06-27 21:38:55 -04:00
Adam
879e7f6b5d emoji plugin: fix stripping chat recolor tags
This was using the event's message instead of the node's, after the
node's message had been wrapped with col tags.

Additionally, fix plugin to match emoji triggers that are in the same
word as (col) tags.
2019-06-15 20:09:12 -06:00
Adam
8988226d1c chat notifier: fix matching < and > in chat messages 2019-06-15 19:38:13 -06:00
Adam
59c1139b51 cooking plugin: add wine ferment timer 2019-05-30 20:14:00 -04:00
Adam
cbfcba325d Revert "cooking plugin: add wine ferment timer"
This reverts commit e6113dc82a.
2019-05-30 19:28:23 -04:00
Adam
52ce25e780 Revert "cooking plugin: fix wine fermentation timer to begin at appropriate time"
This reverts commit acaef50b91.
2019-05-30 19:28:07 -04:00
osrs-music-map
da260fb8b2 chat filter: add options to filter friends and clan members
Also no longer ever filter messages from the local player

Co-authored-by: Adam <Adam@sigterm.info>
2019-05-26 11:22:07 -04:00
Austin Bryant
acaef50b91 cooking plugin: fix wine fermentation timer to begin at appropriate time
Co-authored-by: Adam <Adam@sigterm.info>
2019-05-24 22:13:39 -04:00
Jordan Atwood
e5e2abebbd PluginManagerTest: Ensure config keyNames are not duplicated
This adds a new test to ensure plugin configurations do not duplicate
the keyName annotation argument to prevent runtime errors.
2019-05-22 23:39:57 -07:00
emerald000
8026785f16 Refactor combat level calculations to use closed-form formulas. (#8874)
* Refactor combat level calculations to use closed-form formulas.

Also move most calculations to the Experience utility class.
Fixes #7411.

* Add new test for magic levels that barely reach the next combat level.

* Add another test that breaks on master.
2019-05-20 10:31:16 -04:00
Ville Kopio
4e8e182214 combatlevel plugin: fix prayer levels until combat level calculation
Add more prayer level tests to expose a bug in which
needed prayer levels for next combat level was 0 instead of 2 in some
corner cases and implemented fixes.

For example: Let prayer level p be an odd number. The current combat level
is exactly same for p and p - 1. Therefore given n is the needed prayer
levels for a combat level with p - 1 prayer then n - 1 is the needed
prayer levels for a combal level with p prayer.

Further more the usage of Math.floor was incorrect in every cases so it is
changed to Math.ceil.
2019-05-13 21:25:47 -04:00
Stephen Zhu
9a0d783bf9 client: add smelting plugin
Co-authored-by: Adam <Adam@sigterm.info>
2019-05-11 11:48:22 -04:00
Lotto
ca377c7196 xp tracker: display >1m exp with thousandths precision 2019-05-08 01:38:04 +02:00
Adam
e6113dc82a cooking plugin: add wine ferment timer
Co-authored-by: LucasChilders <lucas1757@gmail.com>
2019-05-07 10:31:16 -04:00
Alexsuperfly
b1a9c764c1 slayer: add test including 'south of' 2019-04-30 15:47:45 -04:00
Adam
8b5ff85123 clue plugin: add test to check for duplicate coordinate clues 2019-04-17 20:35:50 -04:00
Trevor Guidry
a295346b5e timestamp plugin: allow configuring timestamp
Co-authored-by: Adam <Adam@sigterm.info>
2019-04-08 12:12:27 -04:00
Joshua Filby
58a50bba1a refactor: change ChatMessageType names to follow ones given
ref: https://twitter.com/JagexAsh/status/1100744640662302720
2019-03-30 21:19:59 -05:00
Jim Frode Nilsen
43e2446798 chat commands: add herbiboar kc 2019-03-27 18:48:53 -04:00
Adam
bc41e18d31 Merge pull request #3380 from Hydrox6/right-click-bank-buttons
Add ability to disable Left Click to bank inventory, equipment, and looting bag options
2019-03-26 17:26:05 -04:00
Magic fTail
b7944bcee4 Add chat filter plugin
Add a plugin that censors user defined words/sentences, changes the message, or removes the entire message containing them.

Co-authored-by: Adam <Adam@sigterm.info>
2019-03-19 16:36:58 -04:00
Hydrox6
ea9c97aad0 client: rename Bank Value plugin to Bank 2019-03-19 00:37:25 +00:00
chivesrs
2427f61f37 Enable checkstyle on test sources 2019-03-04 14:56:46 -05:00
Chives
2d66f86ca0 Replace assert keyword with JUnit assert functions 2019-03-03 17:09:36 -08:00
Hydrox6
1a38158651 Add infoboxes to item charges plugin
Closes #1318

Co-authored-by: Tomas Slusny <slusnucky@gmail.com>
Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2019-02-19 23:06:58 +00:00
Tomas Slusny
ac8f728d47 Remove dodgy charges variable from item charges plugin
Just use config class directly, this variable makes no sense.

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2019-02-19 22:53:26 +00:00