Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Some settings not loading from options.json #19720

Closed
frsnoop opened this issue Dec 11, 2016 · 5 comments

Comments

Projects
6 participants
@frsnoop
Copy link

commented Dec 11, 2016

Namely:

[World Defaults]
Spawn rate scaling factor
Item spawn scaling factor
NPC spawn rate scaling factor
Monster evolution scaling factor

It saves, but not loading.

@Vidiveni

This comment has been minimized.

Copy link

commented Jan 1, 2017

This is game breaking for some people. Custom worlds can not be properly created at all.

A strange detail is that Item spawn scaling keeps resetting to the default 1.0 (I had it at 0.2 pre-bug), but Monster evolution scaling keeps resetting to my pre-bug custom setting of 3.75 (default is 4.0).

@BrettDong

This comment has been minimized.

Copy link
Contributor

commented Jan 29, 2017

Cannot reproduce, on latest master branch (d22e4ef), MSVC x64.

@Vidiveni

This comment has been minimized.

Copy link

commented Jan 31, 2017

Still broken for me on build 6191. Tiles Windows 10 x64.

  1. Change the above 4 settings in world defaults.
  2. Confirm the new settings are intact on world creation. Create a world.
  3. Make a char and load that world.
  4. Check current world options. The world uses older/other settings than the new ones just set.

Haven't tested to completely wipe and re-download game yet.

Edit: In the world folder for the newly created world the worldoptions.json has the correct settings stored. But those settings aren't used. Restarting game also resets the world defaults to the incorrect settings.

@Bowab

This comment has been minimized.

Copy link

commented Feb 2, 2017

I tried to reproduce this on a re-downloaded client 6199

I changed any of the 4 settings:
Spawn rate scaling factor
Item spawn scaling factor
NPC spawn rate scaling factor
Monster evolution scaling factor

I created a character and indeed the settings are messed up once in-game. The settings in worldoptions.json are correct tho.

@Coolthulhu Coolthulhu added this to the 0.D milestone Feb 5, 2017

@Coolthulhu

This comment has been minimized.

Copy link
Contributor

commented Feb 7, 2017

Found the reason:
It's locale messing up the string_format, causing it to separate integer and fraction parts of floats with a comma rather than period.

@kevingranade kevingranade added this to Blockers in 0.D Release Mar 2, 2017

@kevingranade kevingranade moved this from Blockers to In Progress Blockers in 0.D Release Mar 2, 2017

@kevingranade kevingranade moved this from In Progress Blockers to Closed Blockers in 0.D Release Mar 4, 2017

@kevingranade kevingranade removed this from Closed Blockers in 0.D Release Apr 15, 2017

@kevingranade kevingranade added this to Closed Issues in 0.D Release Aug 21, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.