[DEAD] Spells v0.996

Discussion in 'Inactive/Unsupported Plugins' started by NathanWolf, Jan 16, 2011.

  1. Offline

    QQCucumber

    I cannot imagine that would be the case for long considering all the options you want to add to it for different types of magic. Nothing wrong with having a config file. One of my best friends is a config file.
     
  2. Offline

    NathanWolf

    Basically, if there ends up being anything that doesn't make sense to change on a per-player basis- then there will be a config file.

    Otherwise, it's all going to be handled by permissions- since permissions is basically just a per-player implementation of YML configuration :)
     
  3. Offline

    Karubo

    I am getting quite a few errors.
    Could you please help, I've been trying to get this to work for awhile now.

    I'm a bit new to bukkit as well.
     

    Attached Files:

  4. Offline

    NathanWolf

    Can you try re-downloading everything? It looks like you're up to date... but I'm not sure what could be causing all of that.

    I can put a zip up tomorrow with plugins I know to be working, tomorrow, if that'd help.
    [MERGETIME="1300199992"][/MERGETIME]
    Ok.... to everyone who has been having issues with PermissionsSupport.jar (@Karubo, @Arkona, @QQCucumber, @Redbyte, to name a few) - here is a ZIP file with all my current plugins, including PermissionsSupport (and latest Permissions, which is not my plugin!):

    elBukkit.zip

    Running straight from this zip file, everything works for me, Permissions seems to work, no errors, etc. Hope that helps!

    I also re-uploaded the PermissionsSupport.jar that's in here, just in case that was outdated (needed a recompile) for some reason.

    Let me know if you're still having issues! I really apologize for this if it's been broken for so long with such an easy fix (that people kept suggesting to me...) waiting.

    Also- I'm not sure if Raphfrk's block-breaking fix ever bug accepted- if not, that's in the CB jar in here if you want it. I need to go look and see if there is an RB with that fix, because you definitely want that for spells.

    Hey, EVERYBODY

    I recommend you go grab CB 552 or higher. I'm using latest (556) right now, and it's working for me.

    552 fixed this:

    http://leaky.bukkit.org/issues/553

    Which breaks NetherGate and Spells very badly.

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

    nicky

    umm how to make a wand

    P.S this is AWSOME

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

    Greylocke

    if you have the Wand plugin loaded, then just typing '/wand' will give you one. But any stick will do! Just make sure that it is in the #1 slot in your inventory. All the spell 'reagents' (feather, torch, compass, netherrak, etc) go after the wand. R-click to cycle thru your spells, l-click to activate the spell. If you don't have the proper reagent, then /wand (spellname) will give it to you.

    @NathanWolf: It'd be cool if the Recall location persisted. I think I know of a plugin that could help with this... :p
     
  7. Offline

    NathanWolf

    FWIW, I prefer the wand in my second slot- that way, the first slot shows my active spell, and there is a nice visual separation between that and the "on deck" spells. It's up to you, of course- it should work no matter where you keep the wand in your inventory.

    And, yeah- it's just a stick :) I'm thinking of providing a system that would use item damage/data to identify a wand versus a normal stick- but that would preclude the option of using spells also "using up" your wand over time- so I'm not totally sold on that as a concept, yet.

    LOL- you are just right on my brain waves lately, aren't you? :D

    See: issue#9

    I'm slowing getting the Magic plugin up and running- Persistence will be running the show, just like with the rest of my plugins. I probably won't make use of it directly in any spells right away (1.0/beta), but that's definitely the plan.

    Offhand, I can say I also want familiars to persist, as well as player status such as whether you're invincible or not. But really I want to provide an easy way for spells to save data themselves, since Magic/Spells are now separate systems, and it's very possible that there will be other plugins later containing spells, I don't want there to be one uber-data blob that stores spells state.

    Oh, also WRT to recall- I want the actual redstone torch marker to be temporary as well. You can break it after placing it, that won't affect the marker location- but generally there's no reason to leave it around.

    Though- funny story- I once used recall to safely set off a giant TNT blob from a distance. Hooray for creative uses of spells! :)

    One more thing, I should've mentioned that the triple-A number one thing I want Persistence for in Magic is persisting players' undo lists.

    This may not be right away, either- in particular, I'm concerned about performance- but that is the plan, long-term.

    An admin (or dark/high-level wizard, whatever) should/will be able to undo magical world changes done by themselves or any other player, even after a server reboot.

    P.S. Thanks!! :D

    Glad you like it- I'm really excited about Magic. I'm hoping I get to release it this week.

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

    Greylocke

    HA! I think it is hilarious when my I get caught assuming something. I had always just used it in slot1 and had assumed that is where it was supposed to be 'cuz that was where it appeared the first time I typed '/wand'. I never even tried it in a different slot! Very funny.

    Funny Recall story -- I was testing the spell for the first time and I pointed my wand up in the air to warp back to my 'recall' point. I'm not sure exactly how it happened, but I'm guessing that the wand wasn't straight up, and I'm guessing that I clicked a couple times and I'm guessing that I unknowingly moved my recall point to the ceiling... but I know that I ended up at y=147 (yes I know that the world stops at 128, but my compass said 147) and I know that I was on fire. Needless to say, it didn't end well and I was not able to recover my items. But I am *very* careful when I Recall now.
     
  9. Offline

    NathanWolf

    Ok, one more note about recall, since it's on my mind now- I definitely want to bring back the "auto drop on death" feature, that was amazingly useful before it got broken by 1.3...

    Yah :) I actually kinda want "/wand" to drop the stick in the second slot, but that feels like I'm forcing my mentality on people :) I may do it anyway.

    As it stands now, the very first thing I do when I respawn is "/wand blink" and then "/wand"- to get things in the right slots :)

    Heh- I love this as an anecdote, but hate it as buggy recall behavior :)

    The targeting system probably needs to be smart about max Y- I'll keep this in mind as I'm refactoring, but since I plan to make use of BlockIterator now, I'm hoping it'll handle that for me (I'll check the source...)

    I know that blink had a very similar and dangerous bug for the longest time- pointing straight up at open sky would bring you to Y 255 (think I had it in my head for a while that that was max Y...), and then you'd fall very far to your death....

    Oh, also- I guess this may be obvious, but- "/wand" and "/wand spellname" are really only admin/debug/utility functions. The idea is definitely to craft or purchase your own wand. Right now, since it's just a stick, this couldn't be easier- you don't even need any tools or a workbench.

    However, if I were to make a system to "tag" items for wand use, then you'd actually have a wand you'd have to keep track of... lose it, and you have to craft/enchant/purchase a new one.

    Either way, console commands are not the future of wand acquisition, fwiw :)

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

    Karubo

    Thank you so much!
    It works perfectly now!
     
    NathanWolf likes this.
  11. Offline

    NathanWolf

    Great! Glad to hear it!

    Thanks very much for reporting back- I appreciate it.
     
  12. Offline

    QQCucumber

    @NathanWolf What happened to elBukkit.zip? I was going to download it for testing but you removed it..?
     
  13. Offline

    NathanWolf

    Nope- it's still here:

    www.elmakers.com/minecraft/elBukkit.zip

    This is what I'm running on my public server now, plus PermissionsSupport.jar and minus internal permissions.

    I tested it myself- just unzip and run. I'm hoping it fixes you up, @QQCucumber, you're one of the main people I wanted to help with this! :D
     
  14. Offline

    fefect

    It's not working for me...
    It worked at beta 1.2 but since 1.3 not anymore..
    I use 531 build.
    got no errors starting up
    Help? :D
     
  15. Offline

    QQCucumber

    Small unrelated to PermissionsSupport bug to report, when you right click on an interactable object with your wand it acts as if you left clicked to cast the spell.
     
    NathanWolf likes this.
  16. Offline

    NathanWolf

    Can you try that zip I posted right above?

    I've been running on 1.3 since day 2 of bukkit support :D

    Huh! That is a very interesting bug, thank you! I'll try that out.

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

    QQCucumber

    Also, that reminds me, the height cap on the blink spell is a bit too low now. There are many times I want to teleport to the top of one of our tall structures but it simply won't let me.
     
  18. Offline

    NathanWolf

    Heh- also good call!

    It used to be 255, which would kill you. So I lowered it, and to be safe, I lowered it a bit below max. (Same with descending- you can't go to zero).

    I'll make it whatever the actual max is that I can get to without things going screwy (it starts thinking there are blocks up there if you look too high up... that's why blink would try to take you there!)

    I have some houses with max-y "lookout spots", though, and it sucks that I can't blink up there anymore- so I'm definitely going to fix this :D
     
  19. Offline

    QQCucumber

    To be honest I really miss being able to teleport to 255 because it was fun falling over and over. Fall damage is turned off on my server since I find it really annoying because you take damage from short falls.
     
  20. Offline

    NathanWolf

    Heh- wells then, I guess that needs to be configurable ;)
     
  21. Offline

    Greylocke

    Seconded here. I couldn't tell you how many times I've opened a door and accidentally blinked myself across the room.
     
  22. Offline

    NathanWolf

    That seems so strange to me, since they're different events (item_use versus player_animation)- I definitely need to play with this.
     
  23. Offline

    Greylocke

    If you use Permissions, make sure you've got the PermissionsSupport plugin loaded. I use the following Permissions settings for Moderators:
    - 'Spells.commands.cast'
    - 'Spells.cast.torch'
    - 'Spells.cast.blink'
    - 'Spells.cast.day'


    New Spell Suggestion!!! "Moor," From inside a boat (or minecart, I suppose) will stop the vehicle at its current position and place you at the spot you clicked, as if you had exited the vehicle and tied it off. A player entering the vehicle will break the spell. Reagent item is a spider web. This would be slightly modified version of Blink, but would make boat travel much easier and might be useful for minecarts as well. Getting out of boats is a pain, and if you're adventuring, you are always wondering if your boat will be there when you get back. This would solve both problems.
     
  24. Offline

    NathanWolf

    What @Greylocke said- also, if you're not using Permissions, there is a drop-in permissions.yml file that will restore the previous "all access" behavior of spells.

    Love it! I have some vehicle spells in mind, mainly minecart control, so this fits in well. :)

    That... is not a good looking error :(

    Somewhat concerning how mangled that file got when you copy+pasted it... if it looks like that on your system, then there may be some sort of lame unix/windows encoding thing in play- which also may explain why nobody seems to be able to use that yml file I pasted.

    Can you do this? Open up permissions.yml in notepad (assuming you're on Windows) and then copy+paste the following into it:

    Code:
    # Defines the "default" profile
    # All players have this profile by default
    default:
      Spells:
        commands:
          spells: true
        cast:
          - blink
          - torch
    
    # Defines a "wizard" profile
    wizard:
      Spells:
        cast:
          - heal
          - blink
          - torch
          - fireball
          - pillar
          - absorb
          - fill
          - cushion
          - undo
          - alter
          - blast
          - mine
          - tree
          - arrow
          - frost
          - gills
          - familiar
          - blob
          - superblob
          - paint
          - recurse
          - transmute
          - recall
          - disintegrate
          - manifest
          - peek
          - fire
          - window
          - lava
          - portal
          - phase
          - invincible
          - fire
          - tunnel
          - bridge
    
    # Defines the "admin" profile
    # These players can use "/su" to access any command
    # They can also cast spells on the command line
    admin:
      Persistence:
        commands:
          su: true
      Spells:
        commands:
          cast: true
    Then save it and see if it works.

    It should give you and everyone default access to all spells, and does not require PermissionsSupport.jar (it would throw an error on startup if you try to use PermissionsSupport without Permissions)

    Also- now that I actually look at that file, I've been telling fibs- it seems that it only gives out "blink" and "torch"- the rest are reserved for the "wizard" class.

    That wouldn't cause the error you pasted, but it's worth noting that you should be testing with either blink or torch.

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

    Bl4ck5tar836

    YOU ARE A HERO!!! I LOVE YOU!!!!
     
  26. Offline

    haloinc

    I think this plugin is great, but I can't seem to get it to work.
    Whenever I try to view the spell list (/spell), nothing happens; I checked the console and it says it's an unknown command. I tried the (/wand [spellname]) command and it just says: "spell [name], unknown, check the (/spell) list.

    Thanks for the help.
     
  27. Offline

    NathanWolf

    Oh, wow, did that fix you up?

    Well, crap, then.... guess I need to fix the encoding on that file or something! It works for me on unix :p

    If it says check "/spell", that's a typo and I need to fix it! The command is "/spells".

    Most likely, you don't know any spells- you have to set up permissions. There is a drop-in sample file (that seems to be broken for Windows- see above), or you can set up Permissions using PermissionsSupport.jar (again, a drop-in file).

    All of this is in the OP- I'm going to be re-organizing soon (like I have my other plugin threads), to hopefully make this sort of information easier to find.

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

    Liekmudkipz

    Yea the same thing is happening to me, and holy crap fast reply lol.
     
  29. Offline

    haloinc

    Oh, wow, I was typing it wrong the whole time. Now I'm getting an internal error, though.
    I'm not familiar with permissions, but I don't use that on my server.
     
  30. Offline

    NathanWolf

    Well, if things are crashing like that you probably can't ;)

    But if things were working, you'd go to the server console and do "grant player Bl4ck5tar836 admin", it'll make you an admin (permanently). You can do the same with "wizard"- you may want to do both for yourself.

    Heh :) Well, when I'm around, I'm around...

    So, when you say the "same thing", you mean lack of spells? Lemme try to re-encode and re-upload that file, or something. I really want there to be a drop-in solution to this.

    Also, I'll ditch the wizard class- that was really for example purposes only- I'll just make the new file give everyone all spells (maybe not lava or fire...)

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

Share This Page