-
Notifications
You must be signed in to change notification settings - Fork 118
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
Only fetch MAD manifesto on server join #821
Only fetch MAD manifesto on server join #821
Conversation
Previously, the verified mods manifesto was fetched on game start without checking if the verified mod feature is enabled Squirrel -side. Now, the manifesto is only fetched when the user wants to download a mod (meaning they enabled the feature beforehand).
Northstar.Client/mod/scripts/vscripts/ui/menu_ns_serverbrowser.nut
Outdated
Show resolved
Hide resolved
…h a different version
Well, main branch indeed is not up-to-date: https://github.com/R2Northstar/NorthstarMods/blob/main/Northstar.Custom/mod.json#L4 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes but regardless of that we have the issue where if someone is not running the exact same version as server (maybe cause server is slightly outdated which is often the case) we end up with client being unable to join despite there not necessarily being breaking changes. Not sure what the best approach is here tbh... |
I guess we can be tolerant regarding core mods and simply add an exception to the rule regarding |
Yeah, I'd say that's the way to go until we figure out a nicer system ^^ |
This should be fixed with 9f1eb45. |
Northstar.Client/mod/scripts/vscripts/ui/menu_ns_serverbrowser.nut
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Confirmed working in testing together with R2Northstar/NorthstarLauncher#751
Enabled MAD and joined a server. Observed the delayed manifesto fetching as intended.
@Zanieon offered to do code review some time soon later ^^ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code looks alright to me, good to go.
Previously, the verified mods manifesto was fetched on game start without checking if the verified mod feature is enabled Squirrel-side; with this, the manifesto is only fetched when the user wants to download a mod (meaning they enabled the feature beforehand).
Previously, the verified mods manifesto was fetched on game start without checking if the verified mod feature is enabled Squirrel-side; with this, the manifesto is only fetched when the user wants to download a mod (meaning they enabled the feature beforehand).
(must be merged with the launcher PR!)
Mod changes
TODOs
Make Northstar able to handle several versions of the same mod(will do later)Testing
Without PRs:
With PRs:
allow_mod_auto_download 1
);Space battle
orParkour
server should be up at the time of writing);Media
delayed_manifesto_fetching.webm
(if you look closely, you can see verified mods manifesto is fetched WHEN joining the server, around
0:12
in the video)