Project Red - Illumination

Project Red - Illumination

37M Downloads

[Changed] 0 - Tick Repeater for creative mode

KevinMackenzie opened this issue ยท 13 comments

commented

I am building a huge computer using Project Red logic gates, but alas, the wires go only 255 blocks before loosing a signal, i would like to request a configuration option that would either A: let the user change the maximum strength of the cables, or B: a true or false for cables having max strength forever. I am working on a RAM system, and i would only be getting 4 Bytes of RAM before I would have to amplify it, and if I plan on creating 65536 RAM cells (max for a 16 bit memory address), this would not work out.

Thank you for considering my request/issue

commented

Unfortunately, the code is not set up to allow this (bytes are used for signals, and they have a max of 255). Use a repeater or wireless redstone.

commented

that makes sense, but would there be a simple way to have a true/false config that defines whether cables can go on infinitely, and that would disable the code that decrements the signal?

commented

How about something like

if (!infinitePower) {
    decreasePower();
}
commented

exactly what i want... (I would do it but I don't want to dig through and change the project red code, create a custom version, and deal with building the project)

commented

Signal is propagated through wires, and only stops propagating to a neighboring wire if the signal is greater or equal to its own.
So, A -> B -> C iff A.signal > B.signal > C.signal
If the signal is the same, it won't propagate. And if i change this behavior, A will go to B will go back to A, causing an infinite loop. Signal decrement is the only way for a wire to determine whether or not to send signal to it.

It would require MASSIVE changes

commented

I might be able to do something. I'll post here when my fork has something going.

commented

but if there were only two signal types, off (0) and on(255), than all off wires would always be less than the adjacent on wires, and it would still work. if two wires that are adjacent are both on, than it wouldn't need to propagate because the signal is already there.

commented

It can work, just give me a day or so.

commented

thank you, my computer design is saved!

commented

You are welcome to try, but it will require quite a bit of work. And a word of warning, it took me and CB an incredibly long time to perfect signal propagation. If i think that it will introduce bugs, i will not consider it

commented

I respect all of your work, and think you have a great mod, but i will have to disagree with you here. if it can be added and sufficiently debugged, then it should be Pulled. Enthusiast of this trade will agree, that it will greatly expand the horizons of creative mode superbuilding.

commented

I don't see this as being a problem. If you wanted longer signals, just use a repeater.
Perhaps a 0-tick repeater is a more viable proposal.

commented

a 0 tick repeater would be an easier option, although it isn't the best solution for me, i think it would fit a wider range of applications. Personally, i would love both.