Heresiarch Guild: Automation with AHK - Heresiarch Guild

Jump to content

Page 1 of 1

Automation with AHK

#1 User is offline   Deceax 

  • Not as good as Sobe, possibly better than Gunther
  • PipPip
  • Group: Members
  • Posts: 1,837
  • Joined: 19-December 09
  • Gender:Male
  • Location:Atlanta, GA

Posted 19 December 2011 - 08:00 PM

After getting sick of prospecting and disenchanting tons of items for auction house purposes I wanted to find a way to automate it. I asked Gunther but he was a whore and told me to look it up myself so I did and now I'm posting it here for others to use.

There are two components to making this work. You need AHK script for automation and a macro used for disenchanting/prospecting/milling. In this example we will set it up to automatically prospect all the elementium ore in our bags. The first step is the AHK script. It's as simple as it gets as it just spams the "1" key in 4.5 second intervals.

#ifWinActive World of Warcraft
{
        Loop
	{
        	Send 1
        	sleep 4500
        }
        return
}


Save this as a text file with the .ahk extension. After creating this file you can use the ".ahk to .exe" in the AHK start menu folder to convert the script to an executable. Run this executable and then when you go back into the game it will start spamming "1". Well what good is this? Because we will set up a macro that prospects and put it under the "1" slot on our action bars so it gets spammed.

Now that the script is set up we can create the macro. This is pretty simple for prospecting elementium. The only tricky part is finding the item ID. This can be done by going to wowhead and finding an item and then clicking the "link" button. You will get a string like this.

/script DEFAULT_CHAT_FRAME:AddMessage("\124cffffffff\124Hitem:52185:0:0:0:0:0:0:0:0\124h[Elementium Ore]\124h\124r");

What you are looking for is the number after Hitem:#####. Now that we have this plug it into the macro.

/cast Prospecting
/use item:52185


Here's one I use for disenchanting. This will disenchant all the blues and greens from the jewelcrafting stuff created when you're shuffling.
/cast Disenchant
/use item:52306 
/use item:52307 
/use item:52308 
/use item:52309 
/use item:52492 
/use item:52310
/use item:52312 
/use item:52316 
/use item:52314


Once your macro is set up put it in your "1" slot or whatever one you decided to use in the AHK script. Start the script, launch wow, and come back when the shit is done. This same general concept can be applied to lots of boring ass profession tasks when you're shuffling stuff.
"Hey yo I'm gonna be on ti dop that's all my eyes can see
Victory is mine yeah surprisingly
I've been laying waiting for your next mistake
I put in work and watch my status escalate" - Gang Starr
0

#2 User is offline   Guinthel 

  • Just Awful
  • PipPip
  • Group: Members
  • Posts: 1,270
  • Joined: 20-July 08
  • Gender:Male
  • Location:Wrathbloods basement

Posted 19 December 2011 - 08:09 PM

dude all i did was use those macros in game (im guessing you just found the on the consortium forums like I did), and bind them in game to 1 or 2 or whatever. Then stick a quarter in my key to jam it in and use my normal raiding AHK set-up.

You know it's not rocket science because I figured it out.

If anyone is desperate for enchanting mats and they have use of a JC and Enchanter to shuffle the mats, im willing to sell stacks of jasper at 50g each, alicite stacks at 60g each.
Posted Image
0

#3 User is offline   Wrathblood 

  • Better than Gunther
  • PipPipPip
  • Group: Officers
  • Posts: 3,419
  • Joined: 17-August 07
  • Gender:Male
  • Location:the sticks

Posted 19 December 2011 - 08:31 PM

Every day he's shuffling!
Tarquin lives his life by the two great secrets of success:

1. Don't reveal all you know
0

#4 User is offline   Deceax 

  • Not as good as Sobe, possibly better than Gunther
  • PipPip
  • Group: Members
  • Posts: 1,837
  • Joined: 19-December 09
  • Gender:Male
  • Location:Atlanta, GA

Posted 19 December 2011 - 08:56 PM

Quote

dude all i did was use those macros in game (im guessing you just found the on the consortium forums like I did), and bind them in game to 1 or 2 or whatever. Then stick a quarter in my key to jam it in and use my normal raiding AHK set-up.

You know it's not rocket science because I figured it out

Yea just thought others mind find it useful. Was pretty easy.
"Hey yo I'm gonna be on ti dop that's all my eyes can see
Victory is mine yeah surprisingly
I've been laying waiting for your next mistake
I put in work and watch my status escalate" - Gang Starr
0

Share this topic:


Page 1 of 1


Fast Reply

  

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users