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

HaxType -- HackerTyper in ComputerCraft!

Started by biggest yikes, 16 March 2015 - 10:24 PM
biggest yikes #1
Posted 16 March 2015 - 11:24 PM
Yeah, yeah, we all love our friend hackertyper.com so we can pretend to be fabulous hackers. Why not bring it to CC? That's what I've done. It's called "HaxType", and it's probably not the best thing made, but it's fun.

What's it do?
If you don't know what hackertyper.com does already, it lets you spam random keys and instead of the keys you type being shown, code appears. I've recreated exactly that in ComputerCraft.

Installation
Type "pastebin get ZhesVbCi haxtype" into your shell and run the file "haxtype". Spam keys to your heart's content.

Customizing
If you don't want to be stuck with Firewolf, you can modify the file "haxtype.txt" to edit what text is shown!
Furthermore, you can set it to a file directly with the command:
haxtype set <file>
For example:
haxtype set rom/programs/shell

I can't install haxtype.txt!
Enable the HTTP API, it should already be enabled when you download the program. If you have it enabled and it still doesn't work, copy the code at http://pastebin.com/raw/A7wGH3ty and paste it in the file "haxtype.txt".
If you're on 1.63, you'll have to whitelist "raw.githubusercontent.com" in your config file.
If all else fails, check your internet connection.

Screenshots
Spoiler


Yes, text likes to wrap around, it wasn't designed for long strings, okay? :(/>

Changelog
Spoilerv1.1 -Fixed all the things!
v1.0 -Initial Release

Credits
SpoilerThanks to GravityScore and 1lann for Firewolf, the default code! http://www.computerc...nternals-again/
Thanks to Simone Masiero for hackertyper.com!
Edited on 19 December 2015 - 08:08 PM
Lupus590 #2
Posted 18 March 2015 - 04:26 PM
Cool, slightly useless, but cool none the less.
Edited on 18 March 2015 - 03:27 PM
biggest yikes #3
Posted 18 March 2015 - 04:38 PM
Cool, slightly useless, but cool none the less.
It's not supposed to be useful, but thanks! :D/>
Creator #4
Posted 18 March 2015 - 09:16 PM
I just wasted around 5 mins of my life, doing absolutely nothing.

Cool program
biggest yikes #5
Posted 18 March 2015 - 10:01 PM
I just wasted around 5 mins of my life, doing absolutely nothing.

Cool program
Thanks! :D/>
RoD #6
Posted 24 November 2015 - 02:46 AM
Cool, just one quick suggestion:
Add diferent speeds.
Instead of the constant 3 chars per type speed:

	  dex = dex + 1
	  if dex <= len then
	    write(string.sub(code,dex,dex))
	  end
dex = dex + 1
    if dex <= len then
	  write(string.sub(code,dex,dex))
    end
dex = dex + 1
    if dex <= len then
	  write(string.sub(code,dex,dex))
    end
    dex = dex + 1
    if dex <= len then
	  write(string.sub(code,dex,dex))
    end

Having a customizable speed:

speed = 4
for i = 1, speed do
	  dex = dex + 1
	  if dex <= len then
	    write(string.sub(code,dex,dex))
	  end
end
Creator #7
Posted 24 November 2015 - 05:55 AM
Or randomizable.
Waitdev_ #8
Posted 24 November 2015 - 05:57 AM
so like… this?
Creator #9
Posted 24 November 2015 - 09:58 AM
That's where thebidea came from
CORGIDOG #10
Posted 26 November 2015 - 07:14 PM
doesnt work for me i downloaded the paste bin ran the program it said
haxtype.txt does not exist, creating
haxtype :39: attempt to index ? (a nil value)
biggest yikes #11
Posted 19 December 2015 - 09:08 PM
doesnt work for me i downloaded the paste bin ran the program it said
haxtype.txt does not exist, creating
haxtype :39: attempt to index ? (a nil value)
Fixed! Thanks!
Creator #12
Posted 19 December 2015 - 09:10 PM
I actually showed the web version to one of my friends in IT class and he fell for it. Was pretty fun.
LeDark Lua #13
Posted 25 December 2015 - 10:00 PM
Forgot one thing: deleting stuff, I know its unnecessary but still, would be cool to have, or you could randomize some errors for the user to have and then if he saw it, he could delete it and rewrite the code :D/> And at the end error count :)/>

EDIT: Hellah awesome!
Edited on 25 December 2015 - 09:02 PM
D4rkSol1tud3 #14
Posted 27 December 2015 - 10:39 AM
This is pretty cool, would be nice if it maintained the color highlighting of code in the advanced computer.
Creator #15
Posted 27 December 2015 - 10:40 AM
This is pretty cool, would be nice if it maintained the color highlighting of code in the advanced computer.

Highlighting like edit?
D4rkSol1tud3 #16
Posted 27 December 2015 - 07:46 PM
This is pretty cool, would be nice if it maintained the color highlighting of code in the advanced computer.

Highlighting like edit?

Yeah but I think it would be complicated to do
Creator #17
Posted 27 December 2015 - 07:51 PM
This is pretty cool, would be nice if it maintained the color highlighting of code in the advanced computer.

Highlighting like edit?

Yeah but I think it would be complicated to do

It would not. It would be like the edit highlighting engine. Literally like it.