[INACTIVE] bShot 2.4 - autocorrects the chest/sign wipe bug by from a backup of data [1000]

Discussion in 'Inactive/Unsupported Plugins' started by codename_B, Jul 28, 2011.

  1. Offline

    codename_B

    bShot
    autocorrects the chest/sign wipe bug from a backup of data

    Code:
    System.out.println("[bShot] Be proud, be tall, bShot.");
    
    Download 2.4

    Features:
    • stores a backup of all chest and sign data in memory.
    • only operates when chunks load/unload so zero performance impact on the average server.
    • persistant data stored in chunks.hmap in the server root. DO NOT DELETE THIS FILE!
    How to use:
    • drop into plugins/
    • leave running in the background
    • don't delete chunks.hmap - this is where all the raw data is stored when you stop your server!
    Changelog:
    • 31/07/2011 - 2.2 - fixed unexpected NPE
    • 01/08/2011 - 2.3 - fixed another bout of unexpected NPE's - stupid unserializable CraftBukkit objects
    • 01/08/2011 - 2.4 - added extra anti-NPE protection and increased performance
     
  2. Offline

    codename_B

    Ah. Looks like ItemStack isn't serialisable (yay) :(
    That's another unexpected bug :(

    This will be fixed within the next 10-20 minutes
     
  3. And still this one as well :(

    Code:
    10:26:23 [SEVERE] Could not pass event CHUNK_LOAD to bShot
    java.lang.NullPointerException
            at org.bukkit.craftbukkit.inventory.CraftInventory.setContents(CraftInventory.java:45)
            at com.ubempire.bshot.ChunkSave.onChunkLoad(Bshot.java:105)
            at org.bukkit.plugin.java.JavaPluginLoader$47.execute(JavaPluginLoader.java:570)
            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:338)
            at net.minecraft.server.ChunkProviderServer.getChunkAt(ChunkProviderServer.java:90)
            at org.bukkit.craftbukkit.CraftWorld.getChunkAt(CraftWorld.java:96)
            at org.bukkit.craftbukkit.CraftWorld.getBlockAt(CraftWorld.java:64)
            at org.bukkit.craftbukkit.block.CraftBlock.getRelative(CraftBlock.java:121)
            at org.bukkit.event.block.BlockFromToEvent.getToBlock(BlockFromToEvent.java:39)
            at com.sk89q.worldguard.bukkit.WorldGuardBlockListener.onBlockFromTo(WorldGuardBlockListener.java:212)
            at org.bukkit.plugin.java.JavaPluginLoader$30.execute(JavaPluginLoader.java:448)
            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:338)
            at net.minecraft.server.BlockFlowing.a(BlockFlowing.java:134)
            at net.minecraft.server.World.j(World.java:1951)
            at net.minecraft.server.World.doTick(World.java:1723)
            at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:441)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:361)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    
    I don't mind so much, just worried this is making things worse if it leaves chunks in incorrect states...I dunno :p

    And also still:

    Code:
    10:27:16 [SEVERE] Could not pass event CHUNK_LOAD to bShot
    java.lang.NullPointerException
            at org.bukkit.craftbukkit.block.CraftSign.setLine(CraftSign.java:28)
            at com.ubempire.bshot.ChunkSave.onChunkLoad(Bshot.java:121)
            at org.bukkit.plugin.java.JavaPluginLoader$47.execute(JavaPluginLoader.java:570)
            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:338)
            at net.minecraft.server.ChunkProviderServer.getChunkAt(ChunkProviderServer.java:90)
            at org.bukkit.craftbukkit.CraftWorld.getChunkAt(CraftWorld.java:96)
            at org.bukkit.craftbukkit.CraftWorld.getBlockAt(CraftWorld.java:64)
            at org.bukkit.craftbukkit.block.CraftBlock.getRelative(CraftBlock.java:121)
            at org.bukkit.event.block.BlockFromToEvent.getToBlock(BlockFromToEvent.java:39)
            at com.sk89q.worldguard.bukkit.WorldGuardBlockListener.onBlockFromTo(WorldGuardBlockListener.java:212)
            at org.bukkit.plugin.java.JavaPluginLoader$30.execute(JavaPluginLoader.java:448)
            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:338)
            at net.minecraft.server.BlockFlowing.a(BlockFlowing.java:134)
            at net.minecraft.server.World.j(World.java:1951)
            at net.minecraft.server.World.doTick(World.java:1723)
            at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:441)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:361)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    
    Btw, can you please post plugin version to console on loading? Makes it easy to verify if I am on the correct version if needed.

    See now I get tickets like this :p

    Braxis used command: /pe new a bug in chunk loading? signs/torches popping off walls as the chunks load at X= 1924.19 Y=72 Z=1884.62

    ====

    And another different looking error:

    Code:
    10:32:38 [SEVERE] Could not pass event CHUNK_LOAD to bShot
    java.lang.NullPointerException
    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 18, 2016
  4. Offline

    codename_B

    @Joy - done, just implemented custom serialisable Objects for ItemStack.

    Don't download just yet.

    @Joy - it's ready for download now - if you delete the chunks.hmap file then all should be well after the next /reload.

    I just tested this with a chest in my server - it's now successfully serialising the itemstack data.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 18, 2016
  5. On your latest version:

    Code:
    11:50:19 [SEVERE] Could not pass event CHUNK_LOAD to bShot
    java.lang.NullPointerException
            at org.bukkit.craftbukkit.block.CraftSign.setLine(CraftSign.java:28)
            at com.ubempire.bshot.ChunkSave.onChunkLoad(Bshot.java:124)
            at org.bukkit.plugin.java.JavaPluginLoader$47.execute(JavaPluginLoader.java:570)
            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:338)
            at net.minecraft.server.ChunkProviderServer.getChunkAt(ChunkProviderServer.java:90)
            at org.bukkit.craftbukkit.CraftWorld.getChunkAt(CraftWorld.java:96)
            at org.bukkit.craftbukkit.CraftWorld.getBlockAt(CraftWorld.java:64)
            at org.bukkit.craftbukkit.block.CraftBlock.getRelative(CraftBlock.java:121)
            at org.bukkit.event.block.BlockFromToEvent.getToBlock(BlockFromToEvent.java:39)
            at com.sk89q.worldguard.bukkit.WorldGuardBlockListener.onBlockFromTo(WorldGuardBlockListener.java:212)
            at org.bukkit.plugin.java.JavaPluginLoader$30.execute(JavaPluginLoader.java:448)
            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:338)
            at net.minecraft.server.BlockFlowing.a(BlockFlowing.java:134)
            at net.minecraft.server.World.j(World.java:1951)
            at net.minecraft.server.World.doTick(World.java:1723)
            at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:441)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:361)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    
    And this one still as well :p

    Code:
    11:53:44 [SEVERE] Could not pass event CHUNK_LOAD to bShot
    java.lang.NullPointerException
            at org.bukkit.craftbukkit.inventory.CraftInventory.setContents(CraftInventory.java:45)
            at com.ubempire.bshot.ChunkSave.onChunkLoad(Bshot.java:108)
            at org.bukkit.plugin.java.JavaPluginLoader$47.execute(JavaPluginLoader.java:570)
            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:338)
            at net.minecraft.server.ChunkProviderServer.getChunkAt(ChunkProviderServer.java:90)
            at org.bukkit.craftbukkit.CraftWorld.getChunkAt(CraftWorld.java:96)
            at org.bukkit.craftbukkit.CraftWorld.getBlockAt(CraftWorld.java:64)
            at org.bukkit.craftbukkit.block.CraftBlock.getRelative(CraftBlock.java:121)
            at org.bukkit.event.block.BlockFromToEvent.getToBlock(BlockFromToEvent.java:39)
            at com.sk89q.worldguard.bukkit.WorldGuardBlockListener.onBlockFromTo(WorldGuardBlockListener.java:212)
            at org.bukkit.plugin.java.JavaPluginLoader$30.execute(JavaPluginLoader.java:448)
            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:338)
            at net.minecraft.server.BlockFlowing.a(BlockFlowing.java:134)
            at net.minecraft.server.World.j(World.java:1951)
            at net.minecraft.server.World.doTick(World.java:1723)
            at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:441)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:361)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    
    Code:
    11:55:40 [SEVERE] Could not pass event CHUNK_LOAD to bShot
    java.lang.NullPointerException
            at org.bukkit.craftbukkit.inventory.CraftInventory.setContents(CraftInventory.java:45)
            at com.ubempire.bshot.ChunkSave.onChunkLoad(Bshot.java:108)
            at org.bukkit.plugin.java.JavaPluginLoader$47.execute(JavaPluginLoader.java:570)
            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:338)
            at net.minecraft.server.ChunkProviderServer.getChunkAt(ChunkProviderServer.java:90)
            at org.bukkit.craftbukkit.CraftWorld.getChunkAt(CraftWorld.java:96)
            at org.bukkit.craftbukkit.CraftWorld.getBlockAt(CraftWorld.java:64)
            at org.bukkit.craftbukkit.block.CraftBlock.getRelative(CraftBlock.java:121)
            at org.bukkit.craftbukkit.block.CraftBlock.getRelative(CraftBlock.java:129)
            at org.bukkit.craftbukkit.block.CraftBlock.getFace(CraftBlock.java:113)
            at com.griefcraft.lwc.LWC._validateBlock(LWC.java:1531)
            at com.griefcraft.lwc.LWC._validateBlock(LWC.java:1333)
            at com.griefcraft.lwc.LWC.getProtectionSet(LWC.java:837)
            at com.griefcraft.lwc.LWC.findProtection(LWC.java:687)
            at com.griefcraft.lwc.LWC.findProtection(LWC.java:662)
            at com.griefcraft.listeners.LWCBlockListener.onBlockRedstoneChange(LWCBlockListener.java:61)
            at org.bukkit.plugin.java.JavaPluginLoader$34.execute(JavaPluginLoader.java:476)
            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:338)
            at net.minecraft.server.BlockRedstoneTorch.a(BlockRedstoneTorch.java:135)
            at net.minecraft.server.World.j(World.java:1951)
            at net.minecraft.server.World.doTick(World.java:1723)
            at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:441)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:361)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    
    People are also saying tools are repairing themselves...

    Going to disable this for now :/

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 18, 2016
  6. Offline

    Juze

  7. Offline

    Vision

    I'm using 2.3, with #1032. I've had this for a day now, so far, a user has lost his chest (cleared out).
    No signs gone.
     
  8. Offline

    codename_B

    Ah well, thanks everyone! I'll get this eventually.

    @Joy it looks like there may be a conflict with LWC - I'll look into this.

    Yeah - chests are trickier - I'm working on them (really hard, I will do my utmost to get this fixed)

    @Vision I've just updated - tested this with LWC, worldguard and chunk load/unload spamming on my server. Still no NPE's.

    Mind updating?

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 18, 2016
  9. Offline

    Vision

    I've updated to 2.4 now.

    I never had any NPE's with 2.3 though.
     
  10. Offline

    codename_B

    Well that's good to know - me either.

    @Joy - what plugins are you using? Did you delete chunks.hmap when you upgraded? (You should have)
     
  11. Offline

    DamienMine

    codename_B did it again, good work man!
     
  12. Offline

    Trollkemada

    Is it possible that durability of some tools is being loosed?
     
  13. Offline

    codename_B

    I'm storing the durability of tools in memory too, so it's impossible.
     
  14. Offline

    ledhead900

    I had the plugin Signcolors throw me an error with this I imagine its due to the way you handle the signs now. Going to test the new version.
     
  15. One minute after loading 2.4 for the first time:

    Code:
    11:30:51 [INFO] [Bshot] Error in chest at -2024,44,-2093 - something went wrong.
    11:30:51 [INFO] [Bshot] Error in chest at -2024,44,-2095 - something went wrong.
    11:30:51 [INFO] [Bshot] Error in sign at -2032,61,-2083 - something went wrong.
    11:30:51 [INFO] [Bshot] Error in chest at -2022,61,-2084 - something went wrong.
    11:30:51 [INFO] [Bshot] Error in sign at -2025,33,-2096 - something went wrong.
    11:30:51 [INFO] [Bshot] Error in chest at -2028,65,-2090 - something went wrong.
    11:30:51 [INFO] [Bshot] Error in chest at -2020,67,-2091 - something went wrong.
    11:30:51 [INFO] [Bshot] Error in chest at -2020,67,-2092 - something went wrong.
    11:30:51 [INFO] [Bshot] Error in chest at -2020,67,-2094 - something went wrong.
    11:30:51 [INFO] [Bshot] Error in sign at -2025,33,-2092 - something went wrong.
    11:30:51 [INFO] [Bshot] Error in chest at -2020,67,-2095 - something went wrong.
    11:30:51 [INFO] [Bshot] Error in chest at -2024,44,-2089 - something went wrong.
    11:30:51 [INFO] [Bshot] Error in chest at -2024,44,-2091 - something went wrong.
    11:30:51 [INFO] [Bshot] Error in sign at -2018,62,-2082 - something went wrong.
    11:30:51 [INFO] [Bshot] Error in sign at -2018,62,-2084 - something went wrong.
    11:30:51 [INFO] [Bshot] Error in sign at -2032,62,-2083 - something went wrong.
    11:30:51 [INFO] [Bshot] Error in sign at -2018,63,-2084 - something went wrong.
    11:30:51 [INFO] [Bshot] Error in chest at -2027,67,-2090 - something went wrong.
    11:30:51 [INFO] [Bshot] Error in sign at -2032,70,-2083 - something went wrong.
    11:30:51 [INFO] [Bshot] Error in chest at -2028,63,-2085 - something went wrong.
    11:30:51 [INFO] [Bshot] Error in sign at -2020,75,-2083 - something went wrong.
    11:30:51 [INFO] [Bshot] Error in chest at -2022,67,-2090 - something went wrong.
    11:30:51 [INFO] [Bshot] Error in sign at -2022,62,-2084 - something went wrong.
    11:30:51 [INFO] [Bshot] Error in chest at -2025,66,-2089 - something went wrong.
    11:30:51 [INFO] [Bshot] Error in sign at -2024,75,-2083 - something went wrong.
    11:30:51 [INFO] [Bshot] Error in chest at -2028,61,-2084 - something went wrong.
    11:30:51 [INFO] [Bshot] Error in sign at -2028,62,-2084 - something went wrong.
    11:30:51 [INFO] [Bshot] Error in chest at -2030,65,-2090 - something went wrong.
    11:30:51 [INFO] [Bshot] Error in chest at -2027,65,-2090 - something went wrong.
    11:30:51 [INFO] [Bshot] Error in sign at -2023,72,-2083 - something went wrong.
    11:30:51 [INFO] [Bshot] Error in sign at -2026,70,-2092 - something went wrong.
    11:30:51 [INFO] [Bshot] Error in sign at -2026,62,-2084 - something went wrong.
    11:30:51 [INFO] [Bshot] Error in chest at -2024,63,-2085 - something went wrong.
    11:30:51 [INFO] [Bshot] Error in chest at -2031,71,-2090 - something went wrong.
    11:30:51 [INFO] [Bshot] Error in sign at -2020,66,-2091 - something went wrong.
    11:30:51 [INFO] [Bshot] Error in sign at -2020,66,-2094 - something went wrong.
    11:30:51 [INFO] [Bshot] Error in chest at -2023,44,-2084 - something went wrong.
    11:30:51 [INFO] [Bshot] Error in chest at -2025,67,-2090 - something went wrong.
    11:30:51 [INFO] [Bshot] Error in chest at -2018,61,-2082 - something went wrong.
    11:30:51 [INFO] [Bshot] Error in sign at -2025,68,-2083 - something went wrong.
    11:30:51 [INFO] [Bshot] Error in chest at -2018,61,-2084 - something went wrong.
    11:30:51 [INFO] [Bshot] Error in chest at -2023,44,-2089 - something went wrong.
    11:30:51 [INFO] [Bshot] Error in chest at -2028,66,-2089 - something went wrong.
    11:30:51 [INFO] [Bshot] Error in chest at -2023,44,-2091 - something went wrong.
    11:30:51 [INFO] [Bshot] Error in chest at -2025,65,-2090 - something went wrong.
    11:30:51 [INFO] [Bshot] Error in chest at -2023,44,-2093 - something went wrong.
    11:30:51 [INFO] [Bshot] Error in chest at -2026,63,-2085 - something went wrong.
    11:30:51 [INFO] [Bshot] Error in chest at -2023,44,-2095 - something went wrong.
    11:30:51 [INFO] [Bshot] Error in sign at -2024,62,-2084 - something went wrong.
    11:30:51 [INFO] [Bshot] Error in sign at -2020,62,-2084 - something went wrong.
    11:30:51 [INFO] [Bshot] Error in chest at -2019,66,-2094 - something went wrong.
    11:30:51 [INFO] [Bshot] Error in chest at -2026,61,-2084 - something went wrong.
    11:30:51 [INFO] [Bshot] Error in chest at -2019,66,-2095 - something went wrong.
    11:30:51 [INFO] [Bshot] Error in chest at -2030,66,-2089 - something went wrong.
    11:30:51 [INFO] [Bshot] Error in chest at -2019,66,-2091 - something went wrong.
    11:30:51 [INFO] [Bshot] Error in chest at -2019,66,-2092 - something went wrong.
    11:30:51 [INFO] [Bshot] Error in sign at -2017,70,-2083 - something went wrong.
    11:30:51 [INFO] [Bshot] Error in chest at -2032,65,-2091 - something went wrong.
    11:30:51 [INFO] [Bshot] Error in sign at -2021,76,-2083 - something went wrong.
    11:30:51 [INFO] [Bshot] Error in sign at -2021,75,-2083 - something went wrong.
    11:30:51 [INFO] [Bshot] Error in chest at -2032,65,-2095 - something went wrong.
    11:30:51 [INFO] [Bshot] Error in chest at -2032,65,-2094 - something went wrong.
    11:30:51 [INFO] [Bshot] Error in chest at -2024,65,-2090 - something went wrong.
    11:30:51 [INFO] [Bshot] Error in sign at -2031,70,-2089 - something went wrong.
    11:30:51 [INFO] [Bshot] Error in chest at -2032,65,-2092 - something went wrong.
    11:30:51 [INFO] [Bshot] Error in chest at -2020,61,-2084 - something went wrong.
    11:30:51 [INFO] [Bshot] Error in sign at -2032,66,-2091 - something went wrong.
    11:30:51 [INFO] [Bshot] Error in sign at -2032,66,-2094 - something went wrong.
    11:30:51 [INFO] [Bshot] Error in chest at -2032,67,-2092 - something went wrong.
    11:30:51 [INFO] [Bshot] Error in sign at -2017,73,-2093 - something went wrong.
    11:30:51 [INFO] [Bshot] Error in sign at -2019,75,-2083 - something went wrong.
    11:30:51 [INFO] [Bshot] Error in chest at -2022,66,-2089 - something went wrong.
    11:30:51 [INFO] [Bshot] Error in sign at -2032,34,-2083 - something went wrong.
    11:30:51 [INFO] [Bshot] Error in chest at -2032,67,-2091 - something went wrong.
    11:30:51 [INFO] [Bshot] Error in sign at -2017,73,-2096 - something went wrong.
    11:30:51 [INFO] [Bshot] Error in chest at -2028,67,-2090 - something went wrong.
    11:30:51 [INFO] [Bshot] Error in sign at -2017,73,-2094 - something went wrong.
    11:30:51 [INFO] [Bshot] Error in chest at -2017,63,-2082 - something went wrong.
    11:30:51 [INFO] [Bshot] Error in chest at -2032,67,-2094 - something went wrong.
    11:30:51 [INFO] [Bshot] Error in sign at -2017,73,-2095 - something went wrong.
    11:30:51 [INFO] [Bshot] Error in chest at -2030,67,-2090 - something went wrong.
    11:30:51 [INFO] [Bshot] Error in chest at -2032,67,-2095 - something went wrong.
    11:30:51 [INFO] [Bshot] Error in sign at -2023,70,-2089 - something went wrong.
    11:30:51 [INFO] [Bshot] Error in sign at -2032,54,-2083 - something went wrong.
    11:30:51 [INFO] [Bshot] Error in sign at -2023,70,-2092 - something went wrong.
    11:30:51 [INFO] [Bshot] Error in chest at -2024,61,-2084 - something went wrong.
    11:30:51 [INFO] [Bshot] Error in chest at -2022,65,-2090 - something went wrong.
    11:30:51 [INFO] [Bshot] Error in chest at -2021,67,-2090 - something went wrong.
    11:30:51 [INFO] [Bshot] Error in sign at -2032,53,-2083 - something went wrong.
    11:30:51 [INFO] [Bshot] Error in sign at -2027,66,-2090 - something went wrong.
    11:30:51 [INFO] [Bshot] Error in chest at -2028,70,-2083 - something went wrong.
    11:30:51 [INFO] [Bshot] Error in chest at -2027,66,-2089 - something went wrong.
    11:30:51 [INFO] [Bshot] Error in chest at -2028,70,-2082 - something went wrong.
    11:30:51 [INFO] [Bshot] Error in chest at -2023,75,-2083 - something went wrong.
    11:30:51 [INFO] [Bshot] Error in sign at -2021,71,-2083 - something went wrong.
    11:30:51 [INFO] [Bshot] Error in chest at -2024,66,-2089 - something went wrong.
    11:30:51 [INFO] [Bshot] Error in sign at -2024,66,-2090 - something went wrong.
    11:30:51 [INFO] [Bshot] Error in chest at -2020,65,-2091 - something went wrong.
    11:30:51 [INFO] [Bshot] Error in chest at -2020,65,-2095 - something went wrong.
    11:30:51 [INFO] [Bshot] Error in chest at -2020,65,-2094 - something went wrong.
    11:30:51 [INFO] [Bshot] Error in chest at -2031,65,-2090 - something went wrong.
    11:30:51 [INFO] [Bshot] Error in chest at -2020,65,-2092 - something went wrong.
    11:30:51 [INFO] [Bshot] Error in chest at -2021,66,-2089 - something went wrong.
    11:30:51 [INFO] [Bshot] Error in sign at -2021,66,-2090 - something went wrong.
    11:30:51 [INFO] [Bshot] Error in chest at -2021,65,-2090 - something went wrong.
    11:30:51 [INFO] [Bshot] Error in chest at -2024,67,-2090 - something went wrong.
    11:30:51 [INFO] [Bshot] Error in chest at -2025,44,-2084 - something went wrong.
    11:30:51 [INFO] [Bshot] Error in chest at -2031,66,-2089 - something went wrong.
    11:30:51 [INFO] [Bshot] Error in chest at -2030,63,-2085 - something went wrong.
    11:30:51 [INFO] [Bshot] Error in sign at -2031,66,-2090 - something went wrong.
    11:30:51 [INFO] [Bshot] Error in sign at -2019,70,-2083 - something went wrong.
    11:30:51 [INFO] [Bshot] Error in chest at -2031,67,-2090 - something went wrong.
    
     
  16. Offline

    ledhead900

    Me to but I only saw one so far
    Code:
    2011-08-02 20:12:43 [INFO]      [Bshot] Error in sign at 75,72,-2204 - something went wrong.
     
  17. Offline

    codename_B

    @Joy @ledhead900 what plugins are you using? I've tried literally EVERYTHING but I can't replicate that bug.
    The plugin is 100% stable on all 3 of my test servers, as well as localhost, I even worledited a 400x400 area of signs.

    Would you mind sending me a copy of your map perhaps?

    P.s. don't worry about it corrupting your signs/chests - I've got it set to test if it can change anything, and if it can't, to get the hell out of there. So this won't make anything worse,I 'd like you to help me make it better.
     
  18. We use many plugins that effect signs. Most notable signshop (private fork), colored signs, slots, commandsigns, annotate, etc etc
     
  19. Offline

    codename_B

    Right - would I be able to get an exact copy of the (sign related) plugins you use? It's easier for you to zip me up a copy than it is for me to hunt for all of them.
     
  20. Offline

    Richardw9

    Highly looking forward to getting this, but i'm holding off until the errors are ironed out.
     
  21. Offline

    codename_B

    How do I fix the errors without people reporting them? I am running this with absolutely zero errors - I am yet to be able to replicate an error on my side.
     
  22. Offline

    LlmDl

    On your test server which sign/chest-oriented plugins do you use? I have both ChestShop and Lockette, do your tests show any conflict with them?
     
  23. Offline

    codename_B

    I tried ChestShop, Lockette, LWC, SignColor, SpeedSign, SignShop, that infinite chest one, BananaRegion... and about 10 more chest/sign related plugins. Still no errors found.
    I guess my map is always saved cleanly so there will be no chunk corruption :S
     
  24. Offline

    LlmDl

    Thanks for this plugin, I'll be installing it tomorrow while I finally update from MC 1.6.6.

    Since this problem is so elusive, is there anyway this plugin could generate statistics about the signbug? Maybe some kind of log file that we can upload some place?
     
  25. Offline

    codename_B

    It outputs an error message whenever it detects chunk corruption - if that's what you mean?
     
  26. Offline

    LlmDl

    I was thinking a seperate file/log. Some place that could record data about the chunks that get hit. What was in them, how often does that chunk unload.

    Since the bug is difficult to reproduce it might be easier to gather info when it does happen. Lots of people report that it hits chunks with large numbers of chests/signs. If we had some way to record statistics we might be able to see if that is true.

    Then there'd just need to be a site that people can upload their signbug logs to.
     
  27. Offline

    ledhead900

    @codename_B
    Hmm I can PM you details on our FTP and you can download our map from or even the entire server tho it may download a tad slow as I'm a home hoster on Adsl2+ " YES people I can actually host 25 ppl with little to no lag on that ". It is a dedicated box but I would use a download addon for your browser a FTP client if u choose to download the whole thing. The map alone is over 2gig now.


    I only have saw the error once and never again so far but I thought I would post it tho I'm always looking at the console I do check it each morning tho.

    Here is a list of plugins we currently use.


    ^ that is actually how I see my console neat heh anyway onwards :p

    I use CB 1032

    I don't the error spammed like the other person does I'm guessing minor map corruption on a map of over 2gig of size Im hardly suprised I think I know of a chunk that is not working but I can teleport to the coords this plugin gives me and regenerate it to find out.

    I will PM you the FTP details.

    Edit:
    Just got wind that apprently yesterday Midday melb time the corruption struck an area chests got wiped and furncaces and signs.

    I have been using version 2.2+ for about 2 nights now I will get the exact version in a second. I'm curiouse if this was in the area with the error we/you can't pinpoint yet came from.
     
  28. Offline

    _Robert

    Code:
    2011-08-03 02:40:48 [INFO] Done (0.823s)! For help, type "help" or "?"
    2011-08-03 02:40:48 [INFO] RedstoneChips: Reading circuits file...
    2011-08-03 02:40:48 [INFO] RedstoneChips: Activating circuits...
    2011-08-03 02:40:48 [INFO] [Bshot] Error in sign at -394,42,-620 - something went wrong.
    2011-08-03 02:40:48 [INFO] [Bshot] The following line will tell you if the sign is corrupt.
    2011-08-03 02:40:48 [SEVERE] Could not pass event CHUNK_LOAD to bShot
    java.lang.NullPointerException
        at org.bukkit.craftbukkit.block.CraftSign.getLines(CraftSign.java:20)
        at com.ubempire.bshot.ChunkSave.onChunkLoad(Bshot.java:146)
        at org.bukkit.plugin.java.JavaPluginLoader$47.execute(JavaPluginLoader.java:570)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:332)
        at net.minecraft.server.ChunkProviderServer.getChunkAt(ChunkProviderServer.java:90)
        at org.bukkit.craftbukkit.CraftWorld.getChunkAt(CraftWorld.java:96)
        at org.bukkit.craftbukkit.CraftWorld.getBlockAt(CraftWorld.java:64)
        at org.bukkit.craftbukkit.CraftWorld.getBlockAt(CraftWorld.java:439)
        at org.tal.redstonechips.circuit.InputPin.addPowerBlock(InputPin.java:85)
        at org.tal.redstonechips.circuit.InputPin.<init>(InputPin.java:44)
        at org.tal.redstonechips.CircuitPersistence.getInputPinsArray(CircuitPersistence.java:249)
        at org.tal.redstonechips.CircuitPersistence.compileCircuitFromMap(CircuitPersistence.java:158)
        at org.tal.redstonechips.CircuitPersistence.loadCircuits(CircuitPersistence.java:72)
        at org.tal.redstonechips.RedstoneChips$1.run(RedstoneChips.java:133)
        at org.bukkit.craftbukkit.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:137)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:438)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:361)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    2011-08-03 02:40:48 [INFO] [Bshot] Error in sign at -413,40,-632 - something went wrong.
    2011-08-03 02:40:48 [INFO] [Bshot] The following line will tell you if the sign is corrupt.
    2011-08-03 02:40:48 [SEVERE] Could not pass event CHUNK_LOAD to bShot
    java.lang.NullPointerException
        at org.bukkit.craftbukkit.block.CraftSign.getLines(CraftSign.java:20)
        at com.ubempire.bshot.ChunkSave.onChunkLoad(Bshot.java:146)
        at org.bukkit.plugin.java.JavaPluginLoader$47.execute(JavaPluginLoader.java:570)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:332)
        at net.minecraft.server.ChunkProviderServer.getChunkAt(ChunkProviderServer.java:90)
        at org.bukkit.craftbukkit.CraftWorld.loadChunk(CraftWorld.java:230)
        at org.bukkit.craftbukkit.CraftWorld.loadChunk(CraftWorld.java:120)
        at org.tal.redstonechips.util.ChunkLocation.loadChunk(ChunkLocation.java:69)
        at org.tal.redstonechips.circuit.Circuit.initCircuit(Circuit.java:127)
        at org.tal.redstonechips.CircuitManager.activateCircuit(CircuitManager.java:187)
        at org.tal.redstonechips.CircuitPersistence.compileCircuitFromMap(CircuitPersistence.java:172)
        at org.tal.redstonechips.CircuitPersistence.loadCircuits(CircuitPersistence.java:72)
        at org.tal.redstonechips.RedstoneChips$1.run(RedstoneChips.java:133)
        at org.bukkit.craftbukkit.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:137)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:438)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:361)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    2011-08-03 02:40:48 [INFO] [Bshot] Error in sign at -428,35,-617 - something went wrong.
    2011-08-03 02:40:48 [INFO] [Bshot] The following line will tell you if the sign is corrupt.
    2011-08-03 02:40:48 [SEVERE] Could not pass event CHUNK_LOAD to bShot
    java.lang.NullPointerException
        at org.bukkit.craftbukkit.block.CraftSign.getLines(CraftSign.java:20)
        at com.ubempire.bshot.ChunkSave.onChunkLoad(Bshot.java:146)
        at org.bukkit.plugin.java.JavaPluginLoader$47.execute(JavaPluginLoader.java:570)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:332)
        at net.minecraft.server.ChunkProviderServer.getChunkAt(ChunkProviderServer.java:90)
        at org.bukkit.craftbukkit.CraftWorld.loadChunk(CraftWorld.java:230)
        at org.bukkit.craftbukkit.CraftWorld.loadChunk(CraftWorld.java:120)
        at org.tal.redstonechips.util.ChunkLocation.loadChunk(ChunkLocation.java:69)
        at org.tal.redstonechips.circuit.Circuit.initCircuit(Circuit.java:127)
        at org.tal.redstonechips.CircuitManager.activateCircuit(CircuitManager.java:187)
        at org.tal.redstonechips.CircuitPersistence.compileCircuitFromMap(CircuitPersistence.java:172)
        at org.tal.redstonechips.CircuitPersistence.loadCircuits(CircuitPersistence.java:72)
        at org.tal.redstonechips.RedstoneChips$1.run(RedstoneChips.java:133)
        at org.bukkit.craftbukkit.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:137)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:438)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:361)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    2011-08-03 02:40:48 [INFO] [Bshot] Error in sign at -413,40,-632 - something went wrong.
    2011-08-03 02:40:48 [INFO] [Bshot] The following line will tell you if the sign is corrupt.
    2011-08-03 02:40:48 [SEVERE] Could not pass event CHUNK_LOAD to bShot
    java.lang.NullPointerException
        at org.bukkit.craftbukkit.block.CraftSign.getLines(CraftSign.java:20)
        at com.ubempire.bshot.ChunkSave.onChunkLoad(Bshot.java:146)
        at org.bukkit.plugin.java.JavaPluginLoader$47.execute(JavaPluginLoader.java:570)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:332)
        at net.minecraft.server.ChunkProviderServer.getChunkAt(ChunkProviderServer.java:90)
        at org.bukkit.craftbukkit.CraftWorld.getChunkAt(CraftWorld.java:96)
        at org.bukkit.craftbukkit.CraftWorld.getBlockAt(CraftWorld.java:64)
        at org.bukkit.craftbukkit.CraftWorld.getBlockAt(CraftWorld.java:439)
        at org.bukkit.Location.getBlock(Location.java:72)
        at org.tal.redstonechips.circuit.Circuit.updateCircuitSign(Circuit.java:520)
        at org.tal.redstonechips.CircuitManager.activateCircuit(CircuitManager.java:205)
        at org.tal.redstonechips.CircuitPersistence.compileCircuitFromMap(CircuitPersistence.java:172)
        at org.tal.redstonechips.CircuitPersistence.loadCircuits(CircuitPersistence.java:72)
        at org.tal.redstonechips.RedstoneChips$1.run(RedstoneChips.java:133)
        at org.bukkit.craftbukkit.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:137)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:438)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:361)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    2011-08-03 02:40:48 [INFO] [Bshot] Error in sign at -443,33,-620 - something went wrong.
    2011-08-03 02:40:48 [INFO] [Bshot] The following line will tell you if the sign is corrupt.
    2011-08-03 02:40:48 [SEVERE] Could not pass event CHUNK_LOAD to bShot
    java.lang.NullPointerException
        at org.bukkit.craftbukkit.block.CraftSign.getLines(CraftSign.java:20)
        at com.ubempire.bshot.ChunkSave.onChunkLoad(Bshot.java:146)
        at org.bukkit.plugin.java.JavaPluginLoader$47.execute(JavaPluginLoader.java:570)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:332)
        at net.minecraft.server.ChunkProviderServer.getChunkAt(ChunkProviderServer.java:90)
        at org.bukkit.craftbukkit.CraftWorld.loadChunk(CraftWorld.java:230)
        at org.bukkit.craftbukkit.CraftWorld.loadChunk(CraftWorld.java:120)
        at org.tal.redstonechips.util.ChunkLocation.loadChunk(ChunkLocation.java:69)
        at org.tal.redstonechips.circuit.Circuit.initCircuit(Circuit.java:127)
        at org.tal.redstonechips.CircuitManager.activateCircuit(CircuitManager.java:187)
        at org.tal.redstonechips.CircuitPersistence.compileCircuitFromMap(CircuitPersistence.java:172)
        at org.tal.redstonechips.CircuitPersistence.loadCircuits(CircuitPersistence.java:72)
        at org.tal.redstonechips.RedstoneChips$1.run(RedstoneChips.java:133)
        at org.bukkit.craftbukkit.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:137)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:438)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:361)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    2011-08-03 02:40:48 [INFO] RedstoneChips: Done. Loaded 15 chips.
    It seems that the plugin have problems with redstone chips corrupted signs (they appear to be blank, but they work anyway).

    Screenshot of this sign: 2011-08-03 02:40:48 [INFO] [Bshot] Error in sign at -394,42,-620 - something went wrong.
    [​IMG]

    And another one near it:
    [​IMG]

    And here it's my map as well the redstone chips and pailstone, plugin, config and data (so you can reproduce the whole thing).

    http://www.megaupload.com/?d=G5QLVBRA

    Thank you soo much for trying to patch this :).
     
  29. Offline

    darkwarriors

    fantastic i need this plugin so mutch, i did 6 days backup and manually back the chests for my users, let me try this plugin it have all multiworld support so all chests and signs were saved?
     
  30. Offline

    ledhead900

    @codename_B

    Make sure it was tested on falsebook as well. It was not listed so I dunno. Also I found corrupted signs and chest once more tho I am unsure if this is the area my players were on about it I still have not had time to go in game and Tp to the spot the error appeared at.
     
  31. Offline

    codename_B

    Alright - at least we're getting closer to figuring out what causes this.
    Thankyou so much for the copy of the map, that's the first REALLY REALLY useful bug report I've had (since it means I can now replicate things)
     

Share This Page