[FUN] EnergySword v0.4 (BETA) Lunge at your foes (And cut through them like butter!) [953]

Discussion in 'Inactive/Unsupported Plugins' started by DrBoweNur, Jun 27, 2011.

  1. Offline

    MicroCuts327

    Okay I'm downloading it now to test it out, I'll post back if its good or not =P

    I dont know why its not working still… maybe if you were able to get others to test it out and post their feedback as well. I would help with coding if i knew it… =P

    21:22:05 [SEVERE] Could not pass event PLAYER_INTERACT to EnergySword
    java.lang.NullPointerException
    at me.DrBoweNur.EnergySword.EnergySwordPlayerListener.onPlayerInteract(EnergySwordPlayerListener.java:107)
    at org.bukkit.plugin.java.JavaPluginLoader$10.execute(JavaPluginLoader.java:307)
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:321)
    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:780)
    at net.minecraft.server.Packet18ArmAnimation.a(SourceFile:35)
    at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:84)
    at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:451)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:361)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)



    I'm running everything up to date, do you know if this plugin interferes with anything that i listed?

    Hey PM me with your skype, maybe we can figure this thing out

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

    Kainzo

    Latest RB / 032b
    18:28:47 [SEVERE] Could not pass event ENTITY_DAMAGE to EnergySword
    java.lang.NullPointerException
    at me.DrBoweNur.EnergySword.EnergySwordEntityListener.onEntityDamage(EnergySwordEntityListener.java:29)
    at org.bukkit.plugin.java.JavaPluginLoader$55.execute(JavaPluginLoader.java:628)
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:321)
    at net.minecraft.server.EntityHuman.d(EntityHuman.java:550)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:856)
    at net.minecraft.server.Packet7UseEntity.a(SourceFile:33)
    at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:84)
    at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:451)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:361)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    18:28:47 [INFO] Whitelist: Player BlackOhso is trying to join...
    18:28:47 [INFO] allow!
    18:28:47 [INFO] Disconnecting BlackOhso [/76.167.54.191:18820]: The server is full!
    18:28:47 [SEVERE] Could not pass event ENTITY_DAMAGE to EnergySword
    java.lang.NullPointerException
    at me.DrBoweNur.EnergySword.EnergySwordEntityListener.onEntityDamage(EnergySwordEntityListener.java:29)
    at org.bukkit.plugin.java.JavaPluginLoader$55.execute(JavaPluginLoader.java:628)
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:321)
    at net.minecraft.server.EntityHuman.d(EntityHuman.java:550)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:856)
    at net.minecraft.server.Packet7UseEntity.a(SourceFile:33)
    at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:84)
    at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:451)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:361)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
     
  3. Offline

    DrBowe

    Sorry guys, I've been working on a fix for these issues, but the internet it so weak down here that I can't upload the build to DropBox

    I get back tommorow, and I'll be able to sort this out then.

    @Kainzo
    I'm just trying to help myself identify this, but did you happen to reload your server before these errors started getting thrown? I know that it isn't reload-friendly at the moment, and it shouldn't take more than 5mins to fix this.
    @MicroCuts327
    Looking at my code, that error doesn't make any sense at all. What happens at line 107 could in no way throw an NPE, reload or not.
    I'm wondering if I uploaded a strange build to DropBox when I released that fix :/
     
  4. Offline

    Kainzo

    Actually - yes I reloaded it after installing it. It didnt work after that ;)
     
  5. Offline

    DrBowe

    Makes sense. Like an idiot, I only used onPlayerJoin to register a new user into the HashMap, so whenever it reloads, it never 'reloads' the hashMap that contains the ES info :p
    Technically, all you'd have to do is log out, then back in to 'fix' it.

    I'll make sure I fix this tommorow, probably by throwing in an additional initializer into the onEnable that grabs any players currently online. In theory, that should fix any of the reload issues.
     
  6. Offline

    Latros

    This appears to be broken - using 953 and most recent EnergySword, I really want to put this on BattleCraft, fix it!
     
  7. Offline

    DrBowe

    :|
    I forgot to upload a fix.
    As for it being broken, it's most certainly funtional, you just can't reload.
    Uploading a fix now, give me little while, have to clean up some testing I was doing with it, then re-compile.

    EDIT:
    It'll be up by the end of today, have to work on something else (not bukkit related) for now

    Version 0.4 is out!
    @Latros
    @MicroCuts327
    • Hopefully fixed any and all NPE issues on reloads
    • Added new skill, just for fun ;) (read OP for details)
    • OP vs Permission support should work (fo REALZ, this time)
    • Various clean-ups of rather messy code (not to say it isn't still messy)

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

    MicroCuts327

    Working now! awesome stuff!
     
  9. Offline

    DrBowe

    @MicroCuts327

    Good to hear!
    Sorry about the long wait for an OP/Reload - friendly build
     
  10. Offline

    IIGoldII

    Could you possibly add cooldowns for this?Would be amazing!
     
  11. Offline

    DrBowe

    They're already there :)
    Check the config files
     
  12. Offline

    pivotgamer84

    Might I suggest making the effect a little bit closer to Halo?

    For one, I really want the sword to lunge and hit in the same strike. On top of that, I would like it to have no key holding, just strike with a gold sword. Lastly, I don't like the activating or the text for the cool down. Maybe make it only lunge if there is a living entity at your cursor.

    Thanks for working on this.
     
  13. Offline

    DrBowe

    @pivotgamer84
    I'm a bit busy with things, but I can add these on my to-do list.

    Though I'm confused about the 'key holding' thing. What do you mean by that?

    I can add config options for the text/activating
    And it only lunges if there is an entity at your cursor, already.

    The issue with making it hit in the same strike, is that due to the possible 'lunge failure', it would be weird at times. I might fail to lunge at you, and you still take a large amount of damage.

    If you're ok with that bug, then I can add the 'lunge and damage at the same time' feature, as well.
     
  14. Offline

    pivotgamer84

    Maybe just make it so that the right click lunges, and you attack with the left click, but the damage will only be double if you attack within 1 second of the lunge. Also, lunging in Halo is from a max distance of about 4 meters (4 blocks in Minecraft).

    In regards to the key holding, I meant how you made it check if you are holding shift. I think that should be turfed.
     
  15. Offline

    DrBowe

    @pivotgamer84
    Ah, ok. I see what you're saying.

    But if I remove the key holding, you might end up lunging on accident (unless I add a minimum lunge distance?)
     
  16. Offline

    pivotgamer84

    Just make the right click lunge, left click will instakill if the timer doesn't tick away. It will only lunge if a living entity is infront of the cursor within 4 blocks.
     
  17. Offline

    Retrophaze

    Awesome plugin! I use it for a Death Knight class on my server.

    Any chance of being able to change the on/off messages in the config?
    Highly appreciated.

    And also, what are the energy nodes for? I never run out so why does it say I used them?
     
  18. Offline

    DrBowe

    Energy nodes are the durability of the sword :p
    When you have the sword enabled, it deals more durability damage to it.

    And sure, I can throw in customizable messages in the near future.
     
  19. Is there a chance to make this plugin Permission bukkit (superperms) friendly or a togglable permission overide?
    config: Permissions: true/false
     
  20. Offline

    derickx

    I would like it more if it attacked once you lunge just like in Halo
     
  21. Offline

    pandapipino

    update this plugin please.


    the node disengage.use wont work if the node energysword.use is not included in the permission can you fix this?
     
  22. Offline

    Portuguese

    Fixed it
     

Share This Page