Cold Sweat

Cold Sweat

3M Downloads

[1.19.2] [ColdSweat-2.2-b04h.jar] Temperature is buggy

SiverDX opened this issue ยท 19 comments

commented

https://imgur.com/a/WqHvMs3

Standing near lava has no effect
Burning ticks of fire / moving in fire seems to increase it but at the same time it tries to get back to 0

Frozen ocean (goes down):
image

Frozen ocean next to lava block (stays at 0):
image

Desert (stays at 0):
image

commented

(Doesn't crash, don't know how to remove that tag)

commented

Swimming in lava (very slowly going up):
image

image

Moving away (it's going back down to 0):
image

image

commented

After restarting the game several times it worked for a bit:

image

image

Being in lava does not seem to get registered as bad though (it's basically the same as being close to it)


image

But not it's bugged again (happen shortly after the screenshot above)

image

image

commented

I know I'm kinda spamming right now

I rejoined the world (singeplayer btw) and it was still bugged
I left the game open for a couple of minutes and now it works again

And like correctly, temperature shown by Thermometer can get to 90 when in lava (previously it got stuck at like 50) etc.

image


Nevermind bugged again
Was just walking around placing ice blocks, testing the temperature effect

image

commented

In the tests sometimes temperature modifiers seem get lost / not applied
I'm using a lot of mods that could be why but I'm not sure which type could be causing this behaviour

Right now it seems to work correctly again

commented

So, what exactly are you trying to test here? From the information I'm seeing (which, although I appreciate it, is only partially helpful because I don't know what the temperature was before and after the blocks had their effect), this seems to be intended behavior. There is no temperature difference between being submerged in lava and standing directly next to it.

I also haven't seen this issue or been able to reproduce it, and nobody on the Discord server has reported it.

Just so we're on the same page, the lava affects the WORLD temperature type, and when the thermometer reads above 37.75, you start overheating.

commented

What version are you using there? Or are you using source code?

commented

version is in title
debug is same version (loaded through curseforge)

commented

Alright, my bad. It's still not very easy to tell why this is happening. Are these statistics taken in the same place? I'm having a hard time understanding what scenarios all these screenshots were taken in.

image
image

commented

If it occurs again I'll make more clear screenshots

can't even say anymore which belong together ๐Ÿ˜

commented

It fixed itself right now for example:
image

This was hard stuck at 40 a second before

commented

Standing next to lava source - temperature stays at 0
Start of PlayerTempCap tick
image

End of PlayerTempCap tick had no changes

At the same time when moving away (terralith:yellowstone biome):
image

(CORE is actually changing)
Moving next to the lava again raises the temperature (somewhat slow though) but it stops at 0

Something seems off with high temperatures when this bug occurs
Currently the thermostat shows 16 celsius next to the lava in the yellowstone biome
And 10 when moving away from the lava

(This is all with no items equipped, no effects active etc.)


Desert biome
image

Standing next to lava
image

Next tick:
image

Put an ice block next to the lava - modifiers:
image

image

image

Wanted to check what the modifiers etc. should be for that spot but restarting the game etc. does not fix the issue right now

commented

I'm really sorry if I am still misunderstanding, but it kind of seems like this works as intended. Your first example in the Yellowstone biome demonstrates the system working properly (note how WORLD jumps up all the way from -0.2 to 0.7).

Just to reiterate, blocks do NOT directly affect your body temperature. They affect the WORLD. When WORLD reaches a certain threshold (either below 10C or above 37C), then your CORE temperature starts decreasing/increasing at a steady pace.

commented

But when I'm in a desert next to a lava source my temperature should be rising VERY fast
But with this issue here it literally just stays at 0 because the world temperature does not go over the threshold (or just barely depending on the time of day)

I know that when this issue disappears the world temperature will heavily increase (up to 90 celsius etc)

commented

Ok, I just had a sudden realization because I just got finished working on an issue that uses the same bit of code as this issue does. Try this version and see if it works, if you please (GitHub doesn't allow .JAR files, so you'll have to unzip it first):
ColdSweat-2.2-b04i.zip

commented

Ok, trying it out
Will update if something pops up

commented

I'm going to mark this as resolved soon if there aren't any problems anymore. Please let me know

commented

Actually can close this now, kinda forgot to do that
From the tests I did there were no problems with the test version and using the latest official version things seem fine too

commented

Great, glad to hear it