This is just a simple piece of code written in AC Tools that automatically attacks, pots, and uses wolf.
::I did use other code as a reference, but this is completely a homemade program and not stolen!!
First, you will need the program. If you have it already just skip to the actual code.
You can download it here:
AC Tools
After you have the program, copy this code straight into it a new document
(!empty($user->lang['CODE'])) ? $user->lang['CODE'] : ucwords(strtolower(str_replace('_', ' ', 'CODE'))):
SetActiveWindow KnightOnline Client
Constants
heal = 7
mana = 8
attack = 1
wolf = 5
end
Procedure Heal
isRed 146, 43
else
Keys $heal
end
End
Procedure Mana
isBlue 150, 61
else
Keys $mana
end
End
Procedure Attack
keys z
delay 10
keys z
delay 10
keys z
delay 10
keys z
delay 10
keys z
delay 10
keys $attack
keys $attack
delay 10
keys $attack
keys $attack
delay 10
keys $attack
keys $attack
delay 10
keys $attack
keys $attack
delay 10
keys $attack
keys $attack
delay 10
end
Procedure Wolf
keys $wolf
delay 20
keys $wolf
delay 20
keys $wolf
delay 20
end
while 1=1
isRed 1010, 101
Call Heal
Call Mana
Call Attack
else
Call Wolf
end
end
Now that you have the code, all you need to do is setup your keys!
Just change the numbers in the "Constants" section of the code to match your skill bar.
Ex. If my healing skill or item was in the 1st slot of my skill bar, the code would look like
(!empty($user->lang['CODE'])) ? $user->lang['CODE'] : ucwords(strtolower(str_replace('_', ' ', 'CODE'))):
Constants
heal = 1
end
Once your skills are setup, just go to the "Macro" menu in the top of AC Tools, and click start macro. And that's it! Congratulations on your working Macro.
PS: To stop the macro once it's begun, just simply press "Alt+Tab" to AC Tools and go to the same menu you started it from and click stop macro.
Please give me yays and thanks!!!!
Extra Notes:
To start and stop the macro easier, you can also go to the "Editor" dropdown menu and then click "Preferences". Then click the "Global HotKeys" tab and set them to whatever keys you want to start and stop the program.
Make sure you check the "Use Global Hot Keys" box.
(You may need to press the stop multiple times before it actually stops)
BTW, This is my FIRST post and FIRST actual program i have ever really done. So please don't tell me about how my program is ineffiecent and stupidly created. I know someone could probably make this MUCH better, but it works perfectly fine for me! That doesn't mean tips on improvements aren't appreciated though.
THANKS