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

logic gates do not like SR latches #1854

Closed
yeetmanthecoolman opened this issue Jul 27, 2022 · 10 comments
Closed

logic gates do not like SR latches #1854

yeetmanthecoolman opened this issue Jul 27, 2022 · 10 comments
Labels
Bug Something isn't working correctly Done in next release This has been addressed in the next release

Comments

@yeetmanthecoolman
Copy link

BEE2 Application Version

4.41.0 64 bit

BEE2 Package Version

4.41,0

What operating system are you running on?

Other

Logs and Reports

no windows 11 in bug reports, lol. link to example map:
https://steamcommunity.com/sharedfiles/filedetails/?id=2841293600

Additional information

No response

@yeetmanthecoolman yeetmanthecoolman added App Crash Something is causing the app to crash Bug Something isn't working correctly labels Jul 27, 2022
@LautaroL20
Copy link
Member

yeetmanthecoolman` said: "no windows 11 in bug reports, lol."

Ineed, we need to update the tempalete issues for that.

@LautaroL20
Copy link
Member

Also, can you be more specific, like which logic gate where you trying to connect, etc..?

@LautaroL20 LautaroL20 added the More Info Needed Need more information to fix/implement this label Jul 28, 2022
@yeetmanthecoolman
Copy link
Author

yeetmanthecoolman commented Jul 28, 2022

Any form of NOR SR existing anywhere, or (less easy to trigger) both inputs for a NAND SR being triggered on loading the map. in any case, going from the initial state portal puts these gates in to the hold position causes a crash.

@yeetmanthecoolman
Copy link
Author

yeetmanthecoolman commented Jul 28, 2022

yeetmanthecoolman` said: "no windows 11 in bug reports, lol."

Ineed, we need to update the tempalete issues for that.

#1855 (comment)
Also, it appears that someone beat you to that.

@TeamSpen210
Copy link
Member

Ahh you're building an SR latch manually. Logic loops like that can be problematic, if they end up producing an infinite oscillation. Note that there's an SR latch item you can use, which is more robust.

@yeetmanthecoolman
Copy link
Author

Ahh you're building an SR latch manually. Logic loops like that can be problematic, if they end up producing an infinite oscillation. Note that there's an SR latch item you can use, which is more robust.

Still, a map with two items behaving exactly as intended shouldn’t instantly crash.

@yeetmanthecoolman
Copy link
Author

A dumb idea: would a short delay work? Computers are pretty fast and there aren’t many ways for a player to trigger something a billion times a second. Not sure if it is possible, just wondering.

@yeetmanthecoolman
Copy link
Author

And please remove the more information needed label.

@TeamSpen210 TeamSpen210 removed the More Info Needed Need more information to fix/implement this label Jul 28, 2022
@TeamSpen210
Copy link
Member

They should have a 0.01s delay in the NOT gates, perhaps that's broken though.

@TeamSpen210 TeamSpen210 added Done in next release This has been addressed in the next release and removed App Crash Something is causing the app to crash labels Jul 29, 2022
@TeamSpen210
Copy link
Member

Turns out the delays weren't there indeed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working correctly Done in next release This has been addressed in the next release
Projects
None yet
Development

No branches or pull requests

3 participants