AutoWalk ? Recording keystrokes :)

Status
Not open for further replies.

Bradmag

Member
Joined
Aug 29, 2013
Messages
15
Reaction score
0
Hello,

Seeking cheat precisely AutoDrive or AutoWalk, I do not know how I should name them, rather the way in Recording Key.
I simply needed something to me recorded it with what I'm doing, and then I could go.
These things are a lot but neither is done so to record your keyboard.
Mostly saved position and then venturing.
But I just need to record keystrokes and then let it go (Top repeatedly until you stop it)

e.g.
I hold the "W" then I jump "Shift"
And now I could go and that is exactly what happened. Strictly one for me, squeeze the keyboard.
(So ??how does it work AntiAFK Bot)

Thanks in advance :) :):)

Sorry for the English.
 

Jon

Active member
Joined
Aug 1, 2013
Messages
40
Reaction score
0
I don't know any sort of cleo that does the job, but luckily for you, I know an AHK script for you.

http://www.mediafire.com/?oyn3qodzakqp7rk

What does this do exactly? The script allows you to run automatically by holding down keys, but the macro is tapping them every millisecond basically so your running performance is to it's max.

How do you activate the bind?
Start walking normally, then hold down R+SPACE. So, (W+R+SPACE). Hold your finger on R but let go of SPACE and you can use left and right to direct your character.

It works for users using different controls, so... if you LSHIFT for running then you can activate it using (P+R+LSHIFT). It's for left handed users.

It has been compiled for non-AHK users, but if someone happens to be a fellow AHK user then you can have the source. This is a rather simple script.
Sourcecode:
~r & space::
setkeydelay, 60
loop
{
send {space down}{space up}
if getkeystate("lshift","p")
send {shift down}{shift up}
if !getkeystate("r","p")
break
}
return

Scripting language - AutoHotKey
 

Bradmag

Member
Joined
Aug 29, 2013
Messages
15
Reaction score
0
Thank you very much.
But for me it's very unnecessary.
I need two keyboards PTM + LALT, two keyboards ever again after 10 seconds. :) :):)
For what you sent me I do not know how to do it (the Win8 I can not put into operation)
 

Jon

Active member
Joined
Aug 1, 2013
Messages
40
Reaction score
0
I'm sure someone else can create you a rather simple CLEO script for your needs, I can't quite comprehend what you need. This is something I made personally for myself so I can't expect it to fulfill your needs, if you don't know how to use the script then unlucky.
 

Bradmag

Member
Joined
Aug 29, 2013
Messages
15
Reaction score
0
So for me, such a setup would be quite lengthy and I do not know if there would even took keystrokes.
I simply need a script that would after enable (instead of me) still click on the button LALT + PTM at 10 second intervals.
But because nothing like this is not specific so I relied on that it is something where I could easily configure (rather than fast lightly. :D :D:D )
 

Jon

Active member
Joined
Aug 1, 2013
Messages
40
Reaction score
0
Download: http://www.mediafire.com/?dpcw6k18sv4l7e7

Activate it with LALT & 9

Why didn't you say so?
This script does exactly what you say.
But it only works in SA-MP, I coded it like that so you aren't right clicking all over the place.

AutoHotKey Source code
Code:
;Presses LALT and RMB every 10 seconds

IfWinExist, GTA:SA:MP

LALT & 9::
Loop

{

Send, {LALT}
Click, right

Sleep, 10000

}

Return
 

Maskoo

Active member
Joined
Feb 20, 2013
Messages
37
Reaction score
0
Download: http://www.mediafire.com/?dpcw6k18sv4l7e7

Activate it with LALT & 9

Why didn't you say so?
This script does exactly what you say.
But it only works in SA-MP, I coded it like that so you aren't right clicking all over the place.

AutoHotKey Source code
Code:
;Presses LALT and RMB every 10 seconds

IfWinExist, GTA:SA:MP

LALT & 9::
Loop

{

Send, {LALT}
Click, right

Sleep, 10000

}

Return
Why are you making stuff so spaced out?
Just stick them altogether... It's way much clearer! (it might be a matter of preference though)

Also, instead of "LALT & 9" you could just write "!9"
http://www.autohotkey.com/docs/Hotkeys.htm
 

Jon

Active member
Joined
Aug 1, 2013
Messages
40
Reaction score
0
[quote author="Jon"]Download: http://www.mediafire.com/?dpcw6k18sv4l7e7

Activate it with LALT & 9

Why didn't you say so?
This script does exactly what you say.
But it only works in SA-MP, I coded it like that so you aren't right clicking all over the place.

AutoHotKey Source code
Code:
;Presses LALT and RMB every 10 seconds

IfWinExist, GTA:SA:MP

LALT & 9::
Loop

{

Send, {LALT}
Click, right

Sleep, 10000

}

Return
Why are you making stuff so spaced out?
Just stick them altogether... It's way much clearer! (it might be a matter of preference though)

Also, instead of "LALT & 9" you could just write "!9"
http://www.autohotkey.com/docs/Hotkeys.htm [/quote]

I could of simplified the code a lot, but I wanted people to interpret it and understand it more.
 

Bradmag

Member
Joined
Aug 29, 2013
Messages
15
Reaction score
0
Thank you,
Thanks to you I learned about this possibility.
But somehow, in that I can not find your way around.
I need that it held the right mouse button and while it clicked on the left alt.
On the official site I somehow understand.
Thus -> zla?ítka holding the right mouse -> Click on the left alt -> 10 seconds -> and again :) :):)
I tried it like this:

Code:
Loop
{
~RButton::
KeyWait, RButton, T3.0
Send, {LALT}
Sleep, 10000
}
Return

But it does not work at all in Windows.
(Conditions I removed because I'm in SA: MP does not work at all)
Thank you in advance for your reply :) :):)
 

Maskoo

Active member
Joined
Feb 20, 2013
Messages
37
Reaction score
0
wat
Could help you but... I CANT UNDERSTAND. "I need that it held the right mouse button and while it clicked on the left alt." ??? Also dafuq is a zla?ítka?
 

Bradmag

Member
Joined
Aug 29, 2013
Messages
15
Reaction score
0
Sorry, my keyboard jumped on Russian and I noticed it.

Holding the right mouse button -> Press LALT -> releasing the right mouse button -> 10 seconds -> again :) :):)

Sorry I have a problem with the keyboard :) :):)
Sorry for the my typing skills :D :D:D
 

Maskoo

Active member
Joined
Feb 20, 2013
Messages
37
Reaction score
0
OOH BUT YOU ARE THE ORIGINAL THREAD OWNER.
Soo it means Jon's script doesn't work? JON. COME BACK. YOUR PEOPLE NEEDS YOU.

Anyway, give this a try:
Code:
#NoEnv  ; Recommended for performance and compatibility with future AutoHotkey releases.
#IfWinActive GTA:SA:MP

q::stop:=!stop		; Press this key to stop the loop (q)
return

!9::				; ALT+9 to turn on the loop
stop = 0
Loop
{
  If stop = 1
      Break
SendInput, {LALT down}{RButton down}{RButton up}{LALT up}
sleep 10000
}
Return
BUT!! Remember that the hotkeys might change depending on your keyboard layout.
For example, !9 won't work for me because my layout is "Belgian (dot)". I'd have to press SHIT+ALT+9 or just make it !ç instead.
 

Bradmag

Member
Joined
Aug 29, 2013
Messages
15
Reaction score
0
Thanks but even so I'm not working.
I turn on it in "Debug mode" and everything worked but in the game nothing happened.
So I thought (sorry if it's stupid) if you do not switch the keyboard simultaneously.
In the game, I also tried to press the right mouse button with the left alto and nothing happened.
 

Jon

Active member
Joined
Aug 1, 2013
Messages
40
Reaction score
0
If I don't get clear instructions, you'll get a shit script, simple as that. I'm scripting what they're saying.

Sometimes AHK scripts don't work in games, there's nothing you can do about it either sometimes. Although, there's probably a work-around.
 

Bradmag

Member
Joined
Aug 29, 2013
Messages
15
Reaction score
0
Sometimes AHK scripts do not work in games

Ok, that's a shame.
Thus yet you do not know a method?

Otherwise, once again I apologize for my English.
 

Jon

Active member
Joined
Aug 1, 2013
Messages
40
Reaction score
0
Sometimes AHK scripts do not work in games

Ok, that's a shame.
Thus yet you do not know a method?

Otherwise, once again I apologize for my English.

Theoretically, his code should work splendid. But it doesn't, try this... It's pretty much the same but a tad different.


Code:
SetBatchLines -1
SendMode Input
IfWinExist, GTA:SA:MP

s::stop:=!stop

LCTRL & 1::
stop = 0
Loop
{
	If Stop = 1
		Break
	Send, {LALT Down} {LALT Up} {Rbutton Down} {Rbutton Up}
	Sleep, 10000
  
}
return

This variation he demonstrated is correct and it's the most efficient way to go, if it doesn't work then I'd suggest you go ask in the CLEO section about this, because AHK wasn't really designed for gaming as it was designed for automating windows programs.
 

Bradmag

Member
Joined
Aug 29, 2013
Messages
15
Reaction score
0
Well thank you, unfortunately, even your version did not work therefore I'm inquire into the second section.
But even so both of you thank you very much :) :):)
 
Status
Not open for further replies.
Top