Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Any possible command can be executed by right-clicking on the printed NBT changed sign. #6921

Closed
Qiong-Mengzi opened this issue Sep 8, 2024 · 2 comments
Labels
type: bug Issue where something isn't working

Comments

@Qiong-Mengzi
Copy link

Description

(I'm sorry I don't have a Discard.)

I found a bug which can run command in the server.

Steps to reproduce:

Save an schematic which has an sign.

Then edit the NBT of the sign. (Causes the sign to run the command when clicked.)

After that, print it.

You can print out the bill of materials first to see if it contains a sign.
(I re-recorded the video for this reason.)

Finally, right-click on the sign.


The video can be viewed at the link below.

https://www.bilibili.com/video/BV1o2pzeWErS/

The changes to the NBT of the sign are shown below.

Image

In addition, I found that the server does not record the corresponding logs when the command is run, and the server administrator does not receive the relevant information. (doubtful)

I can't provide the logs for this reason, and I'm sorry for that.

Commands executed in this way must not be too long, otherwise the contents of the sign will be lost after printing.
This length is much smaller than what can be entered in the console, so much so that the give command's enchantment-related NBT can't be placed.

Game Log

I'm sorry that I can't provide logs because this bug doesn't generate logs.

Debug Information

Client Info
Create:
	Mod Version: 0.5.1f
	Forge Version: 47.3.5
	Minecraft Version: 1.20.1

Graphics:
	Flywheel Version: 0.6.10-7
	Flywheel Backend: INSTANCING
	OpenGL Renderer: NVIDIA GeForce GTX 1660 SUPER/PCIe/SSE2
	OpenGL Version: 4.6.0 NVIDIA 551.86
	Graphics Mode: グラフィックス

System Information:
	Operating System: Windows 10 (amd64) version 10.0
	Java Version: 17.0.10, OpenLogic
	JVM Flags: 11 total; -Xmx6144m -XX:+UnlockExperimentalVMOptions -XX:+UseG1GC -XX:G1NewSizePercent=20 -XX:G1ReservePercent=20 -XX:MaxGCPauseMillis=50 -XX:G1HeapRegionSize=32m -XX:-UseAdaptiveSizePolicy -XX:-OmitStackTraceInFastThrow -XX:-DontCompileHugeMethods -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump
	Memory: 4522102912 bytes (4312 MiB) / 6442450944 bytes (6144 MiB) up to 6442450944 bytes (6144 MiB)
	CPU: 12th Gen Intel(R) Core(TM) i5-12600KF @ 3.69 GHz; 10 cores / 16 threads on 1 socket(s)
	Graphics card #0: OrayIddDriver Device (Shanghai Best Oray Information Technology Co., Ltd.); 0.00 MB of VRAM
	Graphics card #1: NVIDIA GeForce GTX 1660 SUPER (NVIDIA (0x10de)); 4095.00 MB of VRAM

Other Mods:
	AutoFish for Forge: 6.0.0
	Oculus Flywheel Compat: 1.1.0
	Just Enough Items: 15.8.2.25
	AdditionalBanners: 14.0.4
	Timeless & Classics Guns: Zero: 1.0.2
	Immersive Aircraft: 1.0.1+1.20.1
	Rubidium (Embeddium): 0.7.1
	Epic Fight: 20.7.4
	Journeymap: 5.10.1
	ModernFix: 5.19.0+mc1.20.1
	Citadel: 2.5.6
	Traveler's Backpack: 9.1.15
	Configured: 2.2.3
	Bad Packets: 0.4.3
	Create: Central Kitchen: 1.3.12
	MixinExtras: 0.2.0
	Bookshelf: 20.2.13
	Create: Dragon Lib: 1.4.3
	Ice and Fire: 2.1.13-1.20.1-beta-4
	Create: Steam 'n' Rails: 1.6.4+forge-mc1.20.1
	Catalogue: 1.8.0
	waila: 8.13.3
	Memory Leak Fix: 1.1.5
	Cloth Config v10 API: 11.1.118
	Embeddium: 0.3.28+mc1.20.1
	Farmer's Delight: 1.20.1-1.2.4
	libIPN: 4.0.2
	EnchantmentDescriptions: 17.0.16
	Create Sifter: 1.20.1-1.8.1.e-22
	wthit: 8.13.3
	Kotlin For Forge: 4.11.0
	Touhou Little Maid: 1.1.11
	Patchouli: 1.20.1-84-FORGE
	Oculus: 1.7.0
	Sit: 1.3.5
	EntityCulling: 1.6.6
	FreeCam by Zergatul: 2.0.1
	Inventory HUD+: 3.4.24
	FPS Monitor: 1.3.0
	Inventory Profiles Next: 1.10.10
	MrCrayfish's Furniture Mod: 7.0.0-pre36
	Architectury: 9.2.14
	AppleSkin: 2.5.1+mc1.20.1
	Ferrite Core: 6.0.1
	More Overlays Updated: 1.22.7-mc1.20.2
	Dynamic FPS: 3.6.3
	IMBlocker: 4.0.5
Server Info
Create:
	Mod Version: 0.5.1f
	Forge Version: 47.3.5
	Minecraft Version: 1.20.1

System Information:
	Operating System: Linux (amd64) version 3.10.0-1160.el7.x86_64
	Java Version: 17.0.2, Oracle Corporation
	JVM Flags: 0 total; 
	Memory: 2735910656 bytes (2609 MiB) / 4294967296 bytes (4096 MiB) up to 4294967296 bytes (4096 MiB)
	CPU: Intel(R) Xeon(R) CPU E5-2470 v2 @ 2.40GHz @ 2.40 GHz; 20 cores / 40 threads on 2 socket(s)
	Graphics card #0: unknown (unknown); 0.00 MB of VRAM

Other Mods:
	Farmer's Delight: 1.20.1-1.2.4
	Create: Central Kitchen: 1.3.12
	MixinExtras: 0.2.0
	Create Sifter: 1.20.1-1.8.1.e-22
	Create: Dragon Lib: 1.4.3
	Mohist: 1.20.1
	MrCrayfish's Furniture Mod: 7.0.0-pre36
	Ferrite Core: 6.0.1
	Ice and Fire: 2.1.13-1.20.1-beta-4
	Create: Steam 'n' Rails: 1.6.4+forge-mc1.20.1
	Timeless & Classics Guns: Zero: 1.0.2
	Memory Leak Fix: 1.1.5
	Immersive Aircraft: 1.0.1+1.20.1
	Touhou Little Maid: 1.1.11
	Patchouli: 1.20.1-84-FORGE
	Epic Fight: 20.7.4
	Citadel: 2.5.6
	Traveler's Backpack: 9.1.15
	Sit: 1.3.5
@Qiong-Mengzi Qiong-Mengzi added the type: bug Issue where something isn't working label Sep 8, 2024
@IThundxr
Copy link
Collaborator

IThundxr commented Sep 8, 2024

Please try reproducing this on 0.5.1.h

@Qiong-Mengzi
Copy link
Author

Looks like it's been fixed in the next release.

Sorry for the delay.

Then I found another bug where all the text of the hanging sign was missing after printing...

(It's just just discovered, and then open an new issue after verification)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug Issue where something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants