postreply Home » Forums » Knight Online » KO Submissions

Mage Macro : KO Submissions

Posted: July 11th, 2005, 10:21 am
haxhax
This is an ACtools macro

Use process guard to protect it from being scanned by hackshield



Code: Select all

SetActiveWindow Knight OnLine Client
ObjVar 10
CommandDelay 50
KeyRate 100


Constants
//-----]Memory Address Setting[-----
//-----     Don't touch   ----------
baseMemL = 7AE004
tHpMem = noValue
hpMem = noValue   
baseMemAdd = noValue


//-----]Attack settings[-----
skills = 3 // Number of skills to use
skslot1 = 1 // Close range attack or failsafe
skslot2 = 2 // Skill slot 2
skslot3 = 3 // Skill slot 3
skslot4 = 4 // skill slot 4
keyDelay = 0.05

//-----]Misc Options[------
minhp = 200 // When to use HP Pot
hpPot = 6  // Key for HP Pots
mpPot = 5  // Key for MP Pots
npcOnly = 1 // Target NPC only 1 = yes 0 = no
siturassdown = 1 // Sit = 1; MP Pots = 0
restTime = 35 sec

End
//------------]END OF SETTINGS[--------------

//-------------------]No touchy[------------------
Procedure SetupMemoryAdresses
ReadMemory $baseMemAdd = $baseMemL, LongWord

Compute $tHpMem = $baseMemAdd + 936
Compute $hpMem = $baseMemAdd + 940

DecToHex $tHpMem = $tHpMem
DecToHex $hpMem = $hpMem
End

//-----]Healing procedure[-----
Procedure CheckHealth
Constants
 CurrentHealth = noValue
End

ReadMemory $CurrentHealth = $hpMem

If $CurrentHealth <= $minhp
  Keys $hpPot
End
End


//-----]Find Attack procedure[-----
Procedure attack
isred 446, 49
else
  if $npcOnly = 0
    Keys z
    delay 150
  else
    Keys b
    delay 150
  End
  if $skills = 1
    Call attack1 // Calls Attack 1 :: Close range only or failsafe
  end
  if $skills = 2
    Call attack2 // Calls Attack 2 :: 2 Skills
  end
  if $skills = 3
    Call attack3 // Calls Attack 3 :: 3 Skills
  end
  if $skills = 4
    Call attack4 // Calls Attack 4 :: 4 Skills
  end
End
End

//----]Attack procedures[-----
Procedure attack1
KeyDown $skslot1 $keyDelay sec
delay 150
End

Procedure attack2
KeyDown $skslot2 $keyDelay sec
KeyDown $skslot1 $keyDelay sec
delay 150
End

Procedure attack3
KeyDown $skslot2 $keyDelay sec
KeyDown $skslot3 $keyDelay sec
KeyDown $skslot1 $keyDelay sec
delay 150
End

Procedure attack4
KeyDown $skslot2 $keyDelay sec
KeyDown $skslot3 $keyDelay sec
KeyDown $skslot4 $keyDelay sec
KeyDown $skslot1 $keyDelay sec
delay 150
End
//-----]END of Attack procedures[-----

//-----]Mana restore procedure[-----
Procedure mana
IsBlue 206, 27
Else
  If $siturassdown = 1
    Call rest
  Else
   Keys $mpPot
  end
End
End

//-----]Rest procedure[-----
Procedure rest
keydown c 0.5 sec
delay $restTime
End

Call SetupMemoryAdresses
//say /Block_Trade_Request // you can turn this on if you like
//say /Block_Party         // just remove the //
While 1=1
ProcessMessages
Delay 150
Call CheckHealth
Call mana
Call attack 

End
Posted: July 28th, 2005, 4:43 pm
powr puppet
WHat is a Process Guard? where can i get one? And do you know of a Rogue Archer macro that i can use? :twisted:
Posted: August 9th, 2005, 1:10 am
arachna
i play malasian server, would it be usefull for Xydonis server????
or are all the hacks for us servers??
if so i paid the money for nothin... :(
Posted: August 9th, 2005, 12:00 pm
Tault_admin

Total Posts: 29972
Joined: November 9th, 2002, 9:57 am
User avatar
administrator
administrator
This macro should work on most any server.
Posted: August 9th, 2005, 10:37 pm
powr puppet
The only thing you dont realize is that knights kick you out when you open actools now. I tried a few different ways getting around it and i dont seem to be able to. The Process guard doesnt even work when knights online is on.
Posted: August 9th, 2005, 10:55 pm
arachna
thats correct and im tryin to find a way for it, if you ever find it pls share it with me puppet

arachna@walla.com
Want Advertisements After The Last Post Removed? Create A Free Account!
blue large dotWho is online
Users browsing this forum: No registered users and 2 guests
postreply