What's new
  • Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • Visit Resources
  • Visit Downloads
  • Visit Portal
RebornBuddy Forums

Register a free account today to become a member! Once signed in, you'll be able to participate on this site by adding your own topics and posts, as well as connect with other members through your own private inbox!

Incomplete WeatherDictionary?

y2krazy

Community Developer
Joined
Jun 21, 2011
Messages
2,803
Running this in the Console:

Code:
foreach(var item in WorldManager.WeatherDictionary)
{
Log("ID: {0} | Type: {1}",item.Key,item.Value);
}

Returns this:

Code:
ID: 0 | Type: 
ID: 1 | Type: Clear Skies
ID: 2 | Type: Sunshine
ID: 3 | Type: Clouds
ID: 4 | Type: Fog
ID: 5 | Type: Wind
ID: 6 | Type: Gales
ID: 7 | Type: Rain
ID: 8 | Type: Showers
ID: 9 | Type: Thunder
ID: 10 | Type: Thunderstorms
ID: 11 | Type: Dust Storms
ID: 12 | Type: Sandstorms
ID: 13 | Type: Hot Spells
ID: 14 | Type: Heat Waves
ID: 15 | Type: Snow
ID: 16 | Type: Blizzards
ID: 17 | Type: Gloom
ID: 18 | Type: Auroras
ID: 19 | Type: Darkness
ID: 20 | Type: Tension
ID: 21 | Type: Clouds
ID: 22 | Type: Storm Clouds
ID: 23 | Type: Rough Seas
ID: 24 | Type: Rough Seas
ID: 25 | Type: Louring
ID: 26 | Type: Heat Waves
ID: 27 | Type: Gloom
ID: 28 | Type: Gales
ID: 29 | Type: Eruptions
ID: 30 | Type: Sunshine
ID: 31 | Type: Sunshine
ID: 32 | Type: Sunshine
ID: 33 | Type: Sunshine
ID: 34 | Type: Sunshine
ID: 35 | Type: Irradiance
ID: 36 | Type: Core Radiation
ID: 37 | Type: Core Radiation
ID: 38 | Type: Core Radiation
ID: 39 | Type: Core Radiation
ID: 40 | Type:

However, if I am in a zone with a weather name that is not in the above dictionary and run the following:

Code:
Log("Weather: {0}",WorldManager.CurrentWeather);
Log("WeatherId: {0}",WorldManager.CurrentWeatherId);

I get this:

Code:
Weather: 
WeatherId: 49
 
Running this in the Console:

Code:
foreach(var item in WorldManager.WeatherDictionary)
{
Log("ID: {0} | Type: {1}",item.Key,item.Value);
}

Returns this:

Code:
ID: 0 | Type: 
ID: 1 | Type: Clear Skies
ID: 2 | Type: Sunshine
ID: 3 | Type: Clouds
ID: 4 | Type: Fog
ID: 5 | Type: Wind
ID: 6 | Type: Gales
ID: 7 | Type: Rain
ID: 8 | Type: Showers
ID: 9 | Type: Thunder
ID: 10 | Type: Thunderstorms
ID: 11 | Type: Dust Storms
ID: 12 | Type: Sandstorms
ID: 13 | Type: Hot Spells
ID: 14 | Type: Heat Waves
ID: 15 | Type: Snow
ID: 16 | Type: Blizzards
ID: 17 | Type: Gloom
ID: 18 | Type: Auroras
ID: 19 | Type: Darkness
ID: 20 | Type: Tension
ID: 21 | Type: Clouds
ID: 22 | Type: Storm Clouds
ID: 23 | Type: Rough Seas
ID: 24 | Type: Rough Seas
ID: 25 | Type: Louring
ID: 26 | Type: Heat Waves
ID: 27 | Type: Gloom
ID: 28 | Type: Gales
ID: 29 | Type: Eruptions
ID: 30 | Type: Sunshine
ID: 31 | Type: Sunshine
ID: 32 | Type: Sunshine
ID: 33 | Type: Sunshine
ID: 34 | Type: Sunshine
ID: 35 | Type: Irradiance
ID: 36 | Type: Core Radiation
ID: 37 | Type: Core Radiation
ID: 38 | Type: Core Radiation
ID: 39 | Type: Core Radiation
ID: 40 | Type:

However, if I am in a zone with a weather name that is not in the above dictionary and run the following:

Code:
Log("Weather: {0}",WorldManager.CurrentWeather);
Log("WeatherId: {0}",WorldManager.CurrentWeatherId);

I get this:

Code:
Weather: 
WeatherId: 49

It was being updated manually. Its on the todo list now that our tools have been updated.
 
Back
Top