-
Notifications
You must be signed in to change notification settings - Fork 126
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
Add script concommands #373
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Erlite
suggested changes
Dec 17, 2022
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.
Few formatting nitpicks, and potentially one logic issue with the switch statement.
emma-miler
requested review from
Erlite,
BobTheBob9 and
pg9182
and removed request for
Erlite
December 19, 2022 19:39
emma-miler
added
needs testing
Changes from the PR still need to be tested
needs code review
Changes from PR still need to be reviewed in code
almost ready to merge
Apart from any small remaining other issues addressed by other labels, this would be ready to merge
labels
Dec 20, 2022
BobTheBob9
requested changes
Dec 20, 2022
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.
looks great, just needs adjustments
BobTheBob9
approved these changes
Dec 22, 2022
pg9182
added a commit
to pg9182/NorthstarLauncher
that referenced
this pull request
Apr 19, 2023
The ParseConVarFlagsString function introduced in 6410006 (R2Northstar#373) is utterly broken. It only parses the first flag, logs misleading warnings, has an undefined return value in some codepaths, and is somewhat convoluted. Luckily, this doesn't appear to affect most (if not all) existing mods, as they all seem to be using integer values for Flags, which is taken as-is. https://github.com/search?q=path%3A**%2Fmod.json+ConVars+Flags&type=code
pg9182
added a commit
to pg9182/NorthstarLauncher
that referenced
this pull request
Apr 19, 2023
The ParseConVarFlagsString function introduced in 6410006 (R2Northstar#373) is utterly broken. It only parses the first flag, logs misleading warnings, has an undefined return value in some codepaths, and is somewhat convoluted. Luckily, this doesn't appear to affect most (if not all) existing mods, as they all seem to be using integer values for Flags, which is taken as-is. https://github.com/search?q=path%3A**%2Fmod.json+ConVars+Flags&type=code
GeckoEidechse
removed
needs testing
Changes from the PR still need to be tested
needs code review
Changes from PR still need to be reviewed in code
almost ready to merge
Apart from any small remaining other issues addressed by other labels, this would be ready to merge
labels
Apr 19, 2023
pg9182
added a commit
that referenced
this pull request
Apr 19, 2023
Fix parsing string ConVar/ConCommand.Flags from mod.json The ParseConVarFlagsString function introduced in 6410006 (#373) is utterly broken. It only parses the first flag, logs misleading warnings, has an undefined return value in some codepaths, and is somewhat convoluted. Luckily, this doesn't appear to affect most (if not all) existing mods, as they all seem to be using integer values for Flags, which is taken as-is. https://github.com/search?q=path%3A**%2Fmod.json+ConVars+Flags&type=code
GeckoEidechse
pushed a commit
that referenced
this pull request
Apr 19, 2023
Fix parsing string ConVar/ConCommand.Flags from mod.json The ParseConVarFlagsString function introduced in 6410006 (#373) is utterly broken. It only parses the first flag, logs misleading warnings, has an undefined return value in some codepaths, and is somewhat convoluted. Luckily, this doesn't appear to affect most (if not all) existing mods, as they all seem to be using integer values for Flags, which is taken as-is. https://github.com/search?q=path%3A**%2Fmod.json+ConVars+Flags&type=code
wolf109909
pushed a commit
to R2NorthstarCN/NorthstarLauncher
that referenced
this pull request
Apr 22, 2023
…ar#450) Fix parsing string ConVar/ConCommand.Flags from mod.json The ParseConVarFlagsString function introduced in 6410006 (R2Northstar#373) is utterly broken. It only parses the first flag, logs misleading warnings, has an undefined return value in some codepaths, and is somewhat convoluted. Luckily, this doesn't appear to affect most (if not all) existing mods, as they all seem to be using integer values for Flags, which is taken as-is. https://github.com/search?q=path%3A**%2Fmod.json+ConVars+Flags&type=code
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Example: