Comments (8)
as far as I can tell the .dist
holds the default values and acts as a template for the .conf
.
some settings must be present in the .conf
file, but for many settings if they are not present in the .conf
, the core will load their default values that are defined in the source code (!), which should usually be equal to the default value present in the .dist
from azerothcore-wotlk.
as far as I can tell the holds the default values and acts as a template for the .
.dist``.conf
some settings must be present in the file, but for many settings if they are not present in the , the core will load their default values that are defined in the source code (!), which should usually be equal to the default value present in the
.conf``.conf``.dist
Yes, but if the conf file is missing parameters, the core will report an error upon startup. Therefore, I hope to adjust to prioritize reading parameters from the conf file. If a parameter is not present in the conf, then reading the parameters from dist will suffice. This way, conf only needs to contain the parameters one wishes to modify, which will make it appear less bloated.
from azerothcore-wotlk.
It will just throw a warning that there is no value in conf file. You don't need to have them all in the conf file (Just a few mandatory like database credentials). Rest is read from the core
from azerothcore-wotlk.
the .dist is just a distribution file and not intended to be read
Here's some reading on how config files work
https://www.azerothcore.org/wiki/how-to-work-with-conf-files
https://www.azerothcore.org/wiki/config-overrides-with-env-var
from azerothcore-wotlk.
the .dist is just a distribution file and not intended to be read
Here's some reading on how config files work https://www.azerothcore.org/wiki/how-to-work-with-conf-files https://www.azerothcore.org/wiki/config-overrides-with-env-var
But if the conf file is missing any parameter, the core will report an error in red when it starts up. How can I cancel these prompts?
from azerothcore-wotlk.
After I filled in the following parameters in the conf configuration file, it was impossible to start.
[worldserver]
LoginDatabaseInfo = "127.0.0.1;3306;root;root;azerothcore_test_auth"
WorldDatabaseInfo = "127.0.0.1;3306;root;root;azerothcore_test_world"
CharacterDatabaseInfo = "127.0.0.1;3306;root;root;azerothcore_test_chars"
from azerothcore-wotlk.
But if the conf file is missing any parameter, the core will report an error in red when it starts up.
Correct, it is just telling you that the configs are missing. They are moreso warnings over errors, because an error would halt the server.
After I filled in the following parameters in the conf configuration file, it was impossible to start.
Because there are more mandatory settings....
To make it easy I would say most settings, not all, in SERVER SYSTEM SETTINGS
should be present in the conf file. At least DATABASE & CONNECTIONS
DIRECTORIES
AUTOUPDATER
while GAME SETTINGS
don't.
from azerothcore-wotlk.
But if the conf file is missing any parameter, the core will report an error in red when it starts up.
Correct, it is just telling you that the configs are missing. They are moreso warnings over errors, because an error would halt the server.
After I filled in the following parameters in the conf configuration file, it was impossible to start.
Because there are more mandatory settings....
To make it easy I would say most settings, not all, in should be present in the conf file. At least
SERVER SYSTEM SETTINGS``DATABASE & CONNECTIONS
DIRECTORIES
AUTOUPDATER
while don't.
GAME SETTINGS
Excuse me, how should I modify the code if I want to cancel the red alert due to the lack of the GAME SETTINGS section?
from azerothcore-wotlk.
Related Issues (20)
- Feature: CI detection when excessive amount of rows are being deleted or altered HOT 1
- Something Wrong with "GetMotionMaster()->MovePoint" HOT 1
- No implementation for dynamic charmed spell cooldowns. HOT 7
- Error during load of worldserver - Invalid format string
- Feature: Add foreign key from characters to account
- SAI - SMART_EVENT_DATA_SET does not have an invoker
- Quest Regression: Lost in battle [4921] HOT 1
- [Molten Core] Shaman T1 trash droprate mismatch HOT 1
- DM:East - Incorrect herb nodes HOT 1
- Aggressor\Combat AI Aggro Reset and Engagement Problematic HOT 1
- Condition MGR not allowing auras. HOT 1
- Unit update object cache may need invalidation when death state is changed. HOT 1
- Sleep effect from "Sablemane's Sleeping Powder" not working on Grulloc "10800 Good night, Gronn"
- Majordomo Executus guards respawning when fight is supposed to end HOT 6
- `.npc near` output is wrong. HOT 1
- [Hyjal] Able to start the next camp after boss 2/4 was killed HOT 2
- [Object] Gordok Tribute does not spawn after killing King Gordok
- Error en CMAKE HOT 1
- [Quest] Leonid Barthalomew
- Spectral Citizen behavior
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from azerothcore-wotlk.