Season Resetting #105

  • New
  • Defect
Assigned to _ForgeUser7458855
  • _ForgeUser9031755 created this issue Jun 18, 2013

    Is the problem reproducible ? If yes, please describe how
    1. Yes, just restart a server (the proper way) and use /server get

    What's the problem ? What should be ?

    The problem seems to be that the seasons are resetting to their beginning. For example, if I'm on the 7th day of summer and and restart the server, /season get will say it's the first day of Summer again.

    What version of Seasons,Craftbukkit, (ProtocolLib) do you use ?

    All the latest for 1.5.2

    Do you have an error log ? If yes, please provide it

    2013-06-18 13:57:19 [INFO] Starting Minecraft server on *:25565
    2013-06-18 13:57:19 [INFO] This server is running CraftBukkit version git-Bukkit-1.5.2-R1.0-b2788jnks (MC: 1.5.2) (Implementing API version 1.5.2-R1.0)
    2013-06-18 13:57:19 [INFO] [ReallySimpleHome] Loading ReallySimpleHome v1.0
    2013-06-18 13:57:19 [INFO] [ProtocolLib] Loading ProtocolLib v2.4.3
    2013-06-18 13:57:19 [INFO] [HungerPlusPlus] Loading HungerPlusPlus v0.4a
    2013-06-18 13:57:19 [INFO] [Seasons] Loading Seasons v2.0.3
    2013-06-18 13:57:19 [INFO] [SeasonsPlusPlus] Loading SeasonsPlusPlus v1.3.6
    2013-06-18 13:57:19 [INFO] [ProtocolLib] Enabling ProtocolLib v2.4.3
    2013-06-18 13:57:19 [INFO] [ProtocolLib] Started structure compiler thread.
    2013-06-18 13:57:19 [WARNING] The server will make no attempt to authenticate usernames. Beware.
    2013-06-18 13:57:19 [WARNING] While this makes the game possible to play without internet access, it also opens up the ability for hackers to connect with any username they choose.
    2013-06-18 13:57:19 [WARNING] To change this, set "online-mode" to "true" in the file.
    2013-06-18 13:57:19 [INFO] Preparing level "world"
    2013-06-18 13:57:19 [INFO] Preparing start region for level 0 (Seed: -6238644989771494280)
    2013-06-18 13:57:20 [INFO] Preparing start region for level 1 (Seed: 1356389217436542775)
    2013-06-18 13:57:20 [INFO] Preparing start region for level 2 (Seed: 1356389217436542775)
    2013-06-18 13:57:20 [INFO] [ReallySimpleHome] Enabling ReallySimpleHome v1.0
    2013-06-18 13:57:20 [INFO] [HungerPlusPlus] Enabling HungerPlusPlus v0.4a
    2013-06-18 13:57:20 [INFO] [HungerPlusPlus] 0.4a enabled!
    2013-06-18 13:57:20 [INFO] [Seasons] Enabling Seasons v2.0.3
    2013-06-18 13:57:20 [INFO] [Seasons] Permission plugin not detected, defaulting to OP or in-built Permissions System.
    2013-06-18 13:57:20 [INFO] [Seasons] Loaded 2 seasons for world.
    2013-06-18 13:57:20 [INFO] [Seasons] Properties loaded for world , active : true
    2013-06-18 13:57:21 [INFO] [Seasons] [DEBUG][world] DEBUG Mode ON.
    2013-06-18 13:57:21 [INFO] [Seasons] [DEBUG][world] Save found, Seasons : 0.0, SeasonTime : 9.92, WeatherTime : 0.42
    2013-06-18 13:57:21 [INFO] [Seasons] [DEBUG][world] 0 signs loaded.
    2013-06-18 13:57:21 [INFO] [Seasons] [DEBUG][world] Weather Random Number on Weather Changes : 62
    2013-06-18 13:57:21 [INFO] [Seasons] [DEBUG][world] State changed on Snow Manager : REMOVE : 1.0
    2013-06-18 13:57:21 [INFO] [Seasons] [DEBUG][world] Snow Manager start, speed=31.
    2013-06-18 13:57:21 [INFO] [Seasons] [DEBUG][world] Weather turns to SUN
    2013-06-18 13:57:21 [INFO] [Seasons] [DEBUG][world] Period changes to DAY : 1 every 1
    2013-06-18 13:57:21 [INFO] [Seasons] [DEBUG][world] Snow Manager stop.
    2013-06-18 13:57:21 [INFO] [Seasons] [DEBUG][world] State changed on Snow Manager : REMOVE : 1.0
    2013-06-18 13:57:21 [INFO] [Seasons] [DEBUG][world] Snow Manager start, speed=31.
    2013-06-18 13:57:21 [INFO] [Seasons] ProtocolLib has been detected and hooked.
    2013-06-18 13:57:21 [INFO] [Seasons] Starting sending data to Metrics Servers each 10 minutes. To disable it, just set opt-out to true in PluginMetrics/config.yml
    2013-06-18 13:57:21 [INFO] [Seasons] Seasons Plugin, by Rominos2, version 2.0.3, is enabled.
    2013-06-18 13:57:21 [INFO] [SeasonsPlusPlus] Enabling SeasonsPlusPlus v1.3.6
    2013-06-18 13:57:21 [INFO] [SeasonsPlusPlus] [HardWeather] Hooked into 2 seasons in world.
    2013-06-18 13:57:21 [INFO] [SeasonsPlusPlus] [PlantGrow] Hooked into 2 seasons in world.
    2013-06-18 13:57:21 [INFO] [SeasonsPlusPlus] Plugin Seasons++, by Rominos2, version 1.3.6, is enabled.
    2013-06-18 13:57:21 [INFO] Server permissions file permissions.yml is empty, ignoring it
    2013-06-18 13:57:21 [INFO] Done (1.207s)! For help, type "help" or "?"
    2013-06-18 13:57:21 [INFO] [Seasons] [Seasons][DEBUG] Metrics Server response : OK This is your first update this hour.
    2013-06-18 13:57:32 [INFO] You're in Summer for another 9.99 days.
    2013-06-18 13:57:32 [INFO] It's First Day of Summer.
    2013-06-18 13:58:01 [INFO] CONSOLE: Stopping the server..
    2013-06-18 13:58:01 [INFO] Stopping server
    2013-06-18 13:58:01 [INFO] [SeasonsPlusPlus] Disabling SeasonsPlusPlus v1.3.6
    2013-06-18 13:58:01 [INFO] [SeasonsPlusPlus] Plugin Seasons++, by Rominos2, version 1.3.6, is disabled.
    2013-06-18 13:58:01 [INFO] [Seasons] Disabling Seasons v2.0.3
    2013-06-18 13:58:01 [INFO] [Seasons] [DEBUG][world] 0 Signs Saved.
    2013-06-18 13:58:01 [INFO] [Seasons] [DEBUG][world] Snow Manager stop.
    2013-06-18 13:58:01 [INFO] [Seasons] Seasons Plugin, by Rominos2, version 2.0.3, is disabled.
    2013-06-18 13:58:01 [INFO] [HungerPlusPlus] Disabling HungerPlusPlus v0.4a
    2013-06-18 13:58:01 [INFO] [ProtocolLib] Disabling ProtocolLib v2.4.3
    2013-06-18 13:58:01 [INFO] [ReallySimpleHome] Disabling ReallySimpleHome v1.0
    2013-06-18 13:58:01 [INFO] Saving players
    2013-06-18 13:58:01 [WARNING] DSCT: socket closed
    2013-06-18 13:58:01 [INFO] Saving worlds
    2013-06-18 13:58:01 [INFO] Closing listening thread
    2013-06-18 13:58:01 [INFO] Saving chunks for level 'world'/Overworld
    2013-06-18 13:58:01 [INFO] Saving chunks for level 'world_nether'/Nether
    2013-06-18 13:58:01 [INFO] Saving chunks for level 'world_the_end'/The End

    Please provide the seasons config.

          Textures: ''
          Snow: 0
        ShortName: summer
          Season: 10.0
          Weather: 0.5
          Sun: 70
          Rain: 20
          Thunder: 10
          '1': First Day of Summer
          '10': Last Day of Summer
          Place: 0
          Remove: 1
          Day: 14000
          Night: 10000
          Textures: ''
          Snow: 100
        ShortName: winter
          Season: 30.0
          Weather: 0.5
          Sun: 30
          Rain: 70
          Thunder: 0
          '1': First Day of Winter
          '15': Mid Winter
          '30': Last Day of Winter
          Place: 1
          Remove: 0
          Day: 14000
          Night: 10000
      Active: true
      LogInfo: true
        Precision: 0.01
        TimeCheck: 20
        Snow: true
        Ice: true
        Color: b
        NotActive: Seasons are not active in this world.
        - <name>
        - <day>/<length>
        - <specialDay>
          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
          MAGIC: k
          BOLD: l
          STRIKETHROUGH: m
          UNDERLINE: n
          ITALIC: o
          RESET: r
      Debug: true

    Any more informations ?

    I'm not 100% sure if this is just /season get being buggy or if it's actually not changing the season. After some testing that *seems* to be the problem, as the debug shows the correct times passing.

  • _ForgeUser9031755 added the tags New Defect Jun 18, 2013
  • _ForgeUser9031755 posted a comment Jun 20, 2013

    After several more tests, it does seem to be resetting. The odd thing, though, is that it's not consistent; it seems to happen at random.

  • _ForgeUser9031755 posted a comment Jun 21, 2013

    Here are the tests I did.

    1. Spawn the world. Did NOT change the seasons, so it started in winter. Left the server running until there was 29.74 days left in winter. /season get reported this as well as the Save file both before and after stopping the server.

    2. Stopped the server, and then restarted. Checked the debug log via the console, and days left in winter when the server loaded was reported correctly. The save file reported the correct time as well. /season get did NOT report the correct time, however. After issuing /season get ,stopped the server, and the Save file had changed to the new, incorrect time.

    3. Deleted Save file as well as the map for a fresh restart. Allowed the server to run for a full day (24000) with no stops. Throughout the entire day, /season get (the Save file was empty) reported the correct time. After about 2 full days of running I stopped the server, and /season get still reported the correct time and the Save file did as well.

    My only guess is that the plugin is ignoring the Save file. It reads it, as the debug log seems to show, but then overwrites it.

    Edited Jun 21, 2013
  • _ForgeUser9031755 posted a comment Jun 25, 2013

    Just had a friend test this, he was able to cause the bug with ease.

To post a comment, please login or register a new account.