Robotic Parts

Robotic Parts

2M Downloads

'Button to configure HUD' does nothing

Nox13last opened this issue ยท 12 comments

commented

Version 0.2.10 (0.2.10.15)
MC Version: 1.12.2

Opening the Cyberware menu and pressing the gear to configure the HUD closes the menu and doesn't seem to do anything else.
There is nothing in console to imply that an attempt has failed.

commented

one more pixel to the right

Then it asks for me to add a keybind to the device on the right-side of the wheel. "Click to configure HUD" disappears accordingly.
And my display resolution is 2560*1440. I have enough pixels that clicking one of them has to configure the HUD. Except they either dismiss the menu or set up a keybind. Nothing else.
Not to mention, I can click the colour-changer below it and use that.

I feel this is ignoring the rather obvious issue, though: Why is this particular button a lower priority than the rest of the interface when it's much smaller and not physically connected to anything else in the wheel?

commented

the radial menu takes priority, you need to click just to the right, outside the gear icon

commented

the radial menu takes priority, you need to click just to the right, outside the gear icon

Thanks for the response. If I click here (see enclosed image), nothing happens (the menu closes). If I click one bit to the right, the HUD tries to bind a key to the button on the right-side of the wheel.
image

commented

one more pixel to the right

commented

I dunno what to tell you. What mods are you using in this ideal scenario where you cannot reproduce this issue - the minimum required prerequisites, assuming one is making a modpack which is entirely vanilla except for Cyberware and ReWIRED and what-have-you?

I would like to make sure I am not using anything like an old build or that I'm not mistaken or are not submitting this issue to the wrong project's GitHub or some stupid reason like that.

Alternatively, if you could give me those files, I try them, and can still reproduce the issue, the problem might be a conflicting mod, or something?

commented

With the only mods loaded being the one that is linked and JEI, the problem still exists as far as a Hudlens and Human Eyes are concerned. I try to swap the Human Eyes out for Cybereyes and the Hudlens for a Hudjack, but the game keeps crashing.

[B#407] [11:13:43] [Client thread/FATAL] [minecraft/Minecraft]: Reported exception thrown!
[B#407] net.minecraft.util.ReportedException: Rendering screen
[B#407] at net.minecraft.client.renderer.EntityRenderer.func_181560_a(EntityRenderer.java:1151) ~[buq.class:?]
[B#407] at net.minecraft.client.Minecraft.func_71411_J(Minecraft.java:1119) ~[bib.class:?]
[B#407] at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:398) [bib.class:?]
[B#407] at net.minecraft.client.main.Main.main(SourceFile:123) [Main.class:?]
[B#407] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_201]
[B#407] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_201]
[B#407] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_201]
[B#407] at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_201]
[B#407] at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) [launchwrapper-1.12.jar:?]
[B#407] at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.12.jar:?]
[B#407] Caused by: java.lang.NoSuchMethodError: net.minecraft.item.EnumRarity.getColor()Lnet/minecraft/util/text/TextFormatting;
[B#407] at flaxbeard.cyberware.client.gui.GuiSurgery.renderToolTip(GuiSurgery.java:1519) ~[GuiSurgery.class:?]
[B#407] at flaxbeard.cyberware.client.gui.GuiSurgery.func_146979_b(GuiSurgery.java:1386) ~[GuiSurgery.class:?]
[B#407] at net.minecraft.client.gui.inventory.GuiContainer.func_73863_a(GuiContainer.java:117) ~[bmg.class:?]
[B#407] at net.minecraftforge.client.ForgeHooksClient.drawScreen(ForgeHooksClient.java:396) ~[ForgeHooksClient.class:?]
[B#407] at net.minecraft.client.renderer.EntityRenderer.func_181560_a(EntityRenderer.java:1124) ~[buq.class:?]
[B#407] ... 9 more
[B#407] [11:13:43] [Client thread/INFO] [STDOUT]: [net.minecraft.init.Bootstrap:func_179870_a:553]: ---- ````Minecraft Crash Report ----
[B#407] // My bad.
[B#407]
[B#407] Time: 7/14/19 11:13 AM
[B#407] Description: Rendering screen
[B#407]
[B#407] java.lang.NoSuchMethodError: net.minecraft.item.EnumRarity.getColor()Lnet/minecraft/util/text/TextFormatting;
[B#407] at flaxbeard.cyberware.client.gui.GuiSurgery.renderToolTip(GuiSurgery.java:1519)
[B#407] at flaxbeard.cyberware.client.gui.GuiSurgery.func_146979_b(GuiSurgery.java:1386)
[B#407] at net.minecraft.client.gui.inventory.GuiContainer.func_73863_a(GuiContainer.java:117)
[B#407] at net.minecraftforge.client.ForgeHooksClient.drawScreen(ForgeHooksClient.java:396)
[B#407] at net.minecraft.client.renderer.EntityRenderer.func_181560_a(EntityRenderer.java:1124)
[B#407] at net.minecraft.client.Minecraft.func_71411_J(Minecraft.java:1119)
[B#407] at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:398)
[B#407] at net.minecraft.client.main.Main.main(SourceFile:123)
[B#407] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[B#407] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
[B#407] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
[B#407] at java.lang.reflect.Method.invoke(Unknown Source)
[B#407] at net.minecraft.launchwrapper.Launch.launch(Launch.java:135)
[B#407] at net.minecraft.launchwrapper.Launch.main(Launch.java:28)

But that's another issue for another ticket... A thought occurs:
Considering that clicking on the Customise button closes the radial menu, where no amount of clicking anywhere in the game would close this menu, I assume that there is some issue with the way my game is calling the function to change the HUD - this isn't the same as clicking on an area of the game that doesn't have this button. And it's clearly not a mod conflict.

Edit:
I am using Forge Version 14.23.5.2781, but the issue is present as of 14.23.5.2838 (the latest alpha). Dropping down to latest recommended build (14.23.5.2768) does not fix the issue, nor does it fix the crash written above.

commented

The mod was updated and tested for Forge 14.23.5.2838. Open a separate issue with the full crash report on gist/pastebin.

commented

What key are you using to open the menu? are you releasing the mouse after the menu key?

commented

What key are you using to open the menu? are you releasing the mouse after the menu key?

Good question. CTRL+E. I have enough mods that my keyboard is getting cluttered, and I'm not far enough into Cyberware yet that I need to access this menu frequently.

.....

I don't believe it. I reconfigured it to use key.grave (to the left of the 1 key, on a UK keyboard), and now it works.
image.

I've done some more testing, and the issue seems to only manifest when the key to open the menu is also (with a modifier key) the key that opens the Inventory panel.

commented

Actually, the button has higher priority. I rewrote a good part of the mod to fix the lag, and I can't reproduce this issue anymore.

commented

I'm glad it's fixed for you.