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

Search the Community

Showing results for tags 'stargate'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • OpenComputers
    • Announcements
    • Feedback
    • IRC
  • Code Central
    • Support
    • Showcase
    • Tutorials
  • Addons & More
    • Addons Mods
    • Architectures
    • OpenEngineering Task Force
  • General
    • Lounge
    • Forum Games
    • Showcase
    • Servers
  • Archives
    • Public Archives

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


AIM


MSN


Website URL


ICQ


Yahoo


Jabber


Skype


Minecraft


GitHub


IRC


Fediverse ID


Location


Interests

Found 5 results

  1. 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://pastebin.com/raw/iAH5xC3b arpm_downloader.lua arpm_downloader 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)
  2. This is my stargate control program for sgcraft called nexDHD How to get it: link to github pastebin run -f YVqKFnsP Computer requirements: - CPU T2 - GPU T2 - 12x Screen T2 - HDD T1 (with OpenOS) - 2x Memory T1.5 - Internet Card - only required for installation and updates - keyboard - only required for installation - Redstone Card T2 - optional - EEPROM (Lua BIOS) features of my program: - autoclose iris on incoming wormhole (when iriscontrol is turned on) - autoopen iris if correct IDC is received (iris deactivation code) - autoclose stargate after X seconds - show all kinds of stats (local / remote address, state, direction, idc, iris state, energy, ...) - multiple languages: right now german, english and russian - displays energy in EU or RF - displays up to 10 addresses on 1 page (unlimited pages) - allows dialing from the address list - check for updates on start - emit redstone signals (right now for: state not idle, incoming, iris closed, idc accepted, wormhole connected) - automatically adds new, unkown addresses when there is an open wormhole - shows the required energy to dial an address (or error if invalid address) - allows closing of incoming wormholes if its disabled in config AND there is a computer at either end - automatically sends and receives entire address list on an open wormhole (without the IDC of course) and automatically adds the new addresses - with touchscreen functionalities - works with Computronics ColorfulLamps -> red = iris closed, green = idc accepted, yellow = outgoing wormhole, orange = incoming wormhole (priority from left to right) - logbook with the last connections
  3. Iv thrown together what i would call an enchanced version of Kevlaris Control System 2 programs, the message program and the dialing program. These 2 programs can dial a number of gates that you can add yourself, or if you want to dial manually and type in your adress to the computer. Both programs can be run on the same rack (but on different servers, just make sure the dialing program can receive messages from the message program). With just a monitor attached for the message program, preferrably near your stargate. Message program (yes im aware i misspelled nether) Pretty simple. Sends a command to the dialing program depending on what you wanna do. 1. If you wanna add more destinations just copy and paste the highlighted code under itself. Like this if num == "1" then print("Dialing Spawn.") modem.broadcast(port, "dial1") print("Address sent to gate computer.") os.sleep(5) elseif num == "2" then print("Dialing Nether.") modem.broadcast(port, "dial2") print("Address sent to gate computer.") os.sleep(5) 2. Change the "if num == "2" then" to a number of your choosing. (as you can see in the image, 1,2,3,4 are currently being used, so in this case im gonna type 5, but it can be any number you want.) elseif num == "5" then print("Dialing Nether.") modem.broadcast(port, "dial2") print("Address sent to gate computer.") os.sleep(5) 3. Edit the "print("Dialing Nether.")" to whatever you want it to say. elseif num == "5" then print("Dialing Beach.") modem.broadcast(port, "dial2") print("Address sent to gate computer.") os.sleep(5) 4. Edit the "modem.broadcast(port, "dial2")" to something you will remember, you will need it later when we edit the dialing program. elseif num == "5" then print("Dialing Nether.") modem.broadcast(port, "dial3") print("Address sent to gate computer.") os.sleep(5) 5. Now go to the very bottom of the program and find "elseif num ~= "1" or num ~= "2" or num ~= "3" or num ~= "4" then". You will need to add whatever number you typed in step 2. elseif num ~= "1" or num ~= "2" or num ~= "3" or num ~= "4" or num ~= "5" then And we are done with the message program! Now on to the dialing program! Dialing program The computer/server running this program needs to be connected to the stargate before startup. Otherwise the program crashes. Also pretty simple, receiving message from the message computer and then do what you wanna do. You need to change your adress to the one you have ingame. To do that and to even add a whole new adress please follow this step by step tutorial. The dialing program is where you can get lost in code, just follow step by step and you will be fine. 1. Same as in the message program, copy and paste the following code under itself. This code is long, prepare to scroll... elseif raw == "dial1" then print() address = {"Sextans", "Corona Australis", "Andromeda", "Perseus", "Leo", "Aries", "Point of Origin"} os.sleep(0.5) print("Dialing") for i,v in ipairs(address) do print(i,v) end print() function dialNext(dialed) glyph = address[dialed + 1] print("Engaging "..glyph.."... ") sg.engageSymbol(glyph) end eventID = event.listen("stargate_spin_chevron_engaged", function(evname, address, caller, num, lock, glyph) os.sleep(2) if lock then if (event.cancel(eventID)) then print("Event cancelled successfully") end os.sleep(2) print("Engaging...") sg.engageGate() doing = false os.sleep(5) print("30") os.sleep(1) print("29") os.sleep(1) print("28") os.sleep(1) print("27") os.sleep(1) print("26") os.sleep(1) print("25") os.sleep(1) print("24") os.sleep(1) print("23") os.sleep(1) print("22") os.sleep(1) print("21") os.sleep(1) print("20") os.sleep(1) print("19") os.sleep(1) print("18") os.sleep(1) print("17") os.sleep(1) print("16") os.sleep(1) print("15") os.sleep(1) print("14") os.sleep(1) print("13") os.sleep(1) print("12") os.sleep(1) print("11") os.sleep(1) print("10") os.sleep(1) print("9") os.sleep(1) print("8") os.sleep(1) print("7") os.sleep(1) print("6") os.sleep(1) print("5") os.sleep(1) print("4") os.sleep(1) print("3") os.sleep(1) print("2") os.sleep(1) print("1") os.sleep(1) print("Stargate Shutdown") sg.disengageGate() os.sleep(1) else dialNext(num) end end) dialNext(0) doing = true print() while doing do os.sleep(0.1) end ------------------------------------------------------------------------------------------------------------------------------------------------------------- elseif raw == "dial1" then print() address = {"Sextans", "Corona Australis", "Andromeda", "Perseus", "Leo", "Aries", "Point of Origin"} os.sleep(0.5) print("Dialing") for i,v in ipairs(address) do print(i,v) end print() function dialNext(dialed) glyph = address[dialed + 1] print("Engaging "..glyph.."... ") sg.engageSymbol(glyph) end eventID = event.listen("stargate_spin_chevron_engaged", function(evname, address, caller, num, lock, glyph) os.sleep(2) if lock then if (event.cancel(eventID)) then print("Event cancelled successfully") end os.sleep(2) print("Engaging...") sg.engageGate() doing = false os.sleep(5) print("30") os.sleep(1) print("29") os.sleep(1) print("28") os.sleep(1) print("27") os.sleep(1) print("26") os.sleep(1) print("25") os.sleep(1) print("24") os.sleep(1) print("23") os.sleep(1) print("22") os.sleep(1) print("21") os.sleep(1) print("20") os.sleep(1) print("19") os.sleep(1) print("18") os.sleep(1) print("17") os.sleep(1) print("16") os.sleep(1) print("15") os.sleep(1) print("14") os.sleep(1) print("13") os.sleep(1) print("12") os.sleep(1) print("11") os.sleep(1) print("10") os.sleep(1) print("9") os.sleep(1) print("8") os.sleep(1) print("7") os.sleep(1) print("6") os.sleep(1) print("5") os.sleep(1) print("4") os.sleep(1) print("3") os.sleep(1) print("2") os.sleep(1) print("1") os.sleep(1) print("Stargate Shutdown") sg.disengageGate() os.sleep(1) else dialNext(num) end end) dialNext(0) doing = true print() while doing do os.sleep(0.1) end 2. Edit the elseif raw == "dial2" then to the message we remembered from the message program. (or dont, depending if you just want to change your adress) elseif raw == "dial3" then 3. Edit your adress, the adress is your stargate adress. Just type it in word by word the exact adress you have ingame. address = {"Sextans", "Corona Australis", "Andromeda", "Perseus", "Leo", "Aries", "Point of Origin"} ------> address = {"Crater", "Monoceros", "Scorpius", "Serpens Caput", "Aries", "Leo", "Point of Origin"} If you wanna type a 8 or 9 chevron adress, just add in the last word/words. address = {"Crater", "Monoceros", "Scorpius", "Serpens Caput", "Aries", "Leo", "Perseus", "Point of Origin"} 4. And we are done! Enjoy! Pastebin for message program. Pastebin for dialing program. They are also attached to this post. startdialing.lua startmessage.lua
  4. Getting the followong error message: Until expected (to close "repeat" at line 15) near "elseif": https://pastebin.com/tRz7VnRE Not sure what the problem is, can anyone explain what i could do? thx! start.lua
  5. Hello! I'm Kevlaris, and this is my control system for Aunis! I am creating an SGC base with Aunis, OC and OS. Since I have loads of components, I can't just connect everything in one network, including the Stargate. That's why I've created a two-computer control system. The system is based off on Milky Way Stargates. [It is very primitive, but I'll keep modifying it and uploading it in here. The code is free to modify though] Requirements: A computer directly connected to a Milky Way type Stargate (I call it the gate computer). Another computer which gives out orders to the gate computer (I call it the dialer). Those two computers should be connected together via cables and network cards or via wireless network cards. (If you use cables, I recommend you put an array between them) Gate computer: Install gate.lua (I've implemented Aunis' simple dialing program into gate.lua, credit to their respective owners) and just run it. Note: you won't be able to use this computer for anything else. [You can replace the gate computer with a server instead if you'd like] Dialer computer: Install dial.lua and shutdown.lua. Dial.lua dials pre-defined addresses which you can modify in the code addresses symbol-by-symbol. Shutdown.lua is a simple wormhole shutdown program. I hope someone will find this system useful. If you find bugs or would like to suggest something, please feel free to do so.
×
×
  • Create New...

Important Information

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