[MECH/FUN] DynamicFight v1.0 - Make Fighting a Little Less Bland [1.2.5-R4]

Discussion in 'Inactive/Unsupported Plugins' started by Kevin Forte, Jun 5, 2011.

  1. Offline

    Kevin Forte

  2. Offline

    BioRage

    That be awesome to split it up!

    And any time.
     
  3. Saw this fly by, only seen it once:

    Code:
    12:44:21 [WARNING] Task of 'DynamicFight' generated an exception
    java.util.ConcurrentModificationException
            at java.util.ArrayList$Itr.checkForComodification(ArrayList.java:819)
            at java.util.ArrayList$Itr.next(ArrayList.java:791)
            at org.bukkit.craftbukkit.CraftWorld.getLivingEntities(CraftWorld.java:541)
            at kforte318.DynamicFight.DynamicFightEntityMotionWatcher.run(DynamicFightEntityMotionWatcher.java:10)
            at org.bukkit.craftbukkit.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:137)
            at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:418)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:341)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    
     
  4. Offline

    Lead2Life

    I've found a bug. If you've got more than one iron door in your inventory, switched to a sword and sneak then you'll only have one iron door left.
     
  5. Bug report, people reporting they end up with duped iron doors with this quite easily, not sure how though <_<
     
  6. Offline

    martijn4life

    uhm nope it is only when i put this plugin into my server...
     
  7. Offline

    jeffadkins51

    OMG ME 2 LOOOOOL
     
  8. Offline

    jlu

    If you add permissions dude, i'll cook u a delicious cake.
     
  9. Offline

    Kevin Forte

    Permissions for what? xD

    I won't lie, I'm almost positive this isn't because of my plugin.. I have Never had this issue.
    EDIT: I suddenly got that issue. It's caused by the way I try and freeze a player if they are 'stunned'. For now, don't use Heavy Hit mode and Tough Mob mode at the same time.

    This happened on my server too, but I don't know how it happened.

    So you're saying if you sneak with a sword and more than one iron door then you only end up with one left?

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

    jlu

    For the gladiator Mode bro, that, that's a special skill, just for special guys.
     
  11. Offline

    Kevin Forte

    Well, I suppose that does make sense :p I want to work out some apparent bugs with it first, and then I'll add the permissions.

    EDIT: Actually, scratch that. I figured I'd just do it now.
    |
    |
    \/

    Updated to v1.4, fixed both the removal of All iron doors when swapping with a sword and the creation of an "infinite" shield after it is swapped with a sword. Permissions nodes were also added, so if you have permissions, be sure to add them in where necessary. If not, don't worry about it.

    Updated to v1.5, configurable percentages added. LET YOUR CONFIG FILES RECREATE THEMSELVES BY DELETING THE DATA FOLDER FOR THIS PLUGIN.

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

    martijn4life

    it works now thanks :D
     
  13. Offline

    Lead2Life

    Doesn't work for me. I play with MobArena plugin and there I've got a Tank class. He has 8 iron doors and one iron sword. If I swap to the sword and sneak I've only one iron door left. Same problem like in the previous version sorry :(
    Keep up your good work! For future maybe you can add a miss chance to mobs which depend on the armor set you are wearing? That would be nice.
     
  14. Offline

    Kevin Forte

    Really? That's odd, it worked for me. Maybe I changed something else that messed it up... I'll test it some more. That's a good idea, I'll look into it :p

    @Lead2Life v1.5.1 Released, NOW it's fixed. :)

    Quick Note: I don't know how well this cooperates with Stackables yet, so keep that in mind.

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

    Lead2Life

    Okay it works for me now, thank you very much :)
     
  16. Offline

    jlu

    Sooo Awesome, many thanks for my gladiators, OP!
     
  17. Offline

    Kevin Forte

    Good to hear :)
    No problem! Let me know if you have more suggestions :)
     
  18. Offline

    Lead2Life

    For future maybe you can add a miss chance to mobs which depend on the armor set you are wearing? That would be nice.
     
  19. You probably realize, just making sure, this plugin will need fixing for CB 920, with the Projectile change :)
     
  20. Offline

    Ghostetr

    looks very cool
    keep up the great work dude

    //Ghostetr
     
  21. Requesting update for new RB :)
     
  22. Offline

    Kevin Forte

    Does it not work?

    That is a pretty good idea. Just like the RPGs xP
    Ah, didn't think of that!
    Thanks much. :)

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 16, 2016
  23. They broke the Projectile API :<
     
  24. Offline

    Kevin Forte

    I'm not having any problems with it (yet) xP
     
  25. These:
    Code:
    2011-06-19 13:40:15 [SEVERE] Could not pass event ENTITY_DAMAGE to DynamicFight
    java.lang.NoSuchMethodError: org.bukkit.event.entity.EntityDamageByProjectileEvent.getProjectile()Lorg/bukkit/entity/Entity;
            at kforte318.DynamicFight.DynamicFightEntListener.onEntityDamage(DynamicFightEntListener.java:92)
            at org.bukkit.plugin.java.JavaPluginLoader$55.execute(JavaPluginLoader.java:627)
            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:310)
            at net.minecraft.server.EntityArrow.o_(EntityArrow.java:181)
            at net.minecraft.server.World.entityJoinedWorld(World.java:1138)
            at net.minecraft.server.WorldServer.entityJoinedWorld(WorldServer.java:49)
            at net.minecraft.server.World.playerJoinedWorld(World.java:1120)
            at net.minecraft.server.World.cleanUp(World.java:1097)
            at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:429)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:343)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    
    I haven't tested 1.5.1, but I doubt this would magically fix itself, right :p
     
  26. Offline

    Kevin Forte

    Lol, correct. I'll get on it. Would you mind updating and giving me the error again though? I moved some coud around in the newest build, and so the error is pointing to the wrong place.
     
  27. Code:
    09:52:13 [SEVERE] Could not pass event ENTITY_DAMAGE to DynamicFight
    java.lang.NoSuchMethodError: org.bukkit.event.entity.EntityDamageByProjectileEvent.getProjectile()Lorg/bukkit/entity/Entity;
            at kforte318.DynamicFight.DynamicFightEntListener.onEntityDamage(DynamicFightEntListener.java:105)
            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:310)
            at net.minecraft.server.EntityArrow.o_(EntityArrow.java:181)
            at net.minecraft.server.World.entityJoinedWorld(World.java:1142)
            at net.minecraft.server.WorldServer.entityJoinedWorld(WorldServer.java:49)
            at net.minecraft.server.World.playerJoinedWorld(World.java:1124)
            at net.minecraft.server.World.cleanUp(World.java:1101)
            at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:447)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:361)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    
     
  28. Offline

    Kevin Forte

    So I went searching and I can't seem to find what to do just yet. I'll keep checking :p
     
  29. Offline

    Janb

    @Kevin Forte

    Hi, any chance to add wooden doors to the spartan mode? Or I guess you could just add the same functionality as the DoorShields plugin all together, if you were feeling inspired!
     
  30. Offline

    Kevin Forte

    I was actually thinking about it, considering it'd be cool to have separate break and drop percentages and such.

    @Joy

    Updated to v1.5.2, RB tested and functional with no error.

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

    Darkhand81

    This will be fun, thanks much!

    Man o man... You know you're getting old when other people are old enough to be plugin developers and use Pokemon as an example of a feature... ;) </oldman>
     

Share This Page