Storage Drawers: Natura Pack

Storage Drawers: Natura Pack

9M Downloads

Items exceeding 1 stack disappear from drawer

bkindig opened this issue ยท 6 comments

commented

This bug is only occurring when I install the mod in my MultiCraft(MCPH) server. I install the mod files on my local machine and it works. I install them on the server and this glitch occurs.

  • Using any item, I place a stack into the drawer. So far, so good.
  • I insert another stack, everything looks OK.
  • But then I look inside of the drawer and the items on the front and inside of the drawer disappear (pictures below).
  • I can still get my items out by left clicking.

This works until the item count exceeds 127! After I insert 128 items, the drawer looks like the pictures below.

Forge 1.11 (2228)
Forge 1.11.2 - 13.20.0.2261

Files:
Chhameleon-1.11-3.0.2
StorageDrawers-1.11.2-4.1.0
StorageDrawers-1.11.2-4.2.0
StorageDrawers-1.11-4.0.2
StorageDrawers-1.11-4.0.3

image

image

Edit
This is the log after I've inserted 1 stack, then checked the contents of the drawer. Then inserted a 2nd stack, then checked the contents of the drawer. When checking it the 2nd time, it looks like the pictures above. Not seeing any errors, unfortunately.

27.03 20:07:01 [Server] Server thread/INFO [storagedrawers]:   null item
27.03 20:07:01 [Server] Server thread/INFO [storagedrawers]: BlockDrawers.onBlockActivated
27.03 20:06:59 [Server] Server thread/INFO [storagedrawers]:   64xtile.stone@0
27.03 20:06:59 [Server] Server thread/INFO [storagedrawers]: BlockDrawers.onBlockActivated
27.03 20:06:51 [Server] Server thread/INFO [storagedrawers]:   null item
27.03 20:06:51 [Server] Server thread/INFO [storagedrawers]: BlockDrawers.onBlockActivated
27.03 20:06:43 [Server] Server thread/INFO [storagedrawers]:   64xtile.stone@0
27.03 20:06:43 [Server] Server thread/INFO [storagedrawers]: BlockDrawers.onBlockActivated

**I figured out last night while testing that 1.10.2 works perfectly.**
commented

I'm not actively maintaining 1.11, since 1.11.2 broke compatibility. I assume you are unable to move to 1.11.2?

If I have time this week I can try to do a back-port, since the breaking change was very minor.

commented

Thank you for the reply. I'm anxious to get this on my server since it's so cool. There's no way I'm going back to regular chests now. lol

Actually, I've tried mixing the following files with Forge 1.11 and 1.11.2:
StorageDrawers-1.11.2-4.1.0
StorageDrawers-1.11.2-4.2.0
StorageDrawers-1.11-4.0.2
StorageDrawers-1.11-4.0.3

I get the same above result for each version. And I don't know why I can't duplicate the bug in a single player world.

commented

This feels sneakily related to #465, with some kind of byte-boundary issue.

You mentioned above that 1.10.2 worked perfectly, but you did not mention the specific version. Version 3.7.0 for 1.10.2 got a major update using similar inventory code to what's shipped in 1.11, and that was mentioned as the origin of the negative count display. Can you tell me what happens when you try the latest build for 1.10.2?

commented

Confirmed for 1.11.2 server as well.
basic storage drawer just ate 999 cobble and 999 stone brick,
friend put 1000 blocks of stone and cobble, only gave 1 of each back
version: 4.2.9

commented

I can confirm this bug on my server as well:

Minecraft 1.11.2
Forge 13.20.1.2388
Storage Drawers 4.2.9
Storage Drawers Extras 2.0.0

It basically works and it doesn't seem to lose any items, but the counter in the GUI is incorrect and/or the label/icon disappears when entering the GUI.

commented

It looks like I have the same issue, with Minecraft 1.12.2, Forge 14.23.52838, and Storage Drawers 5.3.8.