My forage.mac that works around /click left auto problem

Help section from before the user variable changes that broke all macros

Moderator: MacroQuest Developers

bugcoder
orc pawn
orc pawn
Posts: 26
Joined: Mon Nov 04, 2002 1:11 am

My forage.mac that works around /click left auto problem

Post by bugcoder » Sat Nov 09, 2002 6:11 pm

Is there a easier way? The forage.mac I found here isn't working for me so I made this one. Please comment.

Code: Select all

| -Forage.mac-

sub Main

	/cleanup
  	:MainLoop
	  /doevents
	  /call Forage
	  /delay 10
 	  /goto :MainLoop

/return

sub Forage
	/if n $char(ability,"forage")>0 {
	  /doability 2
	  /delay 5
	  /echo $cursor(name)
	  /if "$cursor(name)"=="Vegetables" /call Inventory
	  /if "$cursor(name)"=="Berries" /call Inventory
	  /if "$cursor(name)"=="Pod of Water" /call Inventory
	  /if "$cursor(name)"=="Fishing Grubs" /call Inventory
	  /if "$cursor(name)"=="Yew Leaf" /call Inventory
	  /if "$cursor(name)"=="Dragon Egg" /call Inventory
	  /if "$cursor(name)"=="Drake Egg" /call Inventory
	  /if "$cursor(name)"=="Wurm Egg" /call Inventory
	  /call Destroy
	}
/return

sub Inventory
	/if $invpanel==FALSE /press i
	/if $invpanel==TRUE {
		/mouseto 550 50
		/click left
	} 
/return

sub Destroy
	/if $invpanel==FALSE /press i
	/if $invpanel==TRUE {
		/mouseto 550 240
		/click left
	}
/return

ravhin10101
decaying skeleton
decaying skeleton
Posts: 4
Joined: Thu Aug 01, 2002 4:28 am

Post by ravhin10101 » Sat Nov 09, 2002 11:03 pm

I assume this is oldui since click dosen't work at all in new, but I have the same problems on some of my computers. Some work with auto, destroy, etc, but others I just have to give the x,y coords manually. May have to do with the resolution / cycling through them before you start a macro.

bugcoder
orc pawn
orc pawn
Posts: 26
Joined: Mon Nov 04, 2002 1:11 am

Thanks that worked

Post by bugcoder » Sun Nov 10, 2002 1:36 pm

Changing to lowest resolution helped. Is there similar tricks for

Code: Select all

/doability forage
or

Code: Select all

/click left primary
When I use the forage command instead of using skill button number, EQ crashes. When I use /click left primary to access the primary slot, I get
/click <left|right> <mouseloc>
Any hints?

User avatar
Fippy
a snow griffon
a snow griffon
Posts: 499
Joined: Tue Jul 16, 2002 10:42 am

Post by Fippy » Sun Nov 10, 2002 1:58 pm

Code: Select all

/doabilty <ability name>
Is fixed in the latest irc release

I think the it should be

Code: Select all

/click left equip primary
Fippy

This is my girl. But Rizwank had her first :-)
[img]http://www.btinternet.com/~artanor/images/fairy_bounce09.gif[/img]

bugcoder
orc pawn
orc pawn
Posts: 26
Joined: Mon Nov 04, 2002 1:11 am

1104 hangs

Post by bugcoder » Sun Nov 10, 2002 3:51 pm

Fippy, thanks for the tip. I was using 1024 version. I downloaded the 1104 version but now EQ hangs after about a min after I run a macro. I am using EQW and Win98SE.

Thanks