Refined Storage

Refined Storage

77M Downloads

dupplication glitch with refined limit ( 2^31-1)

Junglebos opened this issue ยท 0 comments

commented

Describe the bug

So your mod is coded in 32 bit and it has a limit of 2.147b
and when you ask to a system to craft something that has a requirement of 4 or 8 item and ask 1073741824 of it the system doesn't calculate and just craft the item without taking item from the system

it could work for any item if you correctly calculate the number to end directly on the limit and completely broke the game

2023-01-07_17 41 01
2023-01-07_17 39 56

How can we reproduce this bug or crash?

  1. create a system
  2. encode a chest pattern
  3. ask to craft 1073741824 of it
  4. have it unlimited

What Minecraft version is this happening on?

Minecraft 1.18.2

What Forge version is this happening on?

every one

What Refined Storage version is this happening on?

every one

Relevant log output

No response