Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Opencomputers can break Wireless Redstone channels #12990

Closed
3 tasks done
NeroOneTrueKing opened this issue Mar 21, 2023 · 1 comment
Closed
3 tasks done

Opencomputers can break Wireless Redstone channels #12990

NeroOneTrueKing opened this issue Mar 21, 2023 · 1 comment
Assignees
Labels
Comment to reopen Comment with a good reason to re-open and a Developer will consider it Mod: OpenComputers Open Computers Status: stale Status: Triage Tasks awaiting triage. Removed once a dev confirms the issue as valid. Type: bugMinor

Comments

@NeroOneTrueKing
Copy link

NeroOneTrueKing commented Mar 21, 2023

Your GTNH Discord Username

NeroOneTrueKing#5311

Your Pack Version

2.3.0

Your Server

private server

Java Version

Java 8

Type of Server

Don't know

Your Expectation

I created an OpenComputers program using a Tier 2 Redstone Card to use wireless redstone to control things in my base.

local component = require("component")
local os = require("os")

RS = component.redstone
RS.setWirelessFrequency(1234) -- some frequency, like to turn generators on/off
RS.setWirelessOutput(true)

-- sleep for 5 seconds; the redstone signal remains on
os.sleep(5)

-- turn off the redstone signal
RS.setWirelessOutput(false)

This works fine.

The Reality

But what if the computer crashes before it turns off the signal?

Frequency 1234 remains powered.

When the computer reboots, its Redstone Card believes it isn't sending a signal on frequency 1234:

local component = require("component")
local os = require("os")

RS = component.redstone
RS.setWirelessFrequency(1234) -- some frequency, like to turn generators on/off

RS.getWirelessOutput() -- returns false; I'm not sending a signal on freq 1234
RS.getWirelessInput() -- returns true; something is powering the wireless redstone frequency

RS.setWirelessOutput(false) -- turn it off?
RS.getWirelessInput() -- returns true; something that doesn't exist is still powering the wireless redstone frequency

The wireless redstone channel seems to be permanently on, with no recourse.
I asked in #opencomputers-help and got this response:
image

Your Proposal

Ideally, the redstone frequency would stop being powered when the computer crashes.
Or alternatively, the redstone card would be able to turn off its signal again when the computer reboots.

At minimum, there should be some way to fix a corrupted wireless redstone frequency.

Final Checklist

  • I have searched this issue tracker and there is nothing similar already. Posting on a closed issue saying the bug still exists will prompt us to investigate and reopen it once we confirm your report.
  • I can reproduce this problem consistently by follow the exact steps I described above, or this does not need reproducing, e.g. recipe loophole.
  • I have asked other people and they confirm they also have this problem by follow the exact steps I described above, or this does not need reproducing, e.g. recipe loophole.
@NeroOneTrueKing NeroOneTrueKing added Status: Triage Tasks awaiting triage. Removed once a dev confirms the issue as valid. Type: bugMinor labels Mar 21, 2023
@Ethryan Ethryan added the Mod: OpenComputers Open Computers label Mar 21, 2023
@trollolal
Copy link

#11096

@repo-alt repo-alt self-assigned this Apr 16, 2023
repo-alt added a commit to GTNewHorizons/OpenComputers that referenced this issue Apr 16, 2023
Opencomputers can break Wireless Redstone channels
@mitchej123 mitchej123 closed this as not planned Won't fix, can't repro, duplicate, stale Dec 2, 2023
@mitchej123 mitchej123 added Status: stale Comment to reopen Comment with a good reason to re-open and a Developer will consider it labels Dec 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Comment to reopen Comment with a good reason to re-open and a Developer will consider it Mod: OpenComputers Open Computers Status: stale Status: Triage Tasks awaiting triage. Removed once a dev confirms the issue as valid. Type: bugMinor
Projects
None yet
Development

No branches or pull requests

5 participants