Inactive [MECH/FUN/RPG] EffectiveArrows v2.5.3 - Arrows are now Effective![SPOUT] [1060]

Discussion in 'Inactive/Unsupported Plugins' started by skeletonofchaos, Jul 14, 2011.

  1. Offline

    skeletonofchaos

    EffectiveArrows -the bow is now an effective weapon!
    PluginVersion 2.5.3
    ServerVersion /version: git-Bukkit-0.0.0-905-g9277096-b1000jnks (MC: 1.7.2)
    Download EffectiveArrowsv2.5.3

    Requirements:
    • Spout

    Features:
    • Toggle between arrow types by left clicking or if you are using the SpoutCraft launcher you can use the , and . keys to cycle forward and backwards through arrow types.
    • GUI for users using the SpoutCraft launcher.
    • Seven unique arrow types:
    1. Normal: Just the standard arrow, uses one arrow per shot.​
    2. TNT: Explodes on contact, by default uses one arrow and one tnt per shot.​
    3. Lightning: Strikes area with lightning on contact, by default uses one arrow and one diamond per shot.​
    4. Fire: Lights hit area on fire, by default uses one arrow and one wool per shot. Now emits smoke when flying!
    5. Iron: does four damage instead of two, by default uses one iron ingot and one arrow per shot.​
    6. Diamond A.K.A Razor: does six damage, by default uses one diamond and one arrow per shot. They are razor sharp!​
    7. Smoke: Releases a cloud of smoke upon hitting something, by default uses one gunpowder.​

    Permissions (These are super perms):
    The use of permissions can be toggled on/off in the config file if off it will allow players to use allowed arrow types (specified in config) while ops can use all. If permissions are enabled the use of arrows is based on the following nodes, note these are the Bukkit-integrated super perms so you cannot use third party permission plugins like permissions:​
    EffectiveArrow.use.explosive
    EffectiveArrow.use.lightning
    EffectiveArrow.use.flaming
    EffectiveArrow.use.iron
    EffectiveArrow.use.razor
    EffectiveArrow.use.smoke
    Or use EffectiveArrow.use.* to use all arrows!
    I highly recommend using bpermissions for managing super perms.​

    Notes:
    1. The arrow effect works both on contact with entity and blocks; however with blocks there is a small delay.
    2. I would be more than happy to implement new features/arrow types if they are well balanced and the requests are well thought out and politely phrased.
    Upcoming features! (open)
    Eventually custom arrow looks for each arrow type A.K.A. You will be able to see the wool on the fire arrow, the tnt on the explosive arrow and so on. Exciting stuff!

    Features/Tutorial (open)

    Before reporting that you can't switch arrows while using permissions look here:
    Installation (open)

    Remember this plugin uses super-perms which are built into Bukkit not third party applications such as Permissions. To use this you must use a permission handler that directly effects Bukkit permissions (I recommend bPermissions). I understand this is a little hard to grasp seeing that they both do the same thing.



    Changelog:
    v2.5.3:
    Fixed for Spout update! Sorry guys.​
    v2.5.2:
    Fixed for RB 1060!​

    Previous Versions (open)

    v2.5.1:
    Explosive arrows can now be effected by world guard and other such plugins that effect explosions.​
    v2.5:
    Gave the ability to toggle whether or not to use the old method of banning individual arrows while ops can use all. The banned arrows and whether or not to use permissions can all be found and changed in the config file. Rewrote some sections of code. PLEASE DELETE CONFIG FILE UPON UPDATING!
    v2.4:
    You no longer have to give permission for normal arrows. Stopped the plugin from crashing the server if setup incorrectly :). Removed old code. Improved efficiency due to removal of repeated checks of the same condition. Added hidden feature.​
    v2.3:
    Completely implemented the * node. Explosive arrows remove themselves now so no more lag in blown up areas. Fixed a bug where you could switch arrow types in chat. Fixed a bug do to two Runnables conflicting (resulting in an ArrayIndexOutOfBounds exception). Improved code efficiency. Removed the timer setting in the config file due to the new changes. PLEASE DELETE CONFIG FILE UPON UPDATING!
    v2.2:
    GUI now only shows when a player is interacting with a bow and arrow (note: this means it enables and disables on left and right clicks, the item held change event cannot handle scrolling well). Customizable GUI location! Removed redundant code.Added EffectiveArrow.use.* permission node. PLEASE DELETE CONFIG FILE UPON UPDATING!
    v2.1:
    Added smoke arrows! PLEASE DELETE CONFIG FILE UPON UPDATING!
    v2.0:
    Added the ability to customize the size of the explosion for the explosive arrow. Added config file to change the item needed to shoot the arrow. Added GUI for users running the SpoutCraft launcher. Added the ability to cycle through the arrows if using the SpoutCraft launcher using the , and . keys. Fire arrows now emit smoke while flying. Made some code more efficient. PLEASE DELETE CONFIG FILE UPON UPDATING!

    v1.7:
    You can now customize the blast radius of the ExplosiveArrow and we now have Bukkit integrated permission support. PLEASE DELETE CONFIG FILE UPON UPDATING!
    v1.6:
    Emergency fix for a weird bug. You can now adjust how long it takes arrows to activate after hitting blocks. Ops can still use banned arrows so if you want this to be op only just set all arrows to banned. PLEASE DELETE CONFIG FILE UPON UPDATING!
    v1.5:
    Added config file now you can have only the arrows you want to have! Added two new​
    arrow types iron tipped and diamond tipped which do 4 and 6 damage respectively.​
    v1.4:
    Did a rewrite of code. Each arrow type is now it's own class! What does this mean for you? Config file will be coming shortly and more arrows will be added! Also players now can only switch to arrows they have materials for.​
    v1.3:
    released plugin!​


     
  2. Offline

    skeletonofchaos

    can't atm.
     
  3. Offline

    darkwalker247

    I don't think so, it just generates random errors, I guess it thinks the NPC's are players or something.
     
  4. Offline

    Tanite

    I'm not sure what's wrong. I have the spout plugin, but even with perms set to false I get no feedback to left-clicking. I see them both loading in the console.

    EDIT: I just removed all plugins other than spout and this. It seems that sometimes when I first go in-game left click does nothing until I shoot something(?). It's just very inconsistent, which is what I was having on the main server I think. I thought I was having a permission problem but now I don't think that's it at all.

    Is there also some sort of cooldown? When I set it to flaming and shoot a few arrows, only 1 or so is on fire. Then if I slowly shoot more, eventually others will be flaming. Just now I set it to flaming again and the very first arrow... wasn't. Then others were.

    I'd like this to work well so I can keep it in regular rotation but maybe I'm not understanding something or it's a bit quirky? I don't mind submitting feedback/reports if you're actively working on it.
     
  5. Offline

    xsolar66

    @skeletonofchaos
    just thought i'd update you on a bug, skeleton, when stopping the server...

    Code:
    2011-08-27 01:11:12 [SEVERE] Could not pass event PLAYER_INTERACT to EffectiveArrows
    java.lang.ClassCastException: org.bukkit.craftbukkit.entity.CraftPlayer cannot be cast to org.getspout.spoutapi.player.SpoutPlayer
    	at me.skeletonofchaos.ea.ArrowTypes.all.showGUI(all.java:28)
    	at me.skeletonofchaos.ea.aePlayerListener.onPlayerInteract(aePlayerListener.java:66)
    	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 net.minecraft.server.ItemInWorldManager.dig(ItemInWorldManager.java:63)
    	at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:478)
    	at net.minecraft.server.Packet14BlockDig.a(SourceFile:42)
    	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 org.getspout.spout.player.SpoutCraftPlayer.resetNetServerHandler(SpoutCraftPlayer.java:616)
    	at org.getspout.spout.Spout.onDisable(Spout.java:91)
    	at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:128)
    	at org.bukkit.plugin.java.JavaPluginLoader.disablePlugin(JavaPluginLoader.java:906)
    	at org.bukkit.plugin.SimplePluginManager.disablePlugin(SimplePluginManager.java:294)
    	at org.bukkit.plugin.SimplePluginManager.disablePlugins(SimplePluginManager.java:287)
    	at org.bukkit.craftbukkit.CraftServer.disablePlugins(CraftServer.java:173)
    	at net.minecraft.server.MinecraftServer.stop(MinecraftServer.java:314)
    	at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:393)
    	at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    
     
  6. Offline

    skeletonofchaos

    Seems to be a Spout error will look into it further. I'm guessing it's due to Spout shutting down before EffectiveArrows...
     
  7. Offline

    Lotos

    You should add a Torch arrow's.
    So in big dungeons, u can set torches easier ;)
     
  8. Offline

    xsolar66

    Don't be silly. Torches are not effective in battle.

    Besides, there's already another plugin which does this.
     
  9. Offline

    EMOberger

    smoke is not effective in battle :p same effectiveness as a torch :D smoke is a distraction torches would let you see the enemy. ;]
     
  10. Offline

    skeletonofchaos

    If you want to see an enemy light em on fire! (Also smoke arrows are really effective come watch one of my full pvp town raids tell me smoke arrows don't help) Also I'm thinking of making smoke arrows emit clouds of smoke that last longer.... like maybe 5 seconds...
     
  11. Offline

    EMOberger

    i would think smoke arrows would be more useful if they are longer so that is a good idea, and yea i know xD i was just trying to defend that guy lmao xD
     
  12. skeletonofchaos,

    i have sent a private conversation to you regarding an exploit you should know about, to avoid spreading it i will not be posting any details on the public forum page here.

    hope you can understand why i chose to private
     
  13. Offline

    Tisouk

    Where is the GUI? I set it to
    GUI_y=220
    GUI_x=300
    but can't seem to find it. I'm running spout too. Are the X and Y too high? if so give me a good number set.
     
  14. Offline

    MindEngineer

    Try 0 for both; however, I'm guessing since spout updated that this too needs to be updated

    After yesterday's spout update, I'm working through updating others that are dependent. I'm getting this error. Anyone else having issues with the recent spout update and effectivearrows?


    2011-08-29 06:58:32 [SEVERE] Could not pass event CUSTOM_EVENT to EffectiveArrows
    java.lang.NoSuchMethodError: org.getspout.spoutapi.gui.GenericLabel.setHexColor(I)Lorg/getspout/spoutapi/gui/Label;
    at me.skeletonofchaos.ea.aeSpoutListener.drawGUI(aeSpoutListener.java:40)
    at me.skeletonofchaos.ea.aeSpoutListener.onSpoutCraftEnable(aeSpoutListener.java:33)
    at org.getspout.spoutapi.event.spout.SpoutListener.onCustomEvent(SpoutListener.java:40)
    at org.bukkit.plugin.java.JavaPluginLoader$88.execute(JavaPluginLoader.java:862)
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:338)
    at org.getspout.spout.PlayerManager.onSpoutcraftEnable(PlayerManager.java:81)
    at org.getspout.spout.SpoutNetServerHandler.a(SpoutNetServerHandler.java:121)
    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:89)
    at org.getspout.spout.SpoutNetServerHandler.a(SpoutNetServerHandler.java:478)
    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)

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

    meizme

    i also have that issue

    waiting with baited breath @skeletonofchaos , lets get on it! i got some mobarena battles waiting for me

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

    Danton1983

    2011-08-30 16:02:18 [SEVERE] Could not pass event CUSTOM_EVENT to EffectiveArrows
    java.lang.NoSuchMethodError: org.getspout.spoutapi.gui.GenericLabel.setHexColor(I)Lorg/getspout/spoutapi/gui/Label;
    at me.skeletonofchaos.ea.aeSpoutListener.drawGUI(aeSpoutListener.java:40)
    at me.skeletonofchaos.ea.aeSpoutListener.onSpoutCraftEnable(aeSpoutListener.java:33)
    at org.getspout.spoutapi.event.spout.SpoutListener.onCustomEvent(SpoutListener.java:40)
    at org.bukkit.plugin.java.JavaPluginLoader$88.execute(JavaPluginLoader.java:862)
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:338)
    at org.getspout.spout.PlayerManager.onSpoutcraftEnable(PlayerManager.java:81)
    at org.getspout.spout.SpoutNetServerHandler.a(SpoutNetServerHandler.java:121)
    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:89)
    at org.getspout.spout.SpoutNetServerHandler.a(SpoutNetServerHandler.java:478)
    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)


    I am also getting this
     
  17. Offline

    MindEngineer

    fyi - it appears that you can still cycle through arrow types even though the display is broke with spout's recent update. It would be trial and error to see what arrow you have...
     
  18. Offline

    Danton1983

    You know what would be great, If you could toggle Use Spout True or False in the config file to avoid these errors in future. Also mcMMO has a nice menu inside of spout, could we get one for this plugin also?
     
  19. Offline

    Rellac

    Permissions support?

    I can haz?
     
  20. Offline

    skeletonofchaos

    No
    To everyone else I am without power cannot fix this until my power comes online.
     
  21. Offline

    Rellac

    [​IMG]
     
  22. Offline

    gameswereus

    I like the GUI! :p
     
  23. Offline

    skeletonofchaos

    Sorry for the short response posted the answer to that multiple times... It's just that I believe super perms are the way to go.
     
  24. Offline

    Grammar Troll

    @skeletonofchaos
    Spout v1.0.5 adds speed and gravity modifiers, I don't know these modifiers apply to arrow speed and gravity, but I think it is worth checking out!
     
  25. Offline

    skeletonofchaos

    Will do!
     
  26. Offline

    EMOberger

    Would be awesome for some snipe arrows :D
     
  27. Offline

    skeletonofchaos

    Yeah and sorry guys busy next update will take a while sorry about this...
     
    gameswereus likes this.
  28. Offline

    gameswereus

    update on progress? :p
     
  29. Offline

    skeletonofchaos

    Um still really busy. Maybe a week? Sorry guys...
     
    gameswereus likes this.
  30. Offline

    skeletonofchaos

    Hey guys sorry for the delay the fix is up.
    P.S. thinking of making flashbang arrows any takers?
     
    gameswereus likes this.
  31. Offline

    Slyvr

    I want to use this plugin, but it requires Spout. Any plans on making it configurable to not use Spout?
     

Share This Page