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

Allow user-defined network settings via NetworkDefinitions.local.ini #661

Merged
merged 2 commits into from
Feb 10, 2025

Conversation

11EJDE11
Copy link
Contributor

@11EJDE11 11EJDE11 commented Feb 9, 2025

For #653
Adds check for NetworkDefinitions.local.ini

The changes in PreStartup.cs are to fix the logging as the network definitions were loaded before the initial log file outputs.

So instead of:
10.02. 10:25:54.356 Loaded network definitions from NetworkDefinitions.local.ini (user override)
10.02. 10:25:54.361 Logfile for Yuri's Revenge client
10.02. 10:25:54.387 Client version: 2025-02-05 develop@f11f56f
10.02. 10:25:54.387 2.11.0-beta.199+Branch.develop.Sha.f11f56f5a80f141faa998cf3566948afe5021d1c
10.02. 10:25:54.388 This is a development build of the client. Stability and reliability may not be fully guaranteed.
10.02. 10:25:54.389 Loading settings.

It will show:
10.02. 10:32:12.032 Logfile for CnCNet Client client
10.02. 10:32:12.059 Client version: 2025-02-05 develop@f11f56f
10.02. 10:32:12.060 2.11.0-beta.199+Branch.develop.Sha.f11f56f5a80f141faa998cf3566948afe5021d1c
10.02. 10:32:12.068 This is a development build of the client. Stability and reliability may not be fully guaranteed.
10.02. 10:32:12.087 Loaded network definitions from NetworkDefinitions.local.ini (user override)
10.02. 10:32:12.092 Loading settings.

Copy link

github-actions bot commented Feb 9, 2025

Nightly build for this pull request:

@SadPencil SadPencil changed the title Networkdefs override Allow user-defined network settings via NetworkDefinitions.local.ini Feb 10, 2025
@SadPencil SadPencil merged commit df91e0a into CnCNet:develop Feb 10, 2025
3 checks passed
@SadPencil
Copy link
Member

Thank you for implementing this!

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

Successfully merging this pull request may close these issues.

2 participants