Register forum user name Search FAQ

Gammon Forum

Notice: Any messages purporting to come from this site telling you that your password has expired, or that you need to "verify" your details, making threats, or asking for money, are spam. We do not email users with any such messages. If you have lost your password you can obtain a new one by using the password reset link.
 Entire forum ➜ SMAUG ➜ SMAUG coding ➜ Weather, seasons and smaug

Weather, seasons and smaug

It is now over 60 days since the last post. This thread is closed.     Refresh page


Posted by Oblisgr   (123 posts)  Bio
Date Tue 20 Dec 2022 03:47 PM (UTC)
Message
Ok, i think weather system is a mess in smaug
or i have done something wrong.

All the year including summer it snowing in my mud.
All the seasons are like winter

Anyone knows how to fix that?

I use smaugfuss 1.9
Top

Posted by Fiendish   USA  (2,533 posts)  Bio   Global Moderator
Date Reply #1 on Tue 20 Dec 2022 05:55 PM (UTC)
Message
Quote:
or i have done something wrong.

Pretend you're us. How are we supposed to know if you've done something wrong if you don't tell us what you've done?

https://github.com/fiendish/aardwolfclientpackage
Top

Posted by Oblisgr   (123 posts)  Bio
Date Reply #2 on Wed 21 Dec 2022 08:51 PM (UTC)

Amended on Wed 21 Dec 2022 08:56 PM (UTC) by Oblisgr

Message
The only thing i touched is this in calendar.c


const char *const day_name[] = {
   "Sundas", "Morndas", "Tirdas", "Middas", "Turdas", "Fredas", "Loredas" 
};

const char *const month_name[] = {
   "Morning Star", "Sun's Dawn", "First Seed", 
   "Rain's Hand", "Second Seed", "Mid Year",
   "Sun's Height", "Last Seed", "Hearthfire", 
   "Frost Fall", "Sun's Dusk", "Evening Star"
};

const char *const season_name[] = {
   "winter", "spring", "summer", "autumn"
};
Top

Posted by Fiendish   USA  (2,533 posts)  Bio   Global Moderator
Date Reply #3 on Wed 21 Dec 2022 10:15 PM (UTC)

Amended on Wed 21 Dec 2022 10:16 PM (UTC) by Fiendish

Message
You can't just arbitrarily rearrange the order of items in arrays like that.

The seasons must be [spring, summer, autumn, winter], not any other order, unless you go make other changes to compensate.

https://github.com/fiendish/aardwolfclientpackage
Top

Posted by Fiendish   USA  (2,533 posts)  Bio   Global Moderator
Date Reply #4 on Wed 21 Dec 2022 10:22 PM (UTC)
Message
Also, have you read doc/WeatherHowTo.txt ?

https://github.com/fiendish/aardwolfclientpackage
Top

Posted by Oblisgr   (123 posts)  Bio
Date Reply #5 on Thu 22 Dec 2022 07:05 PM (UTC)

Amended on Thu 22 Dec 2022 07:14 PM (UTC) by Oblisgr

Message
Fiendish said:

You can't just arbitrarily rearrange the order of items in arrays like that.

The seasons must be [spring, summer, autumn, winter], not any other order, unless you go make other changes to compensate.


Unfortunattely nothing changed.
Thanks for responing though.
Top

The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).

To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.


6,214 views.

It is now over 60 days since the last post. This thread is closed.     Refresh page

Go to topic:           Search the forum


[Go to top] top

Information and images on this site are licensed under the Creative Commons Attribution 3.0 Australia License unless stated otherwise.