[DEAD] Spells v0.996

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

  1. Offline

    aPandaification

    Same problem... I haven't tried the premissions thing yet because the link is broken...

    Mabie an installation tut is needed.
     
  2. Offline

    garglebutt

    You need to go back to the top of the forum and read the post 'Saying "Its broke" doesnt help solve the issue.'.

    Provide versions, relevant bits out of the log if you see startup errors, comments on how you have configured perms etc.
     
  3. Offline

    Tobei

    @Freshpine99 I had the same problem. Go over your permissions again, thats all it took for me.
     
  4. Offline

    NathanWolf

    Permissions- see instructions, please.

    EDIT: Yeah, what they ^^^ said :)
     
  5. Offline

    wolves

    404d download?
     
  6. Offline

    madpalu

    Same here, 404 on wandmin.jar and elbukkit.zip
     
  7. Offline

    Tellos

    Same for me. The top two links, wand and spells, appear to be broken.
     
  8. Offline

    Freshpine99

    But i'm not using permissions, do you mean tbe permissions in the wand properties file?
    oh and i'v had a look at the permissions tab about creating a yml file, i click the link for an example and it don't work, does anyone have an example of a .yml they could post for me please? :) cheers for all the help guys!

    11:02:11 [INFO] Starting minecraft server version Beta 1.3
    11:02:11 [WARNING] **** NOT ENOUGH RAM!
    11:02:11 [WARNING] To start the server with more ram, launch it as "java -Xmx102
    4M -Xms1024M -jar minecraft_server.jar"
    11:02:11 [INFO] Loading properties
    11:02:11 [INFO] Starting Minecraft server on 5.115.109.207:25565
    11:02:11 [INFO] This server is running Craftbukkit version git-Bukkit-0.0.0-544-
    g6c6c30a-b556jnks (MC: 1.3)
    11:02:11 [INFO] Preparing level "world"
    11:02:11 [INFO] Preparing start region
    11:02:12 [INFO] Preparing spawn area: 60%
    11:02:13 [INFO] [ColorMe] v1.2 has been enabled.
    11:02:13 [INFO] DefaultCommands 2.5.0 is enabled. Using OP-version.
    11:02:14 [INFO] godPowers version 2.0 is enabled!
    11:02:14 [INFO] [HeroicDeath] 1.6.0.143 enabled.
    11:02:14 [INFO] Take yourself wonder by wonder, using /magiccarpet or /mc. Magic
    Carpet version 1.2.5 is enabled!
    11:02:14 [INFO] [MakeEmSpawn] Loading...
    11:02:14 [INFO] [MakeEmSpawn] not using Permissions. Permissions not detected
    11:02:14 [INFO] [MakeEmSpawn] Loaded!
    11:02:14 [INFO] Minecart Mania Core version 1.03a is enabled!
    11:02:14 [INFO] Persistence version 0.62 is enabled
    11:02:15 [SEVERE] PLAYER_INTERACT loading Spells v0.993 (Is it up to date?)
    java.lang.NoSuchFieldError: PLAYER_INTERACT
    at com.elmakers.mine.bukkit.plugins.spells.SpellsPlugin.onEnable(SpellsP
    lugin.java:58)
    at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:118)
    at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader
    .java:451)
    at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManage
    r.java:217)
    at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:92)
    at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:70)
    at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:204)
    at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:191)
    at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:131)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:246)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:366)
    11:02:15 [INFO] Stargate v.0.29 is enabled.
    11:02:15 [INFO] [Stargate] {world} Loaded 4 stargates with 0 set as always-on
    11:02:15 [SEVERE] PLAYER_INTERACT loading Wand v0.66 (Is it up to date?)
    java.lang.NoSuchFieldError: PLAYER_INTERACT
    at com.elmakers.mine.bukkit.plugins.wand.WandPlugin.onEnable(WandPlugin.
    java:39)
    at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:118)
    at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader
    .java:451)
    at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManage
    r.java:217)
    at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:92)
    at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:70)
    at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:204)
    at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:191)
    at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:131)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:246)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:366)
    11:02:15 [INFO] Done (0.358s)! For help, type "help" or "?"
    11:02:25 [INFO] /5.115.109.207:49475 lost connection
    11:02:41 [INFO] 143 recipes
    11:02:41 [INFO] freshpine99 [/5.115.109.207:49478] logged in with entity id 195
    11:02:41 [SEVERE] Could not pass event PLAYER_JOIN to Persistence
    java.lang.ClassCastException: java.lang.String cannot be cast to java.util.Map
    at com.elmakers.mine.craftbukkit.permission.PermissionProfile.loadProfil
    es(PermissionProfile.java:132)
    at com.elmakers.mine.bukkit.permission.GroupManager.loadProfiles(GroupMa
    nager.java:331)
    at com.elmakers.mine.bukkit.permission.GroupManager.initializePermission
    s(GroupManager.java:91)
    at com.elmakers.mine.bukkit.plugins.persistence.PersistenceListener.onPl
    ayerJoin(PersistenceListener.java:21)
    at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.ja
    va:162)
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.jav
    a:59)
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.j
    ava:255)
    at net.minecraft.server.ServerConfigurationManager.a(ServerConfiguration
    Manager.java:98)
    at net.minecraft.server.NetLoginHandler.b(NetLoginHandler.java:87)
    at net.minecraft.server.NetLoginHandler.a(NetLoginHandler.java:27)
    at net.minecraft.server.NetworkListenThread.a(SourceFile:87)
    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:357)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:272)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:366)
    11:03:56 [INFO] freshpine99 lost connection: disconnect.quitting
     
  9. Offline

    MicroClaric

    To everybody saying that it's 404d, ever heard of Right Clicking > Save As...
    It works fine.

    Edit: Nevermind, they downloaded but came out as 2KB files.
     
  10. Not sure if you know already but the link to Persistance is broken.
     
  11. Offline

    ian0101

    it doesn't work i can cast any spells and if i type /spells it says spells [catorgry] and i treid everything
    but nuthing is working
     
    Freshpine99 likes this.
  12. Offline

    MCreation

    Hey, great plugin! But, I was wondering if i can get the download link for this plugin for CB[573]. Thanks!
     
  13. Offline

    xLoad

    ohai ,
    i tested ur spells plugin and i think it's amazing, but one thing i just noticed is, that everytime a player moves a nullpointerexception is thrown due to "could not pass event PLAYER_MOVE to Spells
     
  14. Offline

    Greylocke

    Having more information like the bukkit build you're using and the other plugins you are loading would be very helpful. Maybe even send a copy of the actual error to pastebin.
     
    NathanWolf likes this.
  15. Offline

    Schmerz

    Links are all broken man.
     
  16. Offline

    R1V3

    For some reason, my blink doesn't work. And I am not able to scroll through my spells. How do I fix this?
     
  17. Offline

    Dream102

    Broken link
     
  18. Offline

    NathanWolf

    Thought I'd covered this in all my threads, but I guess not- I have DNS issues, see my profile status for an IP address. There's nothing I can do to speed this along.

    On the Magic front- progress is being made, albeit slowly. The spell variant system is maturing, I ended up making a pretty robust parameter system that can handle typed data, including block/material lists. (It used to just be a string list, just like command parameters).

    This will let me do some cool things with variants, and also will tie in nicely to player-specific material lists later on, via permissions.

    From a "getting it working" perspective, it's still just a matter of getting all the spells to build. This involves a lot of systems improvement and refactor as a I go, though- familiar, for instance, got most of its code moved out to a common library <rant>I'm not using the built-in bukkit creature/spawning code, it takes them way too long to update. I never got my "giant" pull request accepted, and it's been months. I'm sure not waiting months for dogs/wolves when they're ready- Spells will support those ASAP, I'm not waiting for the team to add a damn enum. </rant>

    Anyway, that aside, I'm working on "fill" now- moving through the spells in alphabetical order, so maybe 25% of the way through now.

    Several spells are gone- blast, for instance- and I'm working on getting rid of fill as well, more than anything. I'm hoping construct can handle both of these as variants.

    I'll keep you updated- but at this point my DNS registrar's douchbaggery is, by far, my bigger concern. (My own mc server is at this same url... :p)

    Thanks, Greylocke!

    @xLoad - there are some major upcoming changes to the Bukkit API that broke all my plugins. I guess this isn't in an RB yet, so I jumped the gun. If you can find my plugin releases repo, grab Spells 0.992 if you want it to work with latest RB.

    Otherwise, 0.993 works with 577 and above, as specified in the thread title :)

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

    Malkierian

    That particular error doesn't require any additional information, really. That means that the version of Spells he's using isn't compatible with the version of CraftBukkit he's using. I know, for instance, that Spells 0.99 doesn't work with CB597 (what I'm trying to run right now). I'm hoping .993 does.
     
  20. DOWNLOAD LINKS BROKEN!!!!!!!!!!!!!!!!!!!!!!!!:eek:
     
  21. Offline

    LaugeJ

    i cant download the spells.jar file :confused:
     
  22. Offline

    Animosity

    Keep up the good progress on Magic, I intend to use and contribute to it ASAP :)
     
  23. Offline

    NathanWolf

    Sweeeeet! Hope so!

    I was considering releasing Spells.jar and Magic.jar separately, mainly to demonstrate how to make spell plugins. This was actually my original plan, when I started porting my "RPG" framework code over. There was going to be a "magic" framework to handle abilities, spells, casting costs, etc.

    At the time, I was writing this in hMod, and there were already magic spells plugins- so this was kind of a wrapper for those, and any other functionality (kind of like how Wandmin currently works with any other plugin... this is all history, here).

    Anyway- that's why I never intended Spells to have any kind of "systems"- I assumed that ManaAlias or other plugins would handle that.... but ultimately I've decided (and people have demanded!) that I build this in, and really that's fine with me. It's just.... a lot of work :)

    I check in regularly, if you want to keep an eye on the code. SpellVariant.java is maturing, and Spell.java is probably not going to change much. Spell is the base class for all spells- so that's really all you need to get going.

    SpellVariant represents a data-driven spell. You'll set these up with data scripts (or yml, eventually, when I have support for that) to define the actual spells that players cast. These can be as simple as "cast spell XXXX with these casting costs, etc", or very complex- such as the many and varied uses of the new "construct" spell.

    I'll have better docs up when I release, but if you want a head start watching my checkins is a good way to go :)
     
  24. Offline

    Greylocke

    fyi- I have been setting up a new public server and so I've been using the construction spells more than ever as I try to quickly create a central community center. I could not get Fill to work with double stone slabs. I don't think it was user error (this time) 'cuz I successfully used fill for many other block types, but double stone slabs would not work.

    Question: is there a way to Fill with air blocks?
     
  25. Offline

    NathanWolf

    0.992 should work with current RB and lower. 0.993 will only work with 577 and above- I don't think there's an RB in that range, yet. Just trying to not have to worry about Spells for a bit- but that kind of backfired, and then with these DNS issues it's all kind of a moot point anyway :p

    Hmmmm-- those may not be on the list! I'd have to add them to the building material list, if so, since I don't think you can change that in the properties file anymore.

    And, yes, filling with air is possible and easy- the best way to describe how to do it is to tell you to put one or two "material" blocks (dirt, wood, etc) on the far right of your inventory.

    Then, while holding a wand, shift+right-click. You'll see these materials cycle. The active one is on the right- cycle until it's an air block. Presto! Filling with air.

    There is a nice picture that illustrates this, here it is linked via my direct IP, since other links to it are probably down ATM :(

    [​IMG]

    In the above screenshot, "wood" is the active material. Two shift+right-clicks would get me to air.

    EDIT: Also, that's awesome! I built my "town square" by hand, before I had written Spells. I used Cuboid a bit to make some long train tracks, but otherwise all of the stuff in my "wolf" world is hand-made.

    The current, default world, is now littered with insanity from Spells, of course :)

    Can I come visit sometime?

    Also, my server (like all my stuff) is still up, just not my DNS. Feel free to come play at 216.235.101.209!

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

    Malkierian

    LOL, yes, 0.993 does work with 597 (on that note, it said it was 594 for the latest build, and it downlaoded 597...).

    Speaking of later builds, when the heck is permissions supposed to be internal to Bukkit? Does anyone have any information on that?
     
  27. Offline

    NathanWolf

    @Animosity, et all - here are the relevant code bits. For devs, this should give you an idea of what a spell looks like. For admins, this should give you an idea of what sort of customization options you'll have.

    Here is SpellVariant:

    Code:
    @PersistClass(schema = "magic", name = "spell")
    public class SpellVariant extends Persisted implements Comparable<SpellVariant>
    {
        private double              cooldown;
        private String              description;
        private String              name;
        private List<ParameterData> parameters;
        private String              spell;
        private List<String>        tags;
        private List<CastingCost>   costs;
    
    ...
    
    So, there is a "cooldown" now (this will be in seconds), as well as a list of casting costs:


    Code:
    @PersistClass(schema="magic", name="cost", contained=true)
    public class CastingCost
    {
        protected float        health = 0;
        protected float        mana = 0;
        protected MaterialData item   = null;
        protected int          count  = 0;
    ...
    So, a "casting cost" can be a bit of the player's health, some mana, one or more materials/items, or any combination of the three. Each spell can have any number of casting costs- so it can be used for a reagents system, mana system, or an "Eragon"-style "life force" type system. Or, whatever :)

    I might also make "mana" some sort of typed thing, where "health" is one of those types- not sure. I'd like to be happy with this stuff before release, certainly.

    Finally, to close the loop for developers- here is the "Spell" class, which you use as a base class for your spells:

    Code:
    public abstract class Spell implements Comparable<Spell>
    {
       /// Helpful members- lots of functionality available here!
        static protected CSVParser               csvParser    = null;
        protected Magic                          magic                = null;
        protected Persistence                    persistence          = null;
        protected Player                         player               = null;
        protected Targeting                      targeting            = null;
        protected PluginUtilities                utilities            = null;
    
    
        /// Abstract interface, you must override these 3
        public abstract String getDescription();
        public abstract String getName();
        public abstract boolean onCast(List<ParameterData> parameters);
    
        /// Not abstract, but helpful if you need them:
        public void onLoad()
        public void onCancel()
    ...
    
    Each player gets their own instance of each Spell that they use- so you can keep player-specific data in your spell class.

    More specifically, each player gets their own instance of a Spell for each variant of that spell they can use- so it looks something like this:

    [​IMG]

    Not sure if that makes any sense, but I tried :)

    That is an excellent question.

    FWIW, the current "internal" permissions system (used by Persistence, and hence used by all my plugins) is a copy+paste of the bukkit permissions code. It's meant to be forward-compatible, for those (like me, and you) itching to get started with the new system.

    No guarantees on them changing it completely before release, or just plain never releasing it officially, though!

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

    Thorns_Ofire

    Anyone have a link to 0.992?

    Loving the mod NathanWolf great for large scale terrain editing (Were currently working on a large above ground lava field with volcanoes). Also great to repair greifer damages :) Keep up the amazing work!!!
     
  29. Offline

    Malkierian

    For all those having troubles with downloads, go to NathanWolf's profile page and click on the link there (it'll be an IP address).

    @NathanWolf perhaps it would be best to put that download link in the OP until your DNS issues are resolved. Would certainly prevent a lot of these "DOWNLODZ R BROKEN! U FIX NAO!" or "WEREZ TEH DOWNLODZ PLOX" posts you're getting...
     
    NathanWolf likes this.
  30. Offline

    NathanWolf

    Glad you like it! Thanks!!

    Here's Spells 0.992, and Persistence 0.61

    Yeah, I probably should've done that- the problem is I've got like 5 plugin threads and updating them all for what was supposed to be a very temporary issue is a huge pain. Of course, so is handling the same "where are the links?" questions over and over- questions that, ironically, roll the answers off of the visible posts :p

    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