[INACTIVE][MECH] RainbowWool v1.0 - use redstone to bring rainbows to wool. [300+]

Discussion in 'Inactive/Unsupported Plugins' started by fullwall, Feb 17, 2011.

  1. Offline

    fullwall

    Sounds like you're toggling the plugin too fast, causing a stack overflow - always going to be an issue. I'll see what I can do though.
    --- merged: Feb 28, 2011 10:44 AM ---
    Ok. Try redownloading - added a delay so wool colour is only updated every 50 milliseconds.
     
  2. Offline

    jascotty2

    don't know what you changed, but it's now 20.8 KB (21348 bytes) vs 3.5 KB (3614 bytes) (600% larger) and it won't load in bukkit

    -- also, you really should change version number when you change a release version... maybe 1.0.0.1 or 1.0.1 if not 1.1
     
  3. Offline

    Ligth

    Hi i have put the pulin the folder but when i launch my server it doesnt work :eek:

    Any idea .?
     
  4. Offline

    27ace27

    It would be nice if one could set just 2 colors to cycle between; such as black and white.
     
  5. Offline

    fullwall

    There is already a plugin to do that. I will look at this tonight.
     
  6. Offline

    Jeppo

    The plugin is crashing my server..
    "[SEVERE] Could not pass event REDSTONE_CHANGE to RainbowWool"-flood in console
     
  7. Offline

    fullwall

    Can you post one of the errors please?
     
  8. Offline

    Jeppo

    Code:
    2011-03-01 01:28:30 [SEVERE] Could not pass event REDSTONE_CHANGE to RainbowWool
    java.lang.StackOverflowError
        at sun.util.calendar.ZoneInfo.getOffsets(ZoneInfo.java:225)
        at java.util.GregorianCalendar.computeFields(GregorianCalendar.java:2024)
        at java.util.GregorianCalendar.computeFields(GregorianCalendar.java:1996)
        at java.util.Calendar.setTimeInMillis(Calendar.java:1109)
        at java.util.Calendar.setTime(Calendar.java:1075)
        at java.text.SimpleDateFormat.format(SimpleDateFormat.java:876)
        at java.text.SimpleDateFormat.format(SimpleDateFormat.java:869)
        at java.text.DateFormat.format(DateFormat.java:278)
        at java.text.Format.format(Format.java:140)
        at net.minecraft.server.ConsoleLogFormatter.format(SourceFile:17)
        at java.util.logging.StreamHandler.publish(StreamHandler.java:179)
        at java.util.logging.ConsoleHandler.publish(ConsoleHandler.java:88)
        at java.util.logging.Logger.log(Logger.java:481)
        at java.util.logging.Logger.doLog(Logger.java:503)
        at java.util.logging.Logger.log(Logger.java:592)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:227)
        at net.minecraft.server.BlockRedstoneWire.a(BlockRedstoneWire.java:110)
        at net.minecraft.server.BlockRedstoneWire.g(BlockRedstoneWire.java:40)
        at net.minecraft.server.BlockRedstoneWire.a(BlockRedstoneWire.java:284)
        at net.minecraft.server.World.k(World.java:369)
        at net.minecraft.server.World.h(World.java:346)
        at net.minecraft.server.World.f(World.java:317)
        at net.minecraft.server.World.c(World.java:268)
        at org.bukkit.craftbukkit.block.CraftBlock.setData(CraftBlock.java:90)
        at com.fullwall.RainbowWool.BlockListen.onBlockRedstoneChange(BlockListen.java:34)
        at org.bukkit.plugin.java.JavaPluginLoader$29.execute(JavaPluginLoader.java:272)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:59)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:225)
        at net.minecraft.server.BlockRedstoneWire.a(BlockRedstoneWire.java:110)
        at net.minecraft.server.BlockRedstoneWire.g(BlockRedstoneWire.java:40)
        at net.minecraft.server.BlockRedstoneWire.a(BlockRedstoneWire.java:284)
        at net.minecraft.server.World.k(World.java:369)
        at net.minecraft.server.World.h(World.java:346)
        at net.minecraft.server.World.f(World.java:317)
        at net.minecraft.server.World.c(World.java:268)
    --- merged: Mar 1, 2011 11:05 AM ---
    This block of code repeat over and over..

    Code:
        at org.bukkit.craftbukkit.block.CraftBlock.setData(CraftBlock.java:90)
        at com.fullwall.RainbowWool.BlockListen.onBlockRedstoneChange(BlockListen.java:34)
        at org.bukkit.plugin.java.JavaPluginLoader$29.execute(JavaPluginLoader.java:272)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:59)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:225)
        at net.minecraft.server.BlockRedstoneWire.a(BlockRedstoneWire.java:110)
        at net.minecraft.server.BlockRedstoneWire.g(BlockRedstoneWire.java:40)
        at net.minecraft.server.BlockRedstoneWire.a(BlockRedstoneWire.java:284)
        at net.minecraft.server.World.k(World.java:369)
        at net.minecraft.server.World.h(World.java:346)
        at net.minecraft.server.World.f(World.java:317)
        at net.minecraft.server.World.c(World.java:268)
     
  9. Offline

    fullwall

    Can you try redownloading from the same link?
     
  10. Offline

    Jeppo

    Same :(
     
  11. Offline

    fullwall

    Are you using any redstone repeaters on your server (connected to wool)?
    --- merged: Mar 1, 2011 11:16 AM ---
    Also, try redownloading again.
     
  12. Offline

    Jeppo

    Yeah, but the repeaters are in another circuit that isn't on
    --- merged: Mar 1, 2011 11:21 AM ---
    Redownloaded.. still the same
     
  13. Offline

    fullwall

    One more time...
     
  14. Offline

    Jeppo

    Nope :(
    The error shows when the wool changes color.
    If I put a redstone torch next to a wool block no errors appear. It seems it only happens when more than 1 block i affected..
     
  15. Offline

    fullwall

    That helps. Do you mean when redstone blocks are connected to more than one at the same time? Screenshot/more description?
     
  16. Offline

    Jeppo

    Torches next to wool blocks gives no errors.
    When redstone is involved the error appears.
    1 or 2 blocks gives the error, but it stops again.
    When 3 or more blocks are affected at the same time, the error loops over and over.
     
  17. Offline

    fullwall

    So, just to be clear - this is when 1 powered redstone wire touches 3 wool blocks.
     
  18. Offline

    Jeppo

    Correct :)
     
  19. Offline

    IsntMine

    Sorry for that stupid question:
    How to use RaindbowWool (ingame command) ?
     
  20. Offline

    fullwall

    It's not an ingame command - it just changes what happens when you connect powered redstone to wool.
    --- merged: Mar 1, 2011 11:55 AM ---
    Try redownloading.
     
  21. Offline

    Jeppo

    Same
     
  22. Offline

    fullwall

    Can you redownload and tell me the server output.
     
  23. Offline

    Jeppo

    Code:
    2011-03-01 13:12:53 [SEVERE] Could not pass event REDSTONE_CHANGE to RainbowWool
    java.lang.StackOverflowError
        at java.util.GregorianCalendar.computeFields(GregorianCalendar.java:2017)
        at java.util.GregorianCalendar.computeFields(GregorianCalendar.java:1996)
        at java.util.Calendar.setTimeInMillis(Calendar.java:1109)
        at java.util.Calendar.setTime(Calendar.java:1075)
        at java.text.SimpleDateFormat.format(SimpleDateFormat.java:876)
        at java.text.SimpleDateFormat.format(SimpleDateFormat.java:869)
        at java.text.DateFormat.format(DateFormat.java:278)
        at java.text.Format.format(Format.java:140)
        at net.minecraft.server.ConsoleLogFormatter.format(SourceFile:17)
        at java.util.logging.StreamHandler.publish(StreamHandler.java:179)
        at java.util.logging.ConsoleHandler.publish(ConsoleHandler.java:88)
        at java.util.logging.Logger.log(Logger.java:481)
        at java.util.logging.Logger.doLog(Logger.java:503)
        at java.util.logging.Logger.log(Logger.java:592)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:227)
        at net.minecraft.server.BlockRedstoneWire.a(BlockRedstoneWire.java:110)
        at net.minecraft.server.BlockRedstoneWire.g(BlockRedstoneWire.java:40)
        at net.minecraft.server.BlockRedstoneWire.a(BlockRedstoneWire.java:284)
        at net.minecraft.server.World.k(World.java:369)
        at net.minecraft.server.World.h(World.java:344)
        at net.minecraft.server.World.f(World.java:317)
        at net.minecraft.server.World.c(World.java:268)
        at org.bukkit.craftbukkit.block.CraftBlock.setData(CraftBlock.java:90)
        at com.fullwall.RainbowWool.BlockListen.onBlockRedstoneChange(BlockListen.java:49)
        at org.bukkit.plugin.java.JavaPluginLoader$29.execute(JavaPluginLoader.java:272)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:59)
     
  24. Offline

    IsntMine

    oO ok.. dont understand the mechanics ^^ nevermind
     
  25. Offline

    fullwall

    Try this again. Sorry for making you test so much! There should be a line saying types etc., but post the error as well please (it gives code lines).
     
  26. Offline

    Jeppo

    Code:
    2011-03-01 13:24:21 [INFO] Current: 0. Types: AIR SAND AIR REDSTONE_WIRE AIR DIRT
    2011-03-01 13:24:21 [INFO] Current: 13. Types: AIR SAND AIR REDSTONE_WIRE WOOL AIR
    The last one spams the console
     
  27. Offline

    fullwall

    Again. Could you please post the errors (if any) as well?
     
  28. Offline

    Jeppo

    I'm not sure I know what you mean by errors?
     
  29. Offline

    fullwall

    2011-03-01 13:12:53 [SEVERE] Could not pass event REDSTONE_CHANGE to RainbowWool java.lang.StackOverflowError at java.util.GregorianCalendar.computeFields(GregorianCalendar.java:2017) at java.util.GregorianCalendar.computeFields(GregorianCalendar.java:1996) at java.util.Calendar.setTimeInMillis(Calendar.java:1109) at java.util.Calendar.setTime(Calendar.java:1075) at java.text.SimpleDateFormat.format(SimpleDateFormat.java:876) at java.text.SimpleDateFormat.format(SimpleDateFormat.java:869) at java.text.DateFormat.format(DateFormat.java:278) at java.text.Format.format(Format.java:140) at net.minecraft.server.ConsoleLogFormatter.format(SourceFile:17) at java.util.logging.StreamHandler.publish(StreamHandler.java:179) at java.util.logging.ConsoleHandler.publish(ConsoleHandler.java:88) at java.util.logging.Logger.log(Logger.java:481) at java.util.logging.Logger.doLog(Logger.java:503) at java.util.logging.Logger.log(Logger.java:592) at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:227) at net.minecraft.server.BlockRedstoneWire.a(BlockRedstoneWire.java:110) at net.minecraft.server.BlockRedstoneWire.g(BlockRedstoneWire.java:40) at net.minecraft.server.BlockRedstoneWire.a(BlockRedstoneWire.java:284) at net.minecraft.server.World.k(World.java:369) at net.minecraft.server.World.h(World.java:344) at net.minecraft.server.World.f(World.java:317) at net.minecraft.server.World.c(World.java:268) at org.bukkit.craftbukkit.block.CraftBlock.setData(CraftBlock.java:90) at com.fullwall.RainbowWool.BlockListen.onBlockRedstoneChange(BlockListen.java:49) at org.bukkit.plugin.java.JavaPluginLoader$29.execute(JavaPluginLoader.java:272) at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:59)
    these kinds of errors. Also the lines that you posted before (current: type:)
     
  30. Offline

    Jeppo

Share This Page