Inactive [MECH] PickBoat v0.5 - change boat destruction behavior [1.3]

Discussion in 'Inactive/Unsupported Plugins' started by maczydeco, Jan 27, 2011.

  1. Offline

    maczydeco

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
  2. Offline

    Plague

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Nice one, thank you!
     
  3. Offline

    Medlir

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    At first I thought this wasn't working at all, but after some testing, it seems the wording is just ambiguous as to what this does. Note, when a boat is destroyed by a tool it drops a boat item. However, when a boat is destroyed by running into something, it still breaks up into components. Any chance of extending the functionality to include when a boat runs into something? Or is that better left until Bukkit has the vehicle events and update hook completed?
     
  4. Offline

    scor

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Nice plugin!

    Will give it a try.
     
  5. Offline

    Galrath

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    It's definitely a good start. Thanks for the plugin :)
     
  6. Offline

    moonmike

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    cool gonna try it
     
  7. Offline

    Punchin

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    +1 vote for making it so you get a boat back when you crash as a toggle-able item in a config.
     
    hansudo likes this.
  8. Offline

    hansudo

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    +1!
     
    kenjamen likes this.
  9. Offline

    Ovocean

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Great plugin! You'd wonder why in the vanilla game minecarts could be grabed in the inventory and not boats.

    I like the fact that it still gets broken on crash
     
  10. Offline

    Daveyo

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    you sir are a hero among men, deserve gratitude from our ancestors, and should have your own movie.
    --- merged: Feb 8, 2011 3:14 AM ---
    suggestion, could you make an option that when the boat gets destroyed it turns back into a boat too, or making the boat invincible. Wanting to build a water park, so would like the boats to be ballin
     
  11. Offline

    Arisilde

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    I love this plugin. My server is ocean based and right now these boats are the only real way to travel, so this is perfect.

    I have a request however. With boats being such a big deal, there end up being like a million floating around the oceans from people who don't break them when they get out/log off. Is there any way you could add to this plugin a setting to automatically break unoccupied boats? Either an admin command to break all unoccupied boats in the world like minecart mania has for carts, or a timer that runs after the player exits the boat that will auto break it, or even a serverwide timer that automatically performs a command to break all unoccupied boats in the world automatically every so often. Anything is fine :D It's just a pain having all these boats cluttering the world up and having to break them all by hand.
     
  12. Offline

    hansudo

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Is this possible?
     
  13. Offline

    maczydeco

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    I thought it wasn't possible, but after looking into it a bit more, it was [​IMG]

    Now you can make boats invincible, so they don't break when crashed, but if you liked this, you can still keep it, as everything is configurable in a settings file. There's also a setting to return boats to the player's inventory instead of dropping them.

    I still haven't done anything about breaking empty boats, but I'll look into it.
     
  14. Offline

    CuZnDragon

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Just a warning from the latest craftbukkit.

    2011-02-20 12:25:07 [WARNING] Using the stupidly long constructor net.namedfork.bukkit.PickBoat.PickBoat(PluginLoader, Server, PluginDescriptionFile, File, File, ClassLoader) is no longer recommended. Go nag the plugin author of PickBoat to remove it! (Nothing is broken, we just like to keep code clean.)
     
  15. Offline

    maczydeco

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    ok, just fixed that
     
  16. Offline

    Daveyo

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    NOOOOOOOOOOOOOOOOOOOooooooooooooooooooooooooooooooooo cb 348 has broke the best addon to date

    Code (Text):
    1.  Feb 21, 2011 2:56:05 PM org.bukkit.plugin.SimplePluginManager loadPlugins
    2. SEVERE: Could not load plugins\PickBoat.jar in plugins: null
    3. org.bukkit.plugin.InvalidPluginException
    4.     at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:79)
    5.     at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:117)
    6.     at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:82)
    7.     at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:53)
    8.     at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:171)
    9.     at net.minecraft.server.MinecraftServer.c(MinecraftServer.java:158)
    10.     at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:110)
    11.     at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:209)
    12.     at net.minecraft.server.ThreadServerApplication.run(SourceFile:512)
    13. Caused by: java.lang.NoSuchMethodException: net.namedfork.bukkit.PickBoat.PickBoat.<init>(org.bukkit.plugin.PluginLoader, org.bukkit.Server, org.bukkit.plugin.PluginDescriptionFile, java.io.File, java.io.File, java.lang.ClassLoader)
    14.     at java.lang.Class.getConstructor0(Unknown Source)
    15.     at java.lang.Class.getConstructor(Unknown Source)
    16.     at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:75)
    17.     ... 8 more
    18.  
     
  17. Offline

    Zephirus

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    This should be updated, I love this plugin... so simple... so useful...
     
  18. Offline

    ThomasJ

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    This is the error occuring on build 424 (which seems to be the most stable and compatible atm) which leaves you without both the boat and the materials when it is destroyed by player:

    Code (Text):
    1.  
    2. 2011-02-23 22:39:55 [SEVERE] Could not pass event VEHICLE_DAMAGE to PickBoat
    3. java.lang.NoSuchMethodError: net.minecraft.server.EntityBoat.q()V
    4.         at com.bukkit.namedfork.PickBoat.PickBoatBoatListener.onVehicleDamage(PickBoatBoatListener.java:38)
    5.         at org.bukkit.plugin.java.JavaPluginLoader$47.execute(JavaPluginLoader.java:371)
    6.         at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:59)
    7.         at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:225)
    8.         at net.minecraft.server.EntityBoat.a(EntityBoat.java:107)
    9.         at net.minecraft.server.EntityHuman.d(EntityHuman.java:430)
    10.         at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:733)
    11.         at net.minecraft.server.Packet7UseEntity.a(SourceFile:33)
    12.         at net.minecraft.server.NetworkManager.a(SourceFile:230)
    13.         at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:70)
    14.         at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
    15.         at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:338)
    16.         at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:252)
    17.         at net.minecraft.server.ThreadServerApplication.run(SourceFile:366)
    18.  
    19.  
     
  19. Offline

    Ovocean

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Great plugin that I'd love to see updated !

    This could be added to the core btw, why could we transport mine carts and not boats ?
     
  20. Offline

    Greylocke

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    fyi - same error as above (NoSuchMethodError), using 432
     
  21. Offline

    Kartus

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    same as above, using 432, but at 3 lines are different numbers:

    Code (Text):
    1. at net.minecraft.server.EntityHuman.d(EntityHuman.java:433)
    2. at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:747)
    3. at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:253)
    4.  
     
  22. Offline

    maczydeco

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    I updated it with craftbukkit 457 439, but the VEHICLE_COLLISION_BLOCK isn't being called, so right now boats will break into wood and sticks when crashed fast enough, regardless of the settings.
     
  23. Offline

    Vaupell

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    were currently at build 439, so your saying this plugin works until build 457?

    Where do you find this build ? when i check the official builds were still far from 457 ?

    http://ci.bukkit.org/
    unofficially builds somewhere ?
     
  24. Offline

    ThomasJ

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    You need to look at the end of the version string which states b439jnks which is the build number. Anything else will just add confusion :) Currently build 439 is the latest development build, while 432 is the latest recommended.
     
  25. Offline

    RenStrike

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Anyone know when this will work for 1.3?
     
  26. Offline

    ThomasJ

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Just a heads up
     
  27. Offline

    maczydeco

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Sorry for the confusion, I thought the build was what came just after "0.0.0-", I meant 439 indeed.
     
  28. Offline

    Greylocke

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    [440]boats break into pieces when either punched or hit with a pick. No errors at console. My config is all defaults:
    Code (Text):
    1. boats_die_when_destroyed: false
    2. boats_die_when_crashed: false
    3. boats_return_to_owner: false
    4. boats_never_crash: false
    5. boats_return_to_attacker: false
    is it me or the plugin?
     
  29. Offline

    maczydeco

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    oops, I uploaded the wrong build [​IMG]
    It's fixed now, except for the boat crashing issue
     
  30. Offline

    Greylocke

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    works great! This should be part of the general MC release. Thank you for creating the plugin!
     

Share This Page