Inactive [FUN/MECH] Pitfall v0.6 - Make pressure and redstone triggered traps! [766]

Discussion in 'Inactive/Unsupported Plugins' started by petrifiednightmares, Apr 23, 2011.

  1. Pitfall - Make clay (configurable) become a trapdoor
    Version: v0.6

    A configurable plugin that allows certain blocks to act as pressure traps. Once a player steps on them, the blocks disappear temporarily causing the victim to tumble into the pit you dug below.

    Features:
    • Allows the user to create traps with clay (configurable). Building a layer of clay, and then a layer of any material above it will cause it to become a trap. Whenever a player steps on the layer above the clay, both layers will temporarily disappear, plunging the victim into the depths of the abyss you dug below. After a second, the two layers will reappear, waiting to claim another hapless soul.
    • Configuration of what block to be used instead of clay.
    • Allows setting up a list of blacklist blocks. These are blocks that will not disappear even if placed above the clay block. Format: [3,24,33,2]
    • Allows the user to create redstone triggered traps with brick (configurable). Once a brick block receives a redstone current from either above or below, it (along with all adjacent block bricks) will disappear for a few seconds. Pictures:
      Show Spoiler
      [​IMG][​IMG]
    Download The Pitfall Plugin/Source

    Note for navigating github:
    You may press the "Downloads" button to download this as a zip file. If you don't want the source and only want the .jar file, just click on the Pitfall.jar. Then click view raw, and it should give you a download file. If not, right click view raw and click save link as.​

    Review:
    A review by jamescosten:

    Pictures:
    Pictures (open)

    Constructing the trap:
    [​IMG]




    Filling up the top layer with same block as surroundings:

    [​IMG]


    The completed trap is indistinguishable from normal land:

    [​IMG]


    HOWEVER:

    AHHHHHH
    [​IMG]


    The trap closes back up above me:

    [​IMG]

    Changelog:
    Version 0.6
    • Configurable trap delays
    Version 0.5
    • Sign's texts will be restored.
    • Will print an error message if any blocks are unable to be restored.
    • Jumping over the clay will no longer trigger trap.
    • Trap will only be triggered if standing on solid block above the clay.
    Version 0.4b
    • Fixed a null pointer exception error when first using the plugin.
    Version 0.4a
    • Minor change to how the plugin gets the version number.
    Version 0.4
    • Added configurable redstone triggered blocks
    Version 0.3
    • Fixed a stupid bug where the plugin will not work if you don't have a blacklist enabled.
    Version 0.2
    • Changed name to Pitfall
    • Added a config file that allows you to specify what block to use as the trap block
    • Config file also allows you to define blacklist blocks to be placed above the trap block
    Version 0.1
    • Added the plugin
    Notes:

    Thanks to Avous for features suggestions. :)



    Todo:
    • Add support for mobs
    • Add support for changing what block to use (instead of clay)
    • Redstone triggered traps
    • Keep special data of certain entities. (Texts for signs, items in chests, etc) if they disappear as a result of trap. (Configurable as option)
    • Permissions support
     

    Attached Files:

  2. Offline

    Hitman4Hire

    I'm run a server on mac with the latest bukkit and I get this :
    Code:
    10:08:48 [SEVERE] null loading Pitfall v0.4a (Is it up to date?)
    java.lang.NullPointerException
        at com.bukkit.jason.pitfall.PitfallSettings.load(PitfallSettings.java:59)
        at com.bukkit.jason.pitfall.Pitfall.onEnable(Pitfall.java:27)
        at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:127)
        at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:632)
        at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:218)
        at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:116)
        at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:94)
        at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:217)
        at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:204)
        at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:144)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:259)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)
    
    Plugins:
    Backpack
    Blast control
    Chest lock
    DisposalChest
    CivillizedSpawn
    ClearInventory
    Elevators
    Essentials
    EssentialsSpawn
    FenceStacks
    HeriocDeath
    iConomy
    IOBookcase
    LevelCraft
    LightningControl
    LocalShops
    MinecartManiaCore
    MobRider
    MonsterTamer
    NoDrop
    NoLeafDecay
    Permissions
    Pitfall
    PreciousStones
    SimpleAwaySleep
    Stargate
    vStopFire
    WorldEdit
    Zeus
     
  3. Offline

    TruffleDucks

    It's like Animal Crossing :D
     
  4. Problem investigated and fixed. Version 0.4b should be working now.
     
  5. Offline

    Ordoxous

    oh, my, f$%^ing, god
    AWESOME PLUGIN

    i made a pit under my lava lake, and put water beneath, i take like 1 heart of damage and its a secret base
    LOL

    its suicide to try and find it :D

    [diamond][diamond][diamond][diamond][diamondore]/[diamond][diamond][diamond][diamond][diamond] for you (4.5/5)
     
  6. Version 0.5 is out!
     
  7. Offline

    rhadiem

    Where's the jar? Why is this harder to find than other plugins? Don't make us run around, just link directly, thanks!

    Edit: Finally found it and I love it! Please add whitelist/blacklist support for those who can trigger it (secret passages) as well as prohibit people to use it/trigger it (permissions groups works!, optional explicit list on top is even sweeter!)

    Granting X group trigger ability to Y block would be cool

    I added a secret passageway to my storage supply area, very cool man.
     
  8. Offline

    jumika

    Look like a great idea!
    Is this only affect Players, or also mobs?
     
  9. This only applies to players for now, mob support is being added soon.

    Sorry about the jar file being hard to find it is located in the github repository like a lot of other plugins. Maybe I'll attach it to the thread as well.

    Good idea with the whitelist/blacklist suggestion, I will incorporate those soon.
     
  10. Offline

    bdodroid

    i get this after using the trap door around 4-5 times

    Code:
    17:34:13 [SEVERE] Unexpected exception
    java.lang.NullPointerException
            at net.minecraft.server.World.doLighting(World.java:1352)
            at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:363)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:285)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)
    
    I'm using v0.5.
     
  11. Are you running any other plugins? Because the error message you mention doesn't actually mention a direct error in the pitfall plugin.

    Also are there any other symptoms after the message occurs?
     
  12. Offline

    Darkleo

    I'm using v0.5 and i've this error frequently :

    Code:
    2011-05-01 11:47:40 [SEVERE] at net.minecraft.server.World.a(World.java:1391)
    2011-05-01 11:47:40 [SEVERE] at net.minecraft.server.World.a(World.java:1364)
    2011-05-01 11:47:40 [SEVERE] at net.minecraft.server.Chunk.a(Chunk.java:303)
    2011-05-01 11:47:40 [SEVERE] at net.minecraft.server.World.setRawTypeId(World.java:246)
    2011-05-01 11:47:40 [SEVERE] at net.minecraft.server.World.setTypeId(World.java:305)
    2011-05-01 11:47:40 [SEVERE] at org.bukkit.craftbukkit.block.CraftBlock.setTypeId(CraftBlock.java:127)
    2011-05-01 11:47:40 [SEVERE] at com.bukkit.jason.pitfall.PitfallPlayerListener$3.run(PitfallPlayerListener.java:127)
    2011-05-01 11:47:40 [SEVERE] at org.bukkit.craftbukkit.scheduler.CraftWorker.run(CraftWorker.java:33)
    2011-05-01 11:47:40 [SEVERE] at java.lang.Thread.run(Thread.java:636)
    2011-05-01 11:47:40 [SEVERE] java.lang.NullPointerException
    2011-05-01 11:47:40 [SEVERE] at net.minecraft.server.World.a(World.java:1391)
    2011-05-01 11:47:40 [SEVERE] at net.minecraft.server.World.a(World.java:1364)
    2011-05-01 11:47:40 [SEVERE] at net.minecraft.server.Chunk.g(Chunk.java:196)
    2011-05-01 11:47:40 [SEVERE] at net.minecraft.server.Chunk.a(Chunk.java:297)
    2011-05-01 11:47:40 [SEVERE] at net.minecraft.server.World.setRawTypeId(World.java:246)
    2011-05-01 11:47:40 [SEVERE] at net.minecraft.server.World.setTypeId(World.java:305)
    2011-05-01 11:47:40 [SEVERE] at org.bukkit.craftbukkit.block.CraftBlock.setTypeId(CraftBlock.java:127)
    2011-05-01 11:47:40 [SEVERE] at com.bukkit.jason.pitfall.PitfallPlayerListener$3.run(PitfallPlayerListener.java:127)
    2011-05-01 11:47:40 [SEVERE] at org.bukkit.craftbukkit.scheduler.CraftWorker.run(CraftWorker.java:33)
    2011-05-01 11:47:40 [SEVERE] at java.lang.Thread.run(Thread.java:636)
    2011-05-01 11:47:40 [SEVERE] java.lang.NullPointerException
    2011-05-01 11:47:40 [SEVERE] at net.minecraft.server.World.a(World.java:1391)
    2011-05-01 11:47:40 [SEVERE] at net.minecraft.server.World.a(World.java:1364)
    2011-05-01 11:47:40 [SEVERE] at net.minecraft.server.Chunk.a(Chunk.java:303)
    2011-05-01 11:47:40 [SEVERE] at net.minecraft.server.World.setRawTypeId(World.java:246)
    2011-05-01 11:47:40 [SEVERE] at net.minecraft.server.World.setTypeId(World.java:305)
    2011-05-01 11:47:40 [SEVERE] at org.bukkit.craftbukkit.block.CraftBlock.setTypeId(CraftBlock.java:127)
    2011-05-01 11:47:40 [SEVERE] at com.bukkit.jason.pitfall.PitfallPlayerListener$3.run(PitfallPlayerListener.java:127)
    2011-05-01 11:47:40 [SEVERE] at org.bukkit.craftbukkit.scheduler.CraftWorker.run(CraftWorker.java:33)
    2011-05-01 11:47:40 [SEVERE] at java.lang.Thread.run(Thread.java:636)
    2011-05-01 11:47:40 [SEVERE] java.lang.NullPointerException
    2011-05-01 11:47:40 [SEVERE] at net.minecraft.server.World.a(World.java:1391)
    2011-05-01 11:47:40 [SEVERE] at net.minecraft.server.World.a(World.java:1364)
    2011-05-01 11:47:40 [SEVERE] at net.minecraft.server.Chunk.a(Chunk.java:303)
    2011-05-01 11:47:40 [SEVERE] at net.minecraft.server.World.setRawTypeId(World.java:246)
    2011-05-01 11:47:40 [SEVERE] at net.minecraft.server.World.setTypeId(World.java:305)
    2011-05-01 11:47:40 [SEVERE] at org.bukkit.craftbukkit.block.CraftBlock.setTypeId(CraftBlock.java:127)
    2011-05-01 11:47:40 [SEVERE] at com.bukkit.jason.pitfall.PitfallPlayerListener$3.run(PitfallPlayerListener.java:127)
    2011-05-01 11:47:40 [SEVERE] at org.bukkit.craftbukkit.scheduler.CraftWorker.run(CraftWorker.java:33)
    2011-05-01 11:47:40 [SEVERE] at java.lang.Thread.run(Thread.java:636)
    2011-05-01 11:47:40 [SEVERE] java.lang.NullPointerException
    2011-05-01 11:47:40 [SEVERE] at net.minecraft.server.World.a(World.java:1391)
    2011-05-01 11:47:40 [SEVERE] at net.minecraft.server.World.a(World.java:1364)
    2011-05-01 11:47:40 [SEVERE] at net.minecraft.server.Chunk.g(Chunk.java:196)
    2011-05-01 11:47:40 [SEVERE] at net.minecraft.server.Chunk.a(Chunk.java:297)
    2011-05-01 11:47:40 [SEVERE] at net.minecraft.server.World.setRawTypeId(World.java:246)
    2011-05-01 11:47:40 [SEVERE] at net.minecraft.server.World.setTypeId(World.java:305)
    2011-05-01 11:47:40 [SEVERE] at org.bukkit.craftbukkit.block.CraftBlock.setTypeId(CraftBlock.java:127)
    2011-05-01 11:47:40 [SEVERE] at com.bukkit.jason.pitfall.PitfallPlayerListener$3.run(PitfallPlayerListener.java:127)
    2011-05-01 11:47:40 [SEVERE] at org.bukkit.craftbukkit.scheduler.CraftWorker.run(CraftWorker.java:33)
    2011-05-01 11:47:40 [SEVERE] at java.lang.Thread.run(Thread.java:636) 
     
  13. Offline

    Thermoman

    This is pretty awesome, works great, but i couldn't figure out how to do the brick and redstone triggered trap. DO you think you could put up some pictures of the using the red stone and brick or just tell me more in-depth instructions?
    Thanks! :)
     
  14. Pictures added to first post:

    [​IMG][​IMG]

    Basically, give a current next to a brick block, and all brick blocks adjacent to it will disappear.
     
  15. Offline

    Avous

    awesome!
     
  16. Offline

    l0stb3ta

    I'm not sure what I might be doing wrong, but Pitfall isn't loading. The only error that is thrown is:
    Code:
    2011-05-02 22:02:02 [SEVERE] Could not load 'plugins/Pitfall.jar' in folder 'plugins':
    It doesn't say why.

    I have installed:
    - Citizens
    - iChat
    - iConomy
    - LocalShops
    - LoginMessage
    - MakeEmSpawn
    - mcMMO
    - Micro Minecart Starter/Minecart Starter Plugin
    - MobBounty
    - MyHome
    - MyWarp
    - Nethrar
    - Permissions
    - PermissionsPlus
    - Runecraft 2.6
    - SkyPirates
    - WorldEdit
    - WorldGuard
    - xAuth

    The only other errors thrown are about WorldGuard not being able to be passed a spawn event, but I think that's WRT Nethrar. I'll check on that, but I think they were all working previous to the most recent release... except Pitfall, if triggered too much or too soon, crashed the server. I don't remember the exact error, but it required a server restart before logins were accepted to the servers again.
     
  17. Offline

    Thermoman

    -Cool thanks, but i also realized that it wasn't enabled in the config file.
     
  18. That seems to have colon at the end of the sentence, is there a line after that with more information?
     
  19. Offline

    Avous

  20. I just tried with Google Chrome and Firefox which were corrupted but then Internet Explorer got it right. IE didn't let me right click the .jar file and "save target as" but instead had to try open the raw file and set it save to disk. I'm not very used to weird file system like that...
     
  21. Offline

    l0stb3ta

    That's what's odd, I've looked at the server logs, and that's the only line with regard to Pitfall that it says. It doesn't give an error message; just says it cannot load Pitfall, doesn't say why, and continues with the server load.

    Here's my logfile; did I miss anything?
    Show Spoiler


    Code:
    2011-05-03 05:00:11 [INFO] Starting minecraft server version Beta 1.5_02
    2011-05-03 05:00:11 [INFO] Loading properties
    2011-05-03 05:00:11 [INFO] Starting Minecraft server on 96.44.143.181:25568
    2011-05-03 05:00:11 [WARNING] **** SERVER IS RUNNING IN OFFLINE/INSECURE MODE!
    2011-05-03 05:00:11 [WARNING] The server will make no attempt to authenticate usernames. Beware.
    2011-05-03 05:00:11 [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.
    2011-05-03 05:00:11 [WARNING] To change this, set "online-mode" to "true" in the server.settings file.
    2011-05-03 05:00:11 [INFO] This server is running Craftbukkit version git-Bukkit-0.0.0-706-gf53e007-b740jnks (MC: 1.5_02)
    2011-05-03 05:00:11 [INFO] Preparing level "TheLostPackServer"
    2011-05-03 05:00:11 [INFO] Preparing start region
    2011-05-03 05:00:13 [SEVERE] Could not load 'plugins/Pitfall.jar' in folder 'plugins':
    2011-05-03 05:00:13 [INFO] [Permissions] (Phoenix) was Initialized.
    2011-05-03 05:00:13 [INFO] LocalShops: waiting for iConomy to start.
    2011-05-03 05:00:13 [INFO] LocalShops: Loading shop TheLostPackItemShop
    2011-05-03 05:00:13 [INFO] LocalShops: Loaded 1 shop(s).
    2011-05-03 05:00:13 [INFO] LocalShops: version 2.2.1 is enabled!
    2011-05-03 05:00:13 [INFO] WorldEdit 4.4 enabled.
    2011-05-03 05:00:13 [INFO] WorldEdit: Permissions plugin detected! Using Permissions plugin for permissions.
    2011-05-03 05:00:13 [INFO] iChat (v2.2.3) enabled
    2011-05-03 05:00:13 [INFO] LoginMessage 0.6_3 enabled
    2011-05-03 05:00:13 [INFO] WorldGuard: Permissions plugin detected! Using Permissions plugin for permissions.
    2011-05-03 05:00:13 [INFO] WorldGuard: (TheLostPackServer) Single session is enforced.
    2011-05-03 05:00:13 [INFO] WorldGuard: (TheLostPackServer) TNT ignition is PERMITTED.
    2011-05-03 05:00:13 [INFO] WorldGuard: (TheLostPackServer) Lighters are PERMITTED.
    2011-05-03 05:00:13 [INFO] WorldGuard: (TheLostPackServer) Lava fire is blocked.
    2011-05-03 05:00:13 [INFO] WorldGuard: (TheLostPackServer) Fire spread is UNRESTRICTED.
    2011-05-03 05:00:13 [INFO] WorldGuard: Loaded configuration for world 'TheLostPackServer"
    2011-05-03 05:00:13 [INFO] WorldGuard 5.0-alpha10 enabled.
    2011-05-03 05:00:13 [INFO] [SkyPirates]: Permissions enabled.
    2011-05-03 05:00:13 [INFO] [SkyPirates]: version [1.2] (Caribbean) loaded
    2011-05-03 05:00:13 [INFO] [MYHOME]: 10 homes loaded
    2011-05-03 05:00:13 [INFO] [MYHOME] Permissions enabled using: Permissions v2.7
    2011-05-03 05:00:13 [WARNING] [MYHOME] 'Help' isn't detected. No /help support.
    2011-05-03 05:00:13 [INFO] [MYHOME] MyHome 1.9.4b enabled
    2011-05-03 05:00:13 [INFO] [MakeEmSpawn] Loading...
    2011-05-03 05:00:13 [INFO] [Permissions] version [2.7] (Phoenix)  loaded
    2011-05-03 05:00:13 [INFO] WorldEdit: Permissions plugin detected! Using Permissions plugin for permissions.
    2011-05-03 05:00:13 [INFO] WorldGuard: Permissions plugin detected! Using Permissions plugin for permissions.
    2011-05-03 05:00:13 [INFO] LocalShops: Attached to Permissions
    2011-05-03 05:00:13 [INFO] [iChat] Found Permissions (v2.7)
    2011-05-03 05:00:13 [INFO] [MakeEmSpawn] successfully loaded Permissions.
    2011-05-03 05:00:13 [INFO] [MakeEmSpawn] Loaded!
    2011-05-03 05:00:13 [INFO] [iConomy] Logging is currently disabled.
    2011-05-03 05:00:14 [INFO] [iConomy] v4.65 (Kenzi) loaded.
    2011-05-03 05:00:14 [INFO] [iConomy] Developed by: [Nijikokun, Coelho]
    2011-05-03 05:00:14 [INFO] LocalShops: Attached to iConomy.
    2011-05-03 05:00:14 [INFO] [iConomy] hooked into Permissions.
    2011-05-03 05:00:14 [INFO] [mcMMO] Permissions enabled.
    2011-05-03 05:00:14 [INFO] mcMMO version 1.0.01 is enabled!
    2011-05-03 05:00:14 [INFO] [PermissionsPlus] Attached to Permissions version: 2.7
    2011-05-03 05:00:14 [INFO] [PermissionsPlus] version 1.5.1 has been enabled.
    2011-05-03 05:00:14 [INFO] [xAuth] Loading player accounts..
    2011-05-03 05:00:14 [INFO] [xAuth] Done! Loaded 5 Accounts!
    2011-05-03 05:00:14 [INFO] [xAuth] v1.2.3 Enabled!
    2011-05-03 05:00:14 [INFO] [MineCartStarterPlugin] Permissions plugin found, using micro.minecartstarter.can permissions.
    2011-05-03 05:00:14 [INFO] [MineCartStarterPlugin] Plugin enabled.
    2011-05-03 05:00:14 [INFO] [Runecraft] Rune blacklist with 0 runes loaded.
    2011-05-03 05:00:14 [INFO] [Runecraft] Loaded:
    2011-05-03 05:00:14 [INFO] [Runecraft]  - 4 waypoints, 4 teleporters
    2011-05-03 05:00:14 [INFO] [Runecraft]  - 2 position runes
    2011-05-03 05:00:14 [INFO] [Runecraft]  - 0 rune pads
    2011-05-03 05:00:14 [INFO] [Runecraft]  - 1 player data sets
    2011-05-03 05:00:14 [INFO] [Runecraft] World 'TheLostPackServer': id 0.
    2011-05-03 05:00:14 [INFO] [Runecraft] Runecraft 2.5.2 initialized.
    2011-05-03 05:00:14 [INFO] Runecraft plugin version 0.3 is enabled!
    2011-05-03 05:00:14 [INFO] [MYWARP]: 67 warps loaded
    2011-05-03 05:00:14 [INFO] [MYWARP] Permissions enabled using: Permissions v2.7
    2011-05-03 05:00:14 [WARNING] [MYWARP] 'Help' isn't detected. No /help support.
    2011-05-03 05:00:14 [INFO] MyWarp 1.10.5c enabled
    2011-05-03 05:00:14 [INFO] [MobBounty] v2.01 (Beryllium) loaded.
    2011-05-03 05:00:14 [INFO] [MobBounty] Developed by: [Mattera, Steven (IchigoKyger)].
    2011-05-03 05:00:14 [INFO] [MobBounty] Config loaded.
    2011-05-03 05:00:14 [INFO] [MobBounty] hooked into iConomy.
    2011-05-03 05:00:14 [INFO] [MobBounty] hooked into Permissions/GroupManager.
    2011-05-03 05:00:14 [INFO] Done (0.268s)! For help, type "help" or "?"


    For the moment, I'm no longer running Nethrar nor Citizens.

    EDIT: Now that's odd. I redownloaded it by using 'view raw' and copied that over to the server, and that version now seems to be working. Yet the version I got via wget --no-check-certificate to the jarfile on github was corrupted; there was a difference of something like 20,000 bytes between the two, and I redownloaded it a few times. I wonder if there's some sort of problem with it if you don't view raw and download it that way?

    So, I suppose that's it; if anyone else gets an error where Pitfall won't load and it won't say why, try to go to Github, view the raw file, and copy what you download over to your server.

    EDIT TWO:
    Now that other bug is resurfacing. Any time I use a large trap door, it spews this error, and I have to restart the server before any new logins are accepted:

    Show Spoiler
    Code:
    11:42:46 [SEVERE] java.lang.IllegalStateException: TickNextTick list out of synch
    11:42:46 [SEVERE]       at net.minecraft.server.World.a(World.java:1693)
    11:42:46 [SEVERE]       at net.minecraft.server.World.doTick(World.java:1465)
    11:42:46 [SEVERE]       at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:361)
    11:42:46 [SEVERE]       at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:285)
    11:42:46 [SEVERE]       at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)
    11:42:46 [SEVERE] Unexpected exception
    java.lang.IllegalStateException: TickNextTick list out of synch
            at net.minecraft.server.World.a(World.java:1693)
            at net.minecraft.server.World.doTick(World.java:1465)
            at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:361)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:285)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)
    


    Any ideas? It won't happen if Pitfall is disabled.

    What seems to trigger the error is having sponges be the trigger block, and having that trap door be in an 8x8 pool that connects to the ground via a waterfall. It's supposed to prevent the glitch where a boat will ascend straight up to the top block of the water, but still allow for people to get down out of my flying castle safely.

    I'll run some more tests; maybe it's a problem with sponges and water?
     
  22. Offline

    akrieger

    So, if you push a new version to GitHub in the downloads section, GitHub has to push that change to all of it's content providers - essentially web caches that sit closer to you than GitHub machines do. Unfortunately, that takes time, and not all of them will get updated simultaneously. For the purposes of consistency, though, the 'raw' version in the repo must be always up to date, so the one you download can differ from the one actually stored in the repo.
     
  23. This appears to be due to an inconsistency in the scheduler. Do you have any plugins that enable sponges' old functionality? If so, maybe the plugin uses some sort of scheduler that coincides with pitfall's. Try disabling that temporarily and see if the problem persists.

    That is strange, I don't know what would cause that. A lot of the other plugins I've downloaded also host their jar files from github and no one seems to have a problem. Also, why are you trying to unzip the .jar file?
     
  24. Offline

    l0stb3ta

    I'm not sure what you mean by 'scheduler.' This is the list of plugins I have installed on my server:
    Show Spoiler
    Code:
    - Citizens
    - iChat
    - iConomy
    - LocalShops
    - LoginMessage
    - MakeEmSpawn
    - mcMMO
    - Micro Minecart Starter/Minecart Starter Plugin
    - MobBounty
    - MyHome
    - MyWarp
    - Permissions
    - PermissionsPlus
    - Runecraft 2.6
    - SkyPirates
    - WorldEdit
    - WorldGuard
    
    - xAuth


    I'm not entirely sure what you mean by 'scheduler' - if you're referring to any ability to mess with time, runecraft will do that. The only thing I can think of that might modify sponge functionality would be WorldGuard or WorldEdit; probably WG, since sponges used to be able to be used to delete water blocks. To my understanding though, there are people who run WG and WE without problems alongside Pitfall...

    Let me update WG and WE and try to see if I can keep generating that error.
     
  25. The scheduler is a separate thread that runs alongside the main bukkit server thread, it's job is to allow delayed or repeatable tasks.

    What pitfall does is the following:
    After stepping on the trap, it destroys the blocks that comprise of the trap. Then it sets up a delayed task in the scheduler that tells the server "hey i just destroyed some blocks, put those blocks back in 2 seconds"
    What I'm guessing is the problem is that after starting the delayed task, something happened to the scheduler, causing there to be a synchronization error.

    I'm not too sure what the problem is since I can't seem to be able to reproduce the bug. Hopefully updating your other plugins will help. Have you tried temporarily running with only pitfall and no other plugins to isolate the problem?
     
  26. Offline

    l0stb3ta

    Even with Pitfall being the only plugin I'm running, I get the error. Here's a bit more in depth of an error message, straight out of the console (not the Bukkit log):
    Show Spoiler
    Code:
    00:51:06 [SEVERE]       at java.util.TreeMap.fixAfterInsertion(TreeMap.java:2124)
    00:51:06 [SEVERE]       at java.util.TreeMap.put(TreeMap.java:576)
    00:51:06 [SEVERE]       at java.util.TreeSet.add(TreeSet.java:255)
    00:51:06 [SEVERE]       at net.minecraft.server.World.c(World.java:916)
    00:51:06 [SEVERE]       at net.minecraft.server.BlockFlowing.e(BlockFlowing.java:300)
    00:51:06 [SEVERE]       at net.minecraft.server.Chunk.a(Chunk.java:270)
    00:51:06 [SEVERE]       at net.minecraft.server.World.setRawTypeIdAndData(World.java:230)
    00:51:06 [SEVERE]       at net.minecraft.server.BlockStationary.i(BlockStationary.java:34)
    00:51:06 [SEVERE]       at net.minecraft.server.BlockStationary.doPhysics(BlockStationary.java:26)
    00:51:06 [SEVERE]       at net.minecraft.server.World.k(World.java:386)
    00:51:06 [SEVERE]       at net.minecraft.server.World.applyPhysics(World.java:363)
    00:51:06 [SEVERE]       at net.minecraft.server.World.update(World.java:334)
    00:51:06 [SEVERE]       at net.minecraft.server.World.setTypeId(World.java:306)
    00:51:06 [SEVERE]       at org.bukkit.craftbukkit.block.CraftBlock.setTypeId(CraftBlock.java:127)
    00:51:06 [SEVERE]       at com.bukkit.jason.pitfall.PitfallPlayerListener$3.run(PitfallPlayerListener.java:127)
    00:51:06 [SEVERE]       at org.bukkit.craftbukkit.scheduler.CraftWorker.run(CraftWorker.java:33)
    00:51:06 [SEVERE]       at java.lang.Thread.run(Thread.java:636)
    00:51:06 [SEVERE] java.lang.IllegalStateException: TickNextTick list out of synch
    00:51:06 [SEVERE]       at net.minecraft.server.World.a(World.java:1693)
    00:51:06 [SEVERE]       at net.minecraft.server.World.doTick(World.java:1465)
    00:51:06 [SEVERE]       at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:361)
    00:51:06 [SEVERE]       at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:285)
    00:51:06 [SEVERE]       at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)
    00:51:06 [SEVERE] Unexpected exception
    java.lang.IllegalStateException: TickNextTick list out of synch
            at net.minecraft.server.World.a(World.java:1693)
            at net.minecraft.server.World.doTick(World.java:1465)
            at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:361)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:285)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)
    


    The trap door I'm using is 9x8. It is providing a blockage to a waterfall. The idea is, when I step on the stone above the trap block (doesn't matter what it is; I've tried sponges and double slabs, both result in this), the barrier to the waterfall disappears, providing me with a smooth descent to the ground, without leaving my castle open to the boat elevator trick.

    Let me test and see if this issue occurs with my traps, which are smaller (3x3 or 4x4 at the most), with air surrounding, not water).

    I'm using CB build 740, and again, Pitfall is the only plugin loaded.

    Also: Thanks so much for trying to help me with this problem!
     
  27. Not trying to unzip, just checking if its corrupted :) Quicker to open it in Winrar than launching bukkit server which in its own way throws 10 lines of error messages because it can't open the jar.
     
    petrifiednightmares likes this.
  28. Offline

    Montag

    I thoroughly enjoy this plugin.

    Keep up the good work!
     
  29. Offline

    Johnienna

    When you stuck in the trap the server stuck,is there any fix for it?
     
  30. Can you elaborate what you mean by "stuck"?
     

Share This Page