Jump to content
  • Sky
  • Blueberry
  • Slate
  • Blackcurrant
  • Watermelon
  • Strawberry
  • Orange
  • Banana
  • Apple
  • Emerald
  • Chocolate
  • Charcoal


  • Content Count

  • Joined

  • Last visited

  • Days Won


Posts posted by IlynPayne

  1. 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.

  2. 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.

  3. The SpaceGates.cfg file is empty and that's what prevents the script from starting. I have added a fix that informs you to delete the file manually or the script will do it for you.

    I couldn't find the source of this bug though - the sentence "the default section disappeared" wasn't very helpful.


  4. One (or more) of your group files is empty or is in a wrong format. Temporary workaround would be to search for empty/non-Lua config files in the /etc/sgcx.d directory and to delete them.

    I couldn't reproduce this bug. I need more information:

    1. What where you doing in the script before this error appeared?
    2. Type the following commands and send their output as a screenshot:
      cat /etc/sgcx.cfg
      ls -l /etc/sgcx.d


  5. I made an update.

    New stuff:

    • Address grouping
    • Searching by name within a group

    Running the updated version of the script will result in conversion to the new storage format. The old one used a single configuration file /etc/sg.cfg, whereas the new one uses /etc/sgcx.cfg and /etc/sgcx.d/*. The latter is used to store address groups in separate files so they can be easily exported. Storage format upgrade doesn't delete the old configuration file, so in case of any error the existing configuration isn't lost.

  6. On 1/14/2019 at 3:56 PM, Atoz said:

    the iris wont work (when I send the iris code it says no response (I am close enough to the gate to have it(I even tried in my gateroom))

    • Make sure that port status is set to "open" (the button in the upper right corner).
    • Iris is opened by sending a wireless signal to SGCX, so the computer must have wireless network card installed (a relay with wireless network card is good to).
    • When dialing to a remote stargate, computer with SGCX must be within the chunk loading range of SGCraft (1 chunk by default).


    6 hours ago, MeltingBrain said:

    update the title, it's not staragte controller but stargate there's a typo.

    Title updated, thanks for the info. :)


    6 hours ago, MeltingBrain said:

    Brilliant idea, but if you allow me I'd like to implement it as a base program on my new os (totally not self-advertising).
    And by implement I mean to use some of your code into a new program that'd be dedicated for stargates and credited under your name just remade by me.

    Sure, no problem. You can also include it as an external program - it's hosted on a public GitLab repository and everyone (well.. at least GitLab members) can contribute to it.

  7. 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.


    • 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).



    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.





  8. 7 hours ago, soulofthereaver said:

    P.S. I made a smaaall custom modification to the iris opening function of the program that uses redstone and the opensecurity alarm component to add a snazzy warning lights/klaxon alert when the iris is open, make things more dramatic. You can see it here:

    What do you think? ^_^

    That's a nice feature. Indeed there was an alert in the show while the stargate was open. :)

    You could use redstone signal in conjunction with my base security control system, The Guard. (As soon as I finish the translation, it will be posted in the showcase section).

  9. SGCX - SGCraft Stargate Controller

    Stargate controller based on GML library.





    Installation steps:

    1. First download the package manager that will be used to download the application and all required dependencies:
      wget https://gitlab.com/d_rzepka/oc-equipment/raw/master/installer/arpm.lua
    2. Use the package manager do download SGCX:
      arpm install sgcx


    3. Run SGCX with an additional argument - init. This will allow you to pick a stargate interface address from list. It is required only during the first startup - address will be saved in a configuration file.
      sgcx init


    4. Optionally you can install the irisAuth package (remote iris management) using the previously mentioned package manager.



    • Displaying Stargate status
    • Storing gate addresses
    • Grouping and searching addresses
    • Disconnecting wormhole after specified time
    • Automatic iris control (see installation steps, step 4)
    • Displaying distance to the selected destination
    • Address calculator: convert addresses within one dimension into chunk (and estimated block) coordinates and vice versa

    Future plans:

    • Dialing history
    • Allow to choose arbitrary channel and code for remote iris authorization
    • Iris authorization usage history
    • Animated dialing sequence


    • Tier 3 screen and GPU
    • At least 1 MB RAM
    • Network card
    • Keyboard


    (GitLab repository)


  • Create New...

Important Information

By using this site, you agree to our Terms of Use and Privacy Policy.