Commit Graph

9659 Commits

Author SHA1 Message Date
swazrgb
b8bf019667 client: Set JarPluginRepository#comparator to null
The default pf4j comparator casts longs to ints which breaks
the sort. Since we don't actually rely on this sorting, simply
set the comparator to `null`.

See https://github.com/open-osrs/runelite/pull/2621 for more info
2020-05-25 15:47:48 +02:00
Owain van Brakel
e1bfcfc365 externalpluginmanager: Mimic PluginManager.scanAndInstantiate closer 2020-05-25 05:54:13 +02:00
Owain van Brakel
1a023f52f4 Revert "Revert "rxrelay: Pull artifact from mvn""
This reverts commit 0760673aca.
2020-05-25 04:57:09 +02:00
Kyle
0760673aca Revert "rxrelay: Pull artifact from mvn" 2020-05-25 03:04:05 +01:00
Owain van Brakel
d772b3211d externalpf4jpluginmanager: Remove JarPluginRepository getPluginPath
override
2020-05-25 03:10:03 +02:00
Owain van Brakel
7eb5b00587 Merge remote-tracking branch 'swazrgb/cleanup-externalmanager' 2020-05-25 03:03:38 +02:00
Owain van Brakel
945e0a4a3f Merge pull request #2615 from open-osrs/add-default-pluginhub 2020-05-25 02:58:11 +02:00
Owain van Brakel
bfe36d06d5 Merge pull request #2616 from Owain94/rxrelaymvn 2020-05-25 02:57:40 +02:00
OpenOSRS
e22cf68ef1 Client: Update NPC stats 2020-05-25 00:09:29 +00:00
Owain van Brakel
91b0dffcf1 rxrelay: Pull artifact from mvn 2020-05-25 01:58:35 +02:00
Kyle
ca026a66e9 Update RepositoryBox.java 2020-05-25 00:42:13 +01:00
Kyle
ba3a24ab63 Update ExternalPluginManager.java 2020-05-25 00:28:48 +01:00
Kyle
59727ca56d Update OpenOSRSConfig.java 2020-05-25 00:27:49 +01:00
swazrgb
0890be9c30 Also clear repositories when split length is invalid 2020-05-24 23:38:39 +02:00
swazrgb
052ebc3c7b client: Clean up ExternalPluginManager & friends 2020-05-24 23:17:34 +02:00
Owain van Brakel
37b14eaa1d Merge pull request #2611 from swazrgb/externalplugins-developmentmode 2020-05-24 21:09:50 +02:00
Owain van Brakel
f70794bc18 Merge pull request #2612 from swazrgb/shutdown-executor
client: Also shutdown executor in PluginManager
2020-05-24 19:35:58 +02:00
swazrgb
1644dbd245 Also shutdown executor in PluginManager 2020-05-24 19:17:20 +02:00
Owain van Brakel
0df61a55cc Merge pull request #2607 from Owain94/externalpanelerrormsg 2020-05-24 18:54:20 +02:00
swazrgb
e23c6a0c46 Support loading external plugins from sources enabling hotswapping
Enables the pf4j [development mode](https://pf4j.org/doc/development-mode.html)
to support loading external plugins from sources, which enables java's
hotswap functionality.

To use this feature set the `plugin.development.path` property or
`PLUGIN_DEVELOPMENT_PATH` environment variable to the directories
containing your plugins, e.g. `../plugins;../my-custom-plugins`

Once set the `ExternalPluginManager` will ignore the configured
repositories and externalmanager directory, and instead load all
the built plugins from the specified directories.

Utilizing this feature does require some additional configuration
of the build of the plugins `build.gradle.kts`. Within the `subprojects`
section add:

```
tasks.register<Copy>("copyDeps") {
    into("./build/deps/")
    from(configurations["runtimeClasspath"])
}
```

See https://github.com/open-osrs/plugins/pull/260 for the `openosrs/plugins` change

This enables the following workflow:

0. Optional tip: Set the `external.system.substitute.library.dependencies` registry value to `true` to force classpath resolution within the project

1. Open the `runelite-client` project in IntelliJ

2. Add the `plugins` repository as a module (Gradle -> Plus symbol ->
`plugins/build.gradle.kts`)

3. Gradle build the client with: `build publishToMavenLocal :runelite-client:publishToMavenLocal :runelite-api:publishToMavenLocal :http-api:publishToMavenLocal`

4. Gradle build the plugins with: `build copyDeps`

5. Add the `PLUGIN_DEVELOPMENT_PATH` environment variable to the run
configuration

Once the above is done the edit -> reload -> edit cycle can begin:

1. Start the client in debug mode using the run goal

2. Edit the external plugin

3. Perform Build > Build Module

4. Observe hotswapping in action!

5. If hotswapping failed, or your change requires a plugin restart,
click the hotswap button in the plugin list to instantly restart it
2020-05-24 08:27:37 +02:00
swazrgb
3ce0cb9dc1 Shutdown ExecutorService in ExternalPluginManager
Also name threads for easy identification
2020-05-24 03:29:30 +02:00
OpenOSRS
fbe29a79b5 Client: Update NPC stats 2020-05-24 00:09:18 +00:00
Owain van Brakel
952fe24a03 externalpanel: Reset the status text after error 2020-05-22 13:54:40 +02:00
Owain van Brakel
c8937a609f Merge pull request #2605 from open-osrs/GRADLE-DEPS-UPDATE-5bf4f9c9a 2020-05-22 13:52:33 +02:00
OpenOSRS
042439ba66 Client: Update NPC stats 2020-05-22 00:08:30 +00:00
OpenOSRS
9c3ec9fb4c project: Update gradle dependencies 2020-05-22 00:03:26 +00:00
Owain van Brakel
3a50e657fb NPCManager: Blacklist some NPCs from xp multiplier 2020-05-21 22:14:44 +02:00
Owain van Brakel
d33aff6a41 Merge remote-tracking branch 'runelite/master' 2020-05-21 18:30:38 +02:00
Tomas Slusny
63eab81d11 Use multiplicative color offsets for BackgroundComponent border (#11658)
Instead of fixed color offsets for outer and inner border colors switch
to multiplicative offsets. This also makes overlay color alpha
recoloring work properly with background component border.

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2020-05-21 17:55:48 +02:00
Runelite auto updater
10b502278e Bump for 1.6.17-SNAPSHOT 2020-05-21 11:43:06 +00:00
Runelite auto updater
79361aa17a Release 1.6.16 2020-05-21 11:42:57 +00:00
Owain van Brakel
e690df0852 Merge remote-tracking branch 'runelite/master' 2020-05-21 13:34:48 +02:00
RuneLite Cache-Code Autoupdater
592ca5c112 Update Scripts to 2020-05-21-rev182 2020-05-21 10:32:20 +00:00
Hydrox6
00b65f4566 clues: add brutal green dragon variant to cryptic clue 2020-05-21 11:10:05 +01:00
Owain van Brakel
04f926b747 Merge pull request #2598 from open-osrs/GRADLE-DEPS-UPDATE-be723713f 2020-05-21 04:40:31 +02:00
OpenOSRS
f4f193e035 Client: Update NPC stats 2020-05-21 00:08:45 +00:00
OpenOSRS
a991806940 project: Update gradle dependencies 2020-05-21 00:03:27 +00:00
TheStonedTurtle
794fba7176 Make background color of panel components configurable (#11619) 2020-05-20 17:54:31 +02:00
ThePharros
6208c3bee5 itemcharges: Add Magic Essence and Super Strength potion doses (#11634) 2020-05-20 06:09:56 +00:00
Trevor martz
6be6aacb35 cluescrolls: remove sara wizard from duel arena step (#11648)
In spite of being a hard coordinate clue, this clue step is an exception
to the rule that a Saradomin Wizard will spawn at all non-wilderness
locations. No enemy spawns at this spot.
2020-05-20 05:52:39 +00:00
OpenOSRS
0f62c54551 Client: Update NPC stats 2020-05-20 00:09:34 +00:00
loldudester
94482f5aed keyremapping: Don't remap f-keys when the bank pin interface is open 2020-05-19 19:51:29 +00:00
OpenOSRS
10896c3477 Client: Update NPC stats 2020-05-19 00:08:44 +00:00
OpenOSRS
fbba818b49 Client: Update NPC stats 2020-05-18 00:09:57 +00:00
OpenOSRS
f5ba6d9039 Client: Update NPC stats 2020-05-17 00:09:01 +00:00
Adam
0615b7b9e6 minimap: use script event for hiding minimap 2020-05-16 14:12:51 -04:00
Adam
4da4979e48 attackstyles: use script event for hiding attack styltes 2020-05-16 14:12:51 -04:00
Adam
ba73d70433 npc indicators: don't memorize npcs in instances
I can't find any instances of npc indexes being reused in instances,
which just causes the respawn timers to incorrectly identify a random
npc later which happens to use the same id.

See 01f134795d
2020-05-16 14:11:35 -04:00
Adam
8ab929d001 Revert "npc indicators: verify compoistion id of tagged npcs"
This is breaking ammonite crabs due to them changing composition after
spawning

This reverts commit 01f134795d.
2020-05-16 14:11:35 -04:00
Broooklyn
9dd8c59d0a cluescrolls: Update Iron Man Tutor cipher clue (#11593)
A game update changed the Adam NPC's name to Iron Man Tutor, and with it
changed the cipher clue which referenced him.
2020-05-16 05:34:16 +00:00