Closed brianmiller closed 1 year ago
Good idea! I forget that it's actually using the pre-filled default seed if left blank. Either pre-fill the default seed or just have a description close by that says "If blank, default seed will be used" etc.
phvalheim-server >=2.5 now incorporates a bit of jquery/js to populate the "Seed" input text box on the new_world.php page. The textbox will now display the defaultSeed on first load and clear on first click. Subsequent clicks will not erase the text area.
Commit https://github.com/brianmiller/phvalheim-server/commit/8771f15ec91a862b66611cd5745b6b2c16b40a2e resolves this issue.
If a seed isn't provided during world creation, PhValheim uses the defaultSeed passed to the container on start.
We need to improve this to auto-populate the defaultSeed value in the HTML field and erase onClick, allowing you to enter the desired seed.