These are some of my first programs. I taught myself Lua by looking at scripts others made. I find it fun to code, especially when my programs work. Most of these are test scripts and aren't very advanced. Now, on to the less boring stuff.
Table of Contents:
Changes
Downloads
My Programs
….Random Generators
……..Number Generator
……..Phone Number Generator
……..Name Generator
….Turtle
……..House Builder
…………Full House
…………House Skeleton
…………House Windows
…………House Torches
…………House Fence
……..Turtle Controller
….Calculators
……..Full Calculator
……..Stand-Alones
…………Add
…………Subtract
…………Multiply
…………Divide
…………Square
….Other
……..Self Destruct
……..Virus Tutorial
Source Code
Pics
Request-A-Program
Installing
Copyright stuff
Changes/News
Spoiler
Wed. March 14Fri. March 16Added A virus tutorial, "House Fence", and Turtle Controller.
Sun. March 25Added pictures for the calculators and generators, added two videos for the self-destruct and house builder.
Sat. April 14Added a download of a source code version of my scripts and had a small update for the calculators.
Wow, I haven't been very active on here lately, I'm starting to *somewhat* lose interest in Minecraft. I still love it, but there are other things to do.
anyway, off the boring life stuff and onto the real news.I am soon going to have an installer for my scripts!I am also taking installation requests. I now have made the installer! It will replace the old complete download.
Downloads
Download a direct download of an installer for all of my programs from Dropbox here, or download an independent file from each program info spoiler.
Downloads not working? Reply and tell me!
My Programs
Random Generators
Spoiler
Number GeneratorSpoiler
When you run it, It first asks, "Between [#]", and you type in a number where the # is. It then asks, "and [#]", and again, type a number. It then randomly selects a number between A and B.Download
Name Generator
Spoiler
Does what it says. Spits out a random name. I am still collecting names at the moment, so technically it's a WIP.Download
Spoiler
Turtle ControllerSpoiler
Just run it and use WASD to move and turn, Q to break blocks in front of the Turtle, E to place blocks, space to go up and CTRL to go down. The Turtle will automatically break blocks above it when it moves up, and the same down.Download
Spoiler
Full HouseSpoiler
Builds a descent 9x7 (meant it to be 8x6, but it turned out different :mellow:/>/>) house. To run: place 2 stacks of wood or any other (placeable) material into the Turtle's inventory, then about 19-64 of the same material. This is because it takes 64+64+19 blocks to make a house. Then place at least 21 blocksin the next slot for the window material, then at least 4 torches in the next slot, then at least 43 fence blocks in the next slot and 1 fence gate in the next. When You start it up, it will start with the skeleton, then the windows, then the torches, then the fence.Download
House Windows
Spoiler
Just makes the windows. WARNING: WILL NOT DETECT HOUSES. LEAVE THE TURTLE IN THE PLACE WHERE IT STOPS FROM MAKING THE HOUSE SKELETON OR FULL HOUSE.Download
Spoiler
Just places the torches. Places the torches sideways in some parts though, will fix.WARNING: WILL NOT DETECT HOUSES. LEAVE THE TURTLE IN THE PLACE WHERE IT STOPS FROM MAKING THE HOUSE SKELETON OR FULL HOUSE.Download
Spoiler
Just places a fence around the house. Place at least 43 fence blocks (or whatever material you want to use) into the first Turtle slot, then at least 1 fence gate or fence, depending of if you want a gate. Fence gate might be placed sideways, depending on the way you placed the Turtle, eg, North/South - should be fine, East/West - gate will be sideways. WARNING: WILL NOT DETECT HOUSES. LEAVE THE TURTLE IN THE PLACE WHERE IT STOPS FROM MAKING THE HOUSE SKELETON OR FULL HOUSE.Download
Spoiler
CalculatorAdd
Spoiler
It asks to set the first number. Set it. Then to set the second. Set that too. Answer.Download
Spoiler
It asks to set the first number. Set it. Then to set the second. Set that too. Answer.Download
Spoiler
It asks to set the first number. Set it. Then to set the second. Set that too. Answer.Download
Spoiler
It asks to set the first number. Set it. Then to set the second. Set that too. Answer.Download
Spoiler
It asks to set the first number. Set it. Then to set the second. Set that too. Answer.Download
Spoiler
Self DestructSpoiler
Sets off redstone outputs everywhere. Literally, on every side of the computer. Just place TNT under/next to/behind/above the computer to make it work. There isn't any known way to do it through Lua. When you run it, it asks if you are sure you want to continue, and you have to say "yes" or "no". Saying "yes" will start the countdown and will let you head for the hills.Download
Spoiler
Part 1 - The virus:When you place down a computer, type "edit startup". This will let you edit the startup script for that computer. Once in, type "print ("Your computer is infected!")", or whatever you want. Then start a new line and type "sleep(2)". Start another line. Finally, type "os.shutdown()". What this does is whenever you start up your computer, it will be uncontrollable (except if you press CTRL+T, which force-stops the program; to fix that remove the first two lines).
Part 2 - The anti-virus:
Put down a drive next to a different computer and put an unchanged floppy disk in it. Now in the computer type "edit disk/startup". It will bring you to the edit screen. Now just type "print ("Anti-Virus Plus loaded successfully.")". Press CTRL, press enter when "save" is selected, then press "exit". Now put the floppy into a drive next to the infected computer and start it up. It should say "Anti-Virus Plus loaded successfully."
Video
Spoiler
Source Code
You can download the source code here. It contains almost all the programs with comments that show how each line works.
Pictures
Spoiler
Request-A-Program
You can request any program that has to do with random generators, Turtle buildings, or anything else. I might be able to make it, I might not. Make sure not to make any super-advanced requests though, as I am not a super-advanced coder ;)/>/>.
Stuff I'm okay with:
Random generators
Turtle buildings
Other stuff I'll add in the future
New: Installers! You can send me your script, and I will package it into an installer for your users' ease.
Installing
To install if you downloaded the files independantly:
1. Download teh filez
2. Put the file(s) that you downloaded into "%appdata%.minecraftmodsComputerCraftluaromprograms"
3. Start Minecraft
4. Go into a game
5. Use my programs
6. ???
7. PROFIT!
To install if you download the zip with all my programs:
1. Download teh filez
2. Put the mods folder in the zip into your .minecraft folder (%appdata%.minecraft). It will ask to merge folders, say yes. If it asks to overwrite files, check it out. Make sure that none of your files are named the same as mine.
3. Start Minecraft
4. Go into a game
5. Use my programs
6. ???
7. PROFIT!
Copyright Stuff
You cannot put these programs ANYWHERE on the internet and/or anywhere people can download them. No sharing, uploading, or anything of that sort without my permission. PM me on the Minecraft Forums, ComputerCraft Forums, or anywhere else that has my name in it. If you find my content anywhere that is not under my name, please alert me ASAP.
Like my Stuff?
An easy way to show your appreciation and likeyness of my stuff is to click the next to my post.