ItemFarm.mac

Macro depository for macros written before the user variable changes that broke all of them.

Moderator: MacroQuest Developers

User avatar
Goge
Macro Author
Macro Author
Posts: 71
Joined: Sat Jun 15, 2002 11:55 am
Location: Terra

ItemFarm.mac

Post by Goge » Fri Jun 21, 2002 10:52 am

ello, here is the new macro that will look through a zone for any item you wish. I suggest you use this one in a safe zone and one without lava\cliffs. I cleared out Gfay of Evergreen Leafs in no time (while trying to buy some +CHA stuff :)

To use make sure you're in the top down view (F9 once i believe) and zoomed out to the max. Also the format for loading the macro is
/macro farming.mac "item first name" Not in the "s
so for evergreen leafs i did; /macro farming.mac evergreen

okay nuff said here is the macro. (worked for me and you shouldn't loose money... less you die.)

Code: Select all

| - Farming.mac -
| use /macro farming.mac "item name"  |without the "s
| press F9 once and make sure ur char is in the center 
| and zoom out as much as possible
#include routines.mac

Sub Main
   varset v85 0
   varset v87 1
   varset v90 0
   /mqlog
   :again
   /call StatStuff
   /delay 5   
   /itemtarget $p0
   /call Runto
   /call AutoRun 0
   /delay 10
   /delay 20
   /call Pickup
   /goto :again

/return

Sub Runto
   /echo running
   /face item
   /call AutoRun 1
   :runningto
   /varadd v85 1
   /varset v67 "$char(x)"
   /varset v68 "$char(y)"
   /if n "$v67"=="$char(x)" /if "$v68"=="$char(y)" /call Tree
   /if n "$v85"=="50" /face item
   /if n "$v85"=="50" /varset v85 0
   /if n "$distance(item)"<"10" /goto :done
   /goto :runningto
   :done

/return

sub Pickup

   /echo picking up
   /face item
   /cleanup
   /delay 20
   /click left item
   /delay 30
   /click left auto
   /delay 5
   /varadd v87 1
/return

sub Tree

   /delay 10
   /varcalc v69 $char(heading)+20
   /face heading $v69
   /sendkey down up
   /delay 5
   /call runto

/return

sub StatStuff

   /echo starting to look for the $v87 , $p0
   /if n "$V87"=="10  /varadd V90 10
   /if n "$v87"=="10" /mqlog You have found $v90 , $p0
   /if n "$v87"=="10" /varset v87 1

/return

maybe later i can (or someone else) add a safe spot walkto if in comabt mode (being attacked)
He who sleep with Itchy arse wake with Smelly finger.

User avatar
Goge
Macro Author
Macro Author
Posts: 71
Joined: Sat Jun 15, 2002 11:55 am
Location: Terra

forgot

Post by Goge » Fri Jun 21, 2002 10:54 am

yea, i forgot to say/add that when picking up the item it looks like eq froze... it didn't, its just looking for the item. Not sure why but i bet Plazmic does ^_~.

so just give it some time and i will keep going.
He who sleep with Itchy arse wake with Smelly finger.

Plazmic
The One
The One
Posts: 800
Joined: Fri Jun 14, 2002 12:31 am
Contact:

CPU Speed...

Post by Plazmic » Fri Jun 21, 2002 12:42 pm

I never noticed a delay on my system...
I have to check each pixel for the item though...
I suppose i could check every other pixel or such...

Lower res = faster find.
- Plazmic

User avatar
Goge
Macro Author
Macro Author
Posts: 71
Joined: Sat Jun 15, 2002 11:55 am
Location: Terra

Post by Goge » Fri Jun 21, 2002 1:48 pm

thats what i assumed but didn't want to post it because when you assume you make an ASS out you U and ME :)

get it... huh huh? ASS+U+ME = ASSUME okay i'll go home now ^_~
He who sleep with Itchy arse wake with Smelly finger.

macrolover
a ghoul
a ghoul
Posts: 107
Joined: Sun Jul 14, 2002 9:19 am

hello

Post by macrolover » Sat Aug 03, 2002 6:41 am

does this macro not work any more i tried using it all i did was run around never picked anything up

User avatar
Goge
Macro Author
Macro Author
Posts: 71
Joined: Sat Jun 15, 2002 11:55 am
Location: Terra

Post by Goge » Wed Aug 14, 2002 10:57 pm

this macro is very old and so the commands have probably been changed or may not even exist anymore. I don't use this macro much anymore so i don't feel like updating it (unless i get bored sometime) but go right ahead and fix it up if you wanna.
He who sleep with Itchy arse wake with Smelly finger.

Gengis
a ghoul
a ghoul
Posts: 116
Joined: Wed Aug 14, 2002 7:46 pm

Post by Gengis » Thu Aug 15, 2002 9:18 am

Yes this macro still works. But only with the old UI. I use it to farm Iron Oxide sometimes.

kndzakndza
orc pawn
orc pawn
Posts: 12
Joined: Wed Aug 21, 2002 2:59 am

Post by kndzakndza » Thu Aug 22, 2002 3:56 pm

Goge wrote:thats what i assumed but didn't want to post it because when you assume you make an ASS out you U and ME :)

get it... huh huh? ASS+U+ME = ASSUME okay i'll go home now ^_~
LOL

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

Post by nikeman » Sat Oct 19, 2002 12:35 pm

anyone wanna update this it doent work to swell anymore it works but it keeps picking up all ground spawns not just what i asked it to pick up and at the start says count parse varset v80 0 varset v87 1 varset v90 0

useage:/if <condition> <command> n makes <condition> compare numerically condition: a==b, a!=b, a>=b.a<=b,a~~b,a!~b then it starts finding all ground spawns

Ooka_Chokka
a lesser mummy
a lesser mummy
Posts: 63
Joined: Fri Nov 08, 2002 12:27 am

Post by Ooka_Chokka » Fri Nov 08, 2002 4:41 pm

could this be set to find the seaworthy planking in iceclad ocean? im new and will probably know how to do thid in a week or so, but just asking for now.

Zorg
a lesser mummy
a lesser mummy
Posts: 44
Joined: Fri Oct 18, 2002 7:01 pm

Post by Zorg » Fri Nov 08, 2002 5:27 pm

It could be used to find seaworthy planking, if it still spawned. It hasn't for months, so unless you know someone with it sitting in the bank, forget about getting a BFG

User avatar
rizwank
Huggle Police
Huggle Police
Posts: 524
Joined: Tue Jul 23, 2002 12:07 am
Contact:

Post by rizwank » Fri Nov 08, 2002 7:01 pm

Seaworthy planking is a dream.

thre are no wood here spawns where the wood used to pop and i had seq watching IC for 2 weeks near straight... it isnt there anymore...
#macroquest op
Macroquest Official Documentarion
Macroquest Board Moderator
All around cool guy

[img]http://medicomuerte.users.btopenworld.com/images/fairy_bounce08.gif[/img]

Ooka_Chokka
a lesser mummy
a lesser mummy
Posts: 63
Joined: Fri Nov 08, 2002 12:27 am

Post by Ooka_Chokka » Sat Nov 09, 2002 3:08 pm

dam, ive spent EQ years lookin for that @#$%in wood. heh, oh well. woulda been nice, heh, people would pay 100's of k's for BFG MQ :shock: :lol: . well, at least now i know to stop looking.