-
Notifications
You must be signed in to change notification settings - Fork 117
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
fix: Multiple mod versions #824
Conversation
Just in case you weren't aware for compile check to pass, you'll need to add |
I am aware, but I'll do that in the end, since I plan to do some additional refactoring of the launcher API 😄 |
…n menu_ns_modmenu.nut Each time a "NSGetMod*" or "NSIsMod*" method is called, launcher will loop over all mods until the correct one is found, which is not that optimal. NSGetModsInformation directly (in one loop) builds up an array of structs containing all required mod information to be displayed on the mods view.
…ove NSGetModDescription function
…ink info is in ModInfo struct
…nce info is in ModInfo struct
…n since convars are in ModInfo struct
Heads-up there's merge conflicts atm |
I don't think so, the label was added by the bot last week but hasn't been removed since then |
Yup, you're right. No clue why bot didn't auto-remove the label again, I'll investigate o7 EDIT: Ok it's cause we don't run the label action automatically like we do in other repos. EDIT2: Updated the action that does the label updating periodically now o7 |
0216520
to
5c62f23
Compare
#899 has been merged, but some (previously removed) functions were added back during the process (e.g. |
Superceded by #903. |
For a detailed description, see launcher PR: R2Northstar/NorthstarLauncher#758
Testing (
RequiredOnClient
mod version enabling)Test scenarios
Core mods
Launch game and join any server:
with `Northstar.Client` local version not matching server version (connection should be allowed);
with `Northstar.Client` disabled (mod should be enabled before connection).
Gamemode mods
Install several versions of a same mod (Parkour
v0.2.0
+v0.2.1
for instance) then:Enable/disable any version in any order through the mods menu (should work fine);
multiple_versions_handling.webm
Disable both versions and join a Parkour server (mod with matching version should be enabled);
Note the server-exposed version, disable it locally and enable the other one, then join the server (current version should be disabled and the other one enabled).
(ask @Alystrasz if Parkour server is not up)