[DiscordArchive] did you rename the `worldserver.conf.dist` file instead of copying it?
[DiscordArchive] did you rename the `worldserver.conf.dist` file instead of copying it?
Archived author: Honey • Posted: 2022-06-10T20:34:50.874000+00:00
Original source
did you rename the `worldserver.conf.dist` file instead of copying it?
Archived author: Rymercyble • Posted: 2022-06-10T21:00:50.668000+00:00
Original source
yes ofc
Archived author: Rymercyble • Posted: 2022-06-10T21:01:05.450000+00:00
Original source
even if i didnt it would be ok since error itself says it has to be at least in .dist
Archived author: Honey • Posted: 2022-06-10T21:05:08.026000+00:00
Original source
if you rename the .dist and don't have it anymore, the server just crashes.
Archived author: Honey • Posted: 2022-06-10T21:05:47.020000+00:00
Original source
you need to copy it. Keep both files. Edit only the conf, never the .dist
Archived author: Rymercyble • Posted: 2022-06-10T21:11:18.296000+00:00
Original source
oh i read it wrong
Archived author: Rymercyble • Posted: 2022-06-10T21:11:21.305000+00:00
Original source
no i have both
Archived author: Rymercyble • Posted: 2022-06-10T21:11:31.977000+00:00
Original source
and as i said my custom property is in both
Archived author: Rymercyble • Posted: 2022-06-10T21:15:20.388000+00:00
Original source
code
```cpp
value = value * sConfigMgr->GetOption<float>("Mellian.Stats.Crit.Reduction", 0.0001f);
```
config
```
# Default: 0.0001
Mellian.Stats.Crit.Reduction = 0.0001
```
error
`Config: Missing property Mellian.Stats.Crit.Reduction in all config files, at least the .dist file must contain: "Mellian.Stats.Crit.Reduction = 0.000100"`
Archived author: Rymercyble • Posted: 2022-06-10T21:22:03.208000+00:00
Original source
do i have to specify somewhere that config contains some property ? i would expect it to be automatic