←  Programs

ComputerCraft | Programmable Computers for Minecraft

»

HaxType -- HackerTyper in ComputerCraft!

biggest yikes's Photo biggest yikes 16 Mar 2015

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

Changelog
Spoiler

Credits
Spoiler

Edited by Atenefyr, 19 December 2015 - 09:08 PM.
Quote

Lupus590's Photo Lupus590 18 Mar 2015

Cool, slightly useless, but cool none the less.
Edited by Lupus590, 18 March 2015 - 04:27 PM.
Quote

biggest yikes's Photo biggest yikes 18 Mar 2015

 Lupus590, on 18 March 2015 - 04:26 PM, said:

Cool, slightly useless, but cool none the less.
It's not supposed to be useful, but thanks! :D
Quote

Creator's Photo Creator 18 Mar 2015

I just wasted around 5 mins of my life, doing absolutely nothing.

Cool program
Quote

biggest yikes's Photo biggest yikes 18 Mar 2015

 Creator, on 18 March 2015 - 09:16 PM, said:

I just wasted around 5 mins of my life, doing absolutely nothing.

Cool program
Thanks! :D
Quote

RoD's Photo RoD 24 Nov 2015

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
Quote

Creator's Photo Creator 24 Nov 2015

Or randomizable.
Quote

Waitdev_'s Photo Waitdev_ 24 Nov 2015

so like... this?
Quote

Creator's Photo Creator 24 Nov 2015

That's where thebidea came from
Quote

CORGIDOG's Photo CORGIDOG 26 Nov 2015

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)
Quote

biggest yikes's Photo biggest yikes 19 Dec 2015

 CORGIDOG, on 26 November 2015 - 07:14 PM, said:

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!
Quote

Creator's Photo Creator 19 Dec 2015

I actually showed the web version to one of my friends in IT class and he fell for it. Was pretty fun.
Quote

LeDark Lua's Photo LeDark Lua 25 Dec 2015

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 by LeDark Lua, 25 December 2015 - 10:02 PM.
Quote

D4rkSol1tud3's Photo D4rkSol1tud3 27 Dec 2015

This is pretty cool, would be nice if it maintained the color highlighting of code in the advanced computer.
Quote

Creator's Photo Creator 27 Dec 2015

 D4rkSol1tud3, on 27 December 2015 - 10:39 AM, said:

This is pretty cool, would be nice if it maintained the color highlighting of code in the advanced computer.

Highlighting like edit?
Quote

D4rkSol1tud3's Photo D4rkSol1tud3 27 Dec 2015

 Creator, on 27 December 2015 - 10:40 AM, said:

 D4rkSol1tud3, on 27 December 2015 - 10:39 AM, said:

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
Quote

Creator's Photo Creator 27 Dec 2015

 D4rkSol1tud3, on 27 December 2015 - 07:46 PM, said:

 Creator, on 27 December 2015 - 10:40 AM, said:

 D4rkSol1tud3, on 27 December 2015 - 10:39 AM, said:

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.
Quote