Skip to content

merge core#5

Merged
flekz-games merged 18 commits intoflekz-games:modulesfrom
cmangos:master
Apr 4, 2024
Merged

merge core#5
flekz-games merged 18 commits intoflekz-games:modulesfrom
cmangos:master

Conversation

@flekz-games
Copy link
Owner

🍰 Pullrequest

Proof

  • None

Issues

  • None

How2Test

  • None

Todo / Checklist

  • None

cdkr and others added 18 commits March 23, 2024 19:01
* [Quest] rework Missing in Action quest using new systems

* add changes requested in comments
* Config: Implement config override with env vars

Implement overriding of configuration from the .conf file with environment variables.
Environment variables keys are autogenerated based on the keys defined in .conf file.
Usage example:
$ export CM_DATA_DIR=/usr
$ CM_WORLD_SERVER_PORT=8080 ./mangosd

* Update env var key format and encapsulated env loading logic.

The new env key format:
Mangosd_Rate_Health
Mangosd_DataDir

* Add suggestions from code review.

* Add missing includes.
I am expecting trouble, but we need to threat 0 as 0

Closes cmangos/issues#3685
@flekz-games flekz-games merged commit 2981427 into flekz-games:modules Apr 4, 2024
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.

6 participants