henkelmax / camera-utils

A client side Fabric mod that adds convenient features related to the players camera.
25 stars 10 forks source link

FOV is higher than usual with speed effect #19

Closed CavanCheeta closed 2 years ago

CavanCheeta commented 2 years ago

Please read the FAQ before submitting a bug report!

Bug description The camera utils mod causes FOV to go crazy when given a speed effect of over 8

Steps to reproduce the issue

  1. Have the camera utils mod installed on 1.19
  2. give yourself a speed effect of 9 or higher

Expected behavior Not make your FOV go crazy/dissapear

Log files latest.log

Versions

Other mods Mod works when loaded without any other mods, my mod list is:

henkelmax commented 2 years ago

Does that also happen with a speed effect thats possible in survival?

CavanCheeta commented 2 years ago

I just found out its a problem with the options.txt after removing all my mods, I'll try to find out what causes this bug.

CavanCheeta commented 2 years ago

Ah it's the stupidest thing ever, it's the options FOV that breaks completely after FOV 90, which is my normal FOV. Does Camera utils use that fov for something?

henkelmax commented 2 years ago

is this effect happening all the time or do you have to do something specific?

CavanCheeta commented 2 years ago

i have to set my FOV 90 or higher and set my effect speed to 9 or higher.

henkelmax commented 2 years ago

Yes, but I was asking if this happens with a realistic speed value like 2

CavanCheeta commented 2 years ago

On speed 2 it makes your fov bearable, but higher than in normal mc

henkelmax commented 2 years ago

So it doesn't happen with realistic values?

CavanCheeta commented 2 years ago

No.

CavanCheeta commented 2 years ago

Does camera utils use the fov double from the minecraft options? Because that uses a -1 to 1 scale, where 0.0 is 60

henkelmax commented 2 years ago

No.

Alright, thanks for testing it.

henkelmax commented 2 years ago

Does camera utils use the fov double from the minecraft options? Because that uses a -1 to 1 scale, where 0.0 is 60

This mod does not modify the FOV in normal gameplay

CavanCheeta commented 2 years ago

Then how come it does affect normal gameplay?

henkelmax commented 2 years ago

Oh, can you send me a video of that (Without any other mods or effects)?

CavanCheeta commented 2 years ago

https://youtu.be/NSjCiJWZUQw

CavanCheeta commented 2 years ago

best is to wait for HD to stop processing

henkelmax commented 2 years ago

Ah, I can see the issue, thanks for reporting this. I will investigate this further.

CavanCheeta commented 2 years ago

Ah, I can see the issue, thanks for reporting this. I will investigate this further.

Thank you, please let me know when you've found the problem/fixed it if you're going to

henkelmax commented 2 years ago

Sure

henkelmax commented 2 years ago

I tested it myself and it works exactly like without the mod. Please try creating a new Minecraft instance without any other mods and the latest fabric version and mod version.

CavanCheeta commented 2 years ago

I tested it again with everything on the latest version. The bug still occurs.

henkelmax commented 2 years ago

I'm sorry, but I can't reproduce it. I will test some more and let you know.

CavanCheeta commented 2 years ago

I'm testing it with the curseforge app, but i don't think that matters, right?

henkelmax commented 2 years ago

No that shouldn't make a difference

henkelmax commented 2 years ago

Both FOV 90 and speed 2:

image

First one is without the mod, second one is with

CavanCheeta commented 2 years ago

Test it with FOV 90 and speed 9

henkelmax commented 2 years ago

That's not a realistic scenario. The most you can archive without commands is speed 2.

CavanCheeta commented 2 years ago

That is my problem, and i know some servers that use speed 9 or higher, and I'm planning on using it on a server i develop for, but this bug came along and is really annoying, because i love the features it brings and would hate it to have it disabled

henkelmax commented 2 years ago

I'm sorry, but that's gonna be a wontfix. I might look into it in the future when I have more time, but not at the moment.

CavanCheeta commented 2 years ago

Okay. Unfortunate.

RigidStudios commented 1 year ago

@henkelmax This still occurs, I'm trying to use the mod on an RPG server (over-the-shoulder with your mod) where I regularly reach this speed, isn't this as simple as clamping the FOV value?