[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

    eisental

    @mickael9 I didn't add a NOT gate since you can make one with redstone torches with less blocks. This also makes NOR gate, NAND gate etc. very easy to build. If there's any reason to write one, let me know. About the propagation time (had to look it up on wikipedia [​IMG]), I have no clue, probably as fast as your computer can do it. I'm sure you noticed that the timing is not very stable. Redstone wires and torches have their own delay tied to the game clock.

    @marcvdo Thanks. Hopefully I'll make some videos soon and all will be clear. :)

    @MatCat This is a nice application, I think it's already possible to build so I'll try it out when I have the time, and post some examples if it works.
     
  3. Offline

    I D

    Eisental,

    This is the greatest thing since diamond pick's. Truly wish that notch would implement this into the base game itself. so whats the chances of getting an 8080? teehee... just picking.. Going to go try and work on that counter/decoder option. thanks.
     
  4. Offline

    mickael9

    By propagation time, I mean the time it takes for an output to change state after an input changes.
    If there is none, then you have your reason to add a NOT gate [​IMG]
     
  5. Offline

    eisental

    Interesting... add a NOT gate so you don't need to use slow torches. It's not that useful for me, but it would be really easy to add.
     
  6. Offline

    I D

    When you click this link then you click the circuits it says you do not have permission to update this wiki... but if you click on the WIKI (24) you can then access them.
     
  7. Offline

    eisental

    Might be the https in the link. I hope it's fixed now.

    :cool: I uploaded a video about using the pixel circuit. I hope it clears any misunderstandings.



    p.s. It shows off some debug options that I haven't released yet, so don't expect them to work on RC 0.5

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

    mickael9

  9. Offline

    eisental

  10. Offline

    pmx

    We used this epic plugin to make a machine to dye batches of wool for our players to use. Its proved popular!

    Uses one counter ic with its ouputs linked up to the inputs of a pixel ic and one clock to constantly toggle the zero input of the pixel ic so changes in the counter show up right away on the cloth.

     
  11. Offline

    eisental

    Updated to RedstoneChips 0.6 and BasicCircuit 0.6. Check the first post for details.
    Note that if you're upgrading you must update both plugins or it won't work.
    --- merged: Jan 24, 2011 1:12 PM ---
    Very cool :) Not exactly my intended use, the original plan was to make the wool white again once you break it off. I guess I'll keep it that way for now ;)
    I'm not sure why you need the clock, you can use the same button for the counter pin and for the pixel pin.
    Anyways, thanks a lot for posting it.
     
  12. Offline

    pmx

    That's a good point, I will make those changed - BUT noticed an issue with the plugin. It keeps throwing an error:

    Code:
    java.lang.IllegalStateException: TickNextTick list out of synch
        at net.minecraft.server.World.a(SourceFile:1565)
        at net.minecraft.server.World.f(SourceFile:1480)
        at net.minecraft.server.WorldServer.f(WorldServer.java:33)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:256)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:197)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:512)
    I'm assuming its this plugin because the issue goes away when i disable it...

    when it does that, the server stops responding and connections eventually time out. any idea what that is?
     
  13. Offline

    eisental

    Yeah, definitely the clock circuit. As I wrote at the top, they still don't work so well. If you connect the button directly to the pixel you shouldn't have this problem.
     
  14. Offline

    pmx

    done that now and problem has gone away thank! will just have to avoid the clock for now :) If you do change the pixel behaviour to revert cloth would it be possible to make it an option on the sign?
     
  15. Offline

    eisental

    Sure, or maybe have a preference key for it so admins can prevent their users from building dye factories.
     
  16. Offline

    pmx

    That would make more sense yeah im running our server as a creative style one right now so it doesnt matter but i can see that being a problem otherwise
     
  17. Offline

    I D

    OMG don't take my Kodachrome away! I just built a dye factory I can't place my finger on it but here is what it is doing... hopefully pmx can tell me something about it.

    Created the pixel ic. (woot awesome btw)

    set up 2 different ways...

    counter and pixel
    this one worked out great did everything it was supposed to... cycled through all the colors just fine when the button was pressed. hated waiting on the color to cycle to the one i wanted so.... option 2 was created.

    set up a platform for my 4 levers and the 1 push button.
    made the pixel ic
    placed my wool
    toggled my levers to the color i wanted
    pressed my button
    got my wool
    placed new wool
    pressed button.
    nothing happened.
    been scratching my head on this one for a while today
    so if i want to make another batch then i have to retoggle at least 1 lever then press the button then toggle the lever back then press it again to get the duplicate color from last batch. why is this so?

    ALSO is there a way to go and make it a 3x3x3 instead of 3x3x2? or even 5x5x5? the latter would be GREAT.
    thanks alot.
     
  18. Offline

    eisental

    It's supposed to work fine as long as you have one wool block connected to the end of the circuit, right after the last sandstone block (or whatever you use). If it's not there the chip won't do anything.
    Like so:

    i - input, c - chip, w - wool
    Code:
      i c
        c
      i c
        c
      i c
        c
      i c
        c
      i c
        c
        w
    
    And you can make a 3x3x3 block with the center of the block where the w in the above diagram. You lose one block for sandstone unfortunately.
     
  19. Offline

    raz235

    Epic plugin! check out our first attempt with it:
     
  20. Offline

    I D

    ill see if i can find my fraps and record what i'm talking about but that is not the case. i still have to reset the input devices before the color will show back up. if not i hope screenies will help at least. fyi your the greatest.
     
  21. Offline

    eisental

    A video might help. I can't reproduce your problem. Anyway, I did make some changes so hopefully it'll be fixed on the next release.

    @raz235 I'm really enjoying these :) keep it coming. I assume you used the clock circuit for this, so I'm going to say again: Be careful of TickNextTick server crashes.

    EDIT: It gave me some inspiration...

    [​IMG]
     
  22. Offline

    I D

    Obviously, I'm a goober. here is why I say that. so I was building them all wrong....but now i know... and now it works and i have a nice little set up. Gonna try for a screen shot then to figure out how to post it here.
    --- merged: Jan 25, 2011 3:53 AM ---
    testing uploading 2011-01-24_22.50.17.png
    --- merged: Jan 25, 2011 3:55 AM ---
    part 2

    for some reason it won't allow me to upload another ... but there is another side of 8 colors and the sequence needed.
     
  23. Offline

    raz235

    yeah the server crashed a few times do you know when it will be fixed or are you waiting for an event or something?
    because its realy annoying that it doesnt remmeber when the server stops.
    had to replace all levers because it went crazy.
     
  24. Offline

    Iradin

    I am currently having trouble getting the clock or any other circuit to work other than the pixel. I have tried everything from a simple gate to a shiftregister and nothing seems to be letting me turn it on. I am using the 132 build and have had no errors with the plugin thus far. I do notice something odd though. When i try to build say a clock if I remove my output and then try to activate it I get the error message saying my outputs dont match my inputs. If I put the output back and try to activate it though I get nothing. Any idea why this might be happening.

    Also I am running your update 6 for both the chips and circuits. My main goal is i need a better working clock gen than the current one you can build in game so really if the clock is the only thing i can get to work that would be fine but at the moment like I said the pixel is the only working chip I have been able to build thus far.
     
  25. Offline

    eisental

    My guess is that you didn't attach a lever to the clock output before trying to activate the clock. I should add an error message for that. It's kind of confusing...

    @raz235 I am waiting for some kind of tick event that will let me sync the clock with the game, there's already a fix written waiting for someone to add it to the snapshot but I have no idea how long it should take. The problem with the input states is indeed very annoying. Basically I'm waiting for a server shutdown event, which is still missing. Once it's added it will be fixed immediately (it already worked with hMod).
     
  26. Offline

    crameep

    Can someone post a quick guide on the wireless transmiter/reciver? Im utterly lost looking at the wiki lol
    --- merged: Jan 26, 2011 4:45 AM ---
    Actualy I've figured out the transmiter but when i create a reciver (gold block instead of iron) it wont activate the receiver. Now if i change the gold to iron it activates the reciver with an input?
    --- merged: Jan 26, 2011 5:23 AM ---
    Also, I'm looking at the source, reciever.java has no check for output blocks like the transmiter does, Where can I find the source where the message is sent saying that it has been activated because it activates with input like i said
     
  27. Offline

    eisental

    Did you read the post above about adding a lever to the output? Current version won't tell you it's missing, but won't activate the circuit without it.
     
  28. Offline

    crameep

    Hmm, do I attatch it directly to the output block or what?
    --- merged: Jan 26, 2011 6:52 PM ---
    Woo, I got it working finaly! Awesome Plugin!
     
  29. Offline

    eisental

    Thanks :),
    Just to make it clear, you can attach the lever to any block face as long as it takes up the space right next to the face of the output block that is opposite to the chip block:

    Code:
    C - chip block, O - output block, x - bad place for the lever, v - where the lever should be
    
    x x
    v O C x
      x C O v
      x C x
    v O C x
      x C O v
        x x x
    (this specific structure is just an example...)
     
  30. Offline

    Badzilla

    I checked out that video and built a circuit just like it except that I put gravel under the sand. How did you get sand to stay in mid air? Anyway, mine does not work.
     
  31. Offline

    eisental

    This is not sand, it's sandstone. A new addition to Beta 1.2. You craft it using 4 sand blocks.
    Anyway you can change the chip block type to whatever you like by using the /redchips-prefs command, assuming you have admin priviliges on the server.
    To change the chip block from sandstone to glass for ex. you type:
    Code:
    /redchips-prefs chipBlockType glass
    
     

Share This Page