A forum for the general posts relating to MacroQuest. *DEPRECATED: This forum is no longer in public use, but remains here for your reading pleasure. Enjoy
Moderator: MacroQuest Developers
-
Noobalicious
- decaying skeleton

- Posts: 7
- Joined: Tue Jul 27, 2004 6:15 pm
Post
by Noobalicious » Tue Jul 27, 2004 6:25 pm
Im sure I am the millionth person to ask, but alas! I am Noobalicious. I DLed C++ and Dled the latest sourcecode, and evreything is swell. I just wanted to know... I already made a EQ'Legal macro for foraging:
-------
/doability #
/pause 10
/autoinventory
-------
This is a regular hotbutton. What I want to know is what I have to do to maek my mouse just keep clicking on it so I can go afk and it will still work. I want to be using as little of MQ2 as possible, so I dont want to use the forage thingy, just to haev my mouse click on this button every minute or so. Thanks a ton! And please break it all down, I seriously know nothing about this program.
-
Sparr
- a hill giant

- Posts: 159
- Joined: Mon Jun 24, 2002 5:41 am
Post
by Sparr » Tue Jul 27, 2004 6:33 pm
RTFM, but im feeling generous
Sub Main
:again
/click left xpositionofbutton ypositionofbutton
/delay 10
/goto :again
/return
/click is mostly deprecated by /notify, but /notify requires you to figure out the window and control name of the button. /click can just take a x y position for the mouse.
-
ieatacid
- Developer

- Posts: 2727
- Joined: Wed Sep 03, 2003 7:44 pm
Post
by ieatacid » Tue Jul 27, 2004 6:38 pm
I misread the post.

Last edited by
ieatacid on Tue Jul 27, 2004 6:40 pm, edited 1 time in total.
-
magictiger
- a snow griffon

- Posts: 450
- Joined: Sun Mar 21, 2004 2:24 pm
Post
by magictiger » Tue Jul 27, 2004 6:38 pm
afk macroing is bad, even if it's just foraging or begging or fishing. always be at the PC when macroing.
-
Noobalicious
- decaying skeleton

- Posts: 7
- Joined: Tue Jul 27, 2004 6:15 pm
Post
by Noobalicious » Tue Jul 27, 2004 6:50 pm
Sparr wrote:RTFM, but im feeling generous
Sub Main
:again
/click left xpositionofbutton ypositionofbutton
/delay 10
/goto :again
/return
/click is mostly deprecated by /notify, but /notify requires you to figure out the window and control name of the button. /click can just take a x y position for the mouse.
1) Thanks a ton for your quick answer
2) How do I figure out the 'positionofbutton'? (It is hotbutton 10, and I have my hotbutton window on bottom left of screen).
3) What do I do with the code you supplied? I seriously know nothing.
-
dok
- a ghoul

- Posts: 127
- Joined: Mon Mar 15, 2004 3:38 pm
Post
by dok » Tue Jul 27, 2004 7:00 pm
Using the mouse to click things just sucks when you can use keyboard commands. Too many variables to consider, like window positions, etc.
:Loop
/if (${Me.AbilityReady["Forage"]}) /doabilty Forage
/if (${Cursor}) /autoinventory
/goto :Loop
Btw, this is posted in way the wrong section. Posting multiple times in different sections is a quick and easy way to get banned I'd think.
-
Noobalicious
- decaying skeleton

- Posts: 7
- Joined: Tue Jul 27, 2004 6:15 pm
Post
by Noobalicious » Tue Jul 27, 2004 7:13 pm
dok wrote:Using the mouse to click things just sucks when you can use keyboard commands. Too many variables to consider, like window positions, etc.
:Loop
/if (${Me.AbilityReady["Forage"]}) /doabilty Forage
/if (${Cursor}) /autoinventory
/goto :Loop
Btw, this is posted in way the wrong section. Posting multiple times in different sections is a quick and easy way to get banned I'd think.
It actually wasnt on purpose, I posted here first then found that section.
-
Kambic
- a lesser mummy

- Posts: 74
- Joined: Fri May 28, 2004 11:48 am
Post
by Kambic » Wed Jul 28, 2004 1:45 am
Basically the rule of thumb is, search first. But in truth, knowing where the forums are comes before that.
Yes...