[DiscordArchive] some people tell me that for all the module configs you have to remove the .dist, and some say you h
[DiscordArchive] some people tell me that for all the module configs you have to remove the .dist, and some say you h
Archived author: Tereneckla • Posted: 2025-09-10T14:59:28.116000+00:00
Original source
in the cpp, when you read a config value you have to give a default value
Archived author: Tereneckla • Posted: 2025-09-10T14:59:33.641000+00:00
Original source
as I wrote before
Archived author: Barais • Posted: 2025-09-10T15:02:05.936000+00:00
Original source
.conf is for personalized edits of the dist. The dist is for default values as Teren said. For stuff to work, there needs to be default values to go off of
Archived author: Tereneckla • Posted: 2025-09-10T15:02:35.777000+00:00
Original source
the .dist is for distribution, the server has default values in the cpp
Archived author: Barais • Posted: 2025-09-10T15:02:48.321000+00:00
Original source
Oh, it’s built in? Ok
Archived author: Revision • Posted: 2025-09-10T15:23:20.862000+00:00
Original source
That doesn't make sense. The users that are active there knows the .dist needs to exist for modules.
Archived author: Takenbacon • Posted: 2025-09-10T15:37:19.884000+00:00
Original source
Ive always wondered that exact thing. Seems like an oversight imo
Archived author: Takenbacon • Posted: 2025-09-10T15:37:48.379000+00:00
Original source
I haven't looked but id be curious which default config gets prioritized too, the dist or the cpp
Archived author: Tereneckla • Posted: 2025-09-10T15:38:15.070000+00:00
Original source
dist, it replaces the conf if there is conf
Archived author: Tereneckla • Posted: 2025-09-10T15:43:32.988000+00:00
Original source
relatively easy change, only problem I have is that ConfigMgr::GetValueDefault doesn't know which file a config is from so the warn is misleading
```> Config: Missing property ProfessionExperience.MultCurve in config file /media/games/azerothcore/dist/etc/worldserver.conf, add "ProfessionExperience.MultCurve = 5.000000" to this file or define 'AC_PROFESSION_EXPERIENCE_MULT_CURVE' as an environment variable.
```