CC Autotyper v3.0.1
M&P Final w/ Windows Fix
A Replacement to Mudkip Autotyper
Now with Pausing and Terminating Keybindings, AutoComplete, Minification and a GUI!
With the introduction of minification, I must thank Mathias Bynens for his wonderful luamin utility.
This Application Requires Java 8 or above. Windows versions are distributed with the Java SE 8 update 40 Runtime Environment. This is to allow for a cleaner, native-ish GUI and to allow access to the Nashorn Scripting Engine allowing leverage of JavaScript scripts.
The niche Autotyper program, completely re-written under a new brand. This program is currently entirely written in Java and JavaScript and operates around your Minecraft instance. Simply execute the program as desired and move to the Minecraft window, from there it will start type out the file it was given into the game!
It's quite simple to run anyway. Eventually I will throw in a batch script and shell script just for fun. When there is a GUI, the program will be available as an executable (for Windows and Unix) and will launch directly into a more friendly GUI. As of v2.0a this is via JavaFX providing a much more consistent and friendly user experience, although a Swing version is provided should JavaFX not be available.
Currently this is meant to produce functional programs, not readable programs. Therefore, comments and whitespace are mostly stripped out. Indenting I will look into adding back in. It's fast and has worked on the 3 programs I have tried so far:
- Adavanced Calculator by Cranium
- Milkshake GUI Proof Of Concept by lednerg
- Bubbles! by KingofGamesYami
Source : CCAutotyper GitHub
Changes : GitHub Changelog
Issues : GitHub Issues
Executable Shell Script (Unix) and Windows Executables Available. Follow the proceeding instructions for commandline execution.
How To:
java -jar ccautotyper.jar [file|url|paste|gui] <location> [-wait] [-inDelay] // Usage available through: java -jar ccautotyper.jar // Example (20 ms Input Delay, 5 second Wait): java -jar ccautotyper.jar paste JCR8YTww -inDelay 20 -wait 5 // or java -jar ccautotyper.jar gui
As of v0.2a pressing alt + P will toggle pausing and alt +S will terminate the autotyper see release for details.
It is recommended you let the program go to completion, the Robot will continue to type once you leave the Window. I will see if I can do anything about that but it's difficult to listen for arbitrary keypresses outside of a Java GUI in Java. Looking for changes in Window Focus is unlikely but possible... But not without a GUI.
Parameter Descriptions:
The Required Parameters (In Specific Order):
[file|url|paste|gui] <location>
[flag|url|paste|gui] - Simply choose one of the 3 selections. File indicates a file will be given on the local file system. 'url' indicates a VALID URL will be given. 'paste' indicates a Pastebin Code will be given. Putting 'gui' does not require a location and should be the only argument.
<location> - This is dependent on the flag selection. For 'file' a Path is given (relative or absolute), for 'url' a valid URL is supplied (e.g. http://www.computercraft.info), for 'paste' a valid Pastebin code is given (i.e. JCR8YTww [Which is the 'Bubbles!' Program]).
The Optional Parameters (No Specific Order):
[-wait] - A flag to indicate how long the Autotyper should wait before parsing the file and typing.
Example: '-wait 5' will wait 5 seconds. [Default: 10]
[-inDelay] - A flag to indicate how long the Autotyper should wait between keypresses. In milliseconds. You might say "1 millisecond of couse!" but this does not always work if Minecraft is expriencing severe FPS and input lag. Minecraft is pretty good... I can run at 10 milliseconds but the default is 40 milliseconds. Which can be a while. [Default: 40]
Copyright 2014 Matthew Crocco under the GPL v3
What does this mean, you ask? Here is a TL;DR Legal Summary
But seriously, feel free to create derivatives of this work as long as you keep it Open Source and Free.
Technical Details will be found on GitHub for those interested when I get to it. It's unfortunate my super-fast Copy and Paste solution failed...
Any and All Issues or Requests should be posted on GitHub... but I will check here of course.
Edited by MatthewC529, 19 July 2015 - 09:49 PM.