bobby icon indicating copy to clipboard operation
bobby copied to clipboard

Render distance resets to 12 when opening game

Open alexandraflynn0 opened this issue 2 years ago • 1 comments

When opening the game, if render distance was previously set above 32, then the render distance is reset to 12. It doesn't seem to depend on what exactly the render distance or max render distance were set to, only if render distance was above 32. I tested it on a fresh 1.19 instance with only Bobby, Cloth Config, and Mod Menu installed. I've had the issue on two different computers. Has anyone else noticed this or is it just on my end? Thanks!

alexandraflynn0 avatar Jul 27 '22 00:07 alexandraflynn0

latest.log

This line looks interesting: [19:42:46] [Render thread/ERROR]: Error parsing option value 48 for option Render Distance: Value 48 outside of range [2:33]

(Also, small oversight, forgot to install Sodium on my test instance at first)

alexandraflynn0 avatar Jul 27 '22 00:07 alexandraflynn0

latest.log

This line looks interesting: [19:42:46] [Render thread/ERROR]: Error parsing option value 48 for option Render Distance: Value 48 outside of range [2:33]

(Also, small oversight, forgot to install Sodium on my test instance at first)

this may be due to vanilla limitation to block values outside of expected range you should try to add that mod to confirm my theory https://modrinth.com/mod/fiveonefouroneeight this mod remove the patch mojang added to prevent the values

Julienraptor01 avatar Oct 27 '22 21:10 Julienraptor01

This fixes it, thank you! So it's not a problem with Bobby after all

alexandraflynn0 avatar Oct 28 '22 02:10 alexandraflynn0

This fixes it, thank you! So it's not a problem with Bobby after all

@alexandraflynn0 Pls reopen the issue since it is a problem with Bobby, the problem is that Bobby doesn't patch the value range

What Bobby should do is change the expected value range accordingly to the capabilities of the mod so that the game doesn't see an unexpected value and mojang patch don't need to be removed

@Johni0702 I found the exact issue

Julienraptor01 avatar Oct 28 '22 06:10 Julienraptor01

Bobby does patch the value (otherwise you wouldn't be able to go above 32 in the settings menu either) but only after the settings have already been loaded from the file. A different, second patch is required to fix this in time for loading.

Johni0702 avatar Oct 28 '22 07:10 Johni0702

Bobby does patch the value (otherwise you wouldn't be able to go above 32 in the settings menu either) but only after the settings have already been loaded from the file. A different, second patch is required to fix this in time for loading.

Yeah it's what i meant sorry if i was unclear, it need an earlier patch

Julienraptor01 avatar Oct 28 '22 07:10 Julienraptor01

i have same issue , defaults to servers render even though it says larger amount in bobby

fibrowolf avatar Nov 16 '22 20:11 fibrowolf

i have same issue , defaults to servers render even though it says larger amount in bobby

I gave a temporary solution above while waiting for a fix to be implemented

Julienraptor01 avatar Nov 16 '22 20:11 Julienraptor01

the temp fix works

fibrowolf avatar Nov 18 '22 08:11 fibrowolf

the temp fix seamed to work , but it doesnt, its stuck at world render distance

fibrowolf avatar Nov 18 '22 10:11 fibrowolf

the temp fix seamed to work , but it doesnt, its stuck at world render distance

What do you mean by world render distance ? Like the world (server) distance is ex 16 and your client distance is 32 but you still only see 16 ?

Julienraptor01 avatar Nov 18 '22 11:11 Julienraptor01

yes the render is 16 on server and i have tried 32, 64, 128 and 256 and they all stay at 16

fibrowolf avatar Nov 18 '22 13:11 fibrowolf