Advanced Peripherals

Advanced Peripherals

29M Downloads

Massive item spawning glitch

awesomebossdj7 opened this issue ยท 46 comments

commented

Describe

There is a bug where you can use a book and quill, plus nbt block and reader and shulker box to spawn in literally any item, I'm not exactly sure on how to do it, because I only saw this from players on a server I'm playing on

Steps to reproduce

Put nbt in a book, put book in chest, point nbt reader to chest, use some program (probably just writing the data to the nbt block) then break the nbt storage block and then open the shulker then you have any item

Multiplayer?

Yes

Version

1.18.2-0.7.31r (Latest 1.18.2)

Minecraft, Forge and maybe other related mods versions

40.2.17 Minecraft 1.18.2

Screenshots or Videos

https://cdn.discordapp.com/attachments/1115249875559395389/1216079988474908733/2024-03-09_20-36-13.mp4?ex=65ff15be&is=65eca0be&hm=8af942a740a32e7f014ce7397f55079a679d811c80ee442f0b54a0e4850b9032&

Crashlog/log

No response

commented

okay you don't need the shulker box, the nbt storage block just turns into it

commented

Would it be possible for you to get that script he used?
It's a bit hard to guess how it works

commented

Well the admin who discovered it, deleted the script, the server admins and I are gonna try to recreate it, it looks simple enough, but could also be pretty complex, I'll get back to you

commented

One workaround for now is that you can disable the nbt storage in the config until I find a solution

commented

Alright
And would it be possible to see the content of that book?

commented

Alright And would it be possible to see the content of that book?

image

image

commented

Would it be possible to get the modlist?

commented

Greetings again

The rat texted me per discord
image

but I can assure you that it's not caused by your mod alone

My thought is now, that the NBT data from the NBT storage gets injected into the shulker he collects when he breaks the nbt storage. So I would need to know what the pickaxe does/the enchantments from it, so find a potential fix

But my guess is that I can't fix it but the author of the mod of the enchantment/pickaxe needs to fix this. The NBT Storage seems to be just a medium for the NBT data to move to the shulker box.

commented

It must either be something on the pickaxe (an enchantment maybe) or some other mod that modifies the block breaking.. Also, about the book, the screenshots only show page 2 and 3, what's up with page 1? Is it empty? And are you sure it is empty and there are no invisible characters hidden in it?

commented

It must either be something on the pickaxe (an enchantment maybe) or some other mod that modifies the block breaking.. Also, about the book, the screenshots only show page 2 and 3, what's up with page 1? Is it empty? And are you sure it is empty and there are no invisible characters hidden in it?

Pickaxe from what i know is a normal pickaxe and as for the book the first page is empty yes. Just checked it myself and there's no invisible characters.

commented

Kotlin for Forge
Controlling
Caelus API
MmmMmmMmmMmm
CC:C Bridge
Max Health Fix
Sophisticated Backpacks
Refined Storage
Sound Physics Remastered
Mod Name Tooltip
Thermal Integration
Clockwork: Create x Valkyrien Skies
AlchemyLib
Supplementaries
Balm (Forge Edition)
Advanced Peripherals
Brandon's Core
KubeJS
Create: Broken Bad
FTB Chunks (Forge)
Mekanism
AmbientSounds
Architectury API
AEInfinityBooster
Moonlight Lib
Create: Design n' Decor
Xaero's Minimap
fix GPU memory leak[Forge/Fabric]
Create Big Cannons
Towns and Towers
Hex Casting
Iceberg
FTB Library (Forge)
Structory
Thermal Locomotion
Mantle
AE2 Things [Forge]
Curios API (Forge/NeoForge)
Nether's Delight
Alchemistry
Fast Async World Save[Forge/Fabric]
Macaw's Furniture
Mekanism Tools
Connectivity[Forge/Fabric]
Waystones
Legendary Tooltips
Sophisticated Core
Model Gap Fix
Create Enchantment Industry
Falling Leaves (Forge)
ESSENTIAL Mod
Advancement Plaques
Create Deco
Polymorph
Roughly Enough Resources
CC: VS
Psi
Lootr
ModernFix
Hostile Neural Networks
MEGA Cells
Dank Storage
Thermal Foundation
Configured
CodeChicken Lib
FramedBlocks
More Mekanism Processing
Chunk Sending[Forge/Fabric]
Bookshelf
Chipped
Builder's Delight (Forge)
Cloth Config API (Fabric/Forge/NeoForge)
REI Plugin Compatibilities
Entity Culling Fabric/Forge
Valkyrien Storage - Sophisticated Compatibility
Macaw's Fences and Walls
Simple Voice Chat
Spartan Weaponry
Building Gadgets
Better Fps - Render Distance[Forge]
Roughly Enough Loot Tables
Create: Connected
Applied Energistics 2
ExtraStorage
Thermal Dynamics
Create Crafts & Additions
Tom's Simple Storage Mod
Immersive Engineering
KubeJS Create
Create Encased
Charm of Undying
Placebo
Colorful Hearts
ChemLib
Item Highlighter
Thermal Cultivation
Prism
Elytra Slot
Patchouli
Sophisticated Storage
Create: Copycats+
CreativeCore
Construction Wand
RSInfinityBooster
Apotheosis
Jade ๐Ÿ”
Farmer's Delight
Mouse Tweaks
Compact Machines
Spartan Shields
Thermal Innovation
Refined Cooking
Twigs
PAUCAL
Valkyrien Skies
More Peripherals
Ding
Eureka! Ships! for Valkyrien Skies (Forge/Fabric)
FTB Teams (Forge)
Server Performance - Smooth Chunk Save[Forge/Fabric]
Storage Drawers
CC: Tweaked
Comforts
Fast Leaf Decay
Draconic Evolution
Xaero's World Map
Macaw's Windows
FerriteCore
Roughly Enough Items (REI)
ChoiceTheorem's Overhauled Village
KubeJS Mekanism
Create: Diesel Generators
AppleSkin
Goblin Traders
AutoRegLib
Artifacts
Create
ExpandAbility
Decorative Blocks
Applied Energistics 2 Wireless Terminals
Thermal Expansion
Structure Essentials[Forge/Fabric]
AE2 Extras
Rhino
Refined Storage Addons
CoFH Core
FTB Ultimine (Forge)
Overloaded Armor Bar
Mekanism Generators
Applied Mekanistics
PneumaticCraft: Repressurized
Tom's Peripherals
Macaw's Trapdoors
Clumps
Tinkers' Construct
Cooking for Blockheads
Create: Tweaked Controllers
Cristel Lib
Carry On
SebastrnLib
Fastload
MrCrayfish's Furniture Mod
Cosmetic Armor Reworked
Create: Interactive
Lazy DataFixerUpper(LazyDFU) [FORGE]
ConnectedTexturesMod
Enchantment Descriptions
Macaw's Doors
Quark
Cupboard
Corpse
Create: Alloyed
Terralith
Embeddium (Rubidium) Extra
Embeddium/Rubidium Extras
Embeddium/Rubidium Dynamic Lights
TexTrue's Rubidium Options
Rubidium
AttributeFix
Attribute Tooltip Fix
Vanishmod
Create Stuff & Additions
Figura

Would it be possible to get the modlist?

commented

Thank you

commented

You should probably not listen to t8rt0t by the way. He doesn't want us (the admins of that server) knowing how the bug exactly works.

commented

also the block turns INTO a shulker box, im 99% sure its not caused by any other mod

commented

also the block turns INTO a shulker box, im 99% sure its not caused by any other mod

We think it's some kind of NBT injection. We don't modify the loot table at all, it's just a basic static loot table
So our theory is, that some kind of enchantment, belt, ring or whatever turns the block into the shulker box and puts the dropped block into the shulker itself while injecting the NBT data of the NBT storage into the shulker which creates the item

commented

You should probably not listen to t8rt0t by the way. He doesn't want us (the admins of that server) knowing how the bug exactly works.

Yes, I take this with a grain of salt

commented

Would you mind placing the book in a chest and give us the output of /data get block with the coordinates of said chest?

commented

Would you mind placing the book in a chest and give us the output of /data get block with the coordinates of said chest?

image

commented

Wild guess, but because of apotheosis mentioned, can it be, that it is a small bug inside apotheosis special item spawn system?

commented

Wild guess, but because of apotheosis mentioned, can it be, that it is a small bug inside apotheosis special item spawn system?

Doubt it honestly

commented

But honestly, there are 2 villagers in the dirt house, together with a lectern and his pickaxe is shiny. There must be an enchantment on it.

commented

Pickaxe from what i know is a normal pickaxe and as for the book the first page is empty yes. Just checked it myself and there's no invisible characters.

I can see in the video that the pickaxe is shiny
image

commented

But I guess the pickaxe does not exist anymore?

commented

But I guess the pickaxe does not exist anymore?

Sadly no. A different admin acted too fast and just /clear'd them but yes the pickaxe is enchanted I just misworded my sentence but even then theres no enchantments in the pack that could cause this.

commented

Would you be able to send a zip of the pack or a curseforge profile file to me, would like to do some testing in your pack.

commented

Would you be able to send a zip of the pack or a curseforge profile file to me, would like to do some testing in your pack.

ReHavoc S2 FIGURA EDITION 0.0.7.zip

commented

I tried a few things now but I can't manage to reproduce it. As far as I can see it must either be the script or some cross mod interaction. The latter would make more sense since the player also mentioned that "he can assure you that it's not caused by your mod alone".

If you want to cross out the script part entirely, assuming that he really used a script saved on the pc and didn't just type it into the lua console, you could check the server files for the script. It should be in world/computercraft/computer/ but you'd have to guess the id, which could be pretty difficult if a lot of people on the server use CC:Tweaked.

commented

If the pc still exists in the world, you could also just CTRL+Middle Mouse Button it in Creative or just break it in survival and check the tooltip for the id.

commented

okay so obviously we all know they made the nbt storage think it's a shulker somehow

what I think they did is somehow add shulker box nbt to the nbt storage block, and the nbt reader is just a extra thing so they don't need to type it in all the time

probably pretty obvious too, but I can't really test that theory right now

commented

If the pc still exists in the world, you could also just CTRL+Middle Mouse Button it in Creative or just break it in survival and check the tooltip for the id.

The PC was destroyed by the Admin I mentioned before I could peek inside sadly.

commented

The files might still be inside the world folder, but as I said, it might be difficult to guess the ID of the pc

commented

The files might still be inside the world folder, but as I said, it might be difficult to guess the ID of the pc

Checked all the PCs in the world folder and found nothing.

commented

And I guess you dont have any backups by any chance?

commented

And I guess you dont have any backups by any chance?

No backups.

commented

Then it must be a easy copy-pasta commands, people can compress any Lua code to a single line

commented

Can you check if he or his friend has the end entered achievement?

commented

Well they 100% did because another group in the server trapped them in the end

commented

Depends on if the admin/s deleted the code manually or just broke the computer, if second, its a copy paste command

commented

Depends on if the admin/s deleted the code manually or just broke the computer, if second, its a copy paste command

Computer was exploded so yes It's the second one.

commented

Was the end discovered and entered before this happened?

commented

yes

commented

Thank you both for your feedback

Sorry for taking your guys' time.

Don't worry, happens to the best

For the next time, I would recommend to look through a datapack before installing it (;

commented

nevermind we figured it out, he snuck a data pack into the server disguised as recipes for another mod

commented

Sorry for taking your guys' time.

commented

He really replaced the data with stored data

commented

Could you provide us that datapack?