I built my own hotkey management wrapper (I'll post it once its ready and tested), and I needed those same hotkeys. They're so commonly used, I figured I might as well make a GUI for it. So here you are.
It will save the hotkeys as follows:
$keyMM - Mana Missle
$keyHS - Heal Self
$keyRS - Rest
$keyLN - Launch
a global is required, don't forget it.
near the bottom of the main Function, there is an "Exit 0"
you may want to change that to your own Terminate() function.
All you have to do is paste it in, call the main function, and the use the variables listed above.
Code:
;don't forget the globals and includes
Global $keyMM = 2, $keyHS = 3, $keyRS = 4, $keyLN = 5
#include <GUIConstantsEx.au3>
call("UserConfig")
Func UserConfig()
$mainGUI = GUICreate("Darkfall MacroMan v1.0", 165, 210)
GUICtrlCreateGroup("Hotbar Keys", 10, 10, 145, 140 )
GUICtrlCreateLabel("Default", 110, 25)
GUICtrlSetFont(-1, 7)
GUICtrlSetColor(-1, 0x555555)
GUICtrlCreateLabel("Mana Missile", 20, 30)
$guiMM = GUICtrlCreateInput("", 90, 30, 20, 20)
GUICtrlSetTip(-1, "The key you would press to equip Mana Missile.")
GUICtrlCreateLabel($keyMM, 115, 38)
GUICtrlSetFont(-1, 7)
GUICtrlSetColor(-1, 0x555555)
GUICtrlCreateLabel("Heal Self", 20, 60)
$guiHS = GUICtrlCreateInput("", 90, 60, 20, 20)
GUICtrlSetTip(-1, "The key you would press to equip Heal Self.")
GUICtrlCreateLabel($keyHS, 115, 68)
GUICtrlSetFont(-1, 7)
GUICtrlSetColor(-1, 0x555555)
GUICtrlCreateLabel("Rest", 20, 90)
$guiRS = GUICtrlCreateInput("", 90, 90, 20, 20)
GUICtrlSetTip(-1, "The key you would press to equip Rest.")
GUICtrlCreateLabel($keyRS, 115, 98)
GUICtrlSetFont(-1, 7)
GUICtrlSetColor(-1, 0x555555)
GUICtrlCreateLabel("Launch", 20, 120)
$guiLN = GUICtrlCreateInput("", 90, 120, 20, 20)
GUICtrlSetTip(-1, "The key you would press to equip Launch - leave empty if not it use.")
GUICtrlCreateLabel($keyLN, 115, 128)
GUICtrlSetFont(-1, 7)
GUICtrlSetColor(-1, 0x555555)
GUICtrlCreateGroup("", -99, -99, 1, 1)
GUICtrlCreateGroup("", 10, 150, 145, 50)
$guiRUN = GUICtrlCreateButton("Run Macro", 20, 165)
$guiEXIT = GUICtrlCreateButton("Abort", 110, 165)
GUICtrlCreateGroup("", -99, -99, 1, 1)
GUISetState() ; show gui
; Collect Response
While 1
$msg = GUIGetMsg()
Switch $msg
Case $guiMM
$keyMM = filter(GUICtrlRead($guiMM), 2)
Case $guiHS
$keyHS = filter(GUICtrlRead($guiHS), 3)
Case $guiRS
$keyRS = filter(GUICtrlRead($guiRS), 4)
Case $guiLN
$keyLN = filter(GUICtrlRead($guiLN), 5)
Case $GUI_EVENT_CLOSE, $guiEXIT
; Abort or program closed
Exit 0
Case $guiRUN
If alertKeySet() Then
; Run Macro, and keys are good. Exit loop so it doesn't terminate program.
ExitLoop
EndIf
EndSwitch
WEnd
Sleep(200)
GUIDelete($mainGUI) ; Manually delete the GUI
EndFunc
Func alertKeySet()
$msgTXT = "Keybinding for the main spells have been set." & @CR & @CR & _
$keyMM & " - Mana Missile" & @CR & _
$keyHS & " - Heal Self" & @CR & _
$keyRS & " - Rest" & @CR & _
$keyLN & " - Launch" & @CR & @CR & _
"Run Macro?"
While 1
$iMsgBoxAnswer = MsgBox(1, "Spell Hotkeys Set", $msgTXT)
Select
Case $iMsgBoxAnswer = 1 ;OK
return True
Case $iMsgBoxAnswer = 2 ;Cancel
return False
EndSelect
WEnd
EndFunc
Func filter($str, $default)
; forces input to single Alpha-Numeric character
; returns result (1st char) or default on failure
$str = StringStripWS($str, 8)
if StringLen($str)>0 then
$str = StringLower(StringLeft($str, 1))
EndIf
if StringLen($str)=1 AND StringIsAlNum($str) then
return $str
Else
return $default
EndIf
EndFunc
you need to add a hotkey to your hotbar tab so you keep 20 of the same kind staff in your inventory and hit your staff hotbar key in the macro that way when one breaks you can keep switching to new ones when the macro starts over again.
[AutoIt] Customizable Magic 02/26/2010 - General Gaming Discussion - 1 Replies This script is a customizable magic script that allows you to cast 5 different spells. They are repeatable as many or as few times as you'd like. You need to play with the delays before you get them right, I suggest saving the delay you find that works in a text file for ease of future use.
~ Toggles pause and DEL exits the script.
Note that this script is untested by me as of yet because I'm still just macroing Lesser Magic and have no need for it at the moment. If you use it and find...
How To Level Lesser Magic 08/17/2009 - General Gaming Discussion - 3 Replies Requirements:
Food
Sulphur
Skill 1-25
Reach 25 skill in Lesser Magic by spamming Mana Missile and Resting, then purchase Health to Mana skill, and Lesser Magic Durability skill.
Skill 25-50
Fire 3 Mana Missiles.
Fire 1 Health to Mana.
ControlClick (AutoIt) in Runes of Magic 05/05/2009 - General Gaming Discussion - 2 Replies Hello @ all,
Since 2 days I looking for a working command to click in runesofmagic.
With ControlClick I do not get a good result, it means it do not work.
Seit 2 Tagen versuche ich ControlClick auch für Runes of Magic zum laufen zu bekommen jedoch ohne Erfolg.
ControlClick("Runes of Magic","","Radiant Arcana0","left",1,950,250)
ControlClick("Runes of Magic","","Radiant Arcana0")...