Register for your free account! | Forgot your password?

Go Back   elitepvpers > General Gaming > General Gaming Discussion
You last visited: Today at 20:28

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



[AutoHotKey] Casting Macro

Discussion on [AutoHotKey] Casting Macro within the General Gaming Discussion forum part of the General Gaming category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Jan 2008
Posts: 113
Received Thanks: 56
[AutoHotKey] Casting Macro

Code:
;
; AutoHotkey Version: 1.x
; Language:       English
; Platform:       Win9x/NT
; Author:         Keraam
;
; Script Function: Casts Mana Missile and Heal Self. Pauses with the End button and exits with the DELETE key.
;	
;

#NoEnv  ; Recommended for performance and compatibility with future AutoHotkey releases.
SendMode Input  ; Recommended for new scripts due to its superior speed and reliability.
SetWorkingDir %A_ScriptDir%  ; Ensures a consistent starting directory.

InputBox, manaMissile, ManaMissile, Hotbar number for Mana Missile?,,,,,,,,1
InputBox, selfHeal, HealSelf, Hotbar number for Heal Self?,,,,,,,,2
InputBox, rest, Rest, Hotbar number for Rest?,,,,,,,,0
InputBox, manaMissileNum, ManaMissileQuantity, How many Mana Missiles?,,,,,,,,18
InputBox, restTime, RestTime, How long to Rest?,,,,,,,,155000
MsgBox, "Click OK then Alt + Tab into Darkfall to start the script."

;SetKeyDelay, 10, 10


WinWaitActive, Darkfall Online
IfWinActive, Darkfall Online
{
	Loop
	{
		Send +1
		Sleep, 2000
		Send {R}   ; To go into combat mode
		Sleep, 500
		HealSelf()
		Loop %manaMissileNum%
		{
			ManaMissile()
		}
		Sleep, 500
		HealSelf()
		Sleep, 2500
		Rest()
		Sleep, 5000
	}
}

End::Pause

Delete::ExitApp	

HealSelf()
{
	global selfHeal
	Sleep, 500
	Send %selfHeal%
	Sleep, 500
	Click
	Sleep, 2400	
}

ManaMissile()
{
	global manaMissile
	Sleep, 500
	Send %manaMissile%
	Sleep, 500
	Click
	Sleep, 2300
}

Rest()
{
	global rest
	global restTime
	Sleep, 2000
	Send {r}
	Sleep, 500
	Send %rest%
	Sleep, 500
	Click
	Sleep, %restTime%
	Send {SPACE}			
	Sleep, 1000
}
Penakle is offline  
Reply


Similar Threads Similar Threads
[AutoHotKey] Macro looter by phant0m
08/14/2009 - General Gaming Discussion - 0 Replies
Loot Function- Works for dropping loot in backpack, backpack to bank, armor to paperdoll, and stacking, etc. Saves destination in a file for next time you play. Alt-RightClick - Set Loot Destination sets the x,y position of your loots destination. You can do this anytime. Alt-LeftClick - Drag Loot Drags loot from anywhere and drops it on loot destination, then cursor jumps back to original location. Simply hold Alt and click on loot. IniFile := "C:\loot.txt" FileGetSize, size, %IniFile%...
[AutoHotKey] Multi-tool (updated) Harvest/Casting/Crafting/SprintandCrouch
08/14/2009 - General Gaming Discussion - 0 Replies
; Author: Hastur ; Version: 1.1 ; Script: All in One Multi-tool ; Code Snippets from Keraam , thanks m8 ; v1.1 Optimized casting added sprint and crouch + new layout. #NoEnv SendMode Input SetWorkingDir %A_ScriptDir%
[AutoHotKey] Casting macro 2.0
08/14/2009 - General Gaming Discussion - 0 Replies
Used this for greater magic 25-50 i had left over bone from 1-25, and intend on using Heal Other past 50, and frailty is good to spam inbetween those 2. Thanks to Keraam, the majority of this code is edited from his own, and it is much appreciated! differences: spells ofcorse, which bar is used , for some reason Send {R} wasnt working for me, so i just made a simple method for sheathing, resting time is different, shoulda made it a changing variable but w/e lol it seems a tad more...
[AutoHotKey] Basic Crafting Click Macro
08/14/2009 - General Gaming Discussion - 0 Replies
;Simple Crafting Related Script by Keraam ;Made from the AutoIt script by TeabagGus ;Once the macro starts you will have 5 seconds to get your cursor over the object. #NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases. SendMode Input ; Recommended for new scripts due to its superior speed and reliability. SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory. WinWaitActive, Darkfall Online IfWinActive, Darkfall Online
Macro with use of Autohotkey not working
01/25/2007 - Conquer Online 2 - 1 Replies
So I wanted to make a little macro to help scriptvessel level my rb fire tao, since script vessel won't summon guard for you. So I came up with this idea, putt Tornado under F5 and Summonguard under F6 So here's the code: ;WinGet,id, ID, Gui, Add, Text,, For www.elitepvpers.com Gui, Add, Text,x10 y42 w100 h20, Auto-summon-guard. Gui, Add, Text,x15 y62 w190 h20, To start, press F10 on active window,



All times are GMT +1. The time now is 20:28.


Powered by vBulletin®
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2024 elitepvpers All Rights Reserved.