[MECH] CrouchJump v0.2 - Jump Momentum [740]

Discussion in 'Inactive/Unsupported Plugins' started by Nate Wiebe, Apr 18, 2011.

  1. Offline

    Nate Wiebe

    CrouchJump v0.2 - Jump Momentum:
    Version: Download v0.2 (wget)

    Ever saddened by being limited to jumping only one block high? Well all that is about to change. Slip on a pair of leather boots and you will be able to crouch jump. Simply crouch (hold SHIFT) then jump, or while in the air crouch (tap SHIFT).

    Features:
    • Allows users to crouch jump with leather boots
    • Permissions Support (Tested with v2.7)
    • Configurable jump height
    How to use:
    • Put on leather boots
    • Use the crouch key and then jump, or jump then crouch in midair
    Permissions:
    • cj.use.jump - crouch jump ability
    Installation:
    • Install Permissions
    • Place .jar in plugins directory
    • Reload server
    Help:

    This plugin REQUIRES Permissions.​
    To get assistance, please indicate which Bukkit build you are running on, and paste your CrouchJump.properties file as well as any errors from the console here: http://www.pasteall.org/

    Changelog (open)

    Version 0.2
    • Fixed a bug that allowed players to jump indefinitely
    • Cleaned up the code a bit
    Version 0.1
    • Initial Release
     
  2. Offline

    jamescosten

    I like the sound of this, shall be testing out now :)

    Ok other than getting this;

    08:30:40 [WARNING] jamescosten moved wrongly!
    08:30:40 [INFO] Got position 36.716524344790685, 69.0, -30.690631389871896
    08:30:40 [INFO] Expected 36.26652434479068, 69.0, -30.690631389871896

    It Kinda works, however it seems that it allows me to jump up One Block and forward 3-4 blocks. So its kind of a crouch leap?? So tried config:

    Changed Jump from 0.5 to 3 and ended up jumping into the sky and not in a good way. Cam down and died :(. Also after 3 jumps my boots died of ware and tare.
    Anyway of changing to Diamond boots? and also perhaps config x and y movement like say, x=2 y=3. So i jump up 2 and go forward 3??

    Cheers you may have some [coal] and maybe one day it will turn into a [diamond]

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

    Nate Wiebe

    @jamescosten: yeah, thats the server thinking it knows exactly what should be going on =P. I will see if I can get it a bit more consistent to get rid of that error.

    Strange, I jump 2 blocks high with the default setting. First the normal jump, then I get a boost. Also try incrementing by smaller amounts, 0.55, 0.6, 0.65 etc. I will look into the boots wearing out. They shouldn't unless you are taking damage when landing. And if anything, I might change them to iron boots. I have an idea for diamond boots already.

    Lastly the plugin is not modifying your lateral movement, only vertical.
     
  4. Offline

    Nytemare3701

    When you add new features, PLEASE add a permission node for each. I love these plugins, but sometimes I wish to use only a few features.

    Bugreport: Allows long glide effects by holding jump.
     
  5. Offline

    Kainzo

    Very neat plugin.
     
  6. Offline

    Nate Wiebe

    @nytemare3701: I strongly believe everything should have permissions support, so don't worry. Every feature will have a permissions node. Also I know it's not perfect yet. Hence v0.1 and not v1.0. Portal 2 is out today, so I will be busy with that today. I will work on this plugin again tomorrow and hopefully get it working smoother.

    @Kainzo: Thanks! I'm still working on it though.
     
  7. Offline

    Nytemare3701

    THANK YOU! I use plugins to add class features to my RPG classes. the current buggy glide effect is currently being used for wuxia style monks.
     
  8. Offline

    Calcifero

    Uhmm, Ive read it can allow you to leap forward. So.. I was wondering if a back-step kind of jump feature could be made? I just wish for my pvp battles to be more fluid, perhaps even with forward dashes?
     
  9. Offline

    Nate Wiebe

    @Calcifero: the plugin actually doesn't change your forward movement at all. The only thing it modifies is your vertical velocity. With having a backstep forward dash, that'd be an interesting idea. Not sure exactly how that would work though. You may want to look into my GoldenSprint plugin. It may do something similar to what you are looking for.

    Also my Portal 2 hiatus is almost over. I will hopefully get back to work on it tomorrow. I have an idea for fixing up the buggy glide I am hearing about.
     
  10. Offline

    Nate Wiebe

    Okay, so right now I'm trying to reproduce the "glide" effect. I can't seem to get it. I'm guessing what is happening is you either have this plugin, or my GoldenSprint plugin set to ignore the type of boots you are wearing. What this is doing is causing a bit of conflict between the plugins. (Which is why I had it set to require boots). So now I'm going to have to figure a way to check the horizontal velocity when jumping.
     
  11. Offline

    Nytemare3701

    Would you mind using the the smoother jump form that Sprint uses? It's MUCH better.
     
  12. Offline

    Nate Wiebe

    @Nytemare3701: its actually just acting like a short flight plugin. This plugin allows you to double jump. As long as the plugins I made are constrained to the boot, there is no buggy glide effect like you have described.
     
  13. Offline

    Nytemare3701

    I don't have any of your other plugins, and holding shift will continue the jump indefinitely, leading to a forward glide or an upward infinite jump.
     
  14. Offline

    Wanny

    Fix this please... we were so excited by this mod and then we discovered that... aww :(
     
  15. Offline

    Nate Wiebe

    I am unable to reproduce this. What build are you using? Also what other plugins?
     
  16. Offline

    Rick

    i get the same issue. build 733, AdminMode 0.4, AfkBooterv0.8.1, Permissions 2.5.1, GroupManager 1.0(alpha-5), GoldenSprint 0.7, GuestPrev 1.4h, HeroicDeath 1.7.3.148, iChat 2.2.3, Jail 0.5.6, LogBlock 0.12c, LWC2.30, MCDocs 7, BukkitCompat r13, mcMMO 0.9.29, MCStats2 2.6, MultiHome 0.6.1, NetherBlocks 1.1.2, NoCheat 0.8.3, PlgSetspawn 4.0, SimpleReserve 0.2.6, SleepAnnounce 0.35, SpyerAdmin 1.0, WorldEdit "4.3", WorldGuard 5.0-alpha8, xWarp 2.7.8

    That was a lot of typing for the plugin list
     
  17. Offline

    Nate Wiebe

    Can you please list the steps to reproduce the bug? (Keystrokes, etc.)
     
  18. Offline

    Wanny

    Just hold Shift while in the air and it jumps indefinetely! :p
     
  19. Offline

    Nate Wiebe

    I can't reproduce this for the life of me. For everyone having this bug, can you please delete the CrouchJump folder and .jar, then try redownloading the plugin. If you still have this bug, try temporarily disabling every other plugin and adding them in until you have this issue. If you still have it, let me know, as well as what you have set for jumpHeight.

    (I hate bugs that are hard to find)

    I may have found the bug and since I'm running locally, I don't have enough latency to experience the bug. Working on a solution now.

    Released Version 0.2:
    • Fixed the indefinite jump (hopefully)
    • Cleaned up the code
    If you still get the indefinite jump let me know!

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

    Rick

    I can still double crouch jump sometimes, not always, when holding sneak and jump. Thanks
     
  21. Offline

    Nate Wiebe

    I get it sometimes when jumping to higher ground, but not when I am on flat ground.
     
  22. Offline

    Kainzo

    I sorta want to add this to a class for Heroes (rpg plugin) but we would need help with your source and adding it as an external jar
     
  23. Offline

    MrJelle

    Gonna be putting this on my server to see what it's like in-game!

    You have "GoldenSprint" instead of CrouchJump at the bottom of your OP, by the way.
     
  24. Offline

    Nate Wiebe

    @MrJelle: Thanks for catching the typo.
     
  25. Offline

    Flenix

    Any chance of making it GoldenSprint compatable, or a configure for which boots to use?
    Want to give to our assassin race who can sprint already but don't want to make them change their shoes...
     
  26. Offline

    Nate Wiebe

    Yeah. Going to be adding configuration for boot type this week.
     
  27. You can jump to insane heights with this, that wont break anything right? Like jumping to Y = 500
     
  28. Offline

    Nate Wiebe

    You will take damage when falling.
     
  29. Offline

    Mike120

    Great plugin! Any chance of adding a feature so that different groups could jump different heights? So admins jump 20, regulars jump 5 or somthing like that?
     
  30. You can still jump indefinitely in 0.2, would like that fixed :)
     

Share This Page