Register for your free account! | Forgot your password?

Go Back   elitepvpers > Coders Den > AutoIt
You last visited: Today at 06:07

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



send - command doesn't work in minecraft

Discussion on send - command doesn't work in minecraft within the AutoIt forum part of the Coders Den category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Feb 2013
Posts: 2
Received Thanks: 0
Question send - command doesn't work in minecraft

Hey,
i'm new to autoit and wanted to start of by writing a script that's supposed to do knothing but let the minecraft figure run and jump over a hole, but my problem is it stops running before jumping and space also isn't pressed every time

Code:
#include <Misc.au3>

$letter = "4a" ;"j"

while 1
   
while _IsPressed($letter)=0 ;start script when "j" is pressed
   sleep(10)
WEnd

send("w")
send("{w down}") ;double w -> run
sleep(200)
send("{SPACE}") ;jump
sleep(200)
send("{w up}")

WEnd
thx in advance
zerox
zerox3015 is offline  
Old 04/30/2013, 15:42   #2
 
Achat's Avatar
 
elite*gold: 528
Join Date: Jan 2012
Posts: 2,127
Received Thanks: 2,403
Put
Code:
#requireadmin
ontop of your script. Sometimes it helps.

Kind Regards
Achat is offline  
Old 05/01/2013, 11:34   #3
 
elite*gold: 0
Join Date: Feb 2013
Posts: 2
Received Thanks: 0
I already tried, didn't work for me..-.-
But thanks for your quick answer
zerox3015 is offline  
Old 05/01/2013, 12:49   #4
 
YatoDev's Avatar
 
elite*gold: 50
Join Date: Sep 2012
Posts: 3,841
Received Thanks: 1,462
Code:
#RequireAdmin
#include <Misc.au3>

$letter = "4a" ;"j"

while 1
   
while _IsPressed($letter) ;start script when "j" is pressed
   sleep(10) ;script do this if letter is pressed
WEnd

send("w")
send("{w down}") ;double w -> run
sleep(200)
send("{SPACE}") ;jump
sleep(200)
send("{w up}")

WEnd
isnt this better ?
Code:
#RequireAdmin
#include <Misc.au3>

$letter = "4a" ;"j"

while 1

If _IsPressed($letter) Then ;start script when "j" is pressed
   sleep(10) ;script do this if letter is pressed
Else
;if not is pressed then do this
send("w")
send("{w down}") ;double w -> run
sleep(200)
send("{SPACE}") ;jump
sleep(200)
send("{w up}")
EndIf
WEnd
YatoDev is offline  
Old 05/01/2013, 22:04   #5
 
Croco™'s Avatar
 
elite*gold: 235
Join Date: Jan 2012
Posts: 920
Received Thanks: 377
Try it with ControlSend.
Croco™ is offline  
Old 05/04/2013, 22:41   #6
 
FacePalmMan's Avatar
 
elite*gold: 0
Join Date: Jan 2013
Posts: 426
Received Thanks: 129
4A is j as a capital letter. keyboards don't return capital letters. try 6A instead of 4A!
FacePalmMan is offline  
Reply


Similar Threads Similar Threads
/warp.... Befehl nicht funktioniert /command doesn't work
04/19/2012 - Metin2 Private Server - 0 Replies
Hi guys & grls, i have problem with command /warp ,..... Any "warps" teleports to the same place, just where I stand. syser server : first test: SYSERR: Apr 16 19:20:18 :: WarpSet: cannot find map location index 0 x 91110000 y 91110000 name admine scnd test: SYSERR: Apr 16 19:25:15 :: Process: SEQUENCE 461eb500 mismatch 0xaf != 0x0 header 254 SYSERR: Apr 16 19:25:15 :: Process: SEQUENCE_LOG -------------
/warp.... Befehl nicht funktioniert /command doesn't work
04/16/2012 - Metin2 Private Server - 0 Replies
Hi guys & grls, i have problem with command /warp ,..... Any "warps" teleports to the same place, just where I stand. syser server : first test: SYSERR: Apr 16 19:20:18 :: WarpSet: cannot find map location index 0 x 91110000 y 91110000 name admine scnd test: SYSERR: Apr 16 19:25:15 :: Process: SEQUENCE 461eb500 mismatch 0xaf != 0x0 header 254 SYSERR: Apr 16 19:25:15 :: Process: SEQUENCE_LOG -------------
/run command Doesn't work
12/02/2011 - Rappelz Private Server - 8 Replies
solved
ArcadiaRepack - Command doesn't Work
09/18/2011 - Rappelz - 3 Replies
Salut tous, Quand j'écris par exemple " #insert_item( 540037, 50, 50, 50, 1, "Character Name") " je trouve rien dans l'inventaire mais les autre command buff , warp learn skill sa marche _________________________________________________ __ Hi All, When I write for example "# insert_item (540,037, 50, 50, 50, 1," Character Name ")" I find nothing in the inventory but the other command buff, learn skill warp its progress



All times are GMT +1. The time now is 06:07.


Powered by vBulletin®
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2025 elitepvpers All Rights Reserved.