-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Updates OSRS Archipelago Plugin to v1.2 #6430
base: master
Are you sure you want to change the base?
Conversation
Adds plugin link to OSRS Archipelago Plugin
…n-hub into osrs-archipelago
Removes cached names from server, changes location IDs
Updates jar dependency in osrs-archipelago
- Adds interface when receiving an item - Prevents equipping items that haven't been unlocked yet - Fixes reconnect spam when hitting a loading zone
Fixes an issue with equipment tiers. It checked for gear below the currently unlocked tier, instead of below or including, meaning bronze equipment could not be used until you had unlocked iron, and so on.
Updates to plugin to release version of Archipelago
Removes ShadowJar from gradle build
Reverts back to Jar-based library. Fixes UI refreshing and adds in anti-stuck mechanic to manually send all checks
…n-hub into osrs-archipelago
Since the automated tests are passing the dependency checks, is there anything else remaining on this before it can get reviewed? |
You are writing files outside of .runelite, which is disallowed. You are also using java's built-in object serialization, which we also disallow. |
There are no files being written to outside of I will remove the Java object serialization and write my own serializer and parser. |
Serialization has been removed. If I could get clarification on where I'm writing a file outside of |
You should use |
Donezo. Build successful this time, thanks. |
You are writing to the cwd in |
That's in an external dependency, would it be sufficient to just override the functions that call those so they aren't used? The pinned dependencies have been found through trial-and-error to be used. The plugin won't build without them. |
One of the methods is private, so you can't just override it. I would prefer if they were gone entirely or had to be called manually. Even if you could override it, verifying that you always use the overridden one puts too much burden on reviewers handling your plugin in the future. Wrt your deps, I deleted half of them and it still built. The error you were seeing earlier is because you didn't have the same excludes in verification-template's build as your plugin's, so it was failing to build because you are pulling more deps there than in your plugin. |
So, at this point I'd need to just embed the source of the plugin instead of using the one on maven, so I could rewrite these methods? Or ask the maintainer of that plugin to add in some way to disable them? |
Yes |
Okay, it's been added to the project, and modified to remove all Gsons, Serializables, and writing to improper directories. While I was in there, since the source is now embedded, I was able to excise the dependency on Apache httpcomponents, which means that now the only dependency change is removing one that the original build of the plugin already had. Hopefully that'll make the process much simpler for review. |
Archipelago Client Plugin is now on Maven! No more direct vendoring of plugin code!Nevermind it needed to be vendored anyway!