Malik_Gynax Officer
Posts : 6 Join date : 2010-12-20
| Subject: Malik's Magic Macro! (AutoIT) Sun Dec 26, 2010 2:58 am | |
| For this to work, set 9 to your starter weapon. 8 to your staff. You also must start the macro in spellcasting mode. You can edit the spells cast in the for loops but this is just how I have it set up for GM right now... 5 = Confusion 3 = Health to Mana 4 = Heal Other If you want to exclude confusion, just put a ; in front of the line CastSpell("5", 3000); If you understand how it works, you can set it up however you want. Enjoy. Ask me in game if you have any questions. This macro will keep you running even if your staff breaks. It's magic! Now you can grind GM mana efficiency and burn 6000 mandrake a day like me for 5 points... enjoy. - Code:
-
Global $Paused HotKeySet("'", "TogglePause") HotKeySet("{DEL}", "Terminate")
WinWaitActive("Darkfall Online") Sleep(3000)
While 1337 Sleep(500) Send("R") Sleep(500) EquipItem("9"); EquipItem("8"); Sleep(500) Send("R"); Sleep(500) For $k = 1 To 20 CastSpell("5", 3000); CastSpell("3", 2000); For $i = 1 To 6 CastSpell("4", 4800); Next Next WEnd
Func EquipItem($pressKey) Sleep(1000) Send($pressKey) Sleep(500) EndFunc
Func CastSpell($pressKey, $restTime) Sleep(250) Send($pressKey) Sleep(500) MouseClick("Left") Sleep($restTime) EndFunc
Func TogglePause() $Paused = NOT $Paused While $Paused Sleep(100) ToolTip('Script is "Paused"', 0, 0) WEnd ToolTip("") EndFunc
Func Terminate() Exit 0 EndFunc | |
|