99 posts
Posted 14 February 2012 - 08:59 PM
Keycode - Version 0.1Spoiler
Keycode is a program that detects what keycode belongs to the key you pressed. e.g: I pressed 1 (not numpad) and it showed Keycode is: 2. Very useful for GUI stuff.
To install, simply put the file keycode on /.minecraft/mods/ComputerCraft/lua/rom/programs/ and you're good to go.
Download: Slow Write - Version 0.1Spoiler
Ever wanted to slow write something, and you couldn't? Well, now you can! With my new function in TextUtils API (thanks Kaleb702 for helping me!), you can write the lines like slow print does!
To install, put the file textutils on /.minecraft/mods/ComputerCraft/lua/rom/apis/ and it's done.
Usage: textutils.slowWrite( sText )
Download: Roc Install - Version 0.2Spoiler
Roc Install is just like cc-get. It needs HTTP API enabled to work.
Download: WiTur - Version 0.1Spoiler
WiTur stands for Wireless Turtle. You can control them with the computer. It commands all Turtles.
Instructions are on README file.
[media]http://www.youtube.com/watch?v=C01d1YU4zT8[/media]
Download:If you have any questions or feedback, comment on
It's my blog.
496 posts
Location
Harlem, NY
Posted 14 February 2012 - 09:08 PM
..if you have redworks, you don't need this :)/>/>
3 posts
Posted 14 February 2012 - 09:47 PM
715 posts
Posted 14 February 2012 - 09:52 PM
It's missing quite a few key codes.
This here is an exhaustive list and even includes the mouse button codes:
http://www.minecraft.../wiki/Key_CodesI don't know if the mouse buttons are supported by computercraft, though.Nope, just made a quick test. The mouse buttons are not throwing any measurable events.
Edited on 14 February 2012 - 08:54 PM
496 posts
Location
Harlem, NY
Posted 15 February 2012 - 05:17 AM
Yea i noted in IRC these don't have all the commands they getkeycode would actually return values for which are useable in LUA/CC such as the arrows keys 211 or something off the top of my head.
99 posts
Posted 15 February 2012 - 04:01 PM
As soon as I have time, I'll edit it and publish the other program.
99 posts
Posted 16 February 2012 - 08:00 PM
New programs!
99 posts
Posted 19 February 2012 - 08:31 PM
Took off from adf.ly.
42 posts
Location
Germany
Posted 19 February 2012 - 08:38 PM
Why did u put local tArgs = { … } in your code?
Is it even possible to load an API with arguments?
99 posts
Posted 19 February 2012 - 08:40 PM
Why did u put local tArgs = { … } in your code?
Is it even possible to load an API with arguments?
It's the original TextUtils API. It was there.
99 posts
Posted 19 February 2012 - 09:27 PM
Now using bit.ly links.
EDIT: More programs!
99 posts
Posted 25 February 2012 - 11:50 PM
Updated to work on 1.3.
99 posts
Posted 28 February 2012 - 04:51 PM
Added Wireless Remote Control Turtle via Wi-Fi.
473 posts
Location
Poland
Posted 28 February 2012 - 05:45 PM
does it work in the background?
99 posts
Posted 28 February 2012 - 05:53 PM
does it work in the background?
What?
473 posts
Location
Poland
Posted 28 February 2012 - 06:01 PM
rednet control. can you do other things with the turtle and control it wireless regardless of that?
3 posts
Posted 20 April 2012 - 07:45 AM
just wondering… would it be ok if i fork this on github and post it on cc-get? i'd like to do some customization for online multiplayer, as well as finer control over the turtles, and possibly a feedback system where turtles scan the blocks around them. First thing is setting them up to only respond to a specific computer, though.
378 posts
Location
In the TARDIS
Posted 20 April 2012 - 12:02 PM
I made a keycode program and a wireless controlled turtle program to! Nice work though. Simple compact code :)/>/>
8 posts
Posted 11 June 2012 - 06:14 PM
Dropbox - 404 for Keycode and Slow write. Didn't try the other ones. Are these no longer posted?