This is a read-only snapshot of the ComputerCraft forums, taken in April 2020.
RandomShovel's profile picture

Random's Programs

Started by RandomShovel, 28 May 2013 - 08:04 PM
RandomShovel #1
Posted 28 May 2013 - 10:04 PM
News:

House Architect ( 11x11 House Builder ) is nearly done! Just need to fix how the entrance wall is built!

New version of Semi-Automated Farm! B)/>


To help these programs continue ( or start ) to be great, leave feedback. Bugs and positive feedback are one of the best things you can leave me!

Programs:
[1.6/1.5] Branch Mining Program:
Spoiler

This program will mine X length, in a 3x3 tunnel. If you point your attention to the config area, you can see useful options.

Code: 0kL6XL9i


[1.6] Tank GUI:
Spoiler

This program will display the liquid in tanks. This is needs a OpenPeripheral terminal to operate. You can choose which liquid you want to monitor via chat commands.
Ex: $$honey

Known Bugs: Crashes with specific names. These include names with spaces. WILL be fixed!

Code: D1imcLTu


[1.6/1.5] Startup Lock: Now in pocket size!
Spoiler

A nice bit of code to keep your computers safe from others! Works best when on disk. Do note, this can now be configured to output a redstone signal… In the Mini-Config!
Now comes with a neat command! " save/disk". Either 'Save' or 'Disk' work.
I'll let you have a minute to figure out what it does….
Correct, it saves it to a disk!

Code: p22JrSTG

Pictures? Heres a slideshow!
SpoilerPhotoBucket


[1.6/1.5] Monitor GUI:
Spoiler

A handy bit of code here. This will monitor 3 different mod storage devices. Applied Energistics storage, Thermal Expansion's energy cell, and IndustrialCraft's EU storages.
This requires OpenPeripheral to operate.

[1.6][OpenPeripheral Addon/Core Compat.]: mvNHHu0V
[1.6][OpenPeripheral Comp.]: sqRBwy13
[1.5]: yXj0wfLn
The newest OpenPeripheral is separated into multiple mods. Due to this, one program is compatible with the newest, while the other isn't.

Pictures? Heres a slideshow!
SpoilerPhotoBucket


[1.6/1.5] Todo List
Spoiler

A handy program to create a todo list. Currently it is considered "Beta". This is not the final intent of this program. This requires 1 monitor if the correct user input is used.
Code: H7mUPm7a

This second one is specifically for Advanced Computers! This does not include Advanced Pocket Computers!
Code: kYvRBsMk

Pictures? Heres a slideshow!
SpoilerPhotoBucket


[1.6] Semi-Automated Farm
Spoiler

This program will harvest, till, and plant whatever crops you want. This is fairly new, so things are subjected to change.
Code: aM9kkEGx



[1.6] Item ID Tracker
Spoiler

This program will track any item in your AE network. This needs 2 mods to be installed along with ComputerCraft, Applied Energistics and OpenPeripheral. You MUST place this near your AE controller, it doesn't have wired modem support, thus being considered a Beta. Next you need a terminal bridge from OpenPeripheral on another side. Don't worry about defining these peripherals, the program will search for them on all sides.

Pictures? Heres a slideshow!
Spoiler

PhotoBucket


[1.6][OpenPeripheral Core/Addon Compt.]: chC2aTfg
[1.6][OpenPeripheral]: U1xR5szu

Need an explanation?
Spoiler

Launching the program is simple. Heres a few tips/steps.
  1. You type the name of your program, in this case "test".
  2. Next, type the item id of your item. This doesn't include metadata.
  3. Next, you input the metadata.
  4. After that, you name the item. If you have a multi-word name, you type it with spaces. You should be asked to redefine the name when you push enter.
Examples: With a one-worded name: test 264 0 Diamond This will track my diamonds, and be labeled as "Diamond(s)" in the hud. With a multi-word name: test 264 0 My Diamonds

































[indent=1]Future picture here[/indent]
Redefine as: My Diamond Displays as: My Diamond(s)



[1.6] Inventory Scanner:
Spoiler

I originally wrote this because I was paranoid about griefers. I refused to release this due to it scanning inventories and printing the items ( count, enchantments, raw names ) being printed. I know someone will abuse the pure innocence of this program.

Moving along, if you think you've been griefed, you can easily sniff out who took it. This program will display contents in a player's inventory, including enchantments, custom names, raw names, amount, etc. I can in no way stop people from using this for material gain, but I ensure this was written and intended for security reasons.

[1.6] Inventory Scanner v1.0: ADfNjFPb


Changelog:
Spoiler

2/16/15:
Spoiler
  • Updated Semi-Auto. Farm
    • ​Now asks a one time input
    • Now replants crops after harvest
    • Last tested in ComputerCraft 1.65

12/10/14:
Spoiler
  • Released the inventory scanner program
    • ​Read the small summary before you make a complaint!

8/16/14:
Spoiler
  • Added Advanced Computer support to Todo List Program
    • ​Note this is ONLY for advanced computers!
    • Normal computers will NOT work for the new version of Todo list
  • ​Added Mouse support
    • ​You can click options on the main screen to navigate around!
    • This also includes exiting "frozen" screens
      • ​They aren't really frozen, it's just so you can see the text.
      • This goes back to the main menu if you click anywhere on the screen
  • ​Removed user arguments
    • ​Everything can be accessed from the main menu by clicking options!
  • ​Added duplicate check!
    • ​This can accessed from the check option
    • This also can be accessed from adding tasks.
      • ​It will compare the text to current tasks
  • Added pages to tasks list
    • ​This doesn't work currently, but the next and previous buttons will display
    • Don't attempt to use those!
    • Beta is beta :P/>
  • ​Added click to remove feature
    • ​Don't have type the number to remove a task!
      • ​You simply click the line the task is on to remove it!
      • It will exit the screen to prevent accidental removing
    • ​Click the header or footer to exit the screen
      • ​Or a line a task isn't on

8/3/14:
Spoiler
  • Fixed Branch Miner program
    • ​Should no longer refuse to run without an enderchest in it's inventory
    • Added a last slot option
      • ​Mostly for wanting to not use an enderchest
      • It will use the enderchest's slot as a normal inventory slot
        • ​This will only happen if the variable is set to 13
        • Just in case..?
    • ​Added an inventory management function
      • ​If it's inventory is full, it will attempt to make space by combining and moving items
    • ​Made item counter faster
      • Counts how many items in it's inventory if there actually is a item in a slot.
      • Previously counted empty slots, which made it a little slower
    • ​Added options to the centerT function
      • ​It can now center error/normal/slow text
    • ​Did I forget to mention a hidden feature?
      • ​Yeah.. might have forgotten that
        • ​If you were to type a sentence as the distance, the length of that sentence will be the actual distance
    • ​Changed the torch section
      • ​It will now place a "light source" inside the wall and while it's mining
        • ​Might be useful if you have a lot of glowstone…
      • It won't place it when it's finished mining a 3x3 wall, but while it's mining.
    • ​Changed the version variable
      • ​An explanation can be seen if you're in edit mode
    • ​Changed how "reserved" slots work
      • ​Smashed them into a table. This should help when additional "reserved" item slots arise.
    • ​Text flashes!
      • ​If items are missing, error text will flash!
        • ​This can be disabled from the config area
    • ​Added a torch distance option
      • ​You can now change how far you want light sources to be placed
    • ​Made this less hard coded
      • ​Only options in slot settings and the config area probably won't break when you change things


7/22/14:
Spoiler
  • Fixed Tank Monitor program
    • ​Should no longer give "invalid liquid" if it couldn't find a liquid that existed in a tank
      • ​Wouldn't display Cryotheum for example

7/14/14:
Spoiler
  • Fixed branch miner program
    • ​Should no longer have global variable related bugs
    • Dropped some features since they didn't seem as fit in a branch miner program

6/13/14:
Spoiler
  • Fixed tank monitor program
    • ​Should no longer crash when trying to monitor Creosote

5/20/14:
Spoiler
  • Updated startup lock
    • ​Added disk/save command
      • ​Saves file to disk

4/28/14:
Spoiler
  • Updated startup lock
    • ​Added pocket support
    • Moved attempts left to main screen
    • Added option for infinite attempts…
    • Shortened code

3/17/14:
Spoiler
  • Finished a beta version of Tank GUI
    • ​Doesn't update liquid consistently

3/8/14:
Spoiler
  • Updated Monitor GUI
    • ​Thermal Expansion cells now supported
    • Program now supports unlinking/relinking storages
    • Tweaked energy bars to look similar to 1.5 Thermal Expansion's old energy bars
    • Added a new command "annoying"
      • ​This will disable the prompt before the GUI activates
2/22/14:
Spoiler
  • Fixed OpenPeripheral dependent programs
    • ​ZIndex related crashes fixed
    • Provided option for those with older versions of OpenPeripheral
  • ​Made peripheral finding easier 2/14/14:
    Spoiler
  • Uploaded pictures
  • Attempted to re-explain the item ID tracker's usage
    • ​Let me know if you're still confused on it
  • ​​Formatted changelog area
    • ​Will more or less be cluttered by changelog updates as time progresses
    1/29/14
    Spoiler[*]Updated "Random's GUI"

    [*]Renamed "Random's GUI" to "Monitor GUI"

    [*]Made individual change-logs to a global changelog

    [*]Removed "Energy Monitor" due to it's redundancy

    [*]Simply use "Monitor GUI" for EU monitoring
Edited on 16 February 2015 - 10:25 AM
Spongy141 #2
Posted 03 June 2013 - 01:37 AM
My eyes… You really do not need to use all that color, anyways, looks nice, I might test it out.
Persona #3
Posted 03 June 2013 - 01:51 AM
Not to mention anyone who uses comic sans deserves to be banished off the earth.

Joking aside,
Programs work like a charm though.

Good work :P/>
RandomShovel #4
Posted 03 June 2013 - 02:29 AM
I have no idea what you are talking about with the comic sans font :P/> .
I was sleep deprived when I made that post too, so sorry for the blast of colors.
That post looks a lot more friendly to everyone's eyes now.
Reggie #5
Posted 27 January 2014 - 02:44 PM
This look quite cool, when can I expect Random's GUI to be out for 1.6?
RandomShovel #6
Posted 28 January 2014 - 10:15 PM
Laziness is a terrible habit. I'll poke at the code to see what functions changed, and what isn't usable.

UPDATE: 1.6 compatible version of "Monitor GUI" ( Previously known as Random's GUI )
Edited on 29 January 2014 - 01:24 AM
Agoldfish #7
Posted 04 February 2014 - 06:26 PM
TL;DR
Why is the lock program better if on a disk?
awsmazinggenius #8
Posted 04 February 2014 - 06:35 PM
About the strip mining poll: It takes too long :)/>
RandomShovel #9
Posted 05 February 2014 - 05:40 PM
TL;DR
Why is the lock program better if on a disk?

If it isn't, someone could use a disk drive and disk to override the lock.

About the strip mining poll: It takes too long :)/>

Noted!