[DiscordArchive] Can you try to delete config variable from modules .conf file (but leave env var)?
[DiscordArchive] Can you try to delete config variable from modules .conf file (but leave env var)?
Archived author: walkline • Posted: 2023-08-30T15:57:29.090000+00:00
Original source
Can you try to delete config variable from modules .conf file (but leave env var)?
Archived author: mynameismeat • Posted: 2023-08-30T15:58:56.967000+00:00
Original source
I did do that as well (I should note that in the issue ). I intend to do a proper triage sometime this week, hopefully this evening with a "clean" environment rather than the server I generally play on
Archived author: walkline • Posted: 2023-08-30T16:07:07.701000+00:00
Original source
Oh I think we need to rerun this function https://github.com/azerothcore/azerothco...n.cpp#L187 after modules loading as well https://github.com/azerothcore/azerothco...n.cpp#L268. But I don't have any modules to test this.
[Embed: azerothcore-wotlk/src/server/apps/worldserver/Main.cpp at master · ...]
Complete Open Source and Modular solution for MMO. Contribute to azerothcore/azerothcore-wotlk development by creating an account on GitHub.
https://github.com/azerothcore/azerothco...r/Main.cpp
Archived author: mynameismeat • Posted: 2023-08-30T16:25:21.445000+00:00
Original source
that makes sense to me. I wonder if it's something we can do at configuration retrieval time, so the env var would override the config file by default rather than needing to override the configs
I appreciate your input on this
Archived author: walkline • Posted: 2023-08-30T17:03:27.412000+00:00
Original source
Yeah, it’s possible, but would require some changes obviously