[MECH] RedstoneChips 0.97 - Integrated circuits plugin [1.5.1-R0.2]

Discussion in 'Archived: Plugin Releases' started by eisental, Jan 19, 2011.

  1. Offline

    eisental

    RedstoneChips 0.97 / BasicCircuits 0.97 / SensorLibrary 0.34
    (Last update on April 30th, 2013, cb 1.5.1-R0.2)


    [​IMG]

    Features:
    • Build chips with any number of input and output pins, from compact 2 block chips up to whatever you can imagine.
    • Choose from over 50 different chip types and several 3rd party chip libraries.
    • Most chip types can work with a wide or infinte range of i/o configurations. Sign arguments allow you to customize chip behavior.
    • Chips can communicate through redstone, or directly by touching each other. Some chip types can also communicate over wireless channels.
    • Chips can be built in almost any imaginable structure allowing very compact circuits.
    • Debug and maintain large projects using various tools and commands.
    [​IMG]

    [cake] Help me spend more time working on RedstoneChips. Please donate

    Circuit libraries made by other people:
    Changelog (open)

    RedstoneChips 0.97 (Apr 30th, 2013)
    • Fixed the saving bug on cb 1.5.1.
    • Added an option to disable update checking.
    BasicCircuits 0.96 (Apr 30th, 2013)
    • pixel: Added a maximum distance value preference to prevent lags and server crashes. The max can be changed using/rcprefs pixel.maxDistance x and defaults to 7.
    • sram: Fixed a problem with anonymous memory.
    SensorLibrary 0.34 (Dec 1st, 2012)
    • daytime: Fixed daytime offset bug.



    Full changelogs and source code @ github.com:
    RedstoneChips [gunpowder] BasicCircuits [gunpowder] SensorLibrary
     
    DoomLord, Shamebot, Vecht and 6 others like this.
  2. Offline

    gdude2002

    Well, I actually just updated..


    Code:
    This server is running Craftbukkit version git-Bukkit-"14e7b01" (MC: 1.2_01)
    So that's the latest.

    I remember updating Redchips. I'm almost positive.
    Yes, I did. For some stupid reason, I didn't download the BasicCircuits package, although I removed it :/
    Thanks for the help.

    Oh, also, is there any chance of a /rc command to remind me of the commands when I'm online? And there should also be a command to reload RedstoneChips (So that it find new chips without needing a reboot)
     
  3. Offline

    needspeed10

    Just use the Essentials plugin it has a /help command which shows all rc commands too, and it has the option to reload plugins so you could reload redstonechips then too...
     
  4. Offline

    eisental

    Yeah, it seems essentials works well for /reloading but I'll add an /rc command. Finding 1 command in a help of 18 pages is not a very nice experience... /rc-help perhaps?
     
  5. Offline

    dan2wik

    omg my server just lost its worlds, plugins and EVERYTHING . i just enabled the plugin and my gui (crafty) is saying
    [warning] invalid directory and/or process
    [warning] /world2 not found

    then crafty crashed and the whole craftbukkit folder is gone.
     
  6. Offline

    eisental

    I find it very unlikely that RedstoneChips have caused anything like this. I have no idea what crafty is (and curiously, couldn't find any info on google) (thanks QQCucumber), but maybe it would be better to ask in the support forum. If there's any RedstoneChips specific error in the server logs please post it.
     
  7. Offline

    QQCucumber

    Crafty is in Bukkit Tools in Discussion and Support and all it does is give a graphical interface to CraftBukkit, it doesn't affect plugins in any way.
     
  8. Offline

    macfanpro

    Thanks for a great plugin, it has been working great and is extremely useful to me when building, and is pretty easy to program too. I am really looking forwards to the time sensor (time-locked doors). Anyway, I am working on a implementation of the Microchip PIC10F200 in RedstoneChips, but the real chip has 3 I/O pins. Since I can't really do this with the existing system, and the chip only has 4 IO (including the input only pin) pins anyway, what would you recommend? Use a interface block with a lever?
     
  9. Offline

    eisental

    This sounds interesting :) If I understand you correctly i guess the easiest way would be to use 6 pins instead of 3 or you can choose when you build it to make them inputs or outputs. I don't know much about PICs but I assume you program each IO pin to be either input or output and then they stick to it. The bigger question is how are you going to program it. Are you planning to implement the serial programming interface? That would be pretty crazy...
    Using an interface block would probably force you to duplicate too much of the code I've already written. They're not meant to deal with redstone current changes. If you explain how you plan to make it all work I can see if any new feature should be added to RedstoneChips to make it possible.
    And of course if you manage to finish, please release it.
     
  10. Offline

    macfanpro

    Well, at this point it compiles PIC assembler code in a file into bytecode, then interprets it. Doing it with a serial interface would be far too complicated, as you said, and this method seems to work pretty well. For the I/O pins, what I will probably do is just see what pins are present and set the IO bitmask register up accordingly, since these spend most of their time anyway as one or the other.

    The only thing I may need help with in RedstoneChips itself would be keeping the output from crashing the server. I remember that you were having problems with server stability above 200 Hz on the clock circuit, and this chip runs at 1 KHz, with a maximum output speed of 500 Hz, so what would you reccomend? Run a output loop at 100 Hz that looks at the register and updates the pins? Thanks for the help.
     
  11. Offline

    eisental

    Well, I think it would be pretty hard to crash the server with the current version, but the fastest clock frequency you can get with the minecraft server is 20Hz. The only way to get around it is to simulate 4 (or 40 or much more...) clock cycles per tick. If you use an internal clock it should run of course on a different thread and use the bukkit scheduler to sync with the game (so it doesn't crash). If you need help send a pm.
     
  12. Offline

    mrboese

    The server says that I should nag you to change the constructor ...

    nag nag nag nag nag
     
  13. Offline

    eisental

    No need to nag :), the annoying message will disappear on the next release which will hopefully arrive soon although I'm quite too busy these days...
    --- merged: Feb 22, 2011 6:07 PM ---
    MC1.3 is out so I think I would wait a while on the update until things settle down a bit.
    Anyway, this might be pretty useful :)
     
  14. Offline

    rolli01

    hi , i just build thw wool maschine. it is suppose to give 3x3x3 , but i only get 2x2x2 , and hell i dont no why or what happend. it works i can change all colors but only 2x2x2.. pls help thxssssssssssss
     
  15. Offline

    eisental

    Did you place the wool around the interface block?
     
  16. Offline

    BindMind

    Any news on this being updated for the latest build?
     
  17. Offline

    eisental

    Should be finished by the end of the weekend but I'm not promising anything [​IMG]... Is there any problem with 0.8 with Minecraft 1.3?
     
  18. Offline

    BindMind

    Well, none of my circuits appear to be working. I have some transmitters and receivers set up and they're not doing anything. I wonder if the map conversion disabled them... But the plugin appears to be loading correctly, and all of the commands work fine.

    I can't try reactivating them now, I'm not at a computer with Minecraft on it so :S
     
  19. Offline

    iarspider

    Could you please fix this:
    Code:
    [WARNING] Using the stupidly long constructor org.tal.basiccircuits.BasicCircuits(PluginLoader, Server, PluginDescriptionFile, File, File, ClassLoader) is no longer recommended. Go nag the plugin author of BasicCircuits to remove it! (Nothing is broken, we just like to keep code clean.)
    
     
  20. Offline

    BindMind

    Well, it's working. Just had to turn on the circuits again... It's a little irritating having to go turn them on again. Is there a way for them to stay on indefinitely?
     
  21. Offline

    eisental

    As you can read a few posts above, this is fixed and will be released soon.
    --- merged: Feb 25, 2011 2:03 AM ---
    Hmmm, I'm not sure why that should happen but since I actually managed to delete my entire world :'( while upgrading to 1.3 I couldn't test a normal upgrade and see how it goes. Generally it shouldn't happen, especially now that you don't need to rename the plugin folder on every new version.
     
  22. Offline

    BindMind

    Well, I did a little testing yesterday (and pissed off all my members doing it [​IMG]) and it seems that every single time I restart or turn off my server, the chips disable... Which is odd, because it never did that before the 1.3 update.
     
  23. Offline

    eisental

    That is odd :) Apparently other people had some problem with the upgrade as well. I don't see this with the new version so maybe it's fixed now. I think you should test it with the new ver when it's out. Anyways, thanks for the feedback. I hope to release it tomorrow...
     
  24. Offline

    gdude2002

    I don't lose my chips on a restart, but I can't activate any new chips. As in, right-clicking them does nothing. However, the ones I have already do work perfectly.

    And no, there are no errors. :p
     
  25. Offline

    eisental

    Well, as I said, please save all your bug reports for the next version. Sorry for all the weird problems...
     
  26. Offline

    Wernesgruner

    Just want to signal that I lose all my chips on restart with the B432.

    Also, wen can we expect the next version :D

    Thanks for the awesome plugin.
     
  27. Offline

    eisental

    Recent bukkit changes made it difficult to finish the release. I'm having new circuit library load order problems that I haven't managed to solve yet. I'm also moving out of my apartment [​IMG] so I'm not sure how much time I'll have for it today. Other than that almost everything is finished :)
     
  28. Offline

    petteyg359

    If I try to put any pulse width on a clock sign, I get
    Bad pulse width decimal number: 0.5
    clock was not activated

    This happens with 120bpm / 30bpm, 500ms / 125ms, 500ms / 300ms, 1s/250ms, 1s/500ms. Any time I have a pulse width value on the second line, I get that message.
     
  29. Offline

    gdude2002

    Build #457 - CraftBukkit says the plugins are invalid. Therefore, they don't work. D:

    Code:
    20:10:46 [SEVERE] Could not load plugins\BasicCircuits-0.8.jar in plugins: null
    org.bukkit.plugin.InvalidPluginException
            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: org.tal.basiccircuits.BasicCircuits.<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
    20:10:46 [SEVERE] Could not load plugins\RedstoneChips-0.8.jar in plugins: null
    org.bukkit.plugin.InvalidPluginException
            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: org.tal.redstonechips.RedstoneChips.<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
    20:10:46 [SEVERE] Could not load plugins\SensorLibrary-0.11.jar in plugins: null
    org.bukkit.plugin.InvalidPluginException
            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: org.tal.sensorlibrary.SensorLibrary.<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
     
  30. Offline

    eisental

    The pulse width is supposed to be a number between 0 and 1.0. It's the ratio between the clock's on / off states. So if you want 1s / 250ms for ex. you should use a pulse width of 0.25 (on 1/4 of the time).

    I'll fix the error message...
     
  31. Offline

    petteyg359

    That makes sense. I could swear it used to take constant values.
     

Share This Page