Kobold problem with weather

Results 1 to 3 of 3
  1. #1
    Novice DarkTorizo is offline
    MemberRank
    Oct 2006 Join Date
    2Posts

    Kobold problem with weather

    The default weather for Zone ID 12 (Elwynn Area) is Sun, on mine I changed it to Storm. After I change it back to Sun, if I go from section to section it reverts to Storm. How do I fix? Is it in a file? Is there a way to make it Default to Sun? e.g. no weather/sun only

    Thank you in Advance.


  2. #2
    Enthusiast zarwac is offline
    MemberRank
    Aug 2006 Join Date
    28Posts

    weather change as scripts ;)

    weather_class.py that starts by :

    # This file contains functions for weather
    from Ludmilla import * # Import Ludmilla namespace
    import consts as co # Import of constants
    reload(co)
    from random import * # Import random generator module
    import config as cfg # Import of configuration constants
    reload(cfg)
    from time import localtime #more how work with time 6.10 time -- Time access and conversions

    imported from consts.py
    #weather
    WEATHER_TYPE_NORMAL = 0
    WEATHER_TYPE_RAIN = 1
    WEATHER_TYPE_SNOW = 2
    WEATHER_TYPE_SNOWSTORM = 3

    #weatherAmount
    WEATHER_AMOUNT_NULL = 0
    WEATHER_AMOUNT_NORMAL_RAIN = 0.35
    WEATHER_AMOUNT_STRONG_RAIN = 0.5
    WEATHER_AMOUNT_FOG = 0.2
    WEATHER_AMOUNT_NORMAL_SNOW = 0.5
    WEATHER_AMOUNT_NORMAL_SNOWSTORM = 0.4

    #weatherSound
    WEATHER_SOUND_RAIN_LIGHT = 8533
    WEATHER_SOUND_RAIN_MEDIUM = 8534
    WEATHER_SOUND_RAIN_HEAVY = 8535
    WEATHER_SOUND_SNOW_LIGHT = 8536
    WEATHER_SOUND_SNOW_MEDIUM = 8537
    WEATHER_SOUND_SNOW_HEAVY = 8538
    WEATHER_SOUND_SANDSTORM_LIGHT = 8556
    WEATHER_SOUND_SANDSTORM_MEDIUM = 8557
    WEATHER_SOUND_SANDSTORM_HEAVY = 8558

    imported from config.py
    # ######################################
    # Enable / Disable this Module (FALSE / TRUE)
    ENABLE_AUTO_WEATHER = TRUE
    WEATHER_CAST_CHANCE = 75 # %
    WEATHER_CAST_STRONG_CHANCE = 45 # %
    # ######################################

    now i don t know why the weather don t change .... perhaps the time
    , you should try to set the value to FALSE if you want your zone to stay ...

    if someone have some working explanations on this that could be great :drinks_no

  3. #3
    Novice DarkTorizo is offline
    MemberRank
    Oct 2006 Join Date
    2Posts

    RE:Weather Change as Scripts

    Thank you for the reply, I changed the script you mentioned to disable, then restarted SQL, logged in to the Server via WoW Client all sun. Logged out, re-enabled the weather, restarted SQL and Logged back in, storm again for about a minute... then it faded to clear skies and Sun. Is the "Weather" timed somewhere in the DB?

    Either way, it is fixed and "Normal" again. Thank you for your help Zarwac.



Advertisement