-
Notifications
You must be signed in to change notification settings - Fork 118
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
Noteblocks (MESECONS_GLOBALSTEP) #108
Comments
1.
|
TL;DR skip to the divider Execution flow: We'll start at the switch (-10,8,-6), which runs If
|
mesecon:turnon(pos, rulename) has nil for the rulename. That might be the cause of the problem. |
Or not: 4f2604e |
Does this fix the issue? I have not had a chance to debug it much yet. |
Yes, it fixes the issue, and it's obvious that that part was wrong (so if it didn't fix the issue, there's another problem somewhere else) Not sending nil as the rule that caused the activation makes it not resend the activation for every rule the node has. |
Two problems:
1. They have echos
Noteblock, Chest, Wire, Switch
I added some debug to see where the echo was coming from
It turns out turning the switch on runs action_on 12 times!
And it goes on off on off, not on on off off
2. They aren't synchronized
I hooked up all the noteblocks to a single button, and it consistently takes 5 seconds to play all of them (fixing the first problem might lessen this one). It starts at the percussion and goes down the notes, at least in my case.
The text was updated successfully, but these errors were encountered: