[FUN] HookShot v1.3.3 - Scale mountains with a Hookshot [1060]

Discussion in 'Inactive/Unsupported Plugins' started by SalamiJack, May 7, 2011.

  1. Offline

    SalamiJack

    HookShot - The Hookshot Plugin:


    BukkitDev Link: http://dev.bukkit.org/server-mods/hookshot/


    Attention! If you are having issues with "Moved too quickly" kicks, use http://robinvandervliet.nl/plugins/NoMovedTooQuicklyKick/!

    Version:v1.3.3

    HookShot is a plugin that allows users to fire an arrow as a "hook", and then use string to pull themselves towards it! Right-Click whilst holding arrows to fire a "hook", then right-click whilst holding string to "pull" yourself towards the hook! Consumes string per use!

    Now Uses Permissions! Add 'hookshot.use' to use! Hooks are NOT a replacement for bows, hooks no longer do damage!

    Features:
    • Right-Click whilst holding arrows to fire them as a "hook"!
    • Right-Click whilst holding string to "pull" yourself to the hook!
    • Allows another use for string!
    • Scale tall mountains with ease!
    • Editable config allows you to set the "hook" item, "pull" item, "pull" cost, and if there's a cost at all!
    • Want to scale up flat walls? Holding shift, then "pulling" causes a block to be placed beneath you simulating you "gripping" the wall. When you stop holding shift, the blocks disappears.


    Jar:http://dl.dropbox.com/u/28518857/HookShot.jar
    Source:https://github.com/dggriffin/HookShot

    Changelog:

    Version 1.3.3

    • Updated code to adapt pulling differently based on hook to player distance formula. Hopefully should reduce issues with moved wrongly errors.
    • Fixed exception thrown when players right-click with string with no hook fired.
    • Fixed exceptions thrown when skeletons shoot arrows.
    Version 1.3.2

    • Updated EntityListener to ensure hooks do not damage players or mobs.
    • Players can no longer pull to their hooks unless it has landed. No more flight :)
    • Changed Dirt block to Glass
    Version 1.3.1

    • Attempted to fix odd Permissions issue...
    Version 1.3.0
    • Cleaned up source code and updated it to the repository.
    • Made the "pulling" cleaner and more efficient, should result in much less movement errors
    • Dirt blocks now correctly disappear
    • The hook now has 10 more blocks of range in all directions
    • Half blocks are no longer destroyed when pulled to
    • Damage issue should be mostly resolved
    Version 1.2.2
    • Fixed glitch that caused players to teleport sequentially to their past hooks and place non-disappearing dirt blocks there.
    Version 1.2.1
    • Fixed the issue allowing other players to use your hook.
    Version 1.2
    • Added Pull Simulation
    • Added config file which lets you edit the hook item, pull item, pull cost, and if there's a cost for pulling at all
    • *Hopefully* fixed the glitch allowing players to be sent to other player's hooks
    • *Hopefully* fixed noclip error
    • Want to scale up flat walls? Holding shift, then "pulling" causes a block to be placed beneath you simulating you "gripping" the wall. When you stop holding shift, the blocks disappears.
    Versions 1.1.1
    • Added support for non-permission users
    Version 1.1
    • Added Permissions support ('hookshot.use')
    • Arrows now correctly subtract, you can still pick up the "hook"
    • Hooks do not damage monsters, animals, or players.
    Version 1.0

    • First Release!
    Known Bugs:
    • Pulling into corners or other odd areas can lead to the player "bouncing" off the surface.
    • Pulling from a large distance can sometimes cause the player to be auto-kicked for moving to fast in respect to the server.
    • Doors will still be destroyed when pulled to
    Upcoming Features:

    • Configurable string cost, hook distance, "hook" item, "pull" item, and iConomy support.
    • Simulate pull effect rather than simple teleport.
    • Allow for players to only pull to server specified blocks
    • Possibly change up the arrow/string system
     
  2. Offline

    KnurlDeSilex

    Mod is amasing!

    p.s. what texture pack do you using? I like it very much, i never use a texture pack, but whe i see youre video, its break my mind :p
     
  3. Offline

    Masterflapdrol

    This doesnt fockin work :(. maybe use the fishing rod as a grappling hook or something! :) [creeper] if i use it itll kick me becuse i move to fast. fix that?
     
  4. Offline

    SalamiJack

    Thanks! SimplyStuf7's Clean Design Pack.

    What doesn't work? And I decided I won't be using the fishing rod because I don't want to interfere with it's original use for now. This is subject to change.

    Also, as it stands I can't do much about the auto-kicking..As that a safe-guard included by Notch or Bukkit..If anyone knows of a way to disable it, I'd appreciate it.
     
  5. Offline

    Masterflapdrol

    HEEEEEEYYY!!!! i found a kickfix for ya! :D KLICK ME IF YOU HEVE THE MOVED TOO QUICKLY KICK! http://robinvandervliet.nl/plugins/NoMovedTooQuicklyKick/

    Hey now the moved too quickly glitch is fixed: maybe remove the hook too far away! :) i hate it :p

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jul 16, 2016
  6. Offline

    eoden13

    I have a question... Is it possible to fix this one issue.
    If I am using hookshot to scale a building. I throw my first hook it attaches. I hold shift and use the string so it pulls me up and holds me at that spot. if I then shoot another hook up the building and while holding shift use string to get to the next position it leaves the dirt block at the original place I stopped... :( after awhile all the buildings are covered in dirt blocks and I gotta pay a cleaning crew to clean the windows ;) any thoughts on that? Thanks
     
  7. Offline

    Kevger

    is this with towny compatible?
     
  8. Offline

    TheTennessee

    It does seem a little buggy, particularly with getting damaged when you do it.

    Feature request: Can you make it so we can set the block type used when scaling? I'd prefer it to be glass to be honest.

    Otherwise I really like the mod. Gives a use for string finally.
     
  9. Offline

    Bluebomb

    Can you have it consume arrows, or does it already do that?
     
  10. Offline

    qlpwii

    Can u make it were you can change the distance?
     
  11. Offline

    dak393

    You can add a pull cost of an arrow.
    It should delete all the dirt blocks once you let go of shift and move... are you using the most recent version?
     
  12. Offline

    kevile

    Players can fire a new hook and pull before the first hook hits, players can also fire and pull while already in the air. This essentially means they can fly.

    Players can fire a hook into a Lockette sign, pull while holding shift, and break the protection.

    Players can scale a wall within a worldguard'ed region, and leave their dirt block permanently (as described earlier in thread)

    edit: forgot one -- i can set the hook item to anything i like, but after being fired, players can collect the arrows. If you set the hook item to something less valuable than an arrow, you've got arrow farmers.

    I've had to remove this otherwise great plugin from my server because of these problems :( let me know if you become active again.
     
  13. Offline

    Salomon

    I'm new to bukkit/plugins, so I may be missing something really obvious... But after installing this plugin, how do I actually use/create/summon a hookshot? I installed it and I can't even test if it works because I don't have a hookshot item in my inventory...
     
  14. Offline

    vanja

    hey very nice plugin :), but can you make me just a very simple plugin that will DELETE arrows when they hit floor, i have lot of dispensers so when they shoot too many arrows it starts to lag :) tnx in advance :)
     
  15. Offline

    fghjconner

    Building on what kevile said, holding shift allows you to break down doors and slabs. Also, your source code seems to be either incomplete or outdated. It doesn't even contain the shift block effect. Very fun plugin however, I like it.
     
  16. Offline

    SalamiJack

    Ahh I see, I'll continue to work on that. Also, yes the code is very outdated. I'm currently working on a build that is almost finished and then I will update my repository. I'll keep you all posted!

    1.3 is released!

    Attention! There may or may not be errors regarding permissions use, please let me know if there is! The permissions node is still hookshot.use

    Also, I have not yet been able to fix the destroying door issue! I am currently close to fixing it!

    Changelog:

    Version 1.3.0
    • Cleaned up source code and updated it to the repository.
    • Made the "pulling" cleaner and more efficient, should result in much less movement errors
    • Dirt blocks now correctly disappear
    • The hook now has 10 more blocks of range in all directions
    • Half blocks are no longer destroyed when pulled to
    • Damage issue should be mostly solved.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jul 16, 2016
    Inscrutable likes this.
  17. Offline

    gamemaster1494

    It isn't working at all. I right click with arrow and it does nothing... Halp!
    (btw im set to owner so i have every permission)
     
  18. Offline

    SalamiJack

    Interesting, anyone else having this issue? What are you using to handle your permissions?
     
  19. Offline

    gamemaster1494

    I am using Permissions 3.1.6.
     
  20. Offline

    Seraph92

    Yeah, i'm having the same problem. I am using GroupManager and FakePermissions. The ones that come with the essentials package.
     
  21. Offline

    SalamiJack

    Try it out now. I'll have to work with it more later, but this should at least let everyone use it. So far I've found the inclusion of an integrated permissions system in bukkit to be less help and more of a headache.
     
  22. Offline

    Seraph92

    Ok, its working now. Thanks a bunch!
     
  23. Offline

    gamemaster1494

    Works now. But is the arrow supposed to stay there when you are pulled to it?

    Also damage works... =3 Still fun to use tho. =D
     
  24. Offline

    SalamiJack

    That's odd, the arrow has been picking up just fine in my testing.
     
  25. Offline

    gamemaster1494

    I think i know why this happened but:
    I shot the arrow in the air and while it was flying (straight up) i rode it and shot another and rode that etc....


    19:05:27 [SEVERE] Could not pass event PLAYER_INTERACT to HookShot
    java.lang.NullPointerException
    at me.salamijack.HookShot.HookShotPlayerListener.onPlayerInteract(HookSh
    otPlayerListener.java:162)
    at org.bukkit.plugin.java.JavaPluginLoader$11.execute(JavaPluginLoader.j
    ava:314)
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.jav
    a:58)
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.j
    ava:338)
    at org.bukkit.craftbukkit.event.CraftEventFactory.callPlayerInteractEven
    t(CraftEventFactory.java:168)
    at net.minecraft.server.ItemInWorldManager.interact(ItemInWorldManager.j
    ava:210)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:573)
    at net.minecraft.server.Packet15Place.a(SourceFile:57)
    at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:89)
    at org.getspout.spout.SpoutNetServerHandler.a(SpoutNetServerHandler.java
    :436)
    at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:454)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:363)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    19:05:28 [SEVERE] Could not pass event PLAYER_INTERACT to HookShot
    java.lang.NullPointerException
    at me.salamijack.HookShot.HookShotPlayerListener.onPlayerInteract(HookSh
    otPlayerListener.java:162)
    at org.bukkit.plugin.java.JavaPluginLoader$11.execute(JavaPluginLoader.j
    ava:314)
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.jav
    a:58)
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.j
    ava:338)
    at org.bukkit.craftbukkit.event.CraftEventFactory.callPlayerInteractEven
    t(CraftEventFactory.java:168)
    at org.bukkit.craftbukkit.event.CraftEventFactory.callPlayerInteractEven
    t(CraftEventFactory.java:139)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:541)
    at net.minecraft.server.Packet15Place.a(SourceFile:57)
    at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:89)
    at org.getspout.spout.SpoutNetServerHandler.a(SpoutNetServerHandler.java
    :436)
    at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:454)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:363)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
     
  26. Offline

    SalamiJack


    Haha yes, that's actually an exploit I'm currently working on fixing. :p

    Damage works? As in the arrow is hurting other things?

    EDIT: Yes, for some odd reason arrows are damaging again, which is disheartening because little has changed in the arrow listener...I will continue to work on that and the flight exploit.

    1.3.2 is Live!

    Changelog:

    Version 1.3.2


    • Updated EntityListener to ensure hooks do not damage players or mobs.
    • Players can no longer pull to their hooks unless it has landed. No more flight:)
    • Changed Dirt block to Glass
    Still currently working on the door fix!

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

    gamemaster1494

    Aw.. I liked that flight thing xD oh well. Good deal. =D
     
  28. Love the Plugin btw. Just wondering if you ever thought or could add in. Left and Right click options or even use them together. This way lets say Hook item is Arrow (Right click to throw). then Pull item is again Arrow (Left click to pull). And if wanted add a Pull cost to be any item you want (string lets say.) Now someone could just make 1 item to be the Hookshot (arrow on action bar) and use a cost (String stored in inventory). Save space and allows a customize Hookshot.

    Config layout:

    hook_item: 262
    hook_click: right #left or right
    pull_item: 262
    pull_click: left #left or right
    cost_item: 287
    foothold_item: 20 #change desired shift block will be

    *optional*
    grapple_mode: true #true or false (allow selective blocks that a can hooked Only)

    hookable_blocks: 4, 5, 49, 56 #(Blocks that are hookable during grapple_mode)

    thanks for your time
     
    Tanite likes this.
  29. Offline

    SalamiJack

    Very interesting! I'll be playing around with this idea.
     
    Tanite likes this.
  30. Offline

    Tanite

    1.3.2 cb1060

    Code:
    07:31:30 [SEVERE] Could not pass event PLAYER_INTERACT to HookShot
    java.lang.NullPointerException
            at me.salamijack.HookShot.HookShotPlayerListener.onPlayerInteract(HookShotPlayerListener.java:167)
            at org.bukkit.plugin.java.JavaPluginLoader$11.execute(JavaPluginLoader.java:314)
            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:338)
            at org.bukkit.craftbukkit.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:168)
            at org.bukkit.craftbukkit.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:139)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:541)
            at net.minecraft.server.Packet15Place.a(SourceFile:57)
            at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:89)
            at org.getspout.spout.SpoutNetServerHandler.a(SpoutNetServerHandler.java:436)
            at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
            at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:454)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:363)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    
     
  31. Offline

    SalamiJack

    What happens specifically when this exception appears?
     

Share This Page