Temperature insanity

I can’t see how it would be fixed, since nobody touched the temperature code after me.
I guess next I’ll make the debug menus so you can double check the weather stuff on your own.
I’ve noticed it shows “Sunny” at night, which is not supposed to ever happen, so there’s room for depuration, for sure.

[quote=“Efimero, post:41, topic:6865”]I can’t see how it would be fixed, since nobody touched the temperature code after me.
I guess next I’ll make the debug menus so you can double check the weather stuff on your own.
I’ve noticed it shows “Sunny” at night, which is not supposed to ever happen, so there’s room for depuration, for sure.[/quote]

That’s been happening since Whales. Agreed that it doesn’t make much sense as written (though would be a good spot to stick the moon-phase indication!), but yeah.

Here is the new link: http://we.tl/nycsfjZ6sQ

“Steps” i did was: set season length to 30d, units to metric and start in spring. I understand this can be hard to reproduce, since no one want to play 30d season just to get to the summer.

[quote=“qurvax, post:43, topic:6865”]Here is the new link: http://we.tl/nycsfjZ6sQ

“Steps” i did was: set season length to 30d, units to metric and start in spring. I understand this can be hard to reproduce, since no one want to play 30d season just to get to the summer.[/quote]

Ah, that might be it: does the weather data account for season-length? If not, then you might be getting the labels and the weather offset. (Does the back half of spring get really warm, qurvax?)

I’m pretty sure the weather stuff accounts properly for the season length and accommodates to whatever setting you use.
I’m gonna double check, but when I made it I was having that in mind. It may have slipped through the cracks and I’m not realizing it, though. Still, it’s so weird. =P

Actually, scratch the “summer is hot”, bit.

well in latest experimental is still cold but not -50C during summer its now 2C or -2C sometimes -20C if dews will not fix it we can add this to lore that world warming caused ice age like in The Day After Tomorrow

It’d be fairly easy to set a maximum and minimum temperature for each season (Still can’t do it).

This is the last time I’m going to say that I am in the process of fixing it. I understand you frustration, but it’s a more elusive bug than just “clamp the temperatures depending on season”. It shouldn’t generate such values in the first place.

We were really just idly chatting about a potential short term fix while we wait for the long term solution.

You found a bug that turned out to be some missing parens, so you get a cookie.
I’m not even joking. I’d give you a cookie if you were around here. Good job.

[quote=“Efimero, post:51, topic:6865”]http://www.threadbombing.com/data/media/58/you_get_a_cookie.jpg

You found a bug that turned out to be some missing parens, so you get a cookie.
I’m not even joking. I’d give you a cookie if you were around here. Good job.[/quote]

the 3 most annoying coding bugs:
-you forgot/misplaced parenthesis
-you put a ; instead of {
-The object you are looking for does not currently exist, so it vomits nonsense from your harddrive.

Fix merged.

AFAIK it’s not. All the spring-summer was cold, with -5 at sunny some times.

Now it’s winter here, first days of it and i got like +16 some times (short periods tho). And around -10 at night, which feels just about right.

Hurray! Gonna test.

EDIT: Now it’s day 7 of winter. Drizzle, +23C. Maybe game needs some time to settle weather down?
EDIT: Day 8, +24C…

qurvax, are you using default season lengths?

Nope. 30.

[quote=“Daidalon, post:52, topic:6865”][quote=“Efimero, post:51, topic:6865”]http://www.threadbombing.com/data/media/58/you_get_a_cookie.jpg

You found a bug that turned out to be some missing parens, so you get a cookie.
I’m not even joking. I’d give you a cookie if you were around here. Good job.[/quote]

the 3 most annoying coding bugs:
-you forgot/misplaced parenthesis
-you put a ; instead of {
-The object you are looking for does not currently exist, so it vomits nonsense from your harddrive.[/quote]
Even more annoying, forgetting the [img] tags.

AFAIK it’s not. All the spring-summer was cold, with -5 at sunny some times.

Now it’s winter here, first days of it and i got like +16 some times (short periods tho). And around -10 at night, which feels just about right.

Hurray! Gonna test.

EDIT: Now it’s day 7 of winter. Drizzle, +23C. Maybe game needs some time to settle weather down?
EDIT: Day 8, +24C…[/quote]

No savefile, no fix. I need to have your save to reproduce it. It’s more complicated than it seems to find where a bug like this starts. It could even be the game reporting the wrong season or some other crazy stuff.
Like, I just found out setting the world to start in winter actually starts you in autumn, somehow. That’s not even code I touched! This game is full of magic. XD

[hr]
Aaaand, let me add, I fixed the season thing and now it properly starts on winter. Looks like it was just reading the wrong world generation option or something. Still, I can’t reproduce hot winters either on 14 or 30 days per season. Are you sure that was ºC and not ºF?

That’s quite possibly the reason why you’re getting summer temps in winter. If my Math isn’t off, you’d be in summer under default season length.

That’s quite possibly the reason why you’re getting summer temps in winter. If my Math isn’t off, you’d be in summer under default season length.[/quote]

If your math is so correct, look at the code and tell me where did I fail to account for the season length, please. XD

I’m just trying to guess, and btw my Maths tend to suck :stuck_out_tongue:

And I can’t into C, while I can into Lua.