Potential exploit with warehouse.
LucidDreamer0322 opened this issue ยท 11 comments
Prerequisites
- I am running the latest alpha version of MineColonies and Structurize for my Minecraft version.
- I checked the MineColonies/Structurize wiki and made sure my issue is not covered there.
- I made sure that this issue is not a duplicate of any existing issue.
Context
Forge 34.1.0
Mcolonies
- Minecraft Version: Mc 1.16.3
- MineColonies Version: 13.269.alpha
- Structurize Version: 13.67 -alpha
- Related Mods and their Versions: WorldEdit 7.2.0-beta-05
Expected behavior
Actual behavior
Steps to reproduce the issue
- Build Warehouse, Level it up to 5.
- Acquire a rank 5 warehouse root block via deconstruct/pick up. Place into an inventory block (chests or racks) and use the wand to duplicate the inventory block and its inventory.
- place a rank 5 warehouse block and repair it then use the emerald blocks to level up the inventory, then break the root block and replace with another and repair again. your builder will run through and check that all blocks are where they should be. when its done you can continue to use emerald blocks to increase those storages even further, this soft breaks the gui with a bad texture, but the extra inventory, as well as the previous contents are available to be utilized.
Logs
- latest.log:
- crashlog:
Notes
This could also be replicated by using creative mode and shulker boxes as placing wont consume the held shulker box and you can spam place the same block (and saved inventory) as many times as you'd like.
Viewers
- Add a thumbs-up to the bug report if you are also affected. This helps the bug report become more visible to the team and doesn't clutter the comments.
- Add a comment if you have any insights or background information that isn't already part of the conversation.
Duplicate what?
The root block? By picking it up and using any means of item duping. Pick up a rank 5 root block saves that its rank 5 so duping can give you infinite copies real fast. You could also perform this bug/exploit legit by just building multiple warehouses and rank them to 5 and deconstruct them as many times as you want.
In my unproffesional opinion, the issue isnt that you can dupe the block, you will never be able to fully prevent that. Theres to many ways to do it. The issue is that using the emerald block "adds" inventory slots as opposed to just "setting" the inventories to a higher capacity. If you understand what i just said then stop reading, lol
Basically though. Using an emerald block adds a set ammount of slots. And can be exploited, even with uses limited to 3. Just break the root and replace with another rank 5 root, repair and upgrade again. Then add more slots 3 more times.
however, if you could set it that at upgrade 1 the inventories have a set number (higher than defailt) at 2 they have a set number (higher than 1) ect, then spaming further upgrades will only ever return the same set inventory capacity. Capping at 3.
yeah, but item duping is the bug, and not that you benefit from item duping, isn't that right?
The bug is that by breaking the 3 upgrade limit rule by getting a new set of 3 upgrades you can further push the capacity of your storage to an unplayable degree. I actually found this on accident, though most people would never encounter it.
Oh I really hope it becomes unplayable for the person that does something like this.
I was just using world edit to move my storage along with all of my belongings as opposed to relocating everything i own into chests ill never use again to then deconstruct, reconstruct and the move everything again. im lazy, not a cheater :p
Thats also why i have to dupethe root block, youcant relocate a building with its root block, it breaks it and youd have to break the block and start at level 1 sgain
Yeah, but that is not like something that is a bug. That is just something that is not normal gameplay.
Thats fair. Just thought id mention it, depending on how the code works for warehouses and possibly limitations with forge, it could potentially be a little change to throw into a future update or something. This is modded minecraft, if you are trying to play "normal" you're either new or doing it wrong :P