World could not be reset and can´t open chests #84


  • Defect
  • Accepted
Open
Assigned to _ForgeUser11893906
  • _ForgeUser9424736 created this issue Oct 27, 2013

    Hello,
    I have a big problem. Every time, the SurvivalGames ends, the arena will be reset, but I get this error in my Console:

    2013-10-27 09:25:28 [INFO] [SurvivalGames] Resetting game...
    2013-10-27 09:25:28 [INFO] [SurvivalGames] Unloading world 'Vareide - SurvivalGames 1'... (Vareide_SG1)
    2013-10-27 09:25:28 [INFO] [SurvivalGames]     Unloading chunks...
    2013-10-27 09:25:28 [INFO] [SurvivalGames]     441 chunks unloaded.
    2013-10-27 09:25:28 [INFO] [Multiverse-Core] World 'Vareide_SG1' was unloaded from memory.
    2013-10-27 09:25:28 [INFO] [SurvivalGames] World 'Vareide - SurvivalGames 1' unloaded. (Vareide_SG1)
    2013-10-27 09:25:28 [INFO] [SurvivalGames]     Extracting world region zip 'Vareide_SG1/region.zip'...
    2013-10-27 09:25:28 [INFO] [SurvivalGames] Unable to unzip world region zip! (Vareide_SG1/region.zip)
    2013-10-27 09:25:28 [SEVERE] java.io.IOException: Unable to delete file: Vareide_SG1\region\r.-12.-3.mca
    2013-10-27 09:25:28 [SEVERE]     at org.apache.commons.io.FileUtils.forceDelete(FileUtils.java:2279)
    2013-10-27 09:25:28 [SEVERE]     at org.apache.commons.io.FileUtils.cleanDirectory(FileUtils.java:1653)
    2013-10-27 09:25:28 [SEVERE]     at org.apache.commons.io.FileUtils.deleteDirectory(FileUtils.java:1535)
    2013-10-27 09:25:28 [SEVERE]     at net.shockverse.survivalgames.ArenaManager.extractWorldZips(ArenaManager.java:1023)
    2013-10-27 09:25:28 [SEVERE]     at net.shockverse.survivalgames.ArenaManager$2$1.run(ArenaManager.java:919)
    2013-10-27 09:25:28 [SEVERE]     at net.shockverse.survivalgames.extras.GameTask$1.run(GameTask.java:55)
    2013-10-27 09:25:28 [SEVERE]     at org.bukkit.craftbukkit.v1_6_R3.scheduler.CraftTask.run(CraftTask.java:58)
    2013-10-27 09:25:28 [SEVERE]     at org.bukkit.craftbukkit.v1_6_R3.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:345)
    2013-10-27 09:25:28 [SEVERE]     at net.minecraft.server.v1_6_R3.MinecraftServer.t(MinecraftServer.java:520)
    2013-10-27 09:25:28 [SEVERE]     at net.minecraft.server.v1_6_R3.DedicatedServer.t(DedicatedServer.java:240)
    2013-10-27 09:25:28 [SEVERE]     at net.minecraft.server.v1_6_R3.MinecraftServer.s(MinecraftServer.java:483)
    2013-10-27 09:25:28 [SEVERE]     at net.minecraft.server.v1_6_R3.MinecraftServer.run(MinecraftServer.java:415)
    2013-10-27 09:25:28 [SEVERE]     at net.minecraft.server.v1_6_R3.ThreadServerApplication.run(SourceFile:583)
    2013-10-27 09:25:28 [INFO] [SurvivalGames]     Extracting world level zip 'Vareide_SG1/level.dat.zip'...
    2013-10-27 09:25:28 [INFO] [SurvivalGames]         Existing world level file deleted.
    2013-10-27 09:25:29 [INFO] [SurvivalGames]         Finished extracting world level zip 'Vareide_SG1/level.dat.zip' in 18ms.
    2013-10-27 09:25:29 [INFO] [SurvivalGames] Loading world 'Vareide_SG1'...

    Every Time the world will break and I must copy the worldfiles manually. An other Problem is, that I can´t open any Chests.
    Can you fix that, please?

    OS: Windows Server 2008 R2 Standard 64-Bit
    Spigot: #1132
    McMyAdmin: 2.4.8.4
    Survival Games X: 1.0.6-Beta1

  • _ForgeUser9424736 added the tags New Defect Oct 27, 2013
  • _ForgeUser9424736 posted a comment Oct 27, 2013

    It´s a bit strange, because i works fine on a Linux Server but not on a Windows Server. If I install Version 1.0.5 on my Windows Server it works fine.


    Edited Oct 27, 2013
  • _ForgeUser7441457 posted a comment Oct 30, 2013

    You need to setup rewards in the rewards.cfg file. More info on the wiki.

    The files must be locked by the server for a bit longer on windows. I'll look into it.

  • _ForgeUser7441457 removed a tag New Oct 30, 2013
  • _ForgeUser7441457 added a tag Accepted Oct 30, 2013
  • _ForgeUser9424736 posted a comment Nov 6, 2013

    Hey,

    I updated Spigot to Build #1136 and SurvivalGames X to 1.0.6-Alpha1 and I always gets this error: http://pastebin.com/xb4dPdTL

    Can you help me to fix that problem, please?

    Next to McMyAdmin (this Gameserver) are only BungeeCord, XAMPP and Windows Security Essentials running.

  • _ForgeUser9424736 posted a comment Nov 6, 2013

    I think, you can fix that Problem, if you remove the worldreset and make that with schematic files, so that the world must not be unloaded. You can add a line into the config to disable the worldreset and the block damage by players.. This can be a temporary fix. The worlds will be destroyed, when SurvivalGames X create this error.

  • _ForgeUser9424736 posted a comment Nov 7, 2013

    I have an Idea, what creates that error. I tested it again on my computer and there it works fine. Only on my dedicated Server it doesn´t work. When the HungerGames ends and the Server teleport me to lobby, the world will be reset directly. You can try to add a cooldown between the Teleporting/worldunloader and worldreset. It can be a problem, that my Server have a very good cpu and much ram so that the worldreset is faster than the worldunloader, so that windows always lock the worldfiles. It´s only a theory.

  • _ForgeUser9424736 posted a comment Nov 30, 2013

    Now I gets the same error on a linux server.


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