Jump to content




Minecopy V2 [Linux][Windows]



  • This topic is locked This topic is locked
30 replies to this topic

#21 tdlab

  • Members
  • 17 posts

Posted 27 September 2012 - 07:17 PM

This Is Epic! Orwell you are a god!

#22 Caradain

  • New Members
  • 1 posts

Posted 30 September 2012 - 02:50 AM

Hello there, how do i get your program to slow down its key strokes, I can not find a way of getting to your programming..I Have it working .... just it's too fast for the server I am or something. Be gentle with me I am a noob.

PS you guys are great.

#23 Hexus_One

  • New Members
  • 9 posts

Posted 18 October 2012 - 06:31 AM

I /think/ you change DEF_KEY_SPACING to a larger number, such as 10.
Also, exactly how long is the time spacing (ie how much time would, say, 1000 take)?

#24 CoolisTheName007

  • Members
  • 304 posts

Posted 19 October 2012 - 03:50 PM

Hi, I improved your program by:
-adding tab support (replaces tabs by fixed ammount of spaces);
-fixing a line that broke the window custom name;
-adding a sleep before typing the rm command, that kept loosing a 'm';
-allowing parameters to be set by arguments from the command line;
-added several try clauses with error descriptions for ease of use;
I concluded also that adding an extra encoding support would be redundant because ComputerCraft does not deals well with non-ascii characters.
I attach bellow the files I modified (extension .txt must be changed to .py) , which must replace the ones originally posted in order to work, the rest of the installation is necessary. Usage is described upon call with no arguments.

PS: Your program is great!!!

Attached Files



#25 Orwell

    Self-Destructive

  • Members
  • 1,091 posts

Posted 19 October 2012 - 04:59 PM

View PostHexus_One, on 18 October 2012 - 06:31 AM, said:

I /think/ you change DEF_KEY_SPACING to a larger number, such as 10.
Also, exactly how long is the time spacing (ie how much time would, say, 1000 take)?

I believe your talking about my program? It has finally gotten his own thread. : ) Check it out here: http://www.computerc...thout-http-api/
I will fix the bugs that CoolistheName007 posted there as soon as I've time (as you'll find there, key spacing is in ms).

#26 CoolisTheName007

  • Members
  • 304 posts

Posted 19 October 2012 - 05:13 PM

View PostOrwell, on 19 October 2012 - 04:59 PM, said:

View PostHexus_One, on 18 October 2012 - 06:31 AM, said:

I /think/ you change DEF_KEY_SPACING to a larger number, such as 10.
Also, exactly how long is the time spacing (ie how much time would, say, 1000 take)?

I believe your talking about my program? It has finally gotten his own thread. : ) Check it out here: http://www.computerc...thout-http-api/
I will fix the bugs that CoolistheName007 posted there as soon as I've time (as you'll find there, key spacing is in ms).
Well, I ended up looking at kazagistar program, because you didn't seem alive (I'm so impatient, sorry :P/>) and because I'm more familiar with Python.
Maybe inspecting kazagistar program will help you? At least the part with ^ and other characters. In his program, those were control characters for the API he used to type, so he had to make a workaround which consisted of surrounding them with proper control characters.

#27 CoolisTheName007

  • Members
  • 304 posts

Posted 19 October 2012 - 07:47 PM

Just finished adding support for either file paths relative to the current directory, or absolute paths.
The Lua compression files, if generated, are still kept in the minecopy folder.
Included this change in the command line help responses.

Together with adding the minecopy directory path to the system Path environment variable, this allows to do from anywhere:
>minecopy.py [parameters changes] [file path]

Below is the file I modified (change exension to .py).

Attached Files



#28 Orwell

    Self-Destructive

  • Members
  • 1,091 posts

Posted 20 October 2012 - 08:16 PM

I was responding to Hexus_One : ) Let's use this thread for the original program for now on. And I don't need to look at his code :)/> I just need time, I'm very busy with my thesis right now. :/ You could patch my program yourself :)/> hint, hint

#29 CoolisTheName007

  • Members
  • 304 posts

Posted 05 November 2012 - 10:49 PM

Ok, I modified the below file (rename the extension to .py) to include a pause to prevent typing of long programs to be interrupted by server kicking for inactivity.
Also, I added the minecopy folder to my path (see kazagistar's post, the programmer who made minecopy) so I can access it from anywhere!

Attached Files



#30 ttouch

  • New Members
  • 2 posts

Posted 07 January 2013 - 06:45 AM

can I uploaded on github? (of course all credit will be yours)

#31 Curly_Bracket

  • Members
  • 3 posts

Posted 24 November 2013 - 05:00 AM

Hi!
I've made pretty much the same thing, except in C, so it can be compiled on Windows without the need for Python or Lua.

I suggest to go see the source link if you are unfamiliar with command prompt.
The source is available here.
And the binary here.





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users