Harry Potter Magic Plugin

Discussion in 'Archived: Plugin Requests' started by xchilly38x, Apr 6, 2012.

  1. Offline

    Iron_Crystal

    That might be Mig_B 's problem. You need to be holding the stick.
     
  2. Offline

    TheFluffey

    [quote uid=90620163 name="Iron_Crystal" post=1076525]Well, the spells aren't done, but maybe you could test out the following

    1. Switching between spells.
    2. Aguamenti spell
    3. Alohomora spell Forgot-doesn't work yet
    4. Sectumsempra spell
    5. Expelliarmus spell
    6. Lumos spell (currently goes on forever)
    7. Changing some of the values in the config to make sure they work.

    The mana data doesn't do anything yet.

    In order to start spells (This is temporary for debugging)

    1. Pick up a stick
    2. Type in command /spells
    3. It will automatically start you with Accio (which currently does nothing).

    Download test plugin <Edit by Moderator: Redacted mediafire url>
    1.: Worked :D
    2. Worked :D
    3. --
    4. Didn't seem to work on mobs or animals at range.
    5. Can't test, no humans.
    6. Worked, went forever.
    MAKE SURE YOU RIGHT CLICK THE AIR TO SWITCH SPELLS Mig_B
     
    Last edited by a moderator: Nov 11, 2016
  3. Offline

    Iron_Crystal

    Thats another thing. Should it be both air and block, or just air?
     
  4. Offline

    Mig_B

  5. Offline

    Iron_Crystal

    Can do.

    I have a question relating lumos and nox.

    Does lumos last until the caster casts nox?
    Is nox a spell to cast onto other players?
    Does lumos have its own time limit, but can be cut short by nox?

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

    TheFluffey

    1. Lumos configurably ends before nox. Nox ends early.
    2. you cast nox on yourself
    3. Yes, exactly.
     
  7. Offline

    Iron_Crystal


    I found out why the Sectumsempra spell wasn't working. I said that the entity that was damaged had to be a player. Should it be all mobs?
     
  8. Offline

    xchilly38x

    With your expelliarmus u had to hit the persone for it to work. I would like some range on it
     
  9. Offline

    Iron_Crystal

    I'll see what I can do.

    Did you test it? Did expelliarmus work?
     
  10. Offline

    xchilly38x

    I think most spells like stupefy and avada kadavra and crucio should have range. If the spell has range in the movies we should try to have range here

    Yes it worked

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

    TheFluffey

    I believe all spells should have range and all damage spells work on monsters (All the ones that do damage).
     
  12. Offline

    Mig_B

    Iron_Crystal I think the plugin will awesome, But one thing with the explosion spell (Not sure what it's called) You should make so It regens the terrain after it explodes. That would be cool because we made a big dueling arena and we don't want to rip it off into pieces
     
  13. Offline

    TheFluffey

    ... No, don't do that. Use the regeneration feature in PVP Arena... Then it will regen after fights. No need to put it into the spell, that is way to much work for pvp plugins that already do it.
     
  14. Offline

    Mig_B

    Iron_Crystal Also, My server is no pvp and peaceful and can't seem to hit the person and kill him is that normal, can you please make it so the spell is pvp and not the server.
     
  15. Offline

    Iron_Crystal

    The reason it probably didn't work is because I used the EntityDamageByEntity event, so if you aren't allowed to damage people, then its not triggering. I'll see if I can find a work around
     
  16. Offline

    Mig_B

    Iron_Crystal Thanks for doing that man, it's really appreciated :)
     
  17. Offline

    TheFluffey

    It is fine, Mig_B make worldguard regions and allow pvp there... Then bump up the priority... Like special 'dueling' areas.
     
  18. Offline

    elite823

    Can anyone post the download for this amazing sounding plugin? I would really appreciate it guys. Thanks.
     
  19. Offline

    TheFluffey

    It is currently in the works.
     
  20. Offline

    Mig_B

    TheFluffey
    Iron_Crystal
    The only problem is that I don't want to download world Guard I had a plugin once that allowed to use command for pvp even if my pvp in the settings were off
     
  21. Offline

    Iron_Crystal

    @xchilly38x @Mig_B @TheFluffy

    I am going to continue to work on this tonight.

    Updates:

    Disillusionment Charm works! The player is fully hidden from sight, with NO name, and if you want the way I made it I could say that only ops could see them and whatnot.

    I am still working on opening and closing doors (they changed the way you do it in 1.2.3, so I am still figuring it out)

    Avadra Kadavra should work, but I can't test it.

    Expulso works with configurable explosion magnitude. I made this spell so that if you click in the air, then it makes an explosion 20 blocks away from you in the air. So you can either hit a certain block from 20 blocks away, or create one in the air.

    Bubble Head Charm works (like a charm! :D)

    Episkey works.

    Crucio should work (but I can't test it)

    Lumos now shuts off after a configurable amount of time, but I have not yet implemented nox

    Tonight I will either try to add more spells, or try to fix the scrolling through spells so that only the ones that you have permissions for will show up.
     
  22. Offline

    TheFluffey

    Sounds absolutely amazing, thank you sir.

    Learn how to use it... Use pvp:eek:n in settings (server.prop). do /region flag __global__ pvp deny
    Now no pvp anywhere. To use pvp in an area, make a selection with worldedit (command //wand, left click for point one, right click for point 2, it makes a cube). Then type /region define [Regionname]. for the sake of this, I will name it duelarea. Next, do /region flag duelarea pvp allow.

    DONE!

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

    Iron_Crystal

    @xchilly38x @Mig_B @TheFluffy

    [quote uid=90581069 name="TheFluffey" post=1079920]snip![/quote]

    [quote uid=90631162 name="Mig_B" post=1078709]snip![/quote]

    [quote uid=90663113 name="xchilly38x" post=1078078]snip![/quote]
    Ok. Here is another test you can do.

    What's implemented

    Spells:

    1. Aguamenti
    2. AvadaKadavra
    3. Bubble Head Charm
    4. Crucio
    5. Disillusionment Charm
    6. Episkey
    7. Expelliarmus
    8. Expulso
    9. Finite Incantatem
    10. Lumos
    11. Sectumsempra

    Other related things updated:

    1. Lumos now stops after configurable time
    2. Disilusionment stops after configurable time
    3. When scrolling through spells, only the ones you have permission to use show up.

    Commands:

    /spells -Go into spells mode
    /teach <player> <spell> -Teaches the player the spell. Must be OP
    /forget <player> <spell> Makes the player forget the spell. Must be OP

    Download <Edit by Moderator: Redacted mediafire url>

    Notes:

    It took 8216 lines to code the spell scrolling part. Whew!
     
    Last edited by a moderator: Nov 11, 2016
  24. Offline

    TheFluffey

    [quote uid=90620163 name="Iron_Crystal" post=1080060]@xchilly38x @Mig_B @TheFluffy




    Ok. Here is another test you can do.

    What's implemented

    Spells:

    1. Aguamenti
    2. AvadaKadavra
    3. Bubble Head Charm
    4. Crucio
    5. Disillusionment Charm
    6. Episkey
    7. Expelliarmus
    8. Expulso
    9. Finite Incantatem
    10. Lumos
    11. Sectumsempra

    Other related things updated:

    1. Lumos now stops after configurable time
    2. Disilusionment stops after configurable time
    3. When scrolling through spells, only the ones you have permission to use show up.

    Commands:

    /spells -Go into spells mode
    /teach <player> <spell> -Teaches the player the spell. Must be OP
    /forget <player> <spell> Makes the player forget the spell. Must be OP

    Download <Edit by Moderator: Redacted mediafire url>

    Notes:

    It took 8216 lines to code the spell scrolling part. Whew![/quote]
    Holy shit... 8216.... I love you man. Will test soon, Homework now.
     
    Last edited by a moderator: Nov 11, 2016
  25. Offline

    Mig_B

    Iron_Crystal Can you add the broadcast the whole server thingy when you cast a spell. Also , will you add mana system in next update?
     
  26. Offline

    TheFluffey

    [quote uid=90620163 name="Iron_Crystal" post=1080060]@xchilly38x @Mig_B @TheFluffy






    Ok. Here is another test you can do.

    What's implemented

    Spells:

    1. Aguamenti
    2. AvadaKadavra
    3. Bubble Head Charm
    4. Crucio
    5. Disillusionment Charm
    6. Episkey
    7. Expelliarmus
    8. Expulso
    9. Finite Incantatem
    10. Lumos
    11. Sectumsempra

    Other related things updated:

    1. Lumos now stops after configurable time
    2. Disilusionment stops after configurable time
    3. When scrolling through spells, only the ones you have permission to use show up.

    Commands:

    /spells -Go into spells mode
    /teach <player> <spell> -Teaches the player the spell. Must be OP
    /forget <player> <spell> Makes the player forget the spell. Must be OP

    Download <Edit by Moderator: Redacted mediafire url>

    Notes:

    It took 8216 lines to code the spell scrolling part. Whew![/quote]
    Things to Report:
    1. Tested, works
    2. Doesn't work on animals, hopefully you can make it work on animals in the future. Didn't test on humans.
    3. Works.
    4. Couldn't test.
    5. Couldn't test.
    6. Works.
    7. Couldn't test
    8. Works.
    9. Couldn't test.
    10. Works - However, when lumos automatically disables after the time, it leaves the torch. Have it delete or remove that torch.
    11. Doesn't work on animals, couldn't test humans.

    Everything here is amazing. I love you man.

    Edit: Not all spells say 'You cast [Spell]'. Easy fix.

    Edit2: All spells should have the configuration for range, except self use spells.
     
    Last edited by a moderator: Nov 11, 2016
  27. Offline

    Iron_Crystal

    Ok. Next update I will make all damage spells also work on animals, and I will add in the config whether it broadcasts or not. Will probably make it configurable per spell.

    Will fix Lumos.

    I can try to add mana next update.

    I will find which spells don't say "You cast whatever"

    I am working on extending range, and I found one workaround, but it doesn't work as I had hoped. The way that worked was clicking the ground where the player was standing, because it was easy, but I am still trying to find other ways to increase distance.
     
  28. Offline

    TheFluffey

    The explosion spell worked nice with range :D
     
  29. Offline

    Iron_Crystal

    Well, the expulso spell was different. It got the block that the player was looking at, not an entity. I can get blocks from a configurable range, but its a lot harder with entities
     
  30. Offline

    TheFluffey

    Oh, I see what you mean. :(. Goodluck, it is doable in spout, but then again almost anything is. Hopefully there if a vanilla (No spout) way.

    Also, when do you project having this finished (No pressure, just wondering, you are going so fast now).

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

Share This Page