postreply Home » Forums » Knight Online » KO Submissions

Simple Archer Bot - AC Tools : KO Submissions

Posted: January 21st, 2010, 6:31 pm
lndownage

Total Posts: 12
Joined: October 21st, 2006, 3:11 pm
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

Code: Select all

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

Code: Select all

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
Posted: January 25th, 2010, 5:32 pm
Tault_admin

Total Posts: 29974
Joined: November 9th, 2002, 9:57 am
User avatar
administrator
administrator
Can members say yay or nay to this so we may give tu bucks and/or premium. If you nay the submission remember to include as to why.
Posted: May 26th, 2010, 10:43 am
mazakou1

Total Posts: 57
Joined: May 26th, 2010, 9:04 am
Active User > 50 Posts
Active User > 50 Posts
yay, sounds simple enough.
might try this real quick :)

edit: not really working for me, perhaps they got a fix for it in the meantime. Mind trying it out again for me, i'm looking for something that works like koxp, i don't mind it being simple like this 1.
Posted: August 2nd, 2010, 5:34 pm
purepwnage1

Total Posts: 8
Joined: July 29th, 2010, 9:07 am
nay.....
all it does is rapidly hit ur wolfs and burns through them
nothing else...
does not work at all
Want Advertisements After The Last Post Removed? Create A Free Account!
blue large dotWho is online
Users browsing this forum: No registered users and 5 guests
postreply