[Formatted] WeaponEnhancements | Still needing a developer

Discussion in 'Archived: Plugin Requests' started by FailBulder, Nov 1, 2012.

  1. Offline

    AndyMcB1

    Want? Yeah.
     
  2. Offline

    FailBulder

    Awesome :D, How long do you think it will take?
     
  3. Offline

    AndyMcB1

    Sorry, I didn't understand you.. As said I want to start learning to code. I don't know at the present time; sorry for the misunderstanding.
     
  4. Offline

    FailBulder

    Oh, lol np

    Still looking for a dev

    RingOfStorms, Woobie, ase34, @xXSniperzzXx_SD, @Mrchasez

    are any of you insterested, I need a dev :/

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

    FailBulder

  6. Offline

    ase34

    If you have experiences in programming Bukkit plugins i can give you source code for the sniper bow, shotgun bow, ...
     
  7. Offline

    FailBulder

    Yes please :), I have a friend that can code basic bukkit

    Do you think you could add the bows to the enchantments though :)

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

    ase34

    I will give you Listeners which only need to be constructed and registred.
     
  9. Offline

    FailBulder

    ok thanks :D
     
  10. Offline

    izak12345678910

    Can I also see the listeners?
     
    SiLeNT_F1NISH likes this.
  11. Offline

    ase34

    Sorry all. I'm not your developer anymore. Sorry but I have too much to do. I didn't thought that is's so hard to write, but I have some ideas how to program this.
     
  12. Offline

    FailBulder

    Still needing a dev

    I don't no java or anything but just looking at the java docs and stuff but the Machinegun bow could be somthing like


    If player shootarrow
    int taskID = myPlugin.getServer().getScheduler().scheduleAsyncRepeatingTask(myPlugin, new Runnable() {

    public void run() {
    public Arrow shootArrow();
    }
    }, 5L,0L );



    You would then need to run a check to see if right click is still being pressed or somthing.
    also you would need that to work with only certain enchantment.


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

    ase34

    Catch the shoot event (ProjectileFireEvent) and put the player in a list, then an async/sync repeating task iterates over all players and let him shoot an arrow (launchProjectile()).
     
  14. Offline

    FailBulder

    Lol I wish I new java :)
     
  15. Offline

    FailBulder

    Bump :)

    Bump D:

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

    Murderscene

    I can do all of these. My server mc.counter-craft.net has an "Auto Bow" which rapidly fires, and "Grenandes" which do the same as you request. The others are definitely possible also

    Add me on Skype. 'guykilgour'
     
  17. Offline

    FailBulder

    Awesome adding you now :D
     
  18. Offline

    CeramicTitan

    it is not impossible you set the velocity really fast. Ill get you some code soon.

    EDIT:
    Code:
      @EventHandler
      public void shootArrow(EntityShootBowEvent e)
      {
        if ((e.getEntity() instanceof Player)) {
          Player p = (Player)e.getEntity();
     
          new Accuracy(this).Shot(p.getName());
     
          double x = 10;
          Vector v = e.getProjectile().getVelocity();
          v.multiply(new Vector(x, x, x));
          e.getProjectile().setVelocity(v);
        }
      }
    This will shoot the arrows ridiculously fast! :)

    Fuck yes! :D

    What event is this?

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

    xXSniperzzXx_SD

    PlayerInteractEvent then check if the player right clicks the air
     
    CeramicTitan likes this.
  20. Offline

    CeramicTitan

    Aight, nice code btw :)

    EDIT: must be the way ghostcraft uses ghast tears as grenades.

    I might take this project. Can i see the source please?

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

    ase34

    Sorry
     

Share This Page