Exopandora / ShoulderSurfing

Shoulder Surfing Reloaded is a highly configurable third person camera mod for minecraft.
MIT License
56 stars 12 forks source link

Crossbow causes Inventory GUI and Pause menue to shift left #20

Closed sepsol closed 4 years ago

sepsol commented 4 years ago

When I use crossbow in Shoulder Surfing perspective with: crosshair_type = "ADAPTIVE" and open a chest, inventory, pause, or even open World Handler's GUI, all the elements of the HUD and GUI are shifted to left:

image

Exopandora commented 4 years ago

Must be an incompatibility issue with shaders or jei (most likely shaders)

Exopandora commented 4 years ago

The only way to fix that on my side is to disable crosshair movement when a gui is open which can lead to the following: (The crosshair is not pointing at the selected block when the chat is opened)

2019-11-04_16 58 37

Exopandora commented 4 years ago

Note: The gui shift does not happen with just shoulder surfing installed

Exopandora commented 4 years ago

I tested it with shaders (OptiFine_1.14.4_HD_U_F4, Forge 28.0.101) and the issue did not appear. Try setting the render/shader resolution to 1.0x

sepsol commented 4 years ago

Sorry, been busy past few days. My settings is on 1.0x and it still shifts left. I even turned off the shaders and I still seem to get the issue. I think I might have figured out where the problem lies though. It seems like the amount that the screen shifts is related to the amount the target is shifted from the center of the display. I use the ShoulderSurfing perspective really up close and to the side, in this situation if you get too close to a block and target it and then press pause for example, the shift would be pretty noticeable. Also the direction of the shift is related to the shoulder which the camera is on. Hope this helps!

Exopandora commented 4 years ago

I know that this issue is related to the shift of the crosshair as i encountered it in development. Please press F3 + C ingame for 10 seconds and post the (crash) log file

sepsol commented 4 years ago

I didn't know that you can crash your own game! That would come in handy in multiplayer :p Here's the crash-report.

Exopandora commented 4 years ago

Can you name me a mod of yours that modifies the crosshair ?

Exopandora commented 4 years ago

Or a mod that has a special crosshair for some item ?

sepsol commented 4 years ago

Maybe FreeLook, idk.

sepsol commented 4 years ago

Or a mod that has a special crosshair for some item ?

No i don't have any.

Exopandora commented 4 years ago

Well i had a possible fix in mid but as it turns out its already in the code to prevent issues like that. I guess there is nothing to be done on my side. My advice is that you isolate this issue to a specific mod and report a bug on there.

sepsol commented 4 years ago

Ok, I'll try to figure it out and report it. It's not a big issue for me eversince you've fixed the STATIC_WITH_1PP :p