Inactive [ADMN/FUN/RPG] SpoutMaterials v1.1 - Add custom blocks through Spout [1337]

Discussion in 'Inactive/Unsupported Plugins' started by ZNickq, Oct 6, 2011.

     
  1. Offline

    ZNickq

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    SpoutMaterials v1.3 - Easily add custom blocks and items through Spout!





    This post has been edited 38 times. It was last edited by ZNickq Feb 11, 2012.
    alego, Kertanos, Astaen and 8 others like this.
  2.  
  3. Offline

    ZNickq

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Released support for any resolution! Check the download link in a few mins!
  4. Offline

    ZNickq

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    oh,that's cool,thanks!
  5. Offline

    Digi

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Well, I got the spout posted and tried to test 1.2... following error occured:
    13:17:24 [INFO] SpoutBlocks v1.2 has been enabled!
    13:17:24 [SEVERE] Error occurred while enabling CustomB v1.2 (Is it up to date?): null
    java.lang.NullPointerException
    at ZNickq.SpoutBlocks.SpoutBlocks.readconfig(SpoutBlocks.java:46)
    at ZNickq.SpoutBlocks.SpoutBlocks.onEnable(SpoutBlocks.java:37)
    at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:126)
    at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:941)
    at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:280)
    at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:174)
    at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:157)
    at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:297)
    at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:284)
    at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:152)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:348)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:417)

    This post has been edited 1 time. It was last edited by Digi Oct 7, 2011.
  6. Offline

    powback

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Very nice! Cant test right now, but any support for transparent blocks? Or semi-transparent ones? And what about animations? Or blockdamage? Or drops? Add to the /give command? Sound when stepping on it? Sound when breaking? X-model? (like flowers)

    These are just suggestions btw, the api is limited, iknow.
    Awesome plugin! Keep up the good work!
  7. Offline

    feildmaster Bukkit Team Member BukkitDev Staff

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Only normal blocks at the moment. You can't add it to the /give command without hacking into it... and getting messy.
  8. Offline

    ZNickq

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    It doesn't detect the config...are you sure you have it?


    @powback @feildmaster
    The api is still in very early alpha,but i think it has support for transparent blocks (i added the config,not sure if it works)! Any other changes will come later,but @olloth about em :p
  9. Offline

    feildmaster Bukkit Team Member BukkitDev Staff

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Don't tag me. I'm already watching this... tags just get in the way. ;)
  10. Offline

    powback

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Oh, and one more thing!
    Dunno why i'm throwing out suggestions here, but i'm sure the spout-team will notice em...
    Placing bloks on the head, giving me custom view (like the pumpkin, just retextured pumpkinblur...
    I feel like this is going to be a hell of a month!
  11. Offline

    ZNickq

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    okay! :)

    @powback
    Yeah,i'm kinda doing heavy advertising to the Spout irc! ^^
    If you have any more problems,get on there (esper.net,select chat now,and go to the channel spout) , you can also post suggestions there! :D

    And to the idea...spout still can't modify things like this (shaders),but it will be soon! :D
  12. Offline

    Celeixen

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    If you checked his plugin.yml you would see that he hasnt listed the permissions, so how would they default to op?
    if he doesn't register them he has to check for isOP.
  13. Offline

    feildmaster Bukkit Team Member BukkitDev Staff

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    A new change to bukkit makes OP's have every permission. But he doesn't list them? Is that so? I'm not 100% sure on what would happen in that case.

    This post has been edited 1 time. It was last edited by feildmaster Oct 7, 2011.
  14. Offline

    ZNickq

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    I'm lazy,i don't register anything :p
  15. Offline

    Antariano

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Got the same error. The plugins seems to not generate the config. Could you upload it please?
  16. Offline

    ZNickq

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    lmao,i failed hard...you were never supposed to get just the jar,that's for internal use :p
    Download link changed in the OP to a .zip! :D
    powback likes this.
  17. Offline

    Antariano

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Ahhahaha :) Ok, I tried it... Spoutcraft crashes when I bgiveme or try to craft. Do I need some kind of dev spoutcraft? or did I fail to config?
  18. Offline

    elias79

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    The possibilities of this plus recipes.
  19. Offline

    ZNickq

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    it does that when the texture isn't properly loaded...check the url! it's no longer in the block name,it's in its own URL config node!
  20. Offline

    Antariano

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    allright :D
    brb

    EDIT: tried it with aerogel, still crashes

    This post has been edited 1 time. It was last edited by Antariano Oct 7, 2011.
  21. Offline

    ZNickq

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    so? :D

    This post has been edited 1 time. It was last edited by ZNickq Oct 7, 2011.
  22. Offline

    Antariano

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Download Spoutcraft dev build, now it works. You should add this into the first post if more people encounter this error :) Allright off for designing block packs!
  23. Offline

    ZNickq

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Look at the second line in the OP! :p
    Also,if you make more custom blocks,can you pm me the yml,so that i can add it to the official pack? :D
    I am too lazy to put the aether blocks again :p
  24. Offline

    Antariano

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    I mean SpoutCRAFT, the players jar, not the server jar :)
  25. Offline

    ZNickq

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    oooooh,true,forgot about that! thanks for reminding me ^^
  26. Offline

    Antariano

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Allright I have 3 requests for ya :D
    First: Make crafting possible without having to fill up the entire crafting table with items
    Second: Make crafting possible with item attributes (like orange dye: 351:14, it gives an error, I suppose because of the ":")
    Third: Make the plugin read all .yml files in the folder, so you can separate different block packs easily
    In this way every "pack" makes a yml which the plugin reads and puts the according blocks into the game :)

    EDIT: seems it's not just the attribute, it's the fact that I added a "Y" to the reciepe. is this supposed to happen?
    Code:
    15:09:30 [SEVERE] Error occurred while enabling SpoutBlocks v1.2 (Is it up to date?): while scanning for the next token; found character        '\t' that cannot start any token
    while scanning for the next token
    found character         '\t' that cannot start any token
     in "<reader>", line 22, column 1:
                                    Y: 351
        ^
    
            at org.yaml.snakeyaml.scanner.ScannerImpl.fetchMoreTokens(ScannerImpl.java:360)
            at org.yaml.snakeyaml.scanner.ScannerImpl.checkToken(ScannerImpl.java:183)
            at org.yaml.snakeyaml.parser.ParserImpl$ParseBlockMappingKey.produce(ParserImpl.java:564)
            at org.yaml.snakeyaml.parser.ParserImpl.peekEvent(ParserImpl.java:163)
            at org.yaml.snakeyaml.parser.ParserImpl.checkEvent(ParserImpl.java:148)
            at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:228)
            at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)
            at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:230)
            at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)
            at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:230)
            at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)
            at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:230)
            at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)
            at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:230)
            at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)
            at org.yaml.snakeyaml.composer.Composer.composeDocument(Composer.java:122)
            at org.yaml.snakeyaml.composer.Composer.getSingleNode(Composer.java:105)
            at org.yaml.snakeyaml.constructor.BaseConstructor.getSingleData(BaseConstructor.java:124)
            at org.yaml.snakeyaml.Yaml.load(Yaml.java:264)
            at org.bukkit.util.config.Configuration.load(Configuration.java:82)
            at ZNickq.SpoutBlocks.SpoutBlocks.readconfig(SpoutBlocks.java:47)
            at ZNickq.SpoutBlocks.SpoutBlocks.onEnable(SpoutBlocks.java:38)
            at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:126)
            at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:941)
            at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:280)
            at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:174)
            at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:157)
            at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:297)
            at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:284)
            at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:152)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:348)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:417)
    

    This post has been edited 4 times. It was last edited by Antariano Oct 7, 2011.
  27. Offline

    ZNickq

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    First: put spaces!
    For example:
    line1:" X "
    line2:"X X"
    line3:" X "


    Second:
    Yeah,that's a problem...BUT i have an awesome fix planned! ^^

    Thirds:

    Hmm,never thought of that! I might actually do it,i have some cool ideas on how it will work!
  28. Offline

    ZNickq

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    @Antariano
    Also,since you seem to be using tons of blocks...would you mind building something serious (like a house,or a giant logo,donno) out of custom items? the current image isn't exactly...exciting,lol!
  29. Offline

    Antariano

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    I might :) BTW the second error I got was because of tabs where spaces should go... f°ç#ing notepad . Now it just does not recognize attributes :D
  30. Offline

    ZNickq

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    The second error is normal,just don't use it :p
    I'll change it to actual item names,like ORANGE_DYE,so it will be easier :p
  31. Offline

    Antariano

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Did I tell you how awesome you are?
    BTW found a bug:
    [IMG]
  32. Offline

    Celeixen

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    I know thats fine, i dont always either :p i was just saying feildmaster isn't fully correct.

Share This Page