Commit Graph

199 Commits

Author SHA1 Message Date
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
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
Adam
a211e39cfd plugin manager test: check plugins don't error when registering with eventbus 2019-02-08 18:27:15 -05:00
Henry Zhang
4e6552a1f1 Migrate onSetMessage to onChatMessage
These were probably just missed. They cause warnings in the console and
make it so the Wintertodt plugin doesn't start
2019-02-07 22:58:44 -08:00
Adam
b0f29aab0a client: update SetMessage usages to ChatMessage 2019-02-07 19:42:25 -05:00
Adam
640e0d2915 mlm plugin: fix ore counter to not count already collected ore 2019-02-04 11:27:45 -05:00
Jordan Atwood
b559fd859b chat commands: Add test case for PB without trailing period 2019-01-30 09:13:26 +01:00
Adam
9d5dad5cad Add !pb chat command 2019-01-26 15:58:35 -05:00
Adam
41ae79437e Add task chat command
Co-authored-by: Spedwards <improbablepuzzle@gmail.com>
2019-01-22 19:13:32 -05:00
Tomas Slusny
272990041c Replace usage of Spliter/Joiner with toCSV/fromCSV
Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2019-01-21 11:22:56 +00:00
Adam
c4afc599ed examine plugin: drop examines for tradable items and large stacks 2019-01-20 16:17:05 -05:00