Homeostatic

Homeostatic

71.5k Downloads

Why is my temperature NaN?

Windavilin opened this issue · 8 comments

commented

I'm sorry to bother you again, but when I was playing with Homeostatic 2.9.4.5, I noticed that my temperature suddenly changed to this. After that, I stayed in the 50 ℃ heat radiation for two minutes and did not see any changes in my body temperature. Why is this?
image

commented

I tried restarting the server, but the result was the same

commented

This error still exists when logging out and logging back in;After restarting the client, I was marked as a ticketing player and unable to access the server

commented

After repeated attempts, the server can be accessed, but this error still exists
image

commented

Ok, I will see if I can reproduce this and get a fix out soon.

commented

This is for certain a bug. Does it remain after logging out and back in?

commented

Ok, I will see if I can reproduce this and get a fix out soon.

image
My temperature is NaN as well

and I have only these mods:
image

It happens when I create a new world.
And sometimes when I create a new world, my body temperature is 98℃
And sometimes when I create a new world, it's -17℃ on the ground, but if I dive into the water, the environment temperature is 20℃

commented

I think this has been a bug for a while. I should have a release out today for this.

commented

Ok, fixed and released for all versions. This was (sort of) a math bug. Math.pow implementation returns NaN by specification when getting a power for negative numbers, even though it is technically a valid math problem. There aren't any situations without loading Primal Winter where this can occur, so it was working correctly. It was good that adding this mod exposed a math bug. Thanks for reporting!