Commit Graph
552 Commits
Author SHA1 Message Date
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
AdamandDaniel Cimento 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 AtwoodandLucas 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
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 WallerandAdam 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
melkypieandAdam 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
Adamandmelkypie 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
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
dekvall 1b3fe266bc prayer-reorder: remove test
The plugin has been removed.
2019-11-27 21:23:57 +01:00
Adam b273e9f464 client: use mock webserver for client config loader test 2019-11-25 09:47:05 -05:00
Owain van Brakel 2362cccfdf project: 🧹🧹 2019-11-24 13:02:51 +01:00
Adam 0b90fcde22 client: refactor for nameable api changes 2019-11-22 09:25:23 -05:00
Kyleeld 9cd3a15759 Merge branch 'pr/1' into IKOD_TROUVER 2019-11-22 13:08:10 +00:00
AdamandAlexsuperfly 0e920bdd98 raids plugin: fix matching rotation whitelist
Spaces were not being removed from the config values causing the
whitelist contains check to fail.

Additionally, change the format of the raids whitelist to be newline
separated CSV which is not interpreted by GSON as valid JSON, fixing the
config service from serializing the whitelist rotation which is adding
erroneous quotes around the room names.

This also refactors the rotation whitelist display to be a simple yes/no
instead of this unused match count logic.

Co-authored-by: Alexsuperfly <alexcsumner@gmail.com>
2019-11-20 19:38:23 -05:00
Ganom 78491df24c Merge branch 'master' into an-not-taters 2019-11-20 16:20:25 -05:00
Owain van Brakel 0f9d3c7718 Merge remote-tracking branch 'runelite/master' 2019-11-18 01:47:30 +01:00
Ganom 03a88f6c27 Merge pull request #2038 from Owain94/1411-merge
project: Merge upstream
2019-11-17 01:18:33 -05:00
Adam 7052977448 rotation solver: fix to use modulus instead of remainder operator 2019-11-16 12:46:42 -05:00
Lucwousin 4fa3a73eb9 Readd @Subscribe, for unconditionally active subscriptions in plugins 2019-11-16 11:17:20 +01:00
Lucwousin b7bd7c5a08 {} where allowed 2019-11-16 04:51:03 +01:00
Lucwousin 55b0845a18 Optimize imports 2019-11-16 04:51:03 +01:00
Tomas Slusny f7d441fc1d Merge pull request #10255 from dekvall/attack-style-change-test
attack styles: add test for swap between bludgeon and bow
2019-11-15 10:32:30 +01:00
Owain van Brakel 07fa478e67 Merge remote-tracking branch 'runelite/master' 2019-11-15 10:09:35 +01:00
f0rmatme c5e8512c7f Merge branch 'master' of https://github.com/open-osrs/runelite into spawn
# Conflicts:
#	runelite-client/src/main/java/net/runelite/client/plugins/npchighlight/NpcIndicatorsPlugin.java
#	runelite-client/src/test/java/net/runelite/client/plugins/npchighlight/NpcIndicatorsPluginTest.java
2019-11-14 16:20:49 -08:00
Owain van Brakel 1d9a3e2f2e client: revert raid changes for now 2019-11-14 16:12:16 +01:00
dekvall 51e951e4dc attack styles: add test for swap between bludgeon and bow
When swapping between bludgeon and bow, onWidgetHiddenChanged is called before
the weapon varbit is set. Since that varbit determines which widgets should be
hidden we would like to make sure the widget is set to hidden even after a
varbit change.
2019-11-14 09:54:00 +01:00
15987632 e3edc16f86 raids plugin: fix rotation solver 2019-11-11 08:22:41 -05:00