Jump to content
AC Tool Forums
Sign in to follow this  
pierre08

[How]Use F1, F2 key in macro?

Recommended Posts

Hi mate !

 

i want to use the Key F1 and F2 in my marco for Knight online.

 

But my code don't working :

Keydown {F1}

 

How can i say to my Macro : " Press F1 " and Press F2" ?

 

Thx ...

Share this post


Link to post
Share on other sites

Here is all my macro, but change F7 and F8 don't work :S

SetActiveWindow Knight OnLine Client
Constants
Heal = 6 // HP
Mana = 8 // MANA
attaque1 = 3 // attaque F1
cicble = w // target
Wolf = 7 // strength of wolf 
mob = 1
F1 = {F7}
F2 = {F8}
end

procedure F1
keys {F7} 0.10 sec
end

procedure F2
keys {F8} 0.10 sec
end

Procedure mob
keydown z 0.10 sec
end

Procedure cible
keydown w 0.266 sec
end

Procedure Heal
Isred 90, 40
Else
keys $Heal
End
End

Procedure Mana
Isblue 80, 55
Else
Keydown 8 0.36 sec
End
End

Procedure Wolf every 124 sec
keydown $wolf 1 sec
delay 1 sec
end

Procedure attaque1
keydown r 0.31 sec
keydown 1 0.31 sec
keydown r 0.31 sec
keydown r 0.31 sec
keydown 2 0.31 sec
keydown r 0.31 sec
keydown r 0.31 sec
keydown 3 0.31 sec
keydown r 0.31 sec
keydown r 0.31 sec
keydown 4 0.31 sec
keydown r 0.31 sec
keydown r 0.31 sec
keydown 5 0.31 sec
keydown r 0.31 sec
end

while 1 = 1
processmessages
call Heal
call Mana
call cible
call mob
call F1
call attaque1
call cible
call F2
call attaque1
call mob
delay .05 Sec
end

Share this post


Link to post
Share on other sites
Here is all my macro, but change F7 and F8 don't work :S

mob = 1
F1 = {F7}
F2 = {F8}
end

 

1. You have 3 constants that your not using anywhere in your macro.

2. In the past Knights Online will stop working if it detects ACTools running. Something to do with the Fact KO uses Xtrap or GameGuard. Anti-Scripting safe Guards.

3. Doesn't KO require DirectX Input? ACTools doesn't support DirectX Input.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use and to our Privacy Policy.