[INACTIVE][MECH/FUN] RuneCaster v1.1a- Draw Runes, Cast Spells (Not Runecraft!) [522]

Discussion in 'Inactive/Unsupported Plugins' started by Hohahihehu, Jan 24, 2011.

  1. Offline

    Hohahihehu

    RuneCaster - Draw Runes, Cast Spells:
    Version: v1.1a
    Author: Hohahihehu

    RuneCaster is similar to RuneCraft, but with different runes based off the Futhark alphabet (Viking Runes). For those who don't know what RuneCraft is, you draw a rune on the ground with blocks and activate it by placing torches on it. Depending on the shape of the rune, different effects will occur.

    Any/All Feedback is appreciated, as well as bug reports. I want to make this plugin as good as I can, and I need your help to do that!

    Features:
    • Draw a rune on the ground and place torches to activate its effect
    • Inscribe runes onto your tools to make them more useful
    • The /runecaster command gives information about different runes
    • Server admin can individually enable/disable runes in the RuneCasterConfig.properties file.
    Changelog:

    Version 1.1a (Bugfixes!)
    • Fixed TSLPC error (The Stupidly Long Plugin Constructor.) This was what spammed your consoles on startup.
    • Fixed internal plugin error messages when you tried to search using a rune name spelled in all lowercase.
    • Fixed some minor punctuation things in messages.
    • Added a message to the Eiwaz rune letting people know it's currently broken. I'm stil looking into it!
    Version 1.1 (Suddenly, Update!)

    • New Rune: Gyfu
    • New Rune: Reid
    • New Rune: Tyr
    • New Rune: Laguz
    • New Feature: Enchanting - Inscribe runes onto your tools for a variety of helpful effects
    • New Enchant: Laguz on Sword (Refreshes breath while moving underwater)
    • New Feature: List Command - Lists all the different runes currently available. Access with /runecaster list
    • New Feature: Info Command - Gets information about a specific rune, and if it's enabled or not. Access with /runecaster info <runename>
    • Hopefully fixed Dagaz, it should work now
    • A lot of optimization in my code, which doesn't mean much to people running the server
    • Probably broke a lot of stuff.
    Version 1.0 (Another Big Update!)

    • New Rune: Hagall
    • New Rune: Eiwaz
    • New Rune: Sol
    • New Rune: Odal
    • Isa Rune Redesigned: Instead of creating a useless ice pyramid, Isa now freezes all water in an area around the rune. The area increases with a permanent rune.
    Known Bugs:

    • Eiwaz creates a patch of grass and nothing else. This is some sort of bukkit bug I suppose, and will hopefully fix itself.
    Future Features:

    Near Future:
    • A rune which allows one to travel between different worlds, provided you know the name of the world.
    • Admin customizable rune materials.
    • Spell System! Use certain combinations of runes together to activate awesome spells!
    • Several Runes involving mob spawning I couldn't do before
    At some Point:

    • Even More Runes!
    • Some way to find out how to draw a rune while ingame
    • A way for admins to individually allow/disallow runes to groups
    Rune Library:

    Oss: Pulls the user through space towards the heavens.
    Reid: Sends the user on a journey into the depths of the earth (Liable to get you stuck in rocks)
    Gyfu: Randomly grants a valuable or worthless gift, depending on chance.
    Wynn: Brings a little bit of delicious joy into the world.
    Hagall: Winter's chill descends upon the area around the rune.
    Isa: Channels the power of biting cold to freeze water solid.
    Jeran: Calls upon the fertile land to grant a bountiful harvest.
    Eiwaz: With the power of the earth, grows a tree from the ground.
    Sol: Scorches the earth with the mighty heat of the sun. ***
    Tyr: Fires a sudden barrage of arrows from midair.
    Laguz: Condenses water into a pool and extinguishes nearby fires. **
    Odal: Forms a protective shelter to shield the caster within.
    Dagaz: Call back the sun to drive away the darkness of night.

    --Oss---Reid---Gyfu--Wynn--Hagall --Isa---Jeran--Eiwaz---Sol----Tyr---Laguz---Odal--Dagaz
    Runelist.jpg

    ** Abusable: Disabled by default
    *** DANGEROUS: DISABLED BY DEFAULT

    Rune Blocks:

    These are the different blocks you can make runes out of:

    Temporary:
    Sandstone (24)
    Double Step (43)
    Brick (45)
    Mossy Cobblestone (48)
    Clay (82)
    Netherrack (87)
    Soul Sand (88)

    Permanent:
    Lapiz Lazuli Block (22)
    Gold Block (41)
    Obsidian (49)
    Diamond Block (57)
    Glowstone (89)

    Illustrated Tutorial:

    Below is a brief tutorial on how to use the plugin, with accompanying pictures!

    (NOTE: The tutorial is old, Smooth Stone can no longer be used to make runes, and Isa no longer makes a pyramid of ice. The activation premise remains the same.)

    Tutorial Inside (open)


    1) The first step is to mine out the shape of the rune, like below.

    Step1.png

    All runes fit inside a 5x7 block boundary, and they can be oriented both North-South and East-West. Vertical Runes will not work, but they may in the future! The rune in the example is Isa. Yes, it's just a 7 block long line.

    It is just as easy to build the rune above ground as well, but it'll make step 3 a tiny bit harder.

    2) Fill in the shape of the rune with a valid rune making block.

    Step2.png

    The valid blocks to make a rune can be divided into two categories, Temporary and Permanent.

    Temporary:
    Sandstone (24)
    Double Step (43)
    Brick (45)
    Mossy Cobblestone (48)
    Clay (82)
    Netherrack (87)
    Soul Sand (88)

    Permanent:
    Lapiz Lazuli Block (22)
    Gold Block (41)
    Obsidian (49)
    Diamond Block (57)
    Glowstone (89)

    The blocks in the 5x7 area around the rune cannot be rune making blocks, even if they aren't in the shape of the rune. You couldn't, for example, place a Glowstone rune surrounded by sandstone, the rune wouldn't work.

    The blocks in the permanent category are much rarer, and for good reason. With the permanent blocks, you can make runes which you can reliably use over and over. They can burn out though, see below.

    3) Place a torch at each corner of the 5x7 area

    Step3.png

    I used regular torches in the tutorial, but you can also use Redstone Torches as well. Whichever you decide to use, all torches need to be the same type. The torches will be consumed when you use the rune. There are significant benefits to using Redstone Torches over normal torches:
    -Redstone Torches have a 50% to not burn out a temporary rune, normal Torches will always burn it out.
    -Regular Torches have a small chance to burn out a permanent rune, Redstone Torches will never do so.
    When a rune is burned out, all the rune making blocks will turn to cobblestone.

    4) Place down a torch in the center to activate the rune!

    Step4.png

    The torch you place in the center has to match the torches at the corners. Each rune will have its own individual effect.

    The Isa rune I used creates that pyramid of ice seen there, but other runes could do more useful things. The torches were consumed in the rune making process, and as you can see, the smooth stone (reminder: no longer valid rune making block) of the rune burnt out and turned into cobblestone. To use the rune again, I would have to mine out the cobblestone and rebuild it.



    Permissions Tutorial:

    Permissions Tutorial Inside (open)

    When you first run the plugin on your server, a folder called RuneCaster will appear in your server folder. In that folder will be a file. You can edit that file in a text editor like Notepad. There will be lines of text in there, such as
    Code:
    IsaRuneAllowed=true
    Changing true to false will prevent anyone on the server from activating an Isa rune. You can disable all Temporary runes or Permanent runes in the same way.


    Enchanter Tutorial:

    Enchanter Tutorial Inside (open)

    It's very simple to use the enchanter. Just create a rune like normal, and place a torch on each corner. Instead of placing a torch on the center though, right click the center block of the rune with the tool you want to enchant. If you can place the rune you drew on the tool you're holding, then it will enchant it. If not, you will receive a message letting you know it didn't work. Tools have to be at least iron quality to enchant, so wood/stone won't work.

    The permissions involved with this are:
    Code:
    EnchantsAllowed=true
    EnchantingSwordsAllowed=true
    EnchantingPickaxesAllowed=true
    EnchantingShovelsAllowed=true
    EnchantingAxesAllowed=true
    EnchantingHoesAllowed=true
    EnchantingBowsAllowed=true
    
    They are all set to true by default. Rune permissions affect enchants, if the Sol rune was disabled, you couldn't enchant your tools with that rune.

    If the server crashes or restarts, you will lose any enchants you may have, but you should keep them if you leave the server then rejoin.


    Downloads:

    Plugin (.jar)
    RuneCaster 1.1a

    Source (Though I can't imagine why you'd want to see my newb code)
    RuneCaster Source Code

    By the way, as an after note, this plugin was the first thing I've ever coded in java. I didn't even do a Hello world! program, just skipped straight to this :p.
     

    Attached Files:

  2. Offline

    Hohahihehu

    I like those ideas, especially the first one. I hadn't planned on making bows enchantable, but it seems like a good idea. I like the second too, but I may use a different tool such as a shovel as the fire extinguisher.

    When I made my post above earlier today, I wasn't feeling that well. I've gotten sicker as the day has gone on, so I may not be able to release the next update for a while if I don't get better soon. Sorry for any delays.
     
  3. Offline

    Fischkopf

    I just installed and tried your plugin, and at first I want to say it looks really cool and everything.
    But I have a problem, I tried Isa und Eiwaz ... Isa did nothing, only my redstone torches disappeared, and Eiwaz just created some dirt blocks :S no tree :(
    The Rune was made of sandstone and the surroundings where dirt .... do you have any idea why it didn't work?
    I'm using the newest Bukkit build ... think it is 360 or something like that but i'm not sure :$

    And another question/suggestion, don't know what you or the others think about it but for myself it would like it better when the RuneCaster Folder would be in the plugins folder and not in the main folder ;)

    EDIT:
    Good, I tried a bit aroudn with the runes, don't know why but on the second try Isa worked and Hagall is working too for me .... but still no tree with Eiwaz ^^
     
  4. Offline

    passerby56

    I have a feature request, though I don't know if it would be possible. I have never seen a slime in game. they apparently added them again when beta started, but i still haven't seen one. Could you make a rune that spawns a slime? Maybe a harmless small one.
     
  5. Offline

    Lloydski

    Hey, good work on this. I've got a problem - the "permanent" runes aren't permanent for me (I tried making it out of all of the permanent materials). They turn to cobblestone after use... Is this a common bug or is it something to do with my server?
     
  6. Offline

    Hohahihehu

    Ok, let me try to address all the concerns above:

    Fischkopf: When you first used the Isa rune, were you near water? If there's no water nearby to freeze, then nothing will occur. For Eiwaz, I was using a bukkit command to make it spawn a tree. They probably changed how that command works in a new bukkit version. That will be fixed by the next update (I hope)

    I can move the settings directory down into the plugins folder, that would be no problem. However, I want to fix all the critical "stuff breaking" bugs before I change that.

    passerby56: I do plan on having several mob spawning runes when everything is said and done. I could easily have one spawn slimes. However, there are currently some technical limitations on mob spawning. Since last I checked, you needed to make some annoying programming alterations to allow for mob spawning, and I want to wait until the feature is properly built in before I make any mob spawning runes.

    The reason that slimes are so rare atm is because Notch royally screwed up and made slimes unkillable by normal means. He then disabled their spawning until he could fix that.

    Lloydski: You probably tried to make a permanent rune then activated it with normal torches. If you use normal torches to activate a permanent rune, then it has a chance to burn it out (to add a "price" to permanent runes). If it was happening very often then there is a problem with the probabilities. I'll take a look at that when I'm well enough. Try activating them with redstone torches, tell me what happens!

    Glad to see that people care about my plugin and want it to improve!

    Also, in case anyone cares, an update on my health. I missed school on Tuesday and today due to my illness. I also missed my band's big concert, which sucks balls. I can barely breathe today, but the lightheadedness/headaches/nauseousness I suffered yesterday are gone.

    EDIT: I found the problems with both the Eiwaz and Dagaz runes. Bukkit changed the syntax of a couple of commands, breaking those runes. The next update will fix them both.
     
  7. Offline

    cretom

    don't be sorry!
    your health is most important thing to you :D
     
  8. Offline

    enkryptor

    Isn't it a bad idea to make rune materials customizable, is it?
     
  9. Offline

    Hohahihehu

    Hello to anyone who either cares about this plugin or me! I have finally vanquished the evil bacterial bronchitis which has been plaguing me with the aid of antibiotics. Now that I am feeling better, I shall attempt to get a working update of the plugin out as soon as possible. Go me!

    The new update shall contain several new runes, the enchanting system (may or may not actually have any enchants), the command to list information about the runes and (hopefully) a fix for both Dagaz and Eiwaz. I know for a fact that I got Dagaz working, but Eiwaz may be continuing to be annoying. I'm hoping for the best, and that I won't have to fix more.

    About customizing the blocks you can make runes out of, that wouldn't be the hardest thing in the world to do, and I could probably implement that fairly easily. I want to get this update out first though, so the plugin actually works properly, then I can work on that.
     
  10. Offline

    enkryptor

    Get well soon ^____^
     
  11. Offline

    kubalipa

    i downloaded new build of craftbukkit and finally it work.
    Awesome plugin, good job.

    Dagaz rune don't work for me ;(
    and i don't understand 1 thing
    "Nothing happens, perhaps you misdrew the rune?"
    im from Poland, and I don't understand English so well.
    --- merged: Feb 16, 2011 3:11 PM ---
    sorry for double post but i want to show what error i got when i try use Dagaz rune
    [​IMG]
     
  12. Offline

    Hohahihehu

    I'm working on fixing Dagaz right now, and it's working on my version which isn't ready for release. "Nothing happens, perhaps you misdrew the rune?" means that you put down the wrong pattern of blocks, so the plugin can't figure out what rune it is.
     
  13. Offline

    kubalipa

    ok,thank you very much ^_^
     
  14. Offline

    Hohahihehu

    Go right ahead, give it a shot! I'm willing to give you any noob help I can provide, seeing as I wouldn't have been able to get this far without the help of others.
    --- merged: Feb 18, 2011 9:04 AM ---
    Tadaa! Version 1.1 released finally!

    The list of new features is in the OP, as well as the updated links.

    I'm sure a bunch of stuff is going to be buggy, so any errors you guys find please let me know! And yes, Eiwaz still isn't working properly, I think it's a bug on bukkit's end.
     
  15. Offline

    kubalipa

    Awesome, it work Perfectly,and on my server they call me: Mr.RuneMaster ^^,
    1st plugin i really like
     
  16. Offline

    Hohahihehu

    Glad to see you enjoy it!
     
  17. Offline

    Hohahihehu

    Update: As far as I know nothing would have broken with the new minecraft update, as half-blocks won't be used for runes anyway and beds aren't included in any runes (Though I may add one to Odal...) Please tell me if anything stopped working!
     
  18. Offline

    Aatu

    i made jeran with torch on corner and righ-cliccked with hoe and my hoe just dissappears :(
    also happened with sword + sol
    i use diamond tools and all settings are true
     
  19. Offline

    Hohahihehu

    I... can't think of any possible reason why your tools would disappear. At all.

    The only enchant that's actually implemented is the Sword + Laguz enchants, the rest aren't actually there yet.

    I don't interact with the inventory in any way in my plugin, so I can't understand why your tools would disappear. It's not even remotely imaginable.
     
  20. Offline

    Kassil

    I have a request: As far as the materials go, can you make it so they can be enabled or disabled individually? Obsidian may be a bloody nuisance to mine out, but a single bucket and a lava pool are all it takes to produce an obsidian rune without needing a diamond pick.

    Outside of that, it looks excellent! I particularly appreciate the use of Futhark runes, it's a lovely touch.
     
  21. Offline

    jascotty2

    just downloaded it to try, and neither the RuneCaster folder or the settings file was created..
    could someone post what it's named & the contents, until this is fixed?


    (Edit: It was created, i was just looking in the wrong place.. I was expecting it in the plugins folder)
     
  22. Offline

    Hohahihehu

    Well that's peculiar.

    The folder appears in the main server folder, and it's named "RuneCaster"

    The file inside is called RuneCasterConfig.properties

    The contents of the file is:

    Show Spoiler

    Code:
    #-=RuneCaster Config Settings=-
    #Fri Feb 18 00:39:20 PST 2011
    DagazRuneAllowed=true
    EnchantingSwordsAllowed=true
    TemporaryRunesAllowed=true
    TyrRuneAllowed=true
    IsaRuneAllowed=true
    OssRuneAllowed=true
    EnchantingAxesAllowed=true
    EiwazRuneAllowed=true
    EnchantsAllowed=true
    EnchantingBowsAllowed=true
    GyfuRuneAllowed=true
    EnchantingShovelsAllowed=true
    OdalRuneAllowed=true
    LaguzRuneAllowed=false
    HagallRuneAllowed=true
    JeranRuneAllowed=true
    WynnRuneAllowed=true
    PermanentRunesAllowed=true
    EnchantingPickaxesAllowed=true
    ReidRuneAllowed=true
    SolRuneAllowed=false
    EnchantingHoesAllowed=true
    




    Also, making the materials customizable is on my list of things to do :D
     
  23. Offline

    jascotty2

    didn't resolve the issue :(
    "runecaster list" has an empty list,
    tried "runecaster info gyfu", and got this:

    (but it did print the help text)
    (ps: it was at the server root, not in the plugins folder where i was looking [​IMG])
     
  24. Offline

    Darkveit

    I get an error when i try to start my server...

    at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:80)
    at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:129)
    at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:94)
    at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:59)
    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)
    Caused by: java.lang.NoSuchMethodException: com.Hohahihehu.plugin.RuneCaster.RuneCaster.<init>()
    at java.lang.Class.getConstructor0(Unknown Source)
    at java.lang.Class.getConstructor(Unknown Source)
    at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:75) ... 8 more
    the plugin does not create any new txt or folder except for some changes in the server log.
    ive just dropped the RuneCaster.jar in the plugin folder and tried to start (same way as any other mod?)
    what am im doin wrong? :)
     
  25. Offline

    jwideman

    This plugin hasn't removed TSLPC. Revert to an older build. 448 is the last one that had TSLPC, I think.
     
  26. Offline

    Darkveit

    Thanks,
     
  27. Offline

    Hohahihehu

    What? I know I removed the TSLPC. I'm sure I di-

    Oh... I removed it in my dev build, but not in the build uploaded to the forum. How silly of me. No wonder I couldn't figure out why it was breaking. I'll get that fixed as soon as I get back home!

    In other news, I should soon have the customizable materials part ready!

    DAMN YOU STUPIDLY LONG PLUGIN CONSTRUCTOR!
     
  28. Offline

    Shatteredomens

    Ummm..... didnt work.... wont load
    19:06:03 [SEVERE] Could not load plugins\RuneCaster.jar in plugins: null
    org.bukkit.plugin.InvalidPluginException
    at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.
    ava:80)
    at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager
    java:129)
    at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManage
    .java:94)
    at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:59)
    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)
    Caused by: java.lang.NoSuchMethodException: com.Hohahihehu.plugin.RuneCaster.Ru
    eCaster.<init>()
    at java.lang.Class.getConstructor0(Unknown Source)
    at java.lang.Class.getConstructor(Unknown Source)
    at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.
    ava:75)
    ... 8 more
     
  29. Offline

    Hohahihehu

    See above, it's caused by TSLPC, and I am currently in the process of compiling and uploading a version without it.
    --- merged: Mar 2, 2011 4:21 AM ---
    Version 1.1a, cobbled together from my dev version, will now not throw all the above errors! Make sure you update your plugins!
     
  30. Offline

    Hohahihehu

    Good news everyone!

    A small reorganization of code I did to make it more compact accidentally lead to a way to implement the spell system! Huzzah! I'm going to add the spell system in the next version, with a couple of (hopefully) fun spells in it! I'm also adding quite a few enchants to increase the usefulness of that as well. And since bukkit finally has a direct way to summon creatures instead of having to hook into Craftbukkit, I can finally add quite a few runes to the plugin I was unable to implement before (without it being a huge pain). I also implemented admin customizable materials, and it's working fine.

    TL;DR Version: 1.2 will have
    • Several New Runes
    • New Enchants
    • The Spell System (use multiple runes together for awesome spells)
    • Admin customizable materials
    • Unmitigated Badassery
    I hope you're looking forward to it guys, I know I am looking forward to hear your feedback!

    I'm still open to any suggestions you guys may have!

    (Also, I'm using the new RB and I don't think anything broke, but if someone notices something broke in 1.1a then please let me know!)
     
  31. Offline

    Lakart

    Wynn doesn't seem to work for me.
     

Share This Page