[MECH] PumpkinDiver [v0.16] [400-1240]

Discussion in 'Inactive/Unsupported Plugins' started by Afforess, Feb 3, 2011.

  1. Offline


    Pumpkin Diver
    • Wearing a pumpkin helmet extends the time allowed under water by 10x the normal length.
    • Chat prompt alerting users of air remaining at each 10% when wearing pumpkin helmet.
    • No Commands
    • No Configuration
    • No Permissions
    • No Hassle
    Known Issues:
    • Bubble GUI does not update correctly unless you use the Spoutcraft mod.
    Download Here
    Source Code

    • Version 0.10
      • Initial Release
    • Version 0.11
      • Fixed issues with air remaining chat prompt not firing 100% of the time
      • Improved efficiency by ~ 350%
    • Version 0.12
      • Fixed a rare null pointer exception when a player teleports in-between worlds.
    • Version 0.13
      • Conformed to meet Bukkit code naming standards
    • Version 0.14
      • Conformed to meet Bukkit code standards
      • Plugin Properly shuts down when disabled.
    • Version 0.15
      • Bug Fixes
    • Version 0.16
      • Minor enhancements/fixes
    Guide to Adding a Custom Pumpkin Helmet Texture to your client
    (Easy to do and totally safe!)
    • Find the pumpkinblur.png you want to use. I recommend this one by Glimmar.
    • Download it onto your desktop or some place you can remember.
    • Find your minecraft folder (in Windows it's C:\Users\YOUR_USERNAME\AppData\Roaming\.minecraft\bin).
    • Open the minecraft.jar with winrar or 7z.
    • Navigate to the misc folder.
    • Drag the pumpkinblur.png you downloaded earlier over the existing one in the misc folder. Accept the prompt that asks you to overwrite it.
    • Close winrar or 7z.
    • Launch Minecraft, go to a server, and put on a pumpkin to see your custom helmet!
    Changed your mind, and want to go back to the old one? Go back the the minecraft folder and delete the "version" file. This will force minecraft to update when you launch it next time, and revert to the default textures.
  2. Offline


    Yeah - with the whole GM & Permissions fiasco right now, no way would I even bother trying to add support. When bukkit gets real permissions, I'd be happy too.
  3. Offline


    Totally understandable =)
    Here's hoping they get it done sooner than later.
  4. Offline


    Saw this error the other day. Not sure what was up with it. Just thought you should know.

    18:58:09 [SEVERE] Exception in thread "Thread-489134"
    18:58:09 [SEVERE] java.lang.IndexOutOfBoundsException: Index: 7, Size: 7
    18:58:09 [SEVERE]       at java.util.ArrayList.RangeCheck(Unknown Source)
    18:58:09 [SEVERE]       at java.util.ArrayList.get(Unknown Source)
    18:58:09 [SEVERE]       at org.bukkit.craftbukkit.CraftServer.getOnlinePlayers(CraftServer.java:96)
    18:58:09 [SEVERE]       at org.bukkit.craftbukkit.CraftServer.getPlayer(CraftServer.java:103)
    18:58:09 [SEVERE]       at com.afforess.pumpkindiver.PumpkinDiverPlayerListener$1.run(PumpkinDiverPl
  5. Offline


    Odd. But harmless. I'll see what I can do.
  6. Offline


    Bukkit 448 btw
  7. Offline


    found a bug (sorry [​IMG])
    jump into the water wearing the pumpkin, then, while underwater, remove the pumpkin

    causes an infinite air supply, when you should start taking damage
  8. Offline


    You sure? I check if the player has changed the helmet on or off.
  9. Offline


    Great plugin!! :)
  10. Offline


    yes, i'm sure. i checked 4 different scenarios (as op and as guest) before i posted
  11. Offline


  12. Offline


    Confirmed. Craftbukkit (recommended) build #493 & PumpkinDiver v0.14.
    Doesn't matter if you remove the pumpkin while the bubbles are still there or not (if that matters - I haven't seen the code to confirm).
  13. Offline


  14. I just wanted to thank you for making the source available. I used it to create an infinite air plugin of my own.
  15. Offline


    No problem. I'm a firm believer in FOSS.
    Vaupell likes this.
  16. Offline


    Vaupell likes this.
  17. Offline


    I tried replacing the texture in the minecraft jar file, yet when I connect to my server I still get the default texture. What did I do wrong?

    I also tried deleting the META-INF folder just in case, yet that didn't help either. I also tried deleting the bin folder to redownload after launching.

    The plugin works just fine, it's the texture that's messed up.
  18. Offline


    Wish we had a way to rate plugins - my kids love this one.. (we actually didn't even know we could put pumpkins on our head until I installed this for them).. They've been wanting to work on an underwater house for a long time and now this makes it possible

    Trivia - you are editing the minecraft.jar file that is locally installed on the client, Right? not on the server? and its not the minecraft-1.3_01.jar file. After you put the .png file into the misc folder within the .jar file, if you go back in, and double click on the .png file, is it the new one you put in ?
  19. If you're using it to build underwater, you may also be interested in my plugin which just gives infinite air instead of only 10 times air.
  20. Offline


    As others pointed out, you need to modify your client.
    No problem. ;)
    There's a torch mod that simulates holding light already - adding new items into the game can't be done server side.
  21. Offline


    As far as I know, I did as the directions dictated and went to C:\Users\Trivia\AppData\Roaming\.minecraft\bin\minecraft.jar and edited. When I double checked after closing winrar, the file had saved properly. Yet the damn texture is still the same.
  22. Offline


    Excuse the double-post, but there is a bit of a problem and I am fairly sure that it is related to Pumpkin Diver. While the pumpkin helmet works fantastic underwater, sometimes, when people place or interact with a pumpkin block, the server will crash.
    I am running CraftBukkit build 538 along with the plugins EpicZones, Dynmap, Herochat, Midibanks, Permissions, NoFire, and (of course) PumpkinDiver.

    Here is what shows up in the log:
    	at net.minecraft.server.BlockPumpkin.a(BlockPumpkin.java:56)
    	at net.minecraft.server.World.k(World.java:369)
    	at net.minecraft.server.World.h(World.java:347)
    	at net.minecraft.server.World.f(World.java:317)
    	at net.minecraft.server.World.e(World.java:293)
    	at net.minecraft.server.ItemInWorldManager.c(ItemInWorldManager.java:95)
    	at net.minecraft.server.ItemInWorldManager.d(ItemInWorldManager.java:122)
    	at net.minecraft.server.ItemInWorldManager.a(ItemInWorldManager.java:42)
    	at net.minecraft.server.EntityPlayer.f_(EntityPlayer.java:72)
    	at net.minecraft.server.World.a(World.java:1011)
    	at net.minecraft.server.WorldServer.a(WorldServer.java:53)
    	at net.minecraft.server.World.f(World.java:993)
    	at net.minecraft.server.World.d(World.java:970)
    	at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:354)
    	at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:272)
    	at net.minecraft.server.ThreadServerApplication.run(SourceFile:366) 
    It also smashed my posts together. My other one said how I modified Glimmar's pumpkinblur.png to appear more blocky and Minecrafty in origin. I have attached it if anyone wants to use it.

    Attached Files:

    Afforess likes this.
  23. I'm reasonably sure that PumpkinDiver isn't the source of this error since the code doesn't touch the actual block data. (I know because I've seen the source code)

    Also, that error is coming from net.minecraft.server which is all Notch's code.
  24. Offline


    Ah, okay. Thanks for the help, I'll search elsewhere for the cause. :D
  25. I'd suggest running a vanilla server and seeing if it still borks on pumpkin placement. If it doesn't, add plugins one at a time and test it. That way you can report to the correct plugin developer.
  26. Offline


    I took a stab in the dark and updated from 538 to Craftbukkit build 550 and it seems to have solved the problem. Should I put something on the Craftbukkit Leaky?
  27. No. If it's fixed in an update, then it's already fixed. :|
  28. Offline


    I uploaded a video tutorial - not on how to install the plugin (i would hope that a plugin this simple wouldn't require an installation video) - but rather on the possibilities of using this in combination with clear water and a new pumpkinblur.png.

    Just thought you might find it interesting what I've done with it

    Edit: Also, I should probably state (because of recent events) that my account was not compromised using clear waters, and I am not on that list.
  29. Offline


    hey man I was wonderin how groupmanagers and permissions implementation is coming? thats the only thing holdin me back :).
  30. Offline


    A second video (fast forward to 1:10 for the daytime demonstration) with PumpkinDiver!

  31. Offline


    I'm avoiding either, as I'm not a fan of either, nor their plugin developer's behavior of late. Extremely unprofessional. I'm awaiting Bukkit's permissions.


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

Share This Page