FOOD/WATTER FORAGE request

Need help running MacroQuest 1? Too bad! Use MQ2.

Moderator: MacroQuest Developers

nikeman
a lesser mummy
a lesser mummy
Posts: 70
Joined: Tue Jun 18, 2002 10:37 am

FOOD/WATTER FORAGE request

Post by nikeman » Tue Jul 02, 2002 4:02 am

i used the serch and found people asking about this for druid/rangers/wood elfs could someone post it if thay made it?

User avatar
Nuad
a ghoul
a ghoul
Posts: 93
Joined: Thu Jun 27, 2002 11:43 am
Location: Berlin, Germany

Post by Nuad » Tue Jul 02, 2002 5:10 am

Hmm... souldn't be to hard... something like a looped

/doability <number>
/click left auto (in case of forage)
/delay <time>

User avatar
L124RD
Site Admin
Site Admin
Posts: 1343
Joined: Fri Jun 14, 2002 12:15 am
Location: Cyberspace
Contact:

Post by L124RD » Tue Jul 02, 2002 12:18 pm

something like:

Code: Select all

sub main
  :loop
    /doability <n>
    /click left auto
   /goto :loop
end main
would work fine if your sitting in one place, but if your trying to play EQ while doing it it would be harder. something more like this psuedo code is what you'd have to do:

Code: Select all

sub main
 :loop
    /doability <n>
    /delay 5
    /if $cursor()==TRUE /call gotone
  /goto :loop
/return
 
sub gotone
  /varset v31 0
  /if $invslateopen!=TRUE /varset v31 1
  /if $invslateopen!=TRUE /press i
  :invloop
   /if $invslateopen!=TRUE /goto :invloop
  /click left auto
   :clickloop
     /if $cursor()==TRUE /goto :clickloop
  /if n $v31==1 /press i
/return
This way you:
  • forage
    check if you got something
    check if inventory is open
    if it isn't, hit i
    wait for inventory to open
    click auto
    wait for nothing in cursor
    if the inventory was closed when you start, close it again.
    start over!