Posted 31 October 2016 - 04:41 PM
Hello, all! My name is Jerry Wester. I consider myself fairly good at ComputerCraft programming, and figured I might as well share my feats with you all to use freely. Each program shall have a title, a (hopefully) brief description, a pastebin link, and code to run in your computer's terminal to download it. You are free to change these programs at your will. However, if you republish my work, I must ask that you credit me. Any questions? No? Good. Let's get right on into the programs.
This one is fairly simple. It scrolls messages around the screen. Simple enough. Using a side as the argument redirects output to a monitor on that side. Press "Q" to quit the program. Changeable variables are: "messages" - Change this to edit what shows up on the screen; "speed" - Change this to edit the speed at which the text scrolls, in seconds.
Pastebin Link: http://pastebin.com/yM4x8ahZ
Command:
Now, [topic='1624']this post[/topic] does indeed say no obfuscated installers, as it may lead to malicious scripts. HOWEVER, I am not attempting to hide anything, and will provide you the links to what it will install. I will warn you that this will overwrite any startup script, as well as any program named '.menu' or '.set'. In short, this is… Well, it'd be easier to show you with pictures.
[attachment=2682:screenshot.png]
This is a basic menu. There's also a login script, which is off by default.
[attachment=2683:screenshot (3).png]
Default username and password are both "test", which can be changed in the settings.
[attachment=2684:screenshot (2).png]
And that's that. Now, for downloads…
This is the installer: http://pastebin.com/dk8mwHdc
And the three scripts it installs and for you to download separately if you wish:
http://pastebin.com/m1t21RBn
http://pastebin.com/HTjJ7j1d
http://pastebin.com/HYuW803Y
Title says it all. Put a turtle at the entrance of a maze, run the program, and it will try to solve it using the "right hand" rule (sticking to the right wall).
Pastebin Link: http://pastebin.com/Djb1WEHt
Command:
Scrolling Messages
This one is fairly simple. It scrolls messages around the screen. Simple enough. Using a side as the argument redirects output to a monitor on that side. Press "Q" to quit the program. Changeable variables are: "messages" - Change this to edit what shows up on the screen; "speed" - Change this to edit the speed at which the text scrolls, in seconds.
Pastebin Link: http://pastebin.com/yM4x8ahZ
Command:
pastebin get yM4x8ahZ scroll
Menu Installer
Now, [topic='1624']this post[/topic] does indeed say no obfuscated installers, as it may lead to malicious scripts. HOWEVER, I am not attempting to hide anything, and will provide you the links to what it will install. I will warn you that this will overwrite any startup script, as well as any program named '.menu' or '.set'. In short, this is… Well, it'd be easier to show you with pictures.
[attachment=2682:screenshot.png]
This is a basic menu. There's also a login script, which is off by default.
[attachment=2683:screenshot (3).png]
Default username and password are both "test", which can be changed in the settings.
[attachment=2684:screenshot (2).png]
And that's that. Now, for downloads…
This is the installer: http://pastebin.com/dk8mwHdc
pastebin run dk8mwHdc
And the three scripts it installs and for you to download separately if you wish:
http://pastebin.com/m1t21RBn
http://pastebin.com/HTjJ7j1d
http://pastebin.com/HYuW803Y
pastebin get m1t21RBn startup
pastebin get HTjJ7j1d .menu
pastebin get HYuW803Y .set
[Turtle] Maze solver
Title says it all. Put a turtle at the entrance of a maze, run the program, and it will try to solve it using the "right hand" rule (sticking to the right wall).
Pastebin Link: http://pastebin.com/Djb1WEHt
Command:
pastebin get Djb1WEHt mazeSolve
Edited on 09 November 2016 - 02:32 PM