|
You last visited: Today at 06:07
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.
04/30/2013, 14:43
|
#1
|
elite*gold: 0
Join Date: Feb 2013
Posts: 2
Received Thanks: 0
|
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
|
|
|
04/30/2013, 15:42
|
#2
|
elite*gold: 528
Join Date: Jan 2012
Posts: 2,127
Received Thanks: 2,403
|
Put
ontop of your script. Sometimes it helps.
Kind Regards
|
|
|
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
|
|
|
05/01/2013, 12:49
|
#4
|
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
|
|
|
05/01/2013, 22:04
|
#5
|
elite*gold: 235
Join Date: Jan 2012
Posts: 920
Received Thanks: 377
|
Try it with ControlSend.
|
|
|
05/04/2013, 22:41
|
#6
|
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!
|
|
|
 |
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.
|
|