Commit Graph

187 Commits

Author SHA1 Message Date
Tyler Bochard
235cb71af3 Merge pull request #259 from runelite/master
Pre-Patch day Pull
2019-05-16 00:59:02 -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
James
33885b86f1 Update BA Plugins, Update from RL master (#226)
* xp tracker: display >1m exp with thousandths precision

* fishing plugin: fix trawler timer with one tick left

* Remove gray pixel from Dragon Scimitar cursor (#8725)

* client: add smelting plugin

Co-authored-by: Adam <Adam@sigterm.info>

* constants: add GAME_TICK_LENGTH and use where needed

Also update many usages of 20ms to CLIENT_TICK_LENGTH

* regenmeter: add option to notify before next hp regen

* barrows plugin: add prayer drain timer

* chat: ensure queued messages are always cleared after adding

Mark queued message type as non null because addChatMessage will throw
if it is. This was causing the client to get stuck trying to add the
same broken message each loop.

* party plugin: add partyinfo debug command

* party service: check joins are for the current party

The server can resume party membership on handshake to parties other
than the current client party (eg. if the client is restarted or for any
other reason the current party changes). This desyncs otherwise if the
joins aren't checked to be in the current party.

* Updated barbassault/ba tools

* Update
2019-05-12 10:16:04 +01:00
Stephen Zhu
9a0d783bf9 client: add smelting plugin
Co-authored-by: Adam <Adam@sigterm.info>
2019-05-11 11:48:22 -04:00
zeruth
d4e6d2d6fb Merge branch 'master' of https://github.com/runelite/runelite 2019-05-09 19:20:17 -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
Scott Burns
44e17bbfc9 Merge remote-tracking branch 'runelite/master' 2019-05-02 17:05:00 +02:00
sdburns1998
fb307cf235 Slayer update (#161)
* Slayer update

Stripped model outliner
Slayer points varbit
Seperate superior color
Slayer estimate task completion
Slayer kc fix
NPCID vhere needed

* Tests

* Ignore AWT-EventQueue-0 in tests

* Fix componnent creation threading error
2019-05-01 18:00:42 -04:00
Alexsuperfly
b1a9c764c1 slayer: add test including 'south of' 2019-04-30 15:47:45 -04:00
James
33722d2e12 Revert "Slayer estimate task completion" 2019-04-24 17:57:45 -07:00
Ganom
f8be7498b9 Merge pull request #89 from daviscook477/slayer-highlight-superiors
Slayer highlight superiors
2019-04-24 20:41:47 -04:00
Ganom
8851c98727 Merge pull request #91 from daviscook477/slayer-estimate-task-completion
Slayer estimate task completion
2019-04-24 20:41:33 -04:00
James
f8363b9c23 Addeds arrow api, quest helper plugin, changed raids etc (#81)
* add a skull timer

* fix the feature and check edge cases

* Add config option and a check for deadman worlds

* add support for NPE

* Add reskulling on players and the BH shop skull option

* Add skull notifier plugin

* move to idle notification plugin

* remove old plugin

* fix plugin and change default config option to false

* fix to try and fix travis

* should fix travis

* indentation fix and adds a method for the logic

* fix config

* fix config #2

* Stop a NPE from happening on log in

* actually fix NPE

* fix notifications on first tick

* Remove raids timer infobox and add tooltip to points widget

* Add get widget overlay

* client: add custom arrow API

Currently supports:
Minimap
Arbitrary World Point
NPCs (by ID, and multiple per arrow)
Objects (by ID, and multiple per arrow)

TODO: Add world map point support

* Add quest helper

* Add Npc Talk Step to quest helper

* Add Cooks Assistant quest helper

* Add Imp Catcher to quest helper

* Add Dig Step to quest helper

* Add X Marks The Spot to quest helper

* Adds back skull timer
2019-04-24 01:36:42 +01:00
James
41c12a858d Changes 2 (#43)
* Initial commit for maxhit plugin

* WIP: Magic max hit calculator

* Add chance to obtain a Unique from Chambers of Xeric

Based on the formula from the wiki. Does not handle >80% chance properly (it should go into a second item)

* MaxHit Refactor a lot for magic max hit

* Wip: refactoring

* Pest Control Update

* Pest Control: Add Intermediate portals

* Revert "Remove raids points overlay"

This reverts commit fbd3ea6202.

* Wip: refactoring

* Fixed WidgetInfo merge issue

* Fixed trident

* Implement range

* Refactored according to intellij analyzer

* Run checkstyle from xml and fix code style issues

* Fix copyright

* Replace item names with item id's

* Code cleanup with reformat code

* Fixed checkstyle

* Use game slotitem

* Use game slotitem

* Fixed prayer bonus

* Looked up value for saradomin strike

* Fixed prayer bonus

* Fixed surge spell id's

* Fixed magix max hit tests

* Fixed rounding after obisidian

* Fix dharok custom formula

* Add melee max hit

* Refactored spellbonus items for magic

* Added voidknight

* Use boosted skill levels and add copyright

* Add accurate attack style for ranging

* Add range Tests

* Cleanup code

* Cleanup code

* Rename calculate methods to be more distinguishable

* Add parenthesis to dharok maxhit formula for clarification

* Fix widgetinfo merge

* Remove print in MaxHitPlugin

* Make sure an Item is not null when checking if the player is wearing it.

* Add daily notification for collection of ogre arrows from Rantz.

Add varbit for rantz arrow collection

Fix continuation indent settings


Group ifs to single check.

* Refactor all relevant daily checks to have grouped if check.


Further refactor grouped ifs

* Adds type

* Raids point overlay
2019-04-22 04:49:35 -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
Davis Cook
4b7bd874fb update to latest and fix style 2019-02-25 18:51:20 -05: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
Davis Cook
55624a3b8e Add ui for tracking slayer tasks 2019-02-12 08:28:48 -05:00
Davis Cook
0baf0a8ecb remove static block initialization of superior list 2019-02-12 01:11:06 -05: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
Max Weber
c017bd4a36 PatchImplementationTest: Don't immediately fail upon finding an error 2019-01-16 13:35:55 -07:00
Charlie Waters
b2666eb088 Slayer plugin: Add task location tracking 2019-01-13 20:16:44 -05:00
Tomas Slusny
2fc784a2ed Merge pull request #7124 from Nightfirecat/fix-prayer-to-next-combat-level-calculation
Fix prayer to next combat level calculation
2019-01-10 17:25:37 +01:00
Max Weber
e5ab589c3b Skybox: Do bounds check on the localPlayer's location, not the camera's
This prevents the skybox from turning black when the camera goes out of bounds, but the player is still inbounds
2019-01-08 18:01:13 -07:00
Max Weber
9098d1fa94 Add Skybox plugin 2019-01-07 13:39:09 -05:00
trimbe
60aa135fe5 bank value: use ItemContainer instead of WidgetItemQuery 2019-01-05 18:11:55 -05:00
Adam
e48b5acb07 Add karambwans and wine to cooking plugin
Change "You cook the" to just "You cook" to potentially cover more food than
just karambwans. Also add test for various cooking messages.

Co-authored-by: MonsterxSync <william53142@gmail.com>
2019-01-04 22:33:43 -05:00
steffenhauge
72cce77784 Add puzzle solver for monkey madness 1 puzzle box (#6545)
* Add puzzle solver for monkey madness 1 puzzle box
2019-01-04 21:44:00 +01:00
Spedwards
57d2ec5317 Split Valuable and Untradeable screenshot options (#7167) 2019-01-03 23:12:24 +01:00
Jordan Atwood
5edeeb6633 combatlevel: Fix prayer level needed to next combat
This adds a test which exposes an edge case where the needed prayer
levels to next combat level had been calculated to be 3 instead of 1,
and fixes that calculation.

Fixes runelite/runelite#7103
2018-12-31 20:01:05 -08:00
Jordan Atwood
541ad1e26d combatlevel: Clean up plugin code
This commit moves constants from the test to the overlay, and replaces
instances of magic numbers with them. It additionally fixes the odd
check in `correctPrayer()` and fixes some minor whitespace issues.
2018-12-31 10:40:26 -08:00
Adam
1ad41c76fd idle notifier: add spec regen notifier
Co-authored-by: Justin Kufro <kufroj@gmail.com>
2018-12-09 10:47:42 -05:00