Commit Graph

372 Commits

Author SHA1 Message Date
Adam
f6eac304c3 slayer plugin: do not show task infobox on login
Co-authored-by: Jasper Ketelaar <Jasperketelaar@kpnmail.nl>
Co-authored-by: Jordan Atwood <nightfirecat@protonmail.com>
2019-09-03 23:17:05 -04:00
Adam
db9ba15d6b Merge pull request #9739 from TheStonedTurtle/salve
ItemsKeptOnDeath - Add missing salve (ei) price offset
2019-08-28 08:19:47 -04:00
TheStonedTurtle
67fa6ea7b0 ItemsKeptOnDeath - Add missing salve (ei) price offset 2019-08-25 17:20:30 -07:00
Jordan Atwood
664ab26de9 slayerplugin: Fix first slayer kill not being registered
Because a user can have 0 slayer experience on a new account, we cannot
rely on 0 as the pre-login value. Prior to this change, a player getting
their first slayer kill in the described scenario would cause it not to
be counted toward the tracked task.
2019-08-21 09:11:00 -04:00
TheStonedTurtle
65758d54f3 itemskeptondeath: fix avernic defender price 2019-08-20 17:41:53 -04:00
Alexsuperfly
dea4972c00 slayer plugin: fix unknown tasks not decrementing counter 2019-08-19 12:47:33 -04:00
Adam
af5aa42a1d xptracker: fix calculating xp offset from offline xp 2019-08-15 14:02:40 -04:00
Max Weber
034aa9214e runelite-client: Bypass Jagex load balancer if we can't connect 2019-08-13 17:37:17 -06:00
Adam
cb46b50a21 Merge pull request #9427 from TheStonedTurtle/death-never-ends
Items Kept on Death - Fix breakable death prices
2019-08-12 20:05:16 -04:00
Adam
08fed6dba1 slayer plugin: fix task lookup test 2019-08-03 21:34:28 -04:00
Adam
e27459f1f0 chat commands: add guantlet pb 2019-07-31 08:36:37 -04:00
Adam
1b2219374f chat commands: add gg pb 2019-07-31 08:36:37 -04:00
Adam
1ce2e5aa93 chat commands: fix tracking zuk pb 2019-07-31 08:36:37 -04:00
Adam
5d884787b7 chat commands: add gauntlet kc
Co-authored-by: Robbie McLeod <rbbi@users.noreply.github.com>
2019-07-29 09:58:00 -04:00
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