Hello,
i haven't posted much here really, but I'd like to share one of my simple bots with you.
----Don't worry about this bot if you do not have Enchanting@300----
My first version of this was a pixel/image search version, but I wanted to make this work minimized.
Basically what this does is: buy the Avenging Gleves & disenchants them. While WoW is minimized.
You will need three macros for this program to run:
- /script SetBinding("f", "TURNORACTION"); SaveBindings(GetCurrentBindingSet())
- /script local function buy (n,q) for i=1,100 do if n==GetMerchantItemInfo(i) then BuyMerchantItem(i,q) end end end buy ("Avenging Blades",1);
- /use Disenchant
/use Avenging Blades
The first one will bind the key "f" to interact with NPC's and stuff (Right-Click). You can modify this to whichever key you want.. i think.
The second one will buy Avenging Blades from the NPC.
The third one will disenchant them.
This program uses AutoITX3, so you will always need to put the files in the same directory (unless you have AutoIT installed, then it should work with just the AutoITX3.dll or even just stand-alone).
How to run the program?
First of all you have to run the First macro so the Right-Click is also bound to a KeyPress. (f in my example)
Then you put the Buy-Macro somwhere (1 in my example) and then the Disenchant-Macro (2 in my example).
Just create a Batch file and put this inside:
"WoW Halaa Disenchant.exe" -OpenNPC BuyMacro DisenchantMacro WaitMin WaitMax
..an example would be like this:
"WoW Halaa Disenchant.exe" -f 1 2 1000 15000
Thats it.. almost.
You have to move your cursor to the Aldraan NPC and then ALT-Tab out so you can't see your WoW Window anymore (like alt-tab to firefox.. or reduce the WoW a lot.. just so it saves the current cursors position).
I hope it works for you, because it does for me. If not, I can share my pixel/image search version... It works perfectly fine but can't minimize WoW.
Download link: RapidShare: Easy Filehosting
P.S.: What I couldn't figure out yet... the tray icon is lagging crazily, something is wrong with my BackgroundWorker - I would be happy about some help via PM.
And also, if someone knows an example about how to use PostMessage to send strings to a window, I would be happy too if you share it with me. (I tried the Copy&Paste thing, but its not working..)