PC-Logix / OpenSecurity

Security addon for OpenComputers
MIT License
47 stars 24 forks source link

Roll door broken in latest release on curseforge #134

Closed Multi-Coder-24 closed 5 years ago

Multi-Coder-24 commented 5 years ago

Having major trouble getting the roll door to work in latest release.

Forge version: 1.12.2-14.23.5.2838 Opensecurity version: 1.0-23 Opencomputers version: 1.7.4.153

brisingraerowing commented 5 years ago

And what is happening when you use it?

Multi-Coder-24 commented 5 years ago

Nothing that's the problem I looked into the wiki to see if I made a mistake but to no avail.

ben-mkiv commented 5 years ago

can you show your code and a screenshot of the setup please?

Multi-Coder-24 commented 5 years ago

yes just bare with me a sec

Multi-Coder-24 commented 5 years ago

well this is a direct copy of my lua code, could you elaborate on what setup is please 1.txt

ben-mkiv commented 5 years ago

how you placed the blocks

Multi-Coder-24 commented 5 years ago

Just looked at my setup compared to the wiki and looks like I set it up wrong. Man I feel stupid.

Multi-Coder-24 commented 5 years ago

2019-06-04_22 36 25 2019-06-04_22 37 05 2019-06-04_22 37 29 Theese are all the ways I tried To set it up.

Multi-Coder-24 commented 5 years ago

Slightly altered code it just toggles the door

ben-mkiv commented 5 years ago

that setup is wrong. you dont have to fill the area with blocks. just the top line has to be rolldoor blocks, and one controller next to them.

Multi-Coder-24 commented 5 years ago

OK will try that now and report back in a min

ben-mkiv commented 5 years ago

Multi-Coder-24 commented 5 years ago

2019-06-04_22 47 16 2019-06-04_22 47 39 Still did not work

ben-mkiv commented 5 years ago

why did you place stone blocks below it?! xD

Multi-Coder-24 commented 5 years ago

yes

ben-mkiv commented 5 years ago

remove them!

Multi-Coder-24 commented 5 years ago

2019-06-04_22 51 01

Removed the stone blocks and nothing is happening. I must say that this is really good at how quick you responded Thanks.

ben-mkiv commented 5 years ago

and then replace the rolldoor blocks cause they probably arent aware about the space below. (or use command require("component").os_rolldoorcontroller.calibrate()

Multi-Coder-24 commented 5 years ago

Just tried the calibrate command and still to no avail

Multi-Coder-24 commented 5 years ago

2019-06-04_22 59 11 This is what just happened

ben-mkiv commented 5 years ago

yea, remove all the rolldoor blocks and place them while looking to west or east on your map

Multi-Coder-24 commented 5 years ago

That did the trick Thanks man. Just a note could you put that in the wiki as I had no idea.

ben-mkiv commented 5 years ago

i'm looking forward about making a video of how to set it up

Multi-Coder-24 commented 5 years ago

Now that is what we need I searched on youtube for ages to find a video but there is none

Multi-Coder-24 commented 5 years ago

Again Thanks for the support.