Help - Search - Members - Calendar
Full Version: Platz! 1.0
AC Tools Everything Macro > AC Tool Macros > Asheron's Call Macros
Lightning Dragon
its my 1st plug in what do u think?
//This is the program you have been waiting for! Its the MMD to plat seller!
// Read this entire thing for it to work! Have your chat window all the way
// open. Be sure to go to a master mage. Open the window with the Archmage.
// Have your main pack mostly empty. You will need room for pyreal. Put
// your MMDs in the first slot of your first pack and have that pack open.
// This sells 2 MMDs at a time and buys 11 plats. You will have to stack the
// of 11 yourself till i fix it and you will have some left of pyreal.
// This line is necessary to select the proper window
SetActiveWindow Asheron's Call
// NOTE: this is made to go though 100 mmds!
Delay 5000
Loop 50
MousePos 747, 418
LeftClick
Delay 500
MousePos 827, 718
LeftClick
Keys 2
Delay 500
MousePos 750, 406
LeftMouseDown
DragTo 472, 360
LeftMouseUp
MousePos 683, 367
LeftClick
Delay 1000


// buys plats
MousePos 48, 314
LeftClick
Delay 500
MousePos 60, 334
LeftClick
Delay 500
MousePos 62, 434
LeftClick
Delay 500
MousePos 212, 369
LeftClick
Delay 500
MousePos 831, 717
LeftClick
Delay 500
Keys 11
MousePos 692, 335
LeftClick
End
Chazcon
/rolls eyes
Ahk
You don't need LeftMouseDown and LeftMouseUp for DragTo. Don't forget to mention what resolution you have to run at to get this to work, because it will just click around all over the place if people aren't in the same res. incUI will allow you to run at any resolution and use built in variables for different resolutions, if you want to make it for anyone smile.gif.

You could make sure that it is dragging MMD's by checking the _selected variable to make sure it's a trade note too.

A very good start I think, good job.

Some other stuff you might want to look at is _pyreals (I think, I haven't played AC in well over a year) and Compute. You can compute how many plats you can buy with the number of pyreals you have and then key in that number. There's a lot of fun stuff you can mess around with.
Lightning Dragon
well i want to make this a plug in for decal what do i need to do to get it there?
Ahk
That's a larger step than I believe you're ready to take. Plugins require a LOT more knowledge of programming languages (AcTool is a scripting language, not capable of a lot of the things programs are).

I've tried to keep on top of learning enough to do something useful with, but I keep getting off track and doing other things.

You need to have a good knowledge of a programming language before you try to write a plugin from what I've heard...makes sense.

If you've got a LOT of time, a book would probably be best that covers everything for people with no programming experience. You'll need to learn proper coding styles and all that fun stuff. Good luck if you choose to try and learn, but be warned, it will be time consuming -- you can have a lot of fun learning if you like to write programs--good luck.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2010 Invision Power Services, Inc.