You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It is possible to create an ambient temperature smalled than -10^8, which I assume is not something we should be able to do, since there is a max temperature, there should probably be a minimum too. The bug is reproducible but it cannot occur in a save because it relies on the life of a cray with a ctype of ligh being set to 99,999,999, which when saved and loaded in a save or a stamp changes to 65,535. The bug occurs when that cray is sparked and a line of ligh runs across the screen, making all the chunks it passes by gain an extremely negative temperature and afterwards that temperature spreads throughout the screen, Lowering the life to 9,999,999 seems to make the bug not occur anymore and the temperature stays at 9,725.85ºC, so I assume it's due to an number overflow when calculating the ambient temperature. I've also tried copying just the ligh to another save and it still created the negative temperatures, so I also assume it has to do with the life of the ligh being 99,999,999 and not specifically the cray. Testing the range of life further it seems that 13216599.50 causes negative temperatures while 13216599.49 does not, so that appears to be the boundary.
To sum up:
-LIGH with a life superior to 13216599.49 causes negative ambient temperatures when updated.
-This bug cannot affect saves / stamps due to the requirement of a higher life than saves / stamps can store.
The text was updated successfully, but these errors were encountered:
Interesting, i'll fix this later. I had to set life to 9,999,999,999 to make it work, maybe because I was using a 64 bit version with a higher number to overflow.
TPT version: 92.5
OS: Windows 10
It is possible to create an ambient temperature smalled than -10^8, which I assume is not something we should be able to do, since there is a max temperature, there should probably be a minimum too. The bug is reproducible but it cannot occur in a save because it relies on the life of a cray with a ctype of ligh being set to 99,999,999, which when saved and loaded in a save or a stamp changes to 65,535. The bug occurs when that cray is sparked and a line of ligh runs across the screen, making all the chunks it passes by gain an extremely negative temperature and afterwards that temperature spreads throughout the screen, Lowering the life to 9,999,999 seems to make the bug not occur anymore and the temperature stays at 9,725.85ºC, so I assume it's due to an number overflow when calculating the ambient temperature. I've also tried copying just the ligh to another save and it still created the negative temperatures, so I also assume it has to do with the life of the ligh being 99,999,999 and not specifically the cray. Testing the range of life further it seems that 13216599.50 causes negative temperatures while 13216599.49 does not, so that appears to be the boundary.
To sum up:
-LIGH with a life superior to 13216599.49 causes negative ambient temperatures when updated.
-This bug cannot affect saves / stamps due to the requirement of a higher life than saves / stamps can store.
The text was updated successfully, but these errors were encountered: