Inactive [MECH] PorteCoulissante - Easy and realistic portcullises

Discussion in 'Inactive/Unsupported Plugins' started by Captain Chaos, Mar 6, 2011.

Thread Status:
Not open for further replies.
  1. Offline

    Captain Chaos

    ****************************************************************************************
    PorteCoulissante moved to BukkitDev!

    PorteCoulissante has moved to BukkitDev! I will no longer be updating this thread, please use the BukkitDev page to keep track of developments, download the plugin and source code, read how to configure it and other details, etc.
    ****************************************************************************************

    PorteCoulissante - The easy and realistic portcullis plugin:

    Build redstone powered portcullises, without using commands! This is my first ever Minecraft plugin, so please be gentle! I needed a project for my first plugin, and I've always wanted a working portcullis in my town gate, so I decided to write this. I subsequently discovered that there already is a portcullis plugin (which is why I named mine after the French word that the word portcullis was derived from), but I think mine has enough distinguishing features to be useful.

    Download the latest release from the BukkitDev page.

    Also check out the new sister plugin, RetractableBridge, which does basically the same thing, only horizontally.

    Features:
    • It doesn't use commands. Just build the portcullis and it will work.
    • Stateless, i.e. it does not have to save anything on the server.
    • It's redstone powered, giving you flexibility in controlling it.
    • It is realistic. The portcullis does not disappear, but moves up and down just like a real one would.
    Usage:
    • Build the portcullis itself by stacking rows of fences (wood or iron), at least two wide and two high.
    • Build the wall around it to contain it. Leave enough empty space above the portcullis to allow it to go as high as you want it to go.
    • Power the portcullis by powering one of the blocks adjacent to it on either side, by attaching a lever or redstone dust. For now, the power has to come from the side.
    • The result should look something like this:
    [​IMG]
    • When the block is powered, the portcullis will start moving upwards, and will keep going until it hits something and can't go any further. It moves slowly, since a portcullis is heavy!
    • Important: make sure that when it is in the up position, it is still in contact with a powered block (the same one, or a different one).
    • When the power goes off, the portcullis will drop down (a lot faster than it went up).
    • Decorate the gate by building walls in front of and behind the portcullis to cover the empty space and to make it appear the portcullis is moving in a groove. Of course you can make it look any way you want! Here is an example:
    [​IMG]

    Hints and tips:
    • The portcullis can be any size you want, as long as it is at least two blocks wide and two blocks high. It must be rectangular though, and have no holes. If the portcullis breaks, it won't move any more until you repair it.
    • Try to make the empty space above the portcullis one block less high than the portcullis itself (like in the first picture above). That way, you only need to power one block (the one in the middle on either side), since that block will always be in contact with the portcullis.
    • Of course the empty space can be even smaller, if you want. The portcullis only has to go up two blocks to let people through, or three if you want the passage to be a little less claustrophobic.
    • The portcullis will go through (and hold back) water and lava, so you can make water gates and water or lava traps with them.
    More information:

    For download links, source code, configuration information and change logs, please see the BukkitDev page:

    http://dev.bukkit.org/server-mods/portecoulissante/
     
  2. Offline

    Maxis010

    This is because it's a heavy gate so slow to rise and fast to fall
    It can't be changed without modifying the plugin directly as there is no config or commands and no plans to add them as of the devs last post
     
  3. Offline

    Incendia

  4. Offline

    Captain Chaos

    There is nothing to fix, as this isn't a bug. You have enabled debug logging at the most detailed level for both plugins (or if you didn't, somebody else has, or another plugin has), and it generates a lot of output at that level, including stack traces to track where certain code is being executed from. Those aren't actually errors you're seeing.

    If you enabled debug logging yourself, but don't want debug logging from my plugins then you should set the debug level for the "Minecraft.org.pepsoft" package to INFO. I can't tell you exactly how to do that, as it depends on how you enabled the logging in the first place.

    If you didn't enable it yourself then you need to find out who, or what, did. Apparently whatever it was happened some time yesterday, so I image it should not be too hard to find out.

    Let me know if you have no idea what I'm talking about and I'll try to help you further!
     
  5. Offline

    Captain Chaos

    So did you manage to correct the situation?
     
  6. Offline

    Incendia

    No actually, I've been looking and looking and I can't find anything that would've had this effect on the log. It's odd because only those two plugins were/are spamming like that.
     
  7. Offline

    Captain Chaos

    Very strange. Something must have happened. You should be able to see exactly at which time, since that is when the excessive logging would start in the log file. Did you update any plugins, or install new ones? Did you change the way CraftBukkit is started? Which version of CraftBukkit are you using, and did that change? Can you post the startup script (.cmd or .bat file) you're using here, as well as your server.properties?
     
  8. Offline

    Simanova

    Error on plugin reload via /rel & /reload

     
  9. Offline

    Captain Chaos

    That's the same thing as Incendia is seeing. It's not an error, it's debug logging. Somehow debug logging has been enabled on your system at the highest level.

    Since Incendia has the same problem it's no longer very likely that it was something you did yourself. It must be a plugin doing this, or CraftBukkit itself.

    Which version of CraftBukkit are you running? Did you update CraftBukkit around the time this started happening? Did you update or install any plugins at that time?
     
  10. Offline

    Incendia

    RB 1000, plugins list:

    AdminCMD, BigBrother, BukkitContrib (need to get rid of this in favor of spout), dynmap, Essentials, IgnoreLogger, lastLogin, LogBlock, LogBlock Questioner, LoginQueue, LWC, mcbans, mChat, mcMMO, Minecart Mania, ModyifyWorld, MyHome, NoCheat, PermissionsEx, Petition, PorteCoulissante, Retractable Bridge, WorldEdit, WorldGuard.
     
  11. Offline

    Captain Chaos

    Would you mind trying to run the server with no plugins at all, except PorteCoulissante and RetractableBridge? If that fixes the problem we know it is one of those plugins. If so, perhaps then you could try running without IgnoreLogger as thats appears to have something to do with logging?

    Simanova, do you have any plugins in common with Incendia?
     
  12. Offline

    TheGurw

    Check out the Spout plugin...some SERIOUS stuff happening there.

    Anyway, I'm getting this warning (it's not stopping anything from happening, just thought you might want to see it)

    That happens for both this and RetractableBridge.

    Anyway, awesome plugins, great work, and don't forget to check out Spout. If you use it and end up adding the sounds, I will give you a cookie.

    (oh and hey, I used your plugin in a demonstration of the PailStone plugin, check it out: LINK)
     
  13. Offline

    Captain Chaos

    The plugins need to determine which version of CraftBukkit you are running , because older versions have a bug that prevents certain functionality from working. They do this by parsing the version string, but for some reason on your system they can't parse the string and determine the CraftBukkit version. Are you running a custom build perhaps?
    Nice! :) Thanks for tip, and the tip about Spout.
     
  14. Offline

    TheGurw

    Using CB1000.
    NP, I'd like to see Spout more commonly implemented. The more people use it, the better Minecraft will be!
     
  15. Offline

    Captain Chaos

    That's very odd. I'm running CraftBukkit version 1000, and I don't get those warnings. Can you give me the line from your server.log which identifies the CraftBukkit version? It's logged at server startup and it begins with "[INFO] This server is running ...".
     
  16. Offline

    TheGurw

    ??? That's weird. Apparently I'm running version 'null'. Hmm, I'll redownload CB1000 and get back to you.

    EDIT: That fixed it. Sorry for the bother!
     
  17. Offline

    Captain Chaos

    No problem! They must have had a bad build just at the moment you downloaded that version or something.
     
  18. Offline

    Nick2253

    I'd like to add another vote for different block support. I've been making an obsidian vault, and I would love to have a giant, solid obsidian doors that slowly retract into the ceiling!

    If possible, I would like a way to program a "stop", so that the door and/or bridge would stop movie. I don't know a whole lot about the exact function of your plugin, but I was thinking something like:

    If the moveable group (door/bridge) receives two redstone charges, then the group should stop in place. If the group receives only one, then it would move like normal. If the group receives none, it would retract (like normal).

    Thanks for making two great plugins! My server is a much better place because of your contributions.
     
  19. Offline

    Captain Chaos

    I get that request a lot, so I probably will make it configurable. But you have to realise that this could backfire very easily, due to the stateless nature of the plugin. Think about it: any obsidian wall that just happens to have a bit of redstone next to it would suddenly fly up into the air!

    Now, people don't tend to build with obsidian much, so in the case of obsidian it might not be a problem in practice, but you would still have to carefully think about which materials you would allow to be used for portcullises, and make sure all your users know about it and have a say in it.
     
  20. Offline

    Nick2253

    I can imagine someone running redstone against my vault and watching it fly into the air; not good!

    I know this is probably not what you want to do, but would there be a way to specify the portcullises with a command, similar to MagnetBlock?

    Thanks!
     
  21. Offline

    Captain Chaos

    You're right, I don't want to do that... ;) I don't like commands, they take you out of the game. I like the elegance of just building something in the right configuration and having it work.

    I will probably add configuration (I have nothing against that, it's just a bit of work to add it), but never commands.
     
  22. Offline

    Nick2253

    Good to hear about the configuration options! And as far as commands go, I totally understand. And since you are the one developing this bad boy, not me, no complaints here. I just wish that Minecraft had a more immersive, built-in way to give us the same functionality as commands!

    Once again, thanks for your contribution to the community!
     
  23. Offline

    Riggs Tooples

    Your plugins are amazing sir. I enjoy the simplicity of implementation. I know simply keeping up with the maintenance of this and the bridge plugin can be a hastle, but I must ask: any hint as to your next plugin venture? If of course you intend to do more.
     
  24. Offline

    Captain Chaos

    Thank you. :)

    I have no current plans for new plugins, as I am currently pretty busy with WorldPainter...
     
  25. Offline

    Xordaii

    Having trouble with this plugin on 1060: Have not changed a thing in setup from the time you visited the server, and they were working then. This is a clean install of a 1060 server with nothing but MultiVerse and this plugin running.

    The circuits are working, they are on top of a wall and visible, you can see hitting the lever toggles the signal. I hit the lever, nothing happens other than signal change, though.This is on all the worlds, I have these on different worlds, 2 using levers and one using pressure plates, but they aren't working at all.

    Any ideas on what is happening? No errors to console.
     
  26. Offline

    Captain Chaos

    Hmmm. I just verified that both plugins work correctly on CraftBukkit build 1060, so I have no idea why they don't work for you. Are you sure the plugins are being loaded correctly? They should both report their presence at startup in the server.log file.

    Hey Incendia & Simanova,

    I haven't heard from either of you in a while. Have you solved the problem of the excessive debug logging in server.log?

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

    Xordaii

    Yup. It wasn't loading at startup, thanks for the help. I saw everyone else saying it worked, and thought, hmm, why can't I get it to work? Guess what? I-D-ten-T error. It snuck in as the only .zip file in the plugin folder. Face palm. Don't do server upgrades while afflicted with migraines. It just causes more headaches.
     
  28. Offline

    Simanova

    I changed nothing like debug level. This error appears after doing a /rel or /reload (plugin reload)

    I could upload my server.log, if it is helpful
     
  29. Offline

    Captain Chaos

    As I explained before, this is not an error. As you can see, the log level in that message is [FINEST], which means that it is low level debug output. If it was an error it would say [ERROR] (or [SEVERE] or something like that). In this case the debug output includes a stack trace, to be able to tell where the code is being invoked from, but that does not mean it is an error.

    Normally, the log level for the server.log file is set to INFO, so that debug output is not logged. Something on your system is setting the log level to FINEST (or even higher), so that the debug output is logged.

    The /rel command does not work in vanilla CraftBukkit. You must be using some additional plugin, which may be causing this phenomenon. Could you tell me which plugins you are using? Would you mind trying to run without any plugins (except PorteCoulissante and RetractableBridge) to see if the phenomenon goes away then (the /reload command should still work)?
    I'd be interested to see it, yes, if you could send it to me.

    By the way, the reply you are quoting was to Incendia, and I'm not convinced you have the same problem. He was seeing a constant huge volume of debug output, but if I understand it correctly you are only seeing this when you reload the plugins?
     
  30. Offline

    Simanova

    I dont know where i can disable [FINEST] logging
     
  31. Offline

    Captain Chaos

    Could you please answer my questions and try my suggestions? I want to help you, but I need information from you, as I can't reproduce the problem on my system.
     
Thread Status:
Not open for further replies.

Share This Page