IlynPayne 5 Posted August 13, 2018 Share Posted August 13, 2018 The Guard - security system The Guard is a base security control program I've written in 2016. It allows you to use some of the security devices from the OpenSecurity mod. It has modular architecture - all features are implemented in independent modules that can be replaced. It has action-driven - you can specify how everything behaves using the action system. Features modular architecture action-driven configurable behavior redstone support (Redstone I/O blocks) support of security devices from OpenComputes: keypads biometric readers RFID card readers turrets entity detectors motion sensors alarms Further reading The guard has its own wiki, on which you can find the installation instructions as well as the example configuration and other information. If somebody is interested in writing a new module, I can create a wiki page with API documentation (basic information is provided in the_guard.lua file). WIKI Disclaimer Although I have tested this program, a few issues might have slipped through. In that case feel free to report them in this thread or, even better, on the issue tracker if you have Gitlab account. If there's an error, be sure to include log contents (logs button on the right side of the program's interface) containing that error. Screenshots Molinko 1 Quote Link to post Share on other sites
Quisquid 0 Posted March 18, 2019 Share Posted March 18, 2019 Is this Program still maintained? I came across some problems, when i add new components. It says: safeCall: /lib/gml.lua:1500: attempt to call method 'onChange' (a nil value) when i doubleklick a component. Quote Link to post Share on other sites
TheWinner666 0 Posted March 18, 2019 Share Posted March 18, 2019 4 hours ago, Quisquid said: Is this Program still maintained? I came across some problems, when i add new components. It says: safeCall: /lib/gml.lua:1500: attempt to call method 'onChange' (a nil value) when i doubleklick a component. It is maintained, I think. The last time I had a problem, I just created an issue on gitlab repository and the creator fixed it. Quote Link to post Share on other sites
IlynPayne 5 Posted March 18, 2019 Author Share Posted March 18, 2019 Yes, I can confirm it's still maintained, but due to a lack of interest support is currently limited to bug fixes only. @Quisquid I have fixed the bug, just update the library: arpm refresh arpm install gml Quote Link to post Share on other sites
Quisquid 0 Posted March 18, 2019 Share Posted March 18, 2019 thx, for the quick fix! I think this program is very versatile due to its modular construction. You are not supporting doors and the SecurityBlock? I saw there is an option for a "Dark Theme". When i enable it it says "restart the program" but the design remains the same. Quote Link to post Share on other sites
IlynPayne 5 Posted March 18, 2019 Author Share Posted March 18, 2019 5 minutes ago, Quisquid said: You are not supporting doors and the SecurityBlock? I never needed them in my own setup (I prefer piston-based doors), so I saw no point in supporting them. That was before this script was published here. Later I've been thinking about adding new modules, including the one responsible for controlling security doors, but that would require a quite large modification of the core script (the ability to run more than 4 modules simultaneously). I didn't know if anyone used The Guard, so I didn't want to rush into this (partly because the lack of time). 28 minutes ago, Quisquid said: I saw there is an option for a "Dark Theme". When i enable it it says "restart the program" but the design remains the same. The dark theme was never tested, but I'll try to make it work. I'll add a new post when a patch is ready. Quote Link to post Share on other sites
WillsGoodAssBBQ 0 Posted May 12, 2019 Share Posted May 12, 2019 On 3/18/2019 at 8:32 PM, IlynPayne said: I never needed them in my own setup (I prefer piston-based doors), so I saw no point in supporting them. That was before this script was published here. Later I've been thinking about adding new modules, including the one responsible for controlling security doors, but that would require a quite large modification of the core script (the ability to run more than 4 modules simultaneously). I didn't know if anyone used The Guard, so I didn't want to rush into this (partly because the lack of time). The dark theme was never tested, but I'll try to make it work. I'll add a new post when a patch is ready. How does one use it for a piston door? Also how do the IO work? Thx, Will Quote Link to post Share on other sites
IlynPayne 5 Posted May 16, 2019 Author Share Posted May 16, 2019 The IO module allows to send or receive redstone (or bundled cables from Project Red) signals via Redstone I/O block. Output signals are set using sources whereas input signals are detected by sensors. Those are the names of views in the IO module. Everything is controlled by actions so if you want to set up a piston doors, define a source (IO module) that is connected to those doors and then trigger an action setting redstone output on that source with, for example, bio reader or keypad (AUTH module, OpenSecurity mod). The list of steps necessary to set up a piston doors is described in the wiki. Quote Link to post Share on other sites
MrScamander 0 Posted September 4, 2019 Share Posted September 4, 2019 Is there a way to do actions if the code, or card is wrong? Quote Link to post Share on other sites
StubbornDisciple19 0 Posted December 22, 2019 Share Posted December 22, 2019 (edited) Is it possible to create unique pins per keypad, and change lockdown level to be able tp lockdown groups(i.e lvl 1 be the exterior doors group, level 2 adds firs level interior and turns on x lights) Edited December 22, 2019 by StubbornDisciple19 Quote Link to post Share on other sites
IlynPayne 5 Posted February 26, 2020 Author Share Posted February 26, 2020 On 9/4/2019 at 11:58 AM, MrScamander said: Is there a way to do actions if the code, or card is wrong? Currently it's not possible, but I will make such action available soon. On 12/22/2019 at 7:32 PM, StubbornDisciple19 said: Is it possible to create unique pins per keypad, and change lockdown level to be able tp lockdown groups(i.e lvl 1 be the exterior doors group, level 2 adds firs level interior and turns on x lights) It is not, but since you mentioned it I will look into that. (I'm responding just now because apparently all my email notifications from this forum had been ending in a spam folder). Quote Link to post Share on other sites