jsknnr / vrising-server

Container for running V-Rising dedicated on Linux
MIT License
0 stars 1 forks source link

Preset conflict with specific rule #1

Open ikerios opened 3 months ago

ikerios commented 3 months ago

Hi, this game follow a kind of "work as intended" scenario that prioritize the game preset over the specific sub-rule. So, for example, if GAME_PRESET is set to "StandardPvE" and then a specific rule is set to the file ServerGameSettings.json (like "TeleportBoundItems": false) the preset rule prevails over it.

To avoid this it should be possible to not pass -preset and -difficultyPreset in the entrypoint.sh.

My suggestion, to mantain retrocompatibility, is to avoid to pass the specific parameters only if GAME_PRESET and/or DIFFICULTY are explicitly set to an empty string.

jsknnr commented 3 months ago

Yeah I can make that change. Honestly this was just something I threw together quite quick for my own use. Might take me a few days to get to it, but I'll get it done.