Calculator

Calculator

6M Downloads

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

Kevincav opened this issue ยท 2 comments

commented

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.

commented

Same issue here.

commented

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