The Empire
The Empire
The Empire
Would you like to react to this message? Create an account in a few clicks or log in to continue.

The Empire


 
HomeLatest imagesSearchRegisterLog in
~~~http://www.empire-uw.com NEW OFFICIAL WEBSITE http://www.empire-uw.com~~~
~~~http://www.empire-uw.com NEW OFFICIAL WEBSITE http://www.empire-uw.com~~~

 

 Malik's Magic Macro! (AutoIT)

Go down 
AuthorMessage
Malik_Gynax
Officer
Officer



Posts : 6
Join date : 2010-12-20

Malik's Magic Macro! (AutoIT) Empty
PostSubject: Malik's Magic Macro! (AutoIT)   Malik's Magic Macro! (AutoIT) I_icon_minitimeSun 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
Back to top Go down
 
Malik's Magic Macro! (AutoIT)
Back to top 
Page 1 of 1
 Similar topics
-
» Darkfall QuickLooter script for AutoIT
» Macro'in 101. With AcTool.
» witchcraft macro
» Auto Click Macro
» Sprint Toggle(not a macro)

Permissions in this forum:You cannot reply to topics in this forum
The Empire :: Empire Members :: Guides-
Jump to: