Skip to content
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

Improve config merging #10

Open
pg9182 opened this issue Jan 26, 2022 · 0 comments
Open

Improve config merging #10

pg9182 opened this issue Jan 26, 2022 · 0 comments

Comments

@pg9182
Copy link
Owner

pg9182 commented Jan 26, 2022

https://discord.com/channels/920776187884732556/925109421552566273/935543420385132655

pg9182 pushed a commit that referenced this issue Jan 26, 2022
Issue: Setting an extra argument to a value starting with a dash does not work, e.g.:

    -e NS_EXTRA_ARGUMENTS="+slide_step_velocity_reduction -1000"

This ends up running the dedicated server like:

    NorthstarLauncher.exe "+slide_step_velocity_reduction" "-1000"

The dedicated server is probably interpreting the -1000 as a command-line flag, so it's ignored when parsing the actual args.

Solution: Force convars to be set in the generated autoexec file if the value starts with a dash, ensuring the value is parsed as a number and not a flag.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant