IlynPayne 5 Posted December 28, 2017 Share Posted December 28, 2017 SGCX - SGCraft Stargate Controller Stargate controller based on GML library. Showcase: Installation steps: 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 Use the package manager do download SGCX: arpm install sgcx 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 Optionally you can install the irisAuth package (remote iris management) using the previously mentioned package manager. Features: 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 Animated dialing sequence with chevron drawings Future plans: Dialing history Iris authorization usage history Requirements: Tier 3 screen and GPU At least 1 MB RAM Network card Keyboard (GitLab repository) Totoro, Molinko and MeltingBrain 2 1 Quote Link to post Share on other sites
soulofthereaver 1 Posted February 2, 2018 Share Posted February 2, 2018 This is brilliant, mate. Really has some of the feel of the software they used on the SG-1 show. I can confirm that the irisAuth program works. Unless you change the string sgcx expects in the network message, this shouldn't change. 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? Molinko 1 Quote Link to post Share on other sites
IlynPayne 5 Posted February 2, 2018 Author Share Posted February 2, 2018 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). Quote Link to post Share on other sites
HuntmanMC 0 Posted February 10, 2018 Share Posted February 10, 2018 Hey, I recently have tried using this code and found myself unable to get it to work when it comes to the address. Can you help? Quote Link to post Share on other sites
Michiyo 28 Posted February 10, 2018 Share Posted February 10, 2018 That's not what is meant by the "Address" you need the component address of the OC interface block, you can get this by using an OC Analyzer on the SGCraft interface, and then open chat and click the long UUID Address reported there, or you can run `components` at the computer shell, and copy the address by hand. Quote Link to post Share on other sites
IlynPayne 5 Posted February 11, 2018 Author Share Posted February 11, 2018 Manually entering an interface address can be cumbersome, so I've updated the app and available addresses can now be selected from list. Quote Link to post Share on other sites
Nexarius 18 Posted February 21, 2018 Share Posted February 21, 2018 That looks pretty cool. How can you calculate the world coords from the stargate address? Quote Link to post Share on other sites
IlynPayne 5 Posted February 21, 2018 Author Share Posted February 21, 2018 Address calculator uses exactly the same logic as the SGCraft mod. I "borrowed" the source code and translated it to Lua. Quote Link to post Share on other sites
TobiDoesMC 0 Posted February 24, 2018 Share Posted February 24, 2018 idk what i am doing wrong Quote Link to post Share on other sites
Michiyo 28 Posted February 24, 2018 Share Posted February 24, 2018 Have you installed OpenOS or are you running it directly from the floppy? Type install and let it copy everything to the HDD the floppy is read only. Quote Link to post Share on other sites
IlynPayne 5 Posted February 24, 2018 Author Share Posted February 24, 2018 @TobiDoesMC You've made a typo. Domain name should be gitlab, not getlab. Quote Link to post Share on other sites
TobiDoesMC 0 Posted February 25, 2018 Share Posted February 25, 2018 we cant click on the address at all Quote Link to post Share on other sites
Atoz 0 Posted January 1, 2019 Share Posted January 1, 2019 Hello I was wondering my stargate always disactives immediately after I dial the gate with this program how do you fix it? Quote Link to post Share on other sites
IlynPayne 5 Posted January 3, 2019 Author Share Posted January 3, 2019 @Atoz Is connection time set properly (empty field is fine too)? Does a stargate always deactivate immediately or maybe sometimes it happens with a delay? Is your world laggy? Does this issue also occurs when using nexDHD (not likely, but worth checking)? Quote Link to post Share on other sites
Atoz 0 Posted January 4, 2019 Share Posted January 4, 2019 the connection is blank (empty field) its when I dial to the gate with the program not from. Outgoing wormholes are fine just incoming wormholes are the issue. And I haven't used nexDHD since I didn't like it as much as yours Quote Link to post Share on other sites
IlynPayne 5 Posted January 8, 2019 Author Share Posted January 8, 2019 @TobiDoesMC There was a bug in the underlying GML library, it should be fixed now. @Atoz I've made an update, reinstall SGCX and restart a computer. Let me know whether the bug still exists. Quote Link to post Share on other sites
Atoz 0 Posted January 11, 2019 Share Posted January 11, 2019 when I try to get back the program freezes and computer is off Quote Link to post Share on other sites
IlynPayne 5 Posted January 11, 2019 Author Share Posted January 11, 2019 @Atoz I forgot to include some changes to the program. Update SGCX and try again. Quote Link to post Share on other sites
Atoz 0 Posted January 12, 2019 Share Posted January 12, 2019 post Quote Link to post Share on other sites
Atoz 0 Posted January 14, 2019 Share Posted January 14, 2019 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)) Quote Link to post Share on other sites
MeltingBrain 12 Posted January 15, 2019 Share Posted January 15, 2019 @IlynPayne update the title, it's not staragte controller but stargate there's a typo. 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. Quote Link to post Share on other sites
IlynPayne 5 Posted January 15, 2019 Author Share Posted January 15, 2019 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. MeltingBrain 1 Quote Link to post Share on other sites
Atoz 0 Posted January 17, 2019 Share Posted January 17, 2019 ok thankyou it works now Quote Link to post Share on other sites
Atoz 0 Posted February 15, 2019 Share Posted February 15, 2019 hello I was wondering if we can add a search option to it so it will be easyer to find the gate address Quote Link to post Share on other sites
Nexarius 18 Posted February 15, 2019 Share Posted February 15, 2019 27 minutes ago, Atoz said: hello I was wondering if we can add a search option to it so it will be easyer to find the gate address How many stargate do you have in your address list that you need a search function? Quote Link to post Share on other sites