ComputerCraft Forums

ComputerCraft => Programs => APIs and Utilities => Topic started by: Guymax on Oct 26, 2019, 03:32 PM

Poll
Question: If you ran my program, can you rate it please ?
Option 1: 1/10 votes: 0
Option 2: 2/10 votes: 0
Option 3: 3/10 votes: 0
Option 4: 4/10 votes: 0
Option 5: 5/10 votes: 0
Option 6: 6/10 votes: 0
Option 7: 7/10 votes: 0
Option 8: 8/10 votes: 0
Option 9: 9/10 votes: 0
Option 10: 10/10 votes: 0
Title: [SGcraft] Stargate DHD - An updated old but fantastic DHD
Post by: Guymax on Oct 26, 2019, 03:32 PM
Hi everyone, this is my first post so if I do something bad please tell me so I can  solve the problem.

Today, I'm glad to introduce you to my Stargate_DHD program !!
To the old members who remember this code by thatParadox
This is the same program but improved and most importantly fixed for 1.12.2

This code contains :
  • An energy bar on the right side of the screen ( click on it to update it and change the energy unit displayed
  • A beautiful draw of the stargate in the middle of the screen ( with animated chevrons !!)
  • A dial menu to add address ( because remember 7-char address is annoying) and fast-connect to saved gates
  • A security list to blacklist or whitelist gates ( 3 modes : blacklist, whitelist, none
  • An history to remember for you which gate connected to your
  • A settings menu to
    • Set the auto-update on true/false
    • Allow the display of the energy in RF and/or EU
    • Change the password of the gate ( need the actual password )

The best feature ( to me ) is the fact that if a non-whitelisted gate tried to connect when in whitelist mode, the program will ask for the gate's password and if the password is correct the iris will open to grant access  to the stargate. Very useful when you want to connect to your hidden evil lab on stargate you don't have whitelist ( I'm not the only one to have an hidden lab, right ?)
And if password isn't correct the connection is stopped by the computer.
Last thing on the lock down thing : if the computer reboot, the iris open but if the computer reboot during a prohibited connection, the iris won't open.

Screenshots
Spoiler
[attach name=settings.png type=image/png]86[/attach]
The settings Menu : buttons in red or green are toggleable, buttons in black are on-press button.
----------------------------------------------------------------------------------------------------
[attach name=home.jpg type=image/jpeg]87[/attach]
Home menu presentation with the history button, the iris button, the defence button, the dial and term buttons and last but not least, the draw of the stargate.


So now if you are interressed in, here is how to setup the program :
Spoiler
-copy the pastebin command ("pastebin run tAk2CuaT")
-put your computer where you want ( hide it for now because Ctrl+T is allowed and password are not hashed)
-connect the stargate to the computer with networking cable and wired modems
-be sure to have a 3X4 block of advanced monitor connected to the computer
-run the command
-Enjoy!

You will found the bug report form here (https://docs.google.com/forms/d/e/1FAIpQLSepLTaSAyRhNQwXQo4OAe9NtDxoUqc71VaEtzKqzh5MoEUG9Q/viewform?usp=sf_link).

Ping me on discord, Twitter or here to ask for updates or others things.

Thanks for reading.