Shoulder Surfing Reloaded

Shoulder Surfing Reloaded

2M Downloads

Crossbow causes Inventory GUI and Pause menue to shift left

sepsol opened this issue ยท 13 comments

commented

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

commented

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

commented

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

commented

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

commented

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

commented

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

commented

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

commented

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

commented

Maybe FreeLook, idk.

commented

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

No i don't have any.

commented

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.

commented

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

commented

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!

commented

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