Commit Graph

421 Commits

Author SHA1 Message Date
Owain van Brakel
3ecdebf542 project: Rework external plugins, local instances syncing, hotswapping 2020-03-27 21:17:20 +01:00
Owain van Brakel
e5dd288ffd Merge remote-tracking branch 'runelite/master' 2020-03-09 22:40:04 +01:00
Daniel
a34d9d30d6 Reset Discord status after a while of being in menu (#9116)
Closes #667
2020-03-08 23:01:23 +01:00
Trevor
43123e46a3 client: fix default sessionfile/config args 2020-03-06 14:08:50 -05:00
Trevor
d19e125998 client: add session and config file arguments 2020-03-06 11:47:58 -05:00
ThatGamerBlue
dc6942197e chatfilter: add filtering by username 2020-03-05 15:28:05 -05:00
Adam
7c3ff105fb api: update for tinted block and damage hitsplats 2020-03-05 07:17:07 -05:00
Jordan Atwood
bb0e693aea itemstats: Add tooltip string method tests
This commit adds tests to ensure proper formatting of the tooltip string
so as to prevent bugs like the one fixed by 7ca4a929.
2020-03-04 16:05:13 -08:00
Jordan Atwood
0451944522 itemstats: Fix unarmed attack speed
Since the writing of this plugin, the wiki has changed the format for
weapon attack speeds[1] and now displays weapon attack speeds in length
of game ticks. Hence, since unarmed attacks are at the rate of once
every 4 game ticks, this commit updates our definition of the unarmed
attack accordingly.

[1] https://oldschool.runescape.wiki/w/Unarmed?diff=8467472&oldid=7810087
2020-03-04 16:04:34 -08:00
JZomerlei
f5a80b6c91 Change to use github link instead of email (#10934) 2020-03-02 23:09:49 -08:00
Alexsuperfly
c7d89860ab chat commands: Add PB reading from POH adventurer's log 2020-03-01 10:39:24 -05:00
Alexsuperfly
78597125da chat commands: Refactor repeated test code into setup method
This commit moves each test's client `getUsername()` mock returning
"Adam" to a `before()` method.
2020-03-01 10:39:24 -05:00
Hydrox6
afe85fa6e6 slayer: fix boss task parsing to support Konar
Fixes runelite/runelite#8009
2020-02-23 12:04:55 -05:00
Adam
01ebf340e3 Merge pull request #10777 from Nightfirecat/clear-clue-scroll-on-empty-dev-command
Clear clue scroll on empty dev command
2020-02-20 17:04:57 -05:00
Jordan Atwood
9e560d91e3 cluescroll plugin: Clear stale location clue hint arrows
Location clue scrolls added a hint arrow when the player was nearby one
of the clue's locations. It did not, however clear that arrow if the
locations were changed and the previously-set hint arrow location was no
longer marked. This commit updates this behavior to clear the active
hint arrow each game tick before re-adding any location hint arrows.
(and if no NPC hint arrows are set)

Fixes runelite/runelite#10370
2020-02-20 15:23:00 -05:00
Ron Young
e8454a367c banktags: add tests 2020-02-20 09:25:59 -05:00
Jordan Atwood
967fadf59d Revert "timers plugin: Improve imbued heart detection"
This reverts commit 45c5df3379.
2020-02-14 09:01:44 -08:00
Adam
99e885cb0a loottracker: fix tracking first clue opens 2020-02-13 12:51:36 -05:00
Max Weber
7e8bebc083 gpu: run glslangValidator on shaders during tests 2020-02-11 18:54:00 -05:00
Max Weber
cf9f7fc9fb gpu: refactor shader compilation 2020-02-11 18:53:59 -05:00
Jordan Atwood
5b28f343ca clues: Don't return clue instances for empty text
This commit ensures that all clues providing a static `forText()` method
return null when given an empty string as clue text.
2020-02-11 14:05:42 -08:00
Owain van Brakel
491a7e76c4 Merge remote-tracking branch 'runelite/master' 2020-02-11 20:01:42 +01:00
Adam
4d5857214e loot tracker: add pickpocket events
Co-authored-by: Daniel Cimento <daniel.cimento@mail.mcgill.ca>
2020-02-10 18:27:01 -05:00
Max Weber
9a5337db3c runelite-client: typecheck configs extend Config 2020-02-09 04:14:57 -07:00
Jordan Atwood
45c5df3379 timers plugin: Improve imbued heart detection
As is the case with other graphics-based timers, the imbued heart timer
will not fire if enough other graphics animations are triggered (such as
those created when fighting the Dagannoth Kings). To add this timer more
reliably, this commit will add the timer when a Magic stat boost occurs
which is large enough that it can only be triggered by the heart.

Because the heart's boost scales with the player's level, it gives an
equal boost to the Magic essence and Magic potion boosts, depending on
the base magic level. To account for this, it will only be applied if
the user's base magic level is high enough to assuredly identify that a
potion was not used to trigger the boost.

Fixes runelite/runelite#3516

Co-authored-by: Lucas <lws.ned1260@gmail.com>
2020-02-08 18:57:22 -05:00
Adam
5bbd3fa30c Merge pull request #10717 from Nightfirecat/fix-hot-cold-same-temperature-narrowing
HotColdSolver: Add same-temperature solution narrowing
2020-02-08 18:11:03 -05:00
Owain van Brakel
cbb5c50939 client: Remove all plugins 2020-02-04 05:25:51 +01:00
Jordan Atwood
73d37c061b HotColdSolver: Add same-temperature solution narrowing
The hot-cold solver previously was unable to perform narrowing if given
a temperature change of "SAME", leading to less-than-optimal results
when a number of otherwise-possible solutions could be removed from the
possible results by inferring that since they would have yielded a
"COLDER" or "WARMER" temperature change. This commit removes possible
solutions which are absolutely closer or farther from the previous
tested location.

One pre-exisitng test needed to be updated to pass with this change, as
it expected results to be narrowed more slowly than they now are. In
addition, a minimal test case with only two starting locations has been
added to demonstrate this change is working correctly.
2020-02-02 15:46:50 -08:00
Alexsuperfly
ecbfd9caa9 Raids: Enable screenshotting of scouting overlay 2020-02-02 17:06:38 -05:00
Alexsuperfly
3f1120d23a idle notifier: prevent double notifications for anim and interact 2020-02-02 13:19:47 -05:00
Kyle
5f7480ff4b Update NpcIndicatorsPluginTest.java 2020-01-29 12:27:57 +00:00
Kyle
1546c2bfc5 Merge pull request #1818 from open-osrs/spawn
* Add notification on NPC spawn

Co-authored-by: William Maga <magaw@mymacewan.ca>
Co-authored-by: Owain van Brakel <owain.vanbrakel@gmail.com>
2020-01-29 12:10:56 +00:00
Kyleeld
ed5acca637 Merge branch 'pr/11' into upstream3 2020-01-28 15:53:22 +00:00
Zach Waller
8708788004 menu swapper: add bank deposit/withdraw shift click
Co-authored-by: Adam <Adam@sigterm.info>
2020-01-27 19:51:54 -05:00
melkypie
7c20e05bf9 chatcommands: fix cox pb tracking 2020-01-23 22:53:36 +02:00
Owain van Brakel
6d4e1ddf85 Merge remote-tracking branch 'runelite/master' 2020-01-23 12:57:53 +01:00
Matt Capone
10e5a1f181 chatcommands: add CoX pb tracking 2020-01-20 15:42:36 -05:00
Adam
4845560cb8 menu swapper: add bank extra op swap 2020-01-14 20:07:32 -05:00
melkypie
2681d395fc menu swapper: check home portal swap target
The swap was attemting to run on anything with the "enter" option, which
conflicted with the quick-enter swap below it.

Co-authored-by: Adam <Adam@sigterm.info>
2020-01-10 20:24:01 -05:00
Owain van Brakel
dfaf72eb35 Merge remote-tracking branch 'runelite/master' into ready-set-action
Conflicts:
	.gitignore
	cache-client/pom.xml
	cache-updater/pom.xml
	cache/pom.xml
	cache/src/main/java/net/runelite/cache/definitions/loaders/ParamLoader.java
	deobfuscator/src/main/java/net/runelite/deob/clientver/ClientVersion.java
	http-api/pom.xml
	http-service/pom.xml
	http-service/src/test/java/net/runelite/http/service/hiscore/HiscoreServiceTest.java
	pom.xml
	protocol-api/pom.xml
	protocol/pom.xml
	runelite-api/pom.xml
	runelite-api/src/main/java/net/runelite/api/Client.java
	runelite-client/pom.xml
	runelite-client/src/main/java/net/runelite/client/RuneLite.java
	runelite-client/src/main/java/net/runelite/client/RuneLiteProperties.java
	runelite-client/src/main/java/net/runelite/client/config/RuneLiteConfig.java
	runelite-client/src/main/java/net/runelite/client/plugins/PluginManager.java
	runelite-client/src/main/java/net/runelite/client/plugins/camera/CameraConfig.java
	runelite-client/src/main/java/net/runelite/client/plugins/camera/CameraPlugin.java
	runelite-client/src/main/java/net/runelite/client/plugins/cannon/CannonConfig.java
	runelite-client/src/main/java/net/runelite/client/plugins/cannon/CannonPlugin.java
	runelite-client/src/main/java/net/runelite/client/plugins/config/ConfigPanel.java
	runelite-client/src/main/java/net/runelite/client/plugins/config/ConfigPlugin.java
	runelite-client/src/main/java/net/runelite/client/plugins/config/HotkeyButton.java
	runelite-client/src/main/java/net/runelite/client/plugins/config/PluginListItem.java
	runelite-client/src/main/java/net/runelite/client/plugins/examine/ExaminePlugin.java
	runelite-client/src/main/java/net/runelite/client/plugins/friendnotes/FriendNotesPlugin.java
	runelite-client/src/main/java/net/runelite/client/plugins/hiscore/HiscorePanel.java
	runelite-client/src/main/java/net/runelite/client/plugins/hiscore/HiscorePlugin.java
	runelite-client/src/main/java/net/runelite/client/plugins/kourendlibrary/KourendLibraryPlugin.java
	runelite-client/src/main/java/net/runelite/client/plugins/loottracker/LootTrackerPlugin.java
	runelite-client/src/main/java/net/runelite/client/plugins/menuentryswapper/MenuEntrySwapperConfig.java
	runelite-client/src/main/java/net/runelite/client/plugins/menuentryswapper/MenuEntrySwapperPlugin.java
	runelite-client/src/main/java/net/runelite/client/plugins/musicindicator/MusicIndicatorPlugin.java
	runelite-client/src/main/java/net/runelite/client/plugins/raids/RaidsPlugin.java
	runelite-client/src/main/java/net/runelite/client/plugins/slayer/Task.java
	runelite-client/src/main/java/net/runelite/client/plugins/woodcutting/Tree.java
	runelite-client/src/main/java/net/runelite/client/plugins/woodcutting/WoodcuttingPlugin.java
	runelite-client/src/main/java/net/runelite/client/plugins/worldhopper/WorldTableHeader.java
	runelite-client/src/main/java/net/runelite/client/plugins/xptracker/XpTrackerPlugin.java
	runelite-client/src/main/java/net/runelite/client/rs/ClientLoader.java
	runelite-client/src/main/java/net/runelite/client/rs/CountingInputStream.java
	runelite-client/src/main/java/net/runelite/client/ui/FatalErrorDialog.java
	runelite-client/src/main/java/net/runelite/client/ui/SplashScreen.java
	runelite-client/src/main/java/net/runelite/client/util/CountingInputStream.java
	runelite-client/src/main/java/net/runelite/client/util/ImageUtil.java
	runelite-client/src/main/java/net/runelite/client/util/SwingUtil.java
	runelite-client/src/main/resources/net/runelite/client/runelite.properties
	runelite-client/src/main/resources/npc_health.json
	runelite-client/src/test/java/net/runelite/client/plugins/hiscore/HiscorePanelTest.java
	runelite-client/src/test/java/net/runelite/client/plugins/raids/RaidsPluginTest.java
	runelite-script-assembler-plugin/pom.xml
2020-01-09 19:59:46 +01:00
Adam
bf0ff69e07 raids plugin: add option to show loot value
Co-authored-by: melkypie <melkypie@users.noreply.github.com>
2020-01-07 17:38:01 -05:00
Adam
3cf777d274 hiscore plugin: add boss hiscores
Co-authored-by: Abex <mii7303@gmail.com>
Co-authored-by: Gamma91 <bramvgemert@gmail.com>
2020-01-05 10:10:49 -05:00
Owain van Brakel
b637eeac7c client: LambdaMetaFactory for subscribe annotation, java target… (#2128)
client: LambdaMetaFactory for subscribe annotation, java target level 11
2019-12-17 18:02:00 +01:00
Owain van Brakel
5f51eb441a Merge remote-tracking branch 'runelite/master' 2019-12-17 10:22:29 +01:00
Max Weber
dc2f4b6f59 ImageUtil: Rename methods to luminance, and work with non ARGB images 2019-12-16 13:30:07 -07:00
Lucwousin
0c1c461139 Fix pluginmanagertest for async subbing (and some enhancements which don't really belong in this pr but shhh about that) 2019-12-15 21:25:25 +01:00
h3half
4578333fe0 slayer plugin: fix detecting Konar's first assignment 2019-12-09 18:15:08 -05:00
Owain van Brakel
b334aa159f Merge remote-tracking branch 'runelite/master' 2019-12-05 13:09:03 +01:00
Owain van Brakel
594d141d9b Merge remote-tracking branch 'runelite/master' 2019-11-28 21:31:34 +01:00
Owain van Brakel
7b67298a01 Merge remote-tracking branch 'MagicfTail/Fake-lvl-up' into fake-level-up 2019-11-28 03:43:01 +01:00