here is a script for actool basic archers macro but works well with most
Code: Select all
SetActiveWindow Knight OnLine Client
CommandDelay 100
KeyRate 90
Constants
//========== your skill slots =================//
//Key 1 through shot
//Key 2 through shot (or other archery skills)
//Key 3 minor heal
//Key 4 archery (when you run out of mana pots)
//Key 5 safety
//Key 6 mana pot
//Key 7 hp pot
//Key 8 wolf
//=============== Arrange your skillbar =======//
WolfKey = 8
BackupHpPot = 7
//=============== 1 = yes , 0 = no ============//
wolff = 1
repairr = 0
safetyy = 1
//======== 1 = Right slot, 2 = Left slot ======//
bow = 2
//=============================================//
End
//======AC===========//
procedure safety Every 35 sec
if $safetyy = 1
delay 200
keydown 8 100 | 100
delay 200
end
end
//======Wolf===========//
procedure wolf Every 124 sec
if $wolff = 1
delay 1300
keydown 8 100 | 100
delay 50
end
end
//======Attack=========//
Procedure attack
Keys 1z2
Keys 12
Keys 21
Keydown 2 100 | 100
Keydown 1 100 | 100
Keydown 2 100 | 100
End
//======Heal===========//
Procedure heal
IsBlack 210, 10
keys 3333
End
IsBlack 210,10
keys 3333
End
End
//======Mana===========//
Procedure mana
IsBlack 165, 27
Keys 6
End
End
//======Repair=========//
procedure RepairRightSide every 15 min
if $repairr = 1
if $bow = 1
delay 100
MousePos 993, 192
delay 100
leftclick
leftmousedown
delay 800
leftmouseup
delay 100
leftmousedown
delay 800
leftmouseup
end
end
end
procedure RepairLeftSide every 15 min
if $repairr = 1
if $bow = 2
delay 100
MousePos 880, 188
delay 100
leftclick
leftmousedown
delay 800
leftmouseup
delay 100
leftmousedown
delay 800
leftmouseup
end
end
end
while 1 = 1
ProcessMessages
Call attack
call heal
call mana
Call attack
Call heal
call mana
End