HarryPotterSpells

Discussion in 'Plugin Development' started by kezz101, Aug 4, 2012.

Thread Status:
Not open for further replies.
  1. Offline

    korikisulda

    It's bad practice, and also makes you look noobish ;).
     
  2. Offline

    evilmidget38

    I like static objects....

    Show Spoiler
    I like spoilers. Also, I only use static objects for singleton objects, a coding style that I enjoy. Saves me time as I don't have to constantly put things into constructors.
     
  3. Offline

    korikisulda

    You like spoilers too much. static too, and you don't have to use constructors that much...
     
  4. Offline

    evilmidget38

    On a plugin I'm working on(Bukkit Arena) I've got several manager classes which are initialized within my main. I only ever need one instance of each(Why would I have two objects to manage all the class sets?). I have a static instance of these managers within my main, as I plan on using them randomly(well, close enough to randomly) throughout my code. I'd rather not pass 5 objects through roughly 20 or so constructors.
     
  5. Offline

    Sushi

    Static objects have their place... lmao

    where is the github also

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

    np98765

  7. Offline

    Sushi

    Can I help
     
  8. Offline

    np98765

    Sure. Always 'ppreciate any help. :)
     
  9. Offline

    hawkfalcon

    I'll be willing to help;)
     
  10. Offline

    np98765

    Thanks so much. :)



    @EveryoneElse:
    Thanks to everyone who offered to help -- It really means a lot to me. I simply had this idea when in bed one night (I always think of ideas when I'm trying to sleep >.<), and quickly jotted it down. The next morning, I tried making it, and found out it was a lot harder than I thought; I'd need help... I never expected so many people would be willing to help make this a reality. :)
     
    hawkfalcon likes this.
  11. Offline

    NinjaW0lf

    I can give some help if needed.
     
  12. Offline

    mbaxter ʇıʞʞnq ɐ sɐɥ ı

    Title edited
     
  13. Offline

    korikisulda

    yeah, just not all over the place in every class...
     
  14. Offline

    RingOfStorms

    Hmm, so many HP plugins now. I have been working on one privately and have early stages of quidditch, sorting, and a good base for spells as well.

    With this plugin I feel like the targeting is a bit off, or is it just me? Sometimes it hits the block under the cursor and such. But I do like the spell affect off the player, even though it does get repetitive every now and then.
     
  15. Offline

    korikisulda

    I've rewritten the local copy of my fork to avoid the use of statics and have a more easily extendable spell system; should I add these changes to my pull request?
     
    Bavestry likes this.
  16. Offline

    kezz101

    Is that block targeting? Or Mob targeting?

    Go ahead :) Although moving the src to the root has f***ed up my whole Eclipse... I think it looked pwetty in the HarryPotterSpells folder... And there is no advantage of using Static over Instance... None is any better than the other!
     
  17. Offline

    izak12345678910

    Accept me! And can I help? I never really got a yes or a no :p
     
  18. Offline

    kezz101

    Of course you can help!
     
    izak12345678910 likes this.
  19. Offline

    izak12345678910

    Yay I messaged you But i dont think you have accepted me and want me to send you the source of my HPSpells plugin and the other HP plugin i have
     
  20. Offline

    korikisulda

    Most things have the src in the root, it's a relatively good place to put it...

    meh; instance is, one way or another, the 'correct' way of doing things, and I also don't think you can do reflection on statics, so there is a definite advantage, given what you can do with reflection(and what I'm doing with reflection in my pull request).
     
  21. Offline

    evilmidget38

    Reflection and statics do NOT go well together.
     
    korikisulda and kezz101 like this.
  22. Offline

    korikisulda

    I wouldn't know, I've never tried it with statics ;).
     
  23. Offline

    evilmidget38

    I've done a bit with it before. That was....Well, that was before I gave up on it.
     
  24. Offline

    np98765

    korikisulda: I've added you as a contributor on the BukkitDev page, thanks. :D
    evilmidget38: Heard you're doing the API for custom spells? :3 Awesome. I'll add you as a contributor as well.
    izak12345678910: You can start a conversation with us for more info. I'd be interested in looking at what you've done as well. :) PM me whenever!

    @EveryoneElse: If you're interested in helping out, contact us in some way. If you have any feature requests/suggestions, find any bugs, etc., also contact us. :)
     
  25. Offline

    hawkfalcon

    :( I can't help anymore:'( really wish I could. <3
     
  26. Offline

    np98765

    hawkfalcon: Do your doings! :p
    Also, I'll be updating the to-do list on GitHub, so watch out for that!

    Forgot to tag you, just looked at this page. xD
     
  27. Offline

    hawkfalcon

    I get notified if you quote:p
     
  28. Offline

    np98765

    I had to keep the format of my above comment. :p

    And are you against double notifications??? They're double the fun!
     
    hawkfalcon likes this.
  29. Offline

    nggmc

    I've added you on Skype
     
  30. Offline

    korikisulda

    Ah..... should I not have added the abstract Spell class or the spellmanager? ;)
     
Thread Status:
Not open for further replies.

Share This Page