amadornes / SCM-Localization-Issues

Localization and issues for Super Circuit Maker
16 stars 19 forks source link

Rotation breaks State Cell functionality #260

Open Hirsu opened 8 years ago

Hirsu commented 8 years ago

When using a blueprint to create a State Cell circuit, the circuit works fine out-of-the-box. However, when a screwdriver is used to rotate the circuit, the circuit no longer performs as it should. Instead, when an input pulse is received, the output signal stays on. The only way to reset the circuit is by manually switching the lever on the tile.

I've made a short Youtube video demonstrating this issue: click.

So far, I haven't had this issue when using other circuits.

I'm using the latest All the Mods modpack (v1.47) which uses Forge 2151 and Super Circuit Maker 1.0.4. I've also removed Infernal Mobs and added a few mods:

I'm the same person who also reported the previous issue regarding the (unrelated) problem with Optifine. This one persists even after removing said mod, so I don't believe Optifine is the culprit here. Still, I apologise for bugging you with two issues in a row ;) I hope these reports are of any use in the development of SCM.

Thanks!

dokranke commented 8 years ago

It's a bug causing outputs to behave weird, you need to detach and attach them again (maybe also only update work too, eg place something next to them). I don't know why it happens exactly, but I can say that it's not a fault of another mod, because I can play only mc+scm.

Hirsu commented 8 years ago

Wait, I'm a bit confused, so you're saying it's not a cross-mod interaction? As in it's a bug within SCM itself?

Edit:

Found the root of the problem \o/ I've demonstrated the issue and the solution in this new video.

Essentially, the lever on the state cell is reset by the ender pulsar after x amount of time, which inhibits the pulsar from firing again and turns off the output signal. For some odd reason, when you rotate the state cell, a connection is formed between that lever and the redstone leading to the output signal, thus creating a permanent feedback signal preventing the lever from being reset. So the ender pulsar can't be blocked (continues firing) and the output signal stays on. If you manually remove that connection and reset the lever the circuit works as intended again.

dokranke commented 8 years ago

Yes, I said it's a bug within SCM itself. Your issue is a bit different than the one i know of... I never had the issue that a connection is formed on rotation.

Hirsu commented 8 years ago

Well, if you take a look at my second video, you'll notice I'm not imagining things :) Guess I found a legitimate bug \o/.

Xiaminou commented 7 years ago

Yep, I can confirm the bug is still present, the lever is not flipping from the timer pulse for some reason. I even tried replacing some of the wires and pieces but nothing fixes it.