[MECH/MISC] Seasons - Snow Snow Snow Edition. I can see it ! [1.5.2]

Discussion in 'Archived: Plugin Releases' started by rominos2, Apr 29, 2011.

  1. Offline

    rominos2

    Seasons - The Great Weather Plugin
    Version: v2.0.3 (Snow Snow Snow Edition)

    This plugin is now on BukkitDev
    Still want more ?
    Take a look at the SeasonsPlusPlus plugin on BukkitDev
    Metrics Stats (Thanks to you) :​
    [​IMG]
    Old Thread
    Old Thread


    Add differents seasons to your server.
    Change the duration of Seasons using the in-game time in days
    Each season has its own weather probability and its own duration
    Just put the Jar in yout plugin Folder and let's go !
    Using Spout (optional), you can put only snow on snowSeasons (configurable)

    Features:
    • Add as many seasons you want with properties
    • Insert special Days that will be anounced
    • Change the duration of each season and of each weather
    • Save your current season when you stop the server or disable the plugin
    • Change season and weather in live with commands
    • Able to stop Snow and Ice Regen
    • Added to Minecraft UpToDate
    • You can set Textures packs for each seasons with Spout (optional)
    Download Links :
    Seasons v1.6.2


    An Explaining Video by Specops343 (Version 1.1) (Outdated):


    Thanks to him for this great Video

    Commands & Permissions :
    Commands & Permissions (open)

    Commands :
    For Players :
    • /season - See the current season and the remaining days
    • /setseason [shortname] - Change the current season (Permissions)
    • /sweather [sun|rain|thunder] - Change the current weather (Permissions)
    For Console :
    • /season [world] - See the current season and the remaining days
    • /setseason [world] [shortname] - Change the current season (Permissions)
    • /sweather [world] [sun|rain|thunder] - Change the current weather (Permissions)
    Permissions :
    • /sweather : seasons.weather
    • /setseason : seasons.change
    • Prevent texture changes : seasons.textures.exempt


    TODO :
    • World Edit Region Optional Limit for a season
    Known Issues :
    • Have NullPointerException on nonSpout clients on snow season
    Changelog:
    Version 1.6.2 (04-09-2011)
    • Add a snow config on Seasons to put only snow when raining (Spout)
    • Big code cleaning to avoid NullPointerException errors
    Changelog (open)

    Version 1.6.1 (02-09-2011)
    • Add a permission node seasons.textures.exempt to prevent texture changes
    Version 1.6 - Spout Edition(02-09-2011)
    • Add in-build Permissions system support
    • Fix the NullPointerException when no SpecialDays
    • Add Spout support with a texture pack for each seasons (optional)
    Version 1.5.2(22-08-2011)
    • Add Ice Regen config
    • Fix the problem with restarting from begenning
    • Updated to 1060 (new methods)
    • A bit of code cleaning
    Version 1.5.1(21-07-2011)
    • OutOfBounds Error has been banished to another universe for good
    Version 1.5 - Mighty Yaml(20-07-2011)
    • Properties and Seasons Properties now in ONE .yml config
    • Save of seasons are now in ONE .do-noy-touch file
    • Properties are not loading for Nether worlds (set active to false, color to Aqua and Log to true)
    • Should really fix the load of special Worlds
    • Add of shortnames for each season
    • Change /setseason [number] to /setseason [shortname]
    • Beginning of Version's Name because Edition named are a lot funnier ^^
    Version 1.4.2(03-07-2011)
    • Correcting the OutOfBounds errors with special worlds
    Version 1.4.1(27-06-2011)
    • Fix a scheduler issues when disabling Seasons
    Version 1.4(16-06-2011)
    • Add Snow Regen control
    Version 1.3.5(13-06-2011)
    • Fix the OutOfBounds error (because of blank lines)
    • You can now add blank lines to your .seasons files
    Version 1.3.4(03-06-2011)
    • Fixing the console use command by adding an beautiful message
    • Should Fix the GetDayListener Error on Weather_Change
    Version 1.3.3(02-06-2011)
    • Fix a bug with double numbers
    Version 1.3.2(01-06-2011)
    • Compiled for build 818
    • Fix another bug in /season on special Day (shouldn't be another bug on it ^^)
    Version 1.3.1(27-05-2011)
    • Fix a bug in /season on a special Day
    Version 1.3(26-05-2011)
    • Agin Try to fix the Double displays
    • Add a different SeasonLenght and MeteoLength for each Season
    • Suppression of the SeasonTime and MeteoTime
    • Add a configurable Resolution
    Version 1.2.4(22-05-2011)
    • Fixing the LoadSave Error
    Version 1.2.3(18-05-2011 too)
    • Correct /setseason because it's wasn't doing what it should do ^^
    • Modify /weather -> /sweather because of conflict between plugins
    Version 1.2.2(18-05-2011)
    • /season return one number after the comma
    • No more /rain /thunder /storm --> Now /weather [sun|rain|thunder]
    • Log options in the configs to active a log on Seasons Change and players' commands
    Version 1.2.1(12-05-2011)
    • Fix the Nag Author Error of the build 766
    Version 1.2(07-05-2011)
    • MultiWorld Support with possibility to not active seasons
    • Time Resolution to 0.1
    • Command to change Season (Permissions)
    • Configurable texts to display
    Version 1.1(02-05-2011)
    • Time Support now in-game with days
    • Names for seasons
    • /seasons to see the current seasons and the number of remaining days
    • Permissions support for the two next commands
    • /rain or /storm to force weather to rain
    • /thunder to force rain and lightning
    • Display the Seasons Changes
    Version 1.0(20-04-2011)
    • Release of this awesome plugin with a lot of enjoyable features !


     
  2. Offline

    rominos2

    @Hoshpak
    1. Are you sure that's flowing water ?
    Flowing water is not tuned into ice
    2.Yes that's quite a Vanilla Bug. I'm trying t find a way

    BTW Hope you like the SnowManager
     
  3. Offline

    Hoshpak

    The issue was first reported by another player on my server but I was now also able to reproduce it myself. I placed a single block of water on a few blocks of dirt basically creating a water column. When the winter started the water block on the top itself was turned into an ice block but also all the water flowing away from the block was turned into ice blocks. When the ice blocks were removed in spring, all the blocks turned into water blocks thus creating a flood of what originally was only a single water block. I also made some screen shots of the scenario which I can send you if it helps.
     
  4. Offline

    rominos2

    @Hoshpak
    Ok Will see that

    BTW the 1.8.1 will come soon
    with a lot of API things for Dev
    and more...
     
  5. Offline

    Form84

    Hi there romino,

    Lemme first say, awesome work.

    I am having a small issue on mine that I was hoping could be looked into.
    I have spout installed on the server and client, and latest recommended bukkit build and 1.8 seasons. All of them load with no problems.
    When I set the weather to rain in winter, it shows snow. Which is what I want. Unfortunately, when I set it to rain in spring, it shows snow, which is not what I want. Also, in all seasons, when its "snowing" there are water droplets on the ground and the sound of rainfall. This is also the case when its doing thunderstorms aswell.
    So basically, looks like the rain has been replaced by snow, but the droplets/sound effects are still the same as the rain in all seasons.

    Snowmanager and all of those work perfectly as well. Just the graphics and sound for the actual rain and snow.

    Hope that helps, thanks,
    Form.

    here is a copy of my world.yml

    Seasons:
    Summer:
    Spout:
    Textures: ''
    Snow: 0
    Notification:
    Material:
    Season: SAPLING
    SpecialDay: DIAMOND
    ShortName: summer
    Lengths:
    Season: 5.0
    Weather: 0.5
    Percentages:
    Sun: 70
    Rain: 15
    Thunder: 5
    SpecialDays:
    '1': First Day of Summer
    '10': Last Day of Summer
    SnowManagerSpeed:
    Place: 0
    Remove: 0.7
    Spring:
    Spout:
    Textures: ''
    Snow: 0
    Notification:
    Material:
    Season: SAPLING
    SpecialDay: DIAMOND
    ShortName: spring
    Lengths:
    Season: 5.0
    Weather: 0.5
    Percentages:
    Sun: 40
    Rain: 30
    Thunder: 20
    SpecialDays:
    '1': First Day of Spring
    '5': Last Day of Spring
    SnowManagerSpeed:
    Place: 0
    Remove: 0.3
    Winter:
    Spout:
    Textures: ''
    Snow: 100
    Notification:
    Material:
    Season: DEAD_BUSH
    SpecialDay: DIAMOND
    ShortName: winter
    Lengths:
    Season: 5.0
    Weather: 0.5
    Percentages:
    Sun: 20
    Rain: 50
    Thunder: 10
    SpecialDays:
    '1': First Day of Winter
    '3': Mid Winter
    '5': Last Day of Winter
    SnowManagerSpeed:
    Place: 0.5
    Remove: 0
     
  6. Offline

    rominos2

    @Form84 for the snow on rain yes that's an issue and will be fixed in the next release that should arrive soon.

    For the snow dropplets that's a spout issue and they that have been fixed in the mast dev builds
     
  7. Offline

    rominos2

    ---- API Release for 1.8.1 ----

    The Seasons Dev API is now released with sources and doc inside
    Just have fun with it

    It can be used with Seasons 1.8.1 that's almost complete (but i'm very busy these times)
     
  8. Offline

    rominos2

    Release of the version 1.8.1

    Now a lot of fix, some changes in configs And Time Management add
    Also THE Big SeasonsAPI
    Coming soon : a plugin the allow or forbid Type of Mobs in Seasons (just the time of releasing it, it's already done)
    Have Fun !
     
  9. Offline

    ipaqmaster

    In 1.1 it appears the plugin makes snow and ice globally during snowing.

    Oh I love your plugins o.o
     
  10. Offline

    rominos2

    ipaqmaster

    Snow and Ice globally ?
    More details ?
     
  11. Offline

    ipaqmaster

    Hmm. prehaps its not intentional.

    Most of my server (reguardless of biome) Gets covered in snow when it rains now.

    Also some (Client code vs Server code) for example...
    -sometimes the rain sprites fall but no noise and snow forms. (server thinks its snowing)
    -OR, they do have noise and snow still falls.
     
  12. Offline

    rominos2

    ipaqmaster

    Snow is due the SnowManager, juste read a bit what that plugin does
    Rain sprites on Snow is due to a Spout issue
     
  13. Offline

    ipaqmaster

    Yes I read about that a little, Seemed interesting.
    I didn't understand the raining on spout so thanks.
     
  14. Offline

    ToxicKilla

    Hey, I tried running this on my server, I finally got the snow values right so that no lag occured, by even in mid summer where no snow is melting/falling we're all getting horrible lag spikes and the server crashes every 5 minutes, could this be something to do with using the Bukkit dev build for 1.1?
     
  15. Offline

    rominos2

    ToxicKilla
    Don't know
    What is the Seasons version you use ?
    Your configs ?
     
    bellardie likes this.
  16. Offline

    ToxicKilla

    rominos2
    I think I'm using Seasons 1.8.1, or 1.8.0, I know it's the Christmas Edition. Here's my config file:
    Code:
    Seasons:
      Spring:
        Spout:
          Textures: ''
          Snow: 0
          Notification:
            Material:
              Season: ROSE
              SpecialDay: DIAMOND
        ShortName: spring
        Lengths:
          Season: 30.0
          Weather: 0.25
        Percentages:
          Sun: 60
          Rain: 20
          Thunder: 20
        SpecialDays:
          '1': First Day of Spring
          '15': Mid Spring
          '29': Last Day of Spring
        SnowManagerSpeed:
          Place: 0
          Remove: 0.1
        Time:
          Day: 14000
          Night: 10000
      Summer:
        Spout:
          Textures: ''
          Snow: 0
          Notification:
            Material:
              Season: SAPLING
              SpecialDay: DIAMOND
        ShortName: summer
        Lengths:
          Season: 32.0
          Weather: 0.25
        Percentages:
          Sun: 93
          Rain: 5
          Thunder: 2
        SpecialDays:
          '1': First Day of Summer
          '16': Mid Summer
          '31': Last Day of Summer
        SnowManagerSpeed:
          Place: 0
          Remove: 0.6
        Time:
          Day: 14000
          Night: 10000
      Autumn:
        Spout:
          Textures: ''
          Snow: 5
          Notification:
            Material:
              Season: PUMPKIN
              SpecialDay: DIAMOND
        ShortName: autumn
        Lengths:
          Season: 30.0
          Weather: 0.25
        Percentages:
          Sun: 40
          Rain: 55
          Thunder: 5
        SpecialDays:
          '1': First Day of Autumn
          '15': Mid Autumn
          '29': Last Day of Autumn
        SnowManagerSpeed:
          Place: 0.01
          Remove: 0
        Time:
          Day: 14000
          Night: 10000
      Winter:
        Spout:
          Textures: ''
          Snow: 80
          Notification:
            Material:
              Season: DEAD_BUSH
              SpecialDay: DIAMOND
        ShortName: winter
        Lengths:
          Season: 30.0
          Weather: 0.25
        Percentages:
          Sun: 40
          Rain: 60
          Thunder: 0
        SpecialDays:
          '1': First Day of Winter
          '15': Mid Winter
          '17': Christmas Eve
          '18': CHRISTMAS
          '29': Last Day of Winter
        SnowManagerSpeed:
          Place: 0.25
          Remove: 0
        Time:
          Day: 14000
          Night: 10000
    Properties:
      Active: true
      LogInfo: true
      Resolution:
        Precision: 0.01
        TimeCheck: 20
      Regen:
        Snow: true
        Ice: true
      Messages:
        ChangeMessage: Seasons changes to <name>.
        SeasonsMessage: You're in <name> for another <number> days.
        SpecialDayMessage: It's <name>.
        Spout:
          Notification:
            Season: New Season
            SpecialDay: Special Day
        Color: §b
        Sign:
        - <name>
        - <day>/<length>
        - <specialDay>
        ColorList:
          BLACK: §0
          DARK_BLUE: §1
          DARK_GREEN: §2
          DARK_AQUA: §3
          DARK_RED: §4
          DARK_PURPLE: §5
          GOLD: §6
          GRAY: §7
          DARK_GRAY: §8
          BLUE: §9
          GREEN: §a
          AQUA: §b
          RED: §c
          LIGHT_PURPLE: §d
          YELLOW: §e
          WHITE: §f
      Debug: false
    Edit:
    My server log usually gets spammed with those "Can't keep up! Did the system time change or is the server overloaded?" messages, even though no snow is falling or melting and not many people are in the server. The server is run on my PC, although I have a 6 core processer, 8 gb RAM and 2 GTX560's, and without seasons it works like a charm and nobody lags what so ever, the server has also never crashed before without provacation, E.G spawning a hundred million cows.
     
  17. Offline

    rominos2

    ToxicKilla
    Don't know where is the problem
    On wich weather does it lag ?
     
    bellardie likes this.
  18. Offline

    ToxicKilla

    rominos2
    Middle of the summer, sun shining when it started lagging and crashing, no snow was melting/falling, it now lags and crashes all year round. :/
     
  19. Offline

    rominos2

    ToxicKilla
    On Summer, viewing your configs, in a sunny weather, the ice melts.
    Please test the lag with LagMeter
     
    bellardie likes this.
  20. Offline

    ToxicKilla

    Aye but the snow has all melted already in Spring, I've managed to reduce the lag spikes to be very occasional, but the server still crashes, usually when somebody leaves or joins.
    I'll try the lag meter and get back to you with the resuly.

    Edit:
    Without Seasons I get 20.0 TPS and 90% memory free.
    With Seasons, mid summer, no snow falling or melting I get 20.0TPS and 87% memory free.
    With Seasons on and snow falling I get 20.0TPS and 81 to 84% memory free, I get the same when it's melting too.
    I did these tests with only me in the server, but I kept teleporting to homes set around the map to force a lot of the world to be loaded at once, these results seem quite good to me.
    And yet still it crashes every half an hour or so...

    I'll see if I can do a test with people in the server later today.

    Edit2:
    I just got this in my server log, the server didn't crash but I'm sure this isn't supposed to happen. I set the season to Autumn, which has a snow fall value of 0.01 and this came up:
    Code:
    10:35 AM [SEVERE] Exception in thread "Thread-3641"
    10:35 AM [SEVERE] java.lang.ArithmeticException: / by zero
    10:35 AM [SEVERE] at org.rominos2.Seasons.Managers.SnowManager.TaskAdderThread.run(TaskAdderThread.java:39)
    10:35 AM [SEVERE] Exception in thread "Thread-2021"
    10:35 AM [SEVERE] java.lang.ArithmeticException: / by zero
    10:35 AM [SEVERE] at org.rominos2.Seasons.Managers.SnowManager.TaskAdderThread.run(TaskAdderThread.java:39)
    10:35 AM [SEVERE] Exception in thread "Thread-42"
    10:35 AM [SEVERE] java.lang.ArithmeticException: / by zero
    10:35 AM [SEVERE] at org.rominos2.Seasons.Managers.SnowManager.TaskAdderThread.run(TaskAdderThread.java:39)
    10:35 AM [SEVERE] Exception in thread "Thread-704"
    10:35 AM [SEVERE] java.lang.ArithmeticException: / by zero
    10:35 AM [SEVERE] at org.rominos2.Seasons.Managers.SnowManager.TaskAdderThread.run(TaskAdderThread.java:39) 
    Any ideas?

    Edit3:
    More errors, exactly 10 mins after the last, during spring this time as snow is melting:
    Code:
    10:45 AM [SEVERE] Exception in thread "Thread-6064"
    10:45 AM [SEVERE] java.lang.ArithmeticException: / by zero
    10:45 AM [SEVERE] at org.rominos2.Seasons.Managers.SnowManager.TaskAdderThread.run(TaskAdderThread.java:39) 
    It hasn't crashed yet, but that's probably because nobody else is on yet.
     
  21. Offline

    rominos2

    ToxicKilla
    The 20TPS means that the server doesn't lag at all.
    By the way, it must be a client lag
    The /0 errors can be fixed
    I'll say that to the new Developer of the SnowManager (will be extracted thanks to the new API)
     
    bellardie likes this.
  22. Offline

    ToxicKilla

    rominos2
    Just tried it with 4 players online, middle of the summer, no snow falling or melting and I got 14 TPS and 72% memory free. Server log got spammed with cant keep up messages, I didn't even try it with snow because I knew it'd probably just crash it. I am le confused. With the plugin disabled we're all getting 20 TPS again, I don't get it, no snow is falling or melting yet we lag.
     
  23. Offline

    rominos2

    ToxicKilla

    The fix is coming in a good way
    Probably a fix release this evening

    EDIT:
    In fact, seeing the new Event System, hhmm perhaps tomorrow ^^
     
    bellardie likes this.
  24. Offline

    ToxicKilla

    rominos2
    Awesome, it best work though because I can't be without this epic plugin :D
    By the way, a fix for the crashing or the lag? Or both? Or something else?
     
  25. Offline

    rominos2

    A fix for everything in fact
    For the lag
    for the crash
    for a new command
    for the new Event System

    Perhaps in the afternoon or this evening
     
    bellardie likes this.
  26. Offline

    ToxicKilla

    rominos2
    Alright, awesome.

    Edit:
    Any progress on the update?
     
  27. Offline

    rominos2

    Release of the version 1.8.2

    Some fixes
    and a /season reload
     
    bellardie likes this.
  28. Offline

    ToxicKilla

    rominos2
    Awesome, going to try it now, fingers crossed.

    Edit: Where to download it? xD

    Edit2: Got it with the auto-updater. Doesn't work at all now, doesn't appear in the Pail GUI plugins list and the commands don't work in game.

    Edit3: You forgot to include a Plugin.YML file, it came up in the log so I had a check in the .jar file and it's not there.
     
  29. Offline

    rominos2

    ToxicKilla
    I you download the SeasonsAPI, it's NOT a plugin
    You should download Seasons v1.8.2 instead
     
    bellardie likes this.
  30. Offline

    ToxicKilla

    rominos2
    I did, I used the Pail manager thing to update my Seasons 1.8.1 to 1.8.2, but it doesn't launch because it says it's missing the Plugin.YML file. I'll try the new link you made.
     
  31. Offline

    ToxicKilla

    rominos2
    It worked for a bit, but now it crashes regularily again, here's the log:
    Code:
    05:24 PM [SEVERE] java.lang.NullPointerException
    05:24 PM [SEVERE] at net.minecraft.server.World.tickEntities(World.java:1172)
    05:24 PM [SEVERE] at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:527)
    05:24 PM [SEVERE] at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:434)
    05:24 PM [SEVERE] at net.minecraft.server.ThreadServerApplication.run(SourceFile:465)
    05:24 PM [SEVERE] Unexpected exception 
    Before that was thousands of "Can't keep up! Did the system time change or is the server overloaded?" messages, although it's all fine for the first hour or so of playing.

    Edit:
    Sorry for double post.
     

Share This Page