Inactive [MECH/FUN] Portal Gel v1.3.2 - Bring in the Portal 2 gel effects [1.3.1-R1.0]

Discussion in 'Inactive/Unsupported Plugins' started by LittleGruz, Aug 28, 2011.

  1. Offline

    LittleGruz

    Portal Gel - Bring in the Portal 2 gel effects
    Version 1.3.2:

    Add a little Aperture Science to your Minecraft server with this mod which allows players to "bounce" on the Repulsion Gel and accelerate on the Propulsion Gel.

    Features:
    • Causes the player to "bounce" when landing on a blue wool block.
    • Causes the player accelerate in the direction they are looking at when over an orange wool block.
    • Boots which prevent any fall damage.
    • Able to have both normal and gel blocks.
    How to use:
    • To place a gel block:
      • Type the command: /gelplacement on
      • This will cause every blue or orange wool block be a gel block.
      • Once done placing the gel, type the command: /gelplacement off
    • Repulsion Gel:
      • Place a blue wool block down where you intend to land.
      • Jump onto it from (at least) a height of 1-11 blocks.
      • Find a safe place to land after the bounce (e.g. not lava).
    • Propulsion Gel:
      • Place orange blocks where you want to accelerate.
      • Walk over it.
      • Zoom!
    • Portal boots:
      • Wear iron boots.
      • Enable or disable their effect with the command: /portalboots <on|off>
    NOTE: Falling onto the gel from any height above 11 blocks will result in being launched only 11 blocks back into the air. But due to the bug mention below, some heights don't seem to work (e.g. 12 and 17 blocks high)

    OTHER NOTE: Repulsion gel does not work in creative mode.

    View the BukkitDev page here.
    Download the plugin on this page, or the permissions restricted version here.
    Or check out the site here.
    Or download the source code here.

    Demo video enclosed in the spoiler
    Instruction video (open)

    For those of you who speak Polish, the lovely user Fre0n100 has created a video for you.
    Polish video (open)

    Everyone should check out this fantastic video by James and his door challenged friend, Matthew.
    Aww yeah (open)

    Seaborgium has made another great instructional video for my plugins!
    Borg of the sea (open)


    Enjoy my mods? Donate! Dislike my mods? Donate!

    Known bugs:
    • Some falling distances larger than 11 blocks don't seem to launch the player back into the air.
    Future plans:
    • Increase the working repulsion gel range if necessary.
    Changelog:
    Version 1.3.2:
    • Updated to use the new event handling/listener system
    Past versions (open)
    Version 1.3.1:
    • Fixed PlayerInterect event bug.
    Version 1.3:
    • New way to make gel blocks
    • Now possible to have normal blue/orange wool and gel blocks on the same server/world
    Version 1.2:
    • Added portal boots and an associated enable/disable command
    Version 1.1.1:
    • Changed the entire way the Repulsion Gel finds the distance fallen.
    Version 1.1:
    • Added the Propulsion Gel.
    Version 1.0:
    • Released into the wild.

    Look at me still talking when there's Science to do
     
  2. Offline

    LittleGruz

    Are the errors from this mod? If so what are the errors? It would be good if you can link to the pastebin.com or pastie.org server log dump.
     
  3. Offline

    tommy3579

    2011-12-18 16:53:04 [SEVERE] Could not pass event PLAYER_INTERACT to PortalGel
    java.lang.NullPointerException
    at littlegruz.portalgel.listeners.GelPlayerListener.onPlayerInteract(GelPlayerListener.java:86)
    at org.bukkit.plugin.java.JavaPluginLoader$11.execute(JavaPluginLoader.java:335)
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:339)
    at org.bukkit.craftbukkit.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:178)
    at org.bukkit.craftbukkit.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:149)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:825)
    at net.minecraft.server.Packet18ArmAnimation.a(SourceFile:38)
    at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:93)
    at net.minecraft.server.NetworkListenThread.a(SourceFile:108)
    at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:527)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:425)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:457)
    2011-12-18 16:53:04 [SEVERE] Could not pass event PLAYER_INTERACT to PortalGel
    java.lang.NullPointerException
    at littlegruz.portalgel.listeners.GelPlayerListener.onPlayerInteract(GelPlayerListener.java:86)
    at org.bukkit.plugin.java.JavaPluginLoader$11.execute(JavaPluginLoader.java:335)
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:339)
    at org.bukkit.craftbukkit.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:178)
    at org.bukkit.craftbukkit.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:149)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:825)
    at net.minecraft.server.Packet18ArmAnimation.a(SourceFile:38)
    at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:93)
    at net.minecraft.server.NetworkListenThread.a(SourceFile:108)
    at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:527)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:425)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:457)


    Just keeps on doing that over and over again until I take the plugin out :(
     
  4. Offline

    LittleGruz

    Next time please link to the sites I mentioned in the previous post for pasting logs.

    I haven't done anything about this bug until now because it hasn't affected gameplay or restrictive in any way and that the bug occurs at seemingly random times. But this is the first instance I've heard of it occurring constantly, which is unreasonable. So with version 1.3.1 it is hopefully gone with a temporary fix.
    The fix is temporary because it removes the feature of being able to turn an already placed wool block into gel by right clicking the block.
     
  5. Offline

    tommy3579

    Thank you so much!
     
  6. Offline

    s3crtAZOnt

    When i close my server and start it up next time gel tuns into wool so i have to reset it again. Any chance to fix this?
     
  7. Offline

    Sich

    Hello,

    Very interesting plugin.
    But it is possible to choose the block for each action ? And block the repulsion block ?

    Apparently there is no config for this :(

    Thanks for the answer.

    Sich
     
  8. Offline

    LittleGruz

    Where you placing the gel by using the command '/gelplacement on'?

    You can use the command '/gelplacement on|off' to toggle placing wool or gel. So using that you can place blue and orange wool whenever you want and, if you wanted, just the one type of gel as well.
     
  9. Offline

    Sich

    well, why not, and for the wool color ? Any chance to edit this ?
     
  10. Offline

    s3crtAZOnt

     
  11. Offline

    LittleGruz

    Hmm, this is a tricky one. Are there any error messages in the console when starting up or shutting down (e.g Error saving Portal blocks) and do you have a file generated called "portalBlocks.txt" in the plugins/PortalGel folder with data in it? Also, do you have other plugins on your server? In the past one or two plugins have caused problems.

    Giving the ability to have different coloured propulsion/repulsion blocks would required me to completely restructure how the plugin reacts to blocks and how the gel blocks are represented in the code. Which is not something I want to do right now, but may be something I get around to later.
    What was "well, why not" in response to?
     
  12. Offline

    s3crtAZOnt

    I have many plugins though, and i dont have any of portalBlocks.txt there either. I dont see any errors in log so i dont know what can cause it. But it can be some plugin though.(screenshot of my plugins folder)
    [​IMG]
     
  13. Offline

    LittleGruz

    Apart from making sure you have the most recent version of Portal Gel. I have no idea why it is breaking particularly since I am unable to recreate the bug.
     
  14. Offline

    LittleGruz

    New version: 1.3.2
    Nothing special, just upgrading to the new Bukkit event system.
     
  15. Offline

    LittleGruz

    s3crtAZOnt
    Thinking about the same problem to what you are experiencing for a different mod, gave me the idea that the UID of your world may be changing upon restart. Which can explain why the blocks do not work after you've restarted the server even if there is still data in the portalBlocks.txt file (the UID is the really long first string in that file).

    If this is the case, then I will try to find a way around it, I think there is another way of identifying worlds. With the change I will try to make it so you guys do not have to re-place down the gel blocks, probably with some intermediate version.
     
  16. Offline

    tructus

    That would be a great idea! I would ask you too if you have time, could you make it work with editworld? Too accelerate gelplacement speed?

    Thanks a lot!
     
  17. Offline

    Chaznuts

    Not sure if you've thought about it before, but it would be awesome if you could "shoot out" the gels from maybe a dispenser block (that may be linked by redstone to a switch). Only thing about this is that it wouldn't actually ADD blue/orange blocks.. it would just CHANGE already existing ones that it lands on. This would make it awesome when I decide to make a portal course (with the PortalStick plugin and this one). I would love to have it shot out, making this plugin nearly exact to the Portal games!

    Also one suggestion: I saw in your video that while running on orange blocks, you looked up to jump.. any way to make it space bar (jump) instead of looking up? Excuse me if it is already like this, as I haven't tried your plugin yet due to my server temporarily being down.

    Anyways, thanks for your awesome contribution! Hope to hear back from you :)
     
  18. Offline

    LittleGruz

    That is a very interesting concept but I'm not sure how easily it can be implemented. I will definitely look into it since it would be pretty cool if I manage to get it to work. Currently, I am thinking it might be able to work by turning a normal block into a blue/orange block if a blue/orange block is thrown/dropped on it.

    If you press your jump key while on the orange blocks, you only rise a smaller amount. This is a side effect of my use of vectors to accelerate players.
     
  19. Offline

    Chaznuts

    Awesome, I sure hope you can get that to work! It may be a while before I actually build a course, so no hurry. :) Not sure if it's possible to change the velocities at which items are shot out of dispensers (or if it's already random.. don't use dispensers much), but 10 orange/blue blocks landing on the same spot wouldn't do much haha. Normal physics seems like it would be simple enough, as if the dispenser is placed higher, it would shoot out farther, etc.

    And about the jumping thing.. so just to clarify since it's a side effect, it can't really be fixed (easily or even at all)? It will be manageable as is, but sure would be easier if you could only rise by jumping! Seems like you currently wouldn't be able to examine certain parts of the course without bouncing around while moving on the orange blocks.

    But anyways, thanks for your feedback and I'll be checking for updates! :D Keep up the great work!
     
  20. Offline

    LittleGruz

    I don't know how easily it would be to fix that jumping problem, but it probably would involve a lot of time. Unfortunately I have not had a lot of free time, so that problem might sit on the back-burner for a bit.
     
  21. Offline

    mat41997

    super plugin
     
  22. Offline

    LittleGruz

    Thanks!
     
  23. Offline

    mat41997

    no updejt 1.2.4
     
  24. Offline

    LittleGruz

    Title fixed. The plugin does work with v-1.2.4
     
  25. Offline

    mat41997

    sorry my fault
     
  26. Offline

    IdealIdeas

    how come players in creative mode dont bounce on the blue gel?
     
  27. Offline

    LittleGruz

    Because for some reason the getFallDistance() method does not return anything in creative mode.
     
  28. Offline

    SeaborgiumMC

    Hey, this plugin is really awesome and I think it deserves more attention. Anyway, I made a plugin showcase for it! You might remember that I also made one for your plugin, MCCowSay. If you could embed this on the first post, that'd be great! Thanks!
     
  29. Offline

    ghostyx123

    I love the plugin, but you should add aliases for "/gelplacement [on/off]" such as "/gp [on/off]" or "/gpt" just to toggle it.

    Probably because in creative mode you take no fall damage, whereas in survival you take it after a certain distance. This requires it to log how far you fell, and compare it to how far you fall to take fall damage.

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

    LittleGruz

    Good idea.
     

Share This Page