[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

    mze9412

    Noone? :)
     
  3. Offline

    BigRenegade

    You could try going to each of the transmitters and receivers typing /rcbreak, this will de-activate them. Once all are de-activated, go back through and re-activate each one. This should now have them in sync. Once they are in sync and working type /save-all so it will save the world and, most importantly, save the new circuits to file.

    The only other solution I can think of that might fix your problem would be to go to your plugins\RedstoneChips folder and delete the circuits file. You would then have to re-activate all circuits again but they should then be in sync and working correctly. This would be a big hassle if you have a large number of circuits, but it is the only other way I can think of to do.
     
  4. Offline

    mze9412

    I just fixed it by switching the state of all transmitters from on to off and back to on (or the other way around: off to on to off). This fixed it :)
     
  5. Offline

    BigRenegade

    I'm glad you got it working so easily. :) The other ways could be something of a hassle if you have a lot of circuits installed.
     
  6. Offline

    false_chicken

    I cannot seem to get wireless to work. Well at least how I understand it. It transmits a redstone charge right? I created both a receiver and transmitter and set them both to channel 1. they activated fine but do nothing. I connected a button to the input of the transmitter and a piece of powered track to the output of the receiver. And I push the button and nothing happens. The redstone between the button and the input lights up but thats it. The only result I can seem to get is when I flip the lever on the output of the receiver. Which is not very wireless lol. Any suggestions? Am I doing something wrong? Or do I not understand it? That seemed like the obvious way it would work to me.
     
  7. Offline

    Mordenkainen

    Try a channel name that doesn't begin with a number...
     
  8. Offline

    false_chicken

    Still nothing.
     
  9. Offline

    Mordenkainen

    Have you tried /rcdebug on them?
     
  10. Offline

    BigRenegade

    what are the channel names you are trying to use? I have found that if you use certain words it will not work.

    I just tried setting up a transmitter and receiver using just the number 1 and it worked fine. You might be having a conflict with another plug-in.
     
  11. Offline

    false_chicken

    Thanks for all the help. I figured it out. At least I assume I did as it is working as expected. The room I was testing it in was made of wood. And I used a wooden block as the part where the sign goes. And it was on the floor. So I think it thought it was one big circuit. My mistake. And Im happy Mordenkainen mentioned that command. Its very helpful lol. Great plugin.
     
  12. Offline

    SilverstarX

    I get this (multiple times) when I type stop into the server console:
    Code:
    18:35:53 [SEVERE] Could not pass event REDSTONE_CHANGE to LWC
    java.lang.NullPointerException
            at com.griefcraft.lwc.LWC.findProtection(LWC.java:596)
            at com.griefcraft.lwc.LWC.findProtection(LWC.java:569)
            at com.griefcraft.listeners.LWCBlockListener.onBlockRedstoneChange(LWCBlockListener.java:63)
            at org.bukkit.plugin.java.JavaPluginLoader$32.execute(JavaPluginLoader.java:461)
            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:310)
            at net.minecraft.server.BlockSign.doPhysics(BlockSign.java:119)
            at net.minecraft.server.World.k(World.java:388)
            at net.minecraft.server.World.applyPhysics(World.java:365)
            at net.minecraft.server.BlockRedstoneWire.g(BlockRedstoneWire.java:48)
            at net.minecraft.server.BlockRedstoneWire.doPhysics(BlockRedstoneWire.java:285)
            at net.minecraft.server.World.k(World.java:388)
            at net.minecraft.server.World.applyPhysics(World.java:367)
            at net.minecraft.server.World.update(World.java:336)
            at net.minecraft.server.World.setData(World.java:281)
            at org.bukkit.craftbukkit.block.CraftBlock.setData(CraftBlock.java:91)
            at org.tal.redstonechips.circuit.Circuit.changeLeverState(Circuit.java:249)
            at org.tal.redstonechips.circuit.Circuit.sendOutput(Circuit.java:241)
            at org.tal.redstonechips.circuit.Circuit.sendBitSet(Circuit.java:277)
            at org.tal.redstonechips.circuit.Circuit.sendBitSet(Circuit.java:288)
            at org.tal.basiccircuits.clock.stopClock(clock.java:118)
            at org.tal.basiccircuits.clock.circuitShutdown(clock.java:123)
            at org.tal.redstonechips.CircuitManager.shutdownCircuits(CircuitManager.java:435)
            at org.tal.redstonechips.RedstoneChips.onDisable(RedstoneChips.java:146)
            at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:127)
            at org.bukkit.plugin.java.JavaPluginLoader.disablePlugin(JavaPluginLoader.java:771)
            at org.bukkit.plugin.SimplePluginManager.disablePlugin(SimplePluginManager.java:269)
            at org.bukkit.plugin.SimplePluginManager.disablePlugins(SimplePluginManager.java:262)
            at org.bukkit.craftbukkit.CraftServer.disablePlugins(CraftServer.java:121)
            at net.minecraft.server.MinecraftServer.stop(MinecraftServer.java:246)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:322)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)
    
    It comes from redstonechips, not LWC, as one might assume on a quick view (see middle part above).

    I'm running CB #803 + LWC 2.31 + Redstonechips 0.9 on debian 5 amd64
    All Plugins (open)
    BasicCircuits-beta.jar
    bukkit-flow-control.jar
    CraftIRC.jar
    DropChest.jar
    dynmap.jar
    General.jar
    iChat.jar
    iConomyChestShop.jar
    iConomy.jar
    Jail.jar
    KitPlugin.jar
    LWC.jar
    MinecartManiaAdminControls.jar
    MinecartManiaAutomations.jar
    MinecartManiaChestControl.jar
    MinecartManiaCore.jar
    MinecartManiaSignCommands.jar
    MinecartManiaStation.jar
    MultiVerse.jar
    MyWarp.jar
    Permissions.jar
    PlugMan.jar
    RedstoneChips-beta.jar
    SensorLibrary-beta.jar
    SignEdit.jar
    SlowHealth.jar
    SpawnControl.jar
    SpawnMob.jar
    TimeAnnounce.jar
    TimeFold.jar
    WeatherPlugin.jar
    WorldEdit.jar
    WorldGuard.jar

    Any other information you need for debugging?
     
  13. Offline

    Shamebot

    @SilverstarX Are you sure it's redstonechips' fault? Looks like LWC crashes when redstonechips sets a lever state
     
  14. Offline

    SilverstarX

    @Shamebot
    Well, at least redstonechips is doing something what causes the error in LWC, so I thought I start here.
    The interesting thing is, that it only happends after I send stop on the console.
     
  15. Offline

    Shamebot

    @SilverstarX Try running BasicCircuits 0.9test2, should be fixed there/due to his code changes the error can't occur anymore, at least in the exactly same way.
     
  16. Offline

    SilverstarX

    Thanks, I'll try and error ;)
     
  17. Offline

    Kit Ramos

    Hello again, I'm having problems with the flip flops this time. I'm building a train system with three stations. (one at either end and one in the center.) StationA - StationB - StationC and I wanted to make it so if I'm At statation A or C I have the option of picking if I want to stop at B or not. the way i got it set up to stop is by turning off the power two some powered rails. so I put a transmitter in bouth Stations A and C and then at B I got the two recivers wired into a flipflop that outputs to the rail. I got toggle buttons on each of the two transmitters. the idea was I hit the button and can flip the output on or off from either side. but what seems to be happening is when I push the buton to turn on the flipflop it turns on but then turns off a few seconds latter, when the push button turns off.
    it appears the flipflop is flipping when ever the current changes. wich to me is more like a repeater as it's turning off as soon as the power does. anyway to make it so that the on/off motion of the push button only flips it once?
     
  18. Offline

    BigRenegade


    By using a button you send 2 different signals to the receiver at Station B. When you push the button it will trigger the switch at Station B, but as soon as the button switches states it is going to change the state of the switch at Station B. Instead of using a button, try using a lever at Stations A and C.
     
  19. Offline

    eisental

    Kit Ramos It should work like you expected. I also just tried it and it seems to work. Perhaps you made some construction mistake? Are your receivers and transmitters all 1-bit?

    @BigRenegade He did mention adding a flipflop chip between the receiver and the powered rail. The flipflop only responds when the redstone current turns on.
     
  20. Offline

    BigRenegade

    @eisental
    Missed the part about the flip-flop

    @KitRamos

    On your flip-flop do you have the flip-flop with 1 output and 2 inputs?
     
  21. Offline

    Kit Ramos

    yes all recivers and transmitters are one bit. and no, I got one input and one output on the flip
    here's the setup
    screencap1.png screencap2.png
     
  22. Offline

    BigRenegade

    @KitRamos

    Link dead If you log in there within the next 30 mins I can show what might be wrong and how to fix it.
     
  23. Offline

    Kit Ramos

    dang looks like I've missed the mark. I just got the message. and it looks like it's past the 30 min mark
    also I tried setting up the flip flop with two inputs and I moved the output of the second reciever so that it doesn't touch the first input anymore. still getting the same problem.
     
  24. Offline

    BigRenegade

    you only need one single pin flipflop and one receiver. The transmitters at A and C both have the same name, so you only need one receiver. When the button is pushed the flipflop changes state and the tracks at B are now activated. You can use redstone trans-receivers to make an indicator circuit to let a person at either station know if the boosters at B are active or passive.

    EDIT: @KitRamos I'll have my server up and running until around 10 or 11 this morning (5-27 now 6:33am)

    EDIT 2: After reading the news about MC 1.6 you might want to rethink how you have this set-up. It seems (as I read it) that the booster tracks have been taken out of 1.6 due to some problems with them.
     
  25. Offline

    Mordenkainen

    I didn't think it was Booster Tracks... I thought it was old fashioned exploit style Boosters.. Ya know, the ones where you use two minecarts to hyper-accelerate each other.


    How far away from each other are these stations?

    I ask because at about 300 blocks apart they will no longer be "loaded" at the same time. Minecraft only keeps a small subset of the world loaded at any given time.

    I think the transmitter/receiver system is supposed to take care of situations like this, but you may want to try adding Beacon chips to your stations to force them to stay loaded.

    Also, you could try building all 3 circuits in close proximity of each other for testing purposes. If you build copies of the circuits right next to each other and they do not have the issue, then it's sure to be related to a chunk loading/unloading issue.

    Morden
     
  26. Offline

    BigRenegade

    I'm not sure how far away the stations are for Kit but I know I have built a set up like he refers to and have no trouble in getting the flip flop to work. BUt then I did as you suggested and built them close together. I think I'll try setting up one station at a distance and see what happens.

    Thanks Morden, didn't think of that possiblity.

    EDIT: I tried at nearly 1000 blocks away and it still worked. Can't think of any other issue that KitRamos might be having based on the pics and description. My set up works perfectly.

    @KitRamos

    Hopefully you will see this very soon. I still have the server up but not sure for how long. Friend coming by to get me later for some work. If I haven't seen you on the server before I leave I'll leave you a PM with some info.

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

    Kit Ramos

    well the idea using a single reciver with two transmitters on the same channel to the flipflop sloves the problem. don't know why I didn't think of that sooner. thanks everyone.
     
  28. Offline

    Mortana

    I tried building the LED display, but I can't seem to get my transmitters to work, I must be doing something wrong.
    The output of segdriver is on, but the input of the transmitter stays off :/
    http://gyazo.com/18d68177c9d51663ab0e0fb7c710d092.png

    when I put a redstone torch next to the transmitter's inputblock, it transmits...
     
  29. Offline

    eisental

    the input block needs to have a redstone wire (instead of the lever) to transfer redstone current.
     
  30. Offline

    Mortana

    Thanks, I got it working! Such a WIN! haha
    Another question, I was trying to make a little screen, 2x2, with 4 pixels, and each having dist{1}, but the first does what expected, and updates 1 pixel, but the other ones update more then one, is this possible, what I wanted to do?
     
  31. Offline

    eisental

    Well, dist{1} means update all wool blocks one step away from the interface block so what you describe is possible if you built it in some strange way. A screenshot would be helpful.

    @Everybody, Bloody academic papers are finally behind me :D and since a new recommended build for MC1.6.6 is out, I hope to finish working on the horribly delayed RC0.91 version and then continue working on some of the bigger issues such as better multiworld support, new file format and permissions. In case you were wondering, I'm pretty sure RC0.9 works fine with #818. Please let me know if it doesn't.
     

Share This Page