CCBlueX / LiquidBounce

A free mixin-based injection hacked client for Minecraft using the Fabric API
https://liquidbounce.net/
GNU General Public License v3.0
1.45k stars 463 forks source link

[BUG] RSHIFT not able to open ClickGUI #911

Closed guosic closed 1 year ago

guosic commented 1 year ago

LiquidBounce Build/Version

nextgen 17797c7

Operating System

Windows 10

Minecraft Version

1.18.2

Describe the bug

X: Press rshift on the keyboard(bound key) Y: show ClickGUI Z: Nothing happened. may be similar to #670

Steps to reproduce

  1. Type ".bind ClickGUI rshift"
  2. Press rshift on the keyboard
  3. Nothing happened.

Client Log

[09:22:07] [main/INFO]: Loading Minecraft 1.18.2 with Fabric Loader 0.14.10
[09:22:08] [main/INFO]: Loading 62 mods:
    - fabric-api 0.66.0+1.18.2
    - fabric-api-base 0.4.4+d7c144a860 via fabric-api
    - fabric-api-lookup-api-v1 1.6.2+2373a54560 via fabric-api
    - fabric-biome-api-v1 8.0.6+651bcc5960 via fabric-api
    - fabric-block-api-v1 1.0.0+ee3621fc60 via fabric-api
    - fabric-blockrenderlayer-v1 1.1.12+3ac43d9560 via fabric-api
    - fabric-command-api-v1 1.1.9+d7c144a860 via fabric-api
    - fabric-commands-v0 0.2.8+b4f4f6cd60 via fabric-api
    - fabric-containers-v0 0.1.23+d7c144a860 via fabric-api
    - fabric-content-registries-v0 3.1.1+c85f2e3860 via fabric-api
    - fabric-convention-tags-v1 1.0.1+474e4f7960 via fabric-api
    - fabric-crash-report-info-v1 0.2.1+ee261a3e60 via fabric-api
    - fabric-data-generation-api-v1 3.0.2+9fcb91d260 via fabric-api
    - fabric-dimensions-v1 2.1.20+489d6f8260 via fabric-api
    - fabric-entity-events-v1 1.4.8+d7c144a860 via fabric-api
    - fabric-events-interaction-v0 0.4.19+d7c144a860 via fabric-api
    - fabric-events-lifecycle-v0 0.2.19+d7c144a860 via fabric-api
    - fabric-game-rule-api-v1 1.0.13+d7c144a860 via fabric-api
    - fabric-item-api-v1 1.5.2+17cbbd4360 via fabric-api
    - fabric-item-groups-v0 0.3.14+91896a4960 via fabric-api
    - fabric-key-binding-api-v1 1.0.12+54e5b2ec60 via fabric-api
    - fabric-keybindings-v0 0.2.10+b4f4f6cd60 via fabric-api
    - fabric-language-kotlin 1.8.5+kotlin.1.7.20
    - fabric-lifecycle-events-v1 2.1.0+cc71601c60 via fabric-api
    - fabric-loot-api-v2 1.1.0+1997ad1260 via fabric-api
    - fabric-loot-tables-v1 1.1.2+e747827960 via fabric-api
    - fabric-mining-level-api-v1 2.1.4+cc71601c60 via fabric-api
    - fabric-models-v0 0.3.6+d7c144a860 via fabric-api
    - fabric-networking-api-v1 1.0.23+2d30af4b60 via fabric-api
    - fabric-networking-v0 0.3.10+b4f4f6cd60 via fabric-api
    - fabric-object-builder-api-v1 2.1.3+032c981d60 via fabric-api
    - fabric-particles-v1 0.2.12+526dc1ac60 via fabric-api
    - fabric-registry-sync-v0 0.9.11+bb2e047760 via fabric-api
    - fabric-renderer-api-v1 0.4.15+ee3621fc60 via fabric-api
    - fabric-renderer-indigo 0.5.5+41a02c8a60 via fabric-api
    - fabric-renderer-registries-v1 3.2.11+b4f4f6cd60 via fabric-api
    - fabric-rendering-data-attachment-v1 0.3.8+ee3621fc60 via fabric-api
    - fabric-rendering-fluids-v1 2.0.2+54e5b2ec60 via fabric-api
    - fabric-rendering-v0 1.1.13+b4f4f6cd60 via fabric-api
    - fabric-rendering-v1 1.10.7+54e5b2ec60 via fabric-api
    - fabric-resource-conditions-api-v1 2.0.3+91b7aa6660 via fabric-api
    - fabric-resource-loader-v0 0.5.2+446e059560 via fabric-api
    - fabric-screen-api-v1 1.0.10+d882b91560 via fabric-api
    - fabric-screen-handler-api-v1 1.2.2+1f6558e860 via fabric-api
    - fabric-textures-v0 1.0.12+3ac43d9560 via fabric-api
    - fabric-transfer-api-v1 1.6.3+f4563ac860 via fabric-api
    - fabric-transitive-access-wideners-v1 1.1.0+e747827960 via fabric-api
    - fabricloader 0.14.10
    - java 17
    - liquidbounce 1.0.0
    - minecraft 1.18.2
    - org_jetbrains_kotlin_kotlin-reflect 1.7.20 via fabric-language-kotlin
    - org_jetbrains_kotlin_kotlin-stdlib 1.7.20 via fabric-language-kotlin
    - org_jetbrains_kotlin_kotlin-stdlib-jdk7 1.7.20 via fabric-language-kotlin
    - org_jetbrains_kotlin_kotlin-stdlib-jdk8 1.7.20 via fabric-language-kotlin
    - org_jetbrains_kotlinx_atomicfu-jvm 0.18.4 via fabric-language-kotlin
    - org_jetbrains_kotlinx_kotlinx-coroutines-core-jvm 1.6.4 via fabric-language-kotlin
    - org_jetbrains_kotlinx_kotlinx-coroutines-jdk8 1.6.4 via fabric-language-kotlin
    - org_jetbrains_kotlinx_kotlinx-datetime-jvm 0.4.0 via fabric-language-kotlin
    - org_jetbrains_kotlinx_kotlinx-serialization-cbor-jvm 1.4.1 via fabric-language-kotlin
    - org_jetbrains_kotlinx_kotlinx-serialization-core-jvm 1.4.1 via fabric-language-kotlin
    - org_jetbrains_kotlinx_kotlinx-serialization-json-jvm 1.4.1 via fabric-language-kotlin
[09:22:09] [main/INFO]: SpongePowered MIXIN Subsystem Version=0.8.5 Source=file:/C:/Users/%e9%83%ad%e6%80%9d%e6%88%90/AppData/Roaming/CCBlueX/LiquidLauncher/data/libraries/net/fabricmc/sponge-mixin/0.11.4+mixin.0.8.5/sponge-mixin-0.11.4+mixin.0.8.5.jar Service=Knot/Fabric Env=CLIENT
[09:22:09] [main/INFO]: Compatibility level set to JAVA_16
[09:22:09] [main/INFO]: Compatibility level set to JAVA_17
[09:22:11] [main/WARN]: Error loading class: me/jellysquid/mods/sodium/client/render/occlusion/BlockOcclusionCache (java.lang.ClassNotFoundException: me/jellysquid/mods/sodium/client/render/occlusion/BlockOcclusionCache)
[09:22:12] [main/WARN]: Configuration conflict: there is more than one oshi.properties file on the classpath
[09:22:14] [main/WARN]: Configuration conflict: there is more than one oshi.architecture.properties file on the classpath
[09:22:33] [Render thread/INFO]: Environment: authHost='https://authserver.mojang.com', accountsHost='https://api.mojang.com', sessionHost='https://sessionserver.mojang.com', servicesHost='https://api.minecraftservices.com', name='PROD'
[09:22:35] [Render thread/INFO]: Setting user: BionicMoss23454
[09:22:36] [Render thread/INFO]: [Indigo] Registering Indigo renderer!
[09:22:38] [Render thread/INFO]: Backend library: LWJGL version 3.2.2 build 10
[09:22:45] [Render thread/INFO]: Narrator library for x64 successfully loaded
[09:22:45] [Render thread/INFO]: Launching LiquidBounce v1.0.0 by CCBlueX
[09:22:46] [Render thread/INFO]: Successfully extracted default theme
[09:22:46] [Render thread/INFO]: Loading heads...
[09:22:49] [Render thread/INFO]: Successfully loaded 956 heads from the database
[09:22:51] [Render thread/INFO]: Found out OpenGL version to be 3.2.0. Using backend for OpenGL 3.3+ (VAOs, VBOs, Instancing, Shaders)
[09:22:51] [Render thread/INFO]: Loading ultralight...
[09:22:51] [Render thread/INFO]: Checking resources...
[09:22:51] [Render thread/INFO]: Loading ultralight natives
[09:22:51] [Render thread/INFO]: Native path: C:\Users\��˼��\AppData\Roaming\CCBlueX\LiquidLauncher\data\gameDir\nextgen\LiquidBounce\ultralight\bin
[09:22:52] [Render thread/INFO]: Setting up ultralight renderer
[09:22:52] [Render thread/INFO]: [Ul] Initializing Ultralight v1.3.0 with the following configuration
    cache_path: C:\Users\?????????\AppData\Roaming\CCBlueX\LiquidLauncher\data\gameDir\nextgen\LiquidBounce\ultralight\cache
    face_winding: CounterClockwise
    font_hinting: Smooth
    font_gamma: 1.8
    force_repaint: 0
    animation_timer_delay: 0.0166667
    scroll_timer_delay: 0.0166667
    recycle_delay: 4
    memory_cache_size: 64.00 MB
    page_cache_size: 0
    override_ram_size: disabled
    min_large_heap_size: 32.00 MB
    min_small_heap_size: 1.00 MB

[09:22:52] [Render thread/INFO]: [Ul] Creating Session with the following configuration:
    id: 2
    is_persistent: 1
    name: default
    is_default: 1
    disk_path: C:\Users\?????????\AppData\Roaming\CCBlueX\LiquidLauncher\data\gameDir\nextgen\LiquidBounce\ultralight\cache\default (you can adjust this location in Config::cache_path)
[09:22:52] [Render thread/INFO]: [Ul] Memory Usage (WebCore): 
    JavaScript:          64.00 KB

[09:22:52] [Render thread/INFO]: [Ul] Memory Usage (UltralightCore): 
    Texture Store:        0.00 B, VRAM: 0.00 B
    Render Texture Store: 0.00 B, VRAM: 0.00 B
    Geometry Store:       0.00 B, VRAM: 0.00 B
    Texture Cache:        0.00 B
    Image Cache:          0.00 B
    Path Cache:           0.00 B
    Font Cache:           8.00 B
    Paint Pool:           6.25 KB
    Render Texture Pool:  0.00 B
    Texture Pool:         0.00 B
    Geometry Pool:        0.00 B
    Path Tesselator:      8.00 B

[09:22:52] [Render thread/INFO]: Successfully loaded ultralight!
[09:22:53] [Render thread/INFO]: [Ul] Creating View with the following configuration:
    width: 854
    height: 480
    device scale: 1
    session id: 2
[09:22:53] [Render thread/INFO]: Successfully loaded config 'Enemies'.
[09:22:54] [Render thread/INFO]: Successfully loaded config 'modules'.
[09:22:54] [Render thread/INFO]: Successfully loaded config 'Commands'.
[09:22:54] [Render thread/INFO]: Successfully loaded config 'Friends'.
[09:22:54] [Render thread/INFO]: Successfully loaded config 'Proxies'.
[09:22:54] [Render thread/INFO]: Successfully loaded config 'chat'.
[09:22:54] [Render thread/INFO]: Successfully loaded config 'Fonts'.
[09:22:54] [Render thread/INFO]: Successfully loaded config 'ultralight_storage'.
[09:22:54] [Render thread/INFO]: Successfully loaded client!
[09:22:54] [IO-Worker-2/INFO]: Connecting to LiquidChat...
[09:22:54] [Render thread/INFO]: Reloading ResourceManager: Default, Fabric Mods (Fabric API, Fabric API Base, Fabric API Lookup API (v1), Fabric Biome API (v1), Fabric BlockRenderLayer Registration (v1), Fabric Command API (v1), Fabric Commands (v0), Fabric Containers (v0), Fabric Content Registries (v0), Fabric Convention Tags, Fabric Crash Report Info (v1), Fabric Data Generation API (v1), Fabric Dimensions API (v1), Fabric Entity Events (v1), Fabric Events Interaction (v0), Fabric Events Lifecycle (v0), Fabric Game Rule API (v1), Fabric Item API (v1), Fabric Item Groups (v0), Fabric Key Binding API (v1), Fabric Key Bindings (v0), Fabric Language Kotlin, Fabric Lifecycle Events (v1), Fabric Loot API (v2), Fabric Loot Tables (v1), Fabric Mining Level API (v1), Fabric Models (v0), Fabric Networking API (v1), Fabric Networking (v0), Fabric Object Builder API (v1), Fabric Particles (v1), Fabric Registry Sync (v0), Fabric Renderer API (v1), Fabric Renderer - Indigo, Fabric Renderer Registries (v1), Fabric Rendering Data Attachment (v1), Fabric Rendering Fluids (v1), Fabric Rendering (v0), Fabric Rendering (v1), Fabric Resource Conditions API (v1), Fabric Resource Loader (v0), Fabric Screen API (v1), Fabric Screen Handler API (v1), Fabric Textures (v0), Fabric Transfer API (v1), Fabric Transitive Access Wideners (v1), Fabric Loader, LiquidBounce)
[09:22:55] [Render thread/INFO]: [Ul] Creating View with the following configuration:
    width: 854
    height: 480
    device scale: 1
    session id: 2
[09:22:55] [Render thread/INFO]: [Ul] Creating View with the following configuration:
    width: 854
    height: 480
    device scale: 1
    session id: 2
[09:23:00] [IO-Worker-2/INFO]: Successfully connected to LiquidChat!
[09:23:00] [IO-Worker-2/INFO]: Requesting to login into Mojang...
[09:23:08] [Render thread/INFO]: [MainFrame 3 (file:///C:/Users/%E9%83%AD%E6%80%9D%E6%88%90/AppData/Roaming/CCBlueX/LiquidLauncher/data/gameDir/nextgen/LiquidBounce/themes/default/splashscreen/index.html)]: The view finished loading
[09:23:09] [Render thread/INFO]: OpenAL initialized on device OpenAL Soft on ������ (Realtek High Definition Audio)
[09:23:09] [Render thread/INFO]: Sound engine started
[09:23:10] [Render thread/INFO]: Created: 1024x1024x4 minecraft:textures/atlas/blocks.png-atlas
[09:23:13] [Render thread/INFO]: Created: 256x128x4 minecraft:textures/atlas/signs.png-atlas
[09:23:13] [Render thread/INFO]: Created: 1024x512x4 minecraft:textures/atlas/banner_patterns.png-atlas
[09:23:13] [Render thread/INFO]: Created: 1024x512x4 minecraft:textures/atlas/shield_patterns.png-atlas
[09:23:13] [Render thread/INFO]: Created: 256x256x4 minecraft:textures/atlas/chest.png-atlas
[09:23:13] [Render thread/INFO]: Created: 512x256x4 minecraft:textures/atlas/beds.png-atlas
[09:23:13] [Render thread/INFO]: Created: 512x256x4 minecraft:textures/atlas/shulker_boxes.png-atlas
[09:23:19] [Render thread/INFO]: Created: 256x256x0 minecraft:textures/atlas/particles.png-atlas
[09:23:19] [Render thread/INFO]: Created: 256x256x0 minecraft:textures/atlas/paintings.png-atlas
[09:23:19] [Render thread/INFO]: Created: 256x128x0 minecraft:textures/atlas/mob_effects.png-atlas
[09:23:20] [Render thread/INFO]: [MainFrame 1 (file:///C:/Users/%E9%83%AD%E6%80%9D%E6%88%90/AppData/Roaming/CCBlueX/LiquidLauncher/data/gameDir/nextgen/LiquidBounce/themes/default/hud/index.html)]: The view finished loading
[09:23:20] [Render thread/INFO]: [MainFrame 5 (file:///C:/Users/%E9%83%AD%E6%80%9D%E6%88%90/AppData/Roaming/CCBlueX/LiquidLauncher/data/gameDir/nextgen/LiquidBounce/themes/default/title/index.html)]: The view finished loading
[09:23:35] [Render thread/INFO]: [Ul] Creating View with the following configuration:
    width: 1920
    height: 1017
    device scale: 1
    session id: 2
[09:23:35] [Render thread/INFO]: [MainFrame 7 (file:///C:/Users/%E9%83%AD%E6%80%9D%E6%88%90/AppData/Roaming/CCBlueX/LiquidLauncher/data/gameDir/nextgen/LiquidBounce/themes/default/title/index.html)]: The view finished loading
[09:23:38] [Render thread/INFO]: Connecting to mc.loyisa.cn, 25565
[09:23:48] [Render thread/INFO]: Environment: authHost='https://authserver.mojang.com', accountsHost='https://api.mojang.com', sessionHost='https://sessionserver.mojang.com', servicesHost='https://api.minecraftservices.com', name='PROD'
[09:23:52] [Render thread/INFO]: [CHAT] [+] BionicMoss23454
[09:23:52] [Render thread/WARN]: Received packet for unknown team viaversion: team action: REMOVE, player action: null
[09:23:52] [Render thread/WARN]: Received packet for unknown team VXWGY_Z374: team action: null, player action: ADD
[09:23:52] [Render thread/WARN]: Received packet for unknown team viaversion: team action: REMOVE, player action: null
[09:23:52] [Render thread/ERROR]: Error executing task on Client
java.lang.IllegalStateException: Player is either on another team or not on any team. Cannot remove from team 'VXWGY_Z101'.
    at net.minecraft.class_269.method_1157(class_269.java:228) ~[client-intermediary.jar:?]
    at net.minecraft.class_634.method_11099(class_634.java:2094) ~[client-intermediary.jar:?]
    at net.minecraft.class_5900.method_34173(class_5900.java:129) ~[client-intermediary.jar:?]
    at net.minecraft.class_5900.method_11054(class_5900.java:14) ~[client-intermediary.jar:?]
    at net.minecraft.class_2600.method_11072(class_2600.java:22) ~[client-intermediary.jar:?]
    at net.minecraft.class_1255.method_18859(class_1255.java:157) [client-intermediary.jar:?]
    at net.minecraft.class_4093.method_18859(class_4093.java:23) [client-intermediary.jar:?]
    at net.minecraft.class_1255.method_16075(class_1255.java:131) [client-intermediary.jar:?]
    at net.minecraft.class_1255.method_5383(class_1255.java:116) [client-intermediary.jar:?]
    at net.minecraft.class_310.method_1523(class_310.java:1085) [client-intermediary.jar:?]
    at net.minecraft.class_310.method_1514(class_310.java:737) [client-intermediary.jar:?]
    at net.minecraft.client.main.Main.main(Main.java:236) [client-intermediary.jar:?]
    at net.fabricmc.loader.impl.game.minecraft.MinecraftGameProvider.launch(MinecraftGameProvider.java:461) [fabric-loader-0.14.10.jar:?]
    at net.fabricmc.loader.impl.launch.knot.Knot.launch(Knot.java:74) [fabric-loader-0.14.10.jar:?]
    at net.fabricmc.loader.impl.launch.knot.KnotClient.main(KnotClient.java:23) [fabric-loader-0.14.10.jar:?]
[09:23:52] [Render thread/WARN]: Received packet for unknown team viaversion: team action: REMOVE, player action: null
[09:23:52] [Render thread/WARN]: Received packet for unknown team viaversion: team action: REMOVE, player action: null
[09:23:52] [Render thread/WARN]: Requested creation of existing team 'VXWGY_Z373'
[09:23:52] [Render thread/WARN]: Received packet for unknown team viaversion: team action: REMOVE, player action: null
[09:23:52] [Render thread/WARN]: Received packet for unknown team viaversion: team action: REMOVE, player action: null
[09:23:52] [Render thread/WARN]: Received packet for unknown team viaversion: team action: REMOVE, player action: null
[09:23:52] [Render thread/WARN]: Received packet for unknown team viaversion: team action: REMOVE, player action: null
[09:23:52] [Render thread/WARN]: Requested creation of existing team 'VXWGY_Z372'
[09:23:52] [Render thread/WARN]: Received packet for unknown team viaversion: team action: REMOVE, player action: null
[09:23:52] [Render thread/WARN]: Received packet for unknown team viaversion: team action: REMOVE, player action: null
[09:23:52] [Render thread/WARN]: Received packet for unknown team viaversion: team action: REMOVE, player action: null
[09:23:55] [Render thread/INFO]: [CHAT] Diona >> Our Discord: https://discord.gg/fdmkfts
[09:25:59] [Render thread/INFO]: [CHAT] ��8[��9��lLiquidBounce��8] Binds
[09:25:59] [Render thread/INFO]: [CHAT] ��8[��9��lLiquidBounce��8] Page: 1 / 1
[09:25:59] [Render thread/INFO]: [CHAT] ��8[��9��lLiquidBounce��8] > KillAura (R)
[09:26:01] [Render thread/INFO]: [CHAT] Diona >> ���ǵ�QQȺ: 1169441146 | https://jq.qq.com/?_wv=1027&k=qVIUSZXm
[09:26:08] [Render thread/INFO]: [CHAT] ��8[��9��lLiquidBounce��8] Bound module "ClickGUI" to key "RIGHT_SHIFT".
[09:26:30] [Render thread/INFO]: [Ul] Creating View with the following configuration:
    width: 1920
    height: 1017
    device scale: 1
    session id: 2
[09:26:30] [Render thread/INFO]: [MainFrame 9 (file:///C:/Users/%E9%83%AD%E6%80%9D%E6%88%90/AppData/Roaming/CCBlueX/LiquidLauncher/data/gameDir/nextgen/LiquidBounce/themes/default/title/index.html)]: The view finished loading
[09:26:32] [Render thread/INFO]: Shutting down client...
[09:26:32] [Render thread/INFO]: Successfully saved config 'Enemies'.
[09:26:32] [Render thread/INFO]: Successfully saved config 'modules'.
[09:26:32] [Render thread/INFO]: Successfully saved config 'Commands'.
[09:26:32] [Render thread/INFO]: Successfully saved config 'Friends'.
[09:26:32] [Render thread/INFO]: Successfully saved config 'Proxies'.
[09:26:32] [Render thread/INFO]: Successfully saved config 'chat'.
[09:26:32] [Render thread/INFO]: Successfully saved config 'Fonts'.
[09:26:32] [Render thread/INFO]: Successfully saved config 'ultralight_storage'.
[09:26:32] [Render thread/INFO]: Stopping!

Screenshots

This is the rshift in the settings(walk forwards) keybindrshinft

1zun4secondary commented 1 year ago

Any other keys working?

guosic commented 1 year ago

Any other keys working?

Yes, the other keys are working fine.

1zun4secondary commented 1 year ago

Very odd. I do not know. It seems RSHIFT is working:

[09:26:08] [Render thread/INFO]: [CHAT] ��8[��9��lLiquidBounce��8] Bound module "ClickGUI" to key "RIGHT_SHIFT".
[09:26:30] [Render thread/INFO]: [Ul] Creating View with the following configuration:
    width: 1920
    height: 1017
    device scale: 1
    session id: 2

because it seems it is creaing the ul view when pressing the button, but why it does not show up... Does really like NOTHING happen or something?

guosic commented 1 year ago

Very odd. I do not know. It seems RSHIFT is working:

[09:26:08] [Render thread/INFO]: [CHAT] ��8[��9��lLiquidBounce��8] Bound module "ClickGUI" to key "RIGHT_SHIFT".
[09:26:30] [Render thread/INFO]: [Ul] Creating View with the following configuration:
    width: 1920
    height: 1017
    device scale: 1
    session id: 2

because it seems it is creaing the ul view when pressing the button, but why it does not show up... Does really like NOTHING happen or something?

I reproduced the issue and indeed, NOTHING happens. However, the log this time is different. Please take a look at it. You can download it using this link .

guosic commented 1 year ago

I may have misled you. This is not a ClickGUI bug, but rather an issue with RSHIFT. Any module bound to RSHIFT will not work properly, meaning that nothing happens when the key is pressed. Minecraft shortcuts such as forward and jump bound to RSHIFT also experience issues, but they do not completely fail to respond.

guosic commented 1 year ago

After testing, I found that the issue already exists in Minecraft vanilla. When I set the keyboard language to '中文(简体)', Minecraft 1.19.3 will recognize the RSHIFT key as 'scancode.310' instead of 'Right Shift'. Setting the keyboard language to 'ENG' can provide a temporary solution while in-game. The issue doesn't occur in version 1.8.9, and a Google search for the keyword 'scancode.310' will reveal similar problems.