Calculator icon indicating copy to clipboard operation
Calculator copied to clipboard

[1.10.2] Counts in Storage Module are treated as signed chars.

Open Kevincav opened this issue 7 years ago • 2 comments

Please fill out the details below before contributing

  • Forge Version: 1.10.2
  • Calculator Version: 3.2.5
  • SonarCore Version: 3.2.9
  • Multiplayer or Singleplayer: Multiplayer
  • Crash Report Link:
  • Affected Features:
  • Description: When adding circuits to the storage module the counts go up to the limit of signed chars. I can add any number of circuits and it'll the correct number until I exit the gui and come back. Then after 128 the negative representations show. After 256 it seems that it might fully remove every type of the circuit in the storage modules. Screenshots below.

(Note: I was testing with different circuits so screenshots show two different types)

127 Circuits 127 Circuits

129 Circuits Before exiting the gui 129 Circuits Before exiting the gui

After exiting the gui and coming back, showing negative values After exiting the gui and coming back, showing negative values

255 items, before seeing what happens after 8 bits 255 items, before seeing what happens after 8 bits

This is after 256 (I tried porting it out via conduit) and everything is gone. Circuits in storage went from 396 to 247 after this This is after 256 (I tried porting it out via conduit) and everything is gone.  Circuits in storage went from 396 to 247 after this.

Kevincav avatar Dec 25 '17 21:12 Kevincav

Same issue here.

4rz0 avatar Jan 13 '18 08:01 4rz0

I noticed this only happens on SMP, however not in singleplayer, where it properly counts up to 1024 then stops taking items.

4rz0 avatar Feb 02 '18 20:02 4rz0