Page 1 of 1
Foraging, simply
Posted: Tue Jul 27, 2004 6:25 pm
by Noobalicious
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.
Posted: Tue Jul 27, 2004 6:33 pm
by Sparr
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.
Posted: Tue Jul 27, 2004 6:38 pm
by ieatacid
I misread the post.

Posted: Tue Jul 27, 2004 6:38 pm
by magictiger
afk macroing is bad, even if it's just foraging or begging or fishing. always be at the PC when macroing.
Posted: Tue Jul 27, 2004 6:50 pm
by Noobalicious
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.
Posted: Tue Jul 27, 2004 7:00 pm
by dok
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.
Posted: Tue Jul 27, 2004 7:13 pm
by Noobalicious
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.
Posted: Wed Jul 28, 2004 1:45 am
by Kambic
Basically the rule of thumb is, search first. But in truth, knowing where the forums are comes before that.
Yes...