Mortar and pestle broken? this edited macro stopped working

Need some help with that macro you're working on or aren't quite sure how to get your macro to do something? Ask here!

Moderator: MacroQuest Developers

cheater
orc pawn
orc pawn
Posts: 26
Joined: Sat Oct 04, 2003 6:06 am

Mortar and pestle broken? this edited macro stopped working

Post by cheater » Fri Nov 07, 2003 1:28 am

been using this macro that was edited from making bowcams and it has worked fine until the new version came. How do I get it to recognize the mortal and pestle again now?

| - celest.mac -
|
#include routines.mac
Sub Main
/call FindCombiner "make poison"
/if $return==99 /return

| /cleanup
| /click right inv $return

/sendkey down ctrl
:MakeCelest
:auto
/click left auto
/if $cursor()!=NULL /goto :auto
/delay 1
/finditem "the scent of marr"
/if $find()==FALSE /goto :Done
/click left pack $return 0
/delay 1
/finditem "celestial solvent"
/if $find()==FALSE /goto :Done
/click left pack $return 2
/delay 1
:WaitCelest
/click left pack $return combine
/delay 4
/if $pack($return,empty)==FALSE /goto :WaitCelest
/delay 1

/click left auto
/goto :MakeCelest

:Done
/sendkey up ctrl
/return

Joshjje
orc pawn
orc pawn
Posts: 18
Joined: Mon Oct 27, 2003 2:39 pm

..

Post by Joshjje » Fri Nov 07, 2003 7:03 am

Perhaps change:

Code: Select all

/call FindCombiner "make poison" 
/if $return==99 /return 

| /cleanup 
| /click right inv $return 
TO

Code: Select all

/call FindCombiner "mortar and pestle"
/if $return==99 /return

/cleanup 
/click right inv $return
Not sure of your code or if that will work but it looks like it.

User avatar
psychotik
a ghoul
a ghoul
Posts: 112
Joined: Mon Oct 06, 2003 3:48 am

Post by psychotik » Fri Nov 07, 2003 9:53 am

or have the /call FindCombiner actually do something

Code: Select all

Sub FindMortar 
   /declare temp local 
   /declare counter local 
   /varset temp 99 

   /for counter 0 to 7 
      /if "$pack(@counter,name)"=="@Param0" /varset temp @counter 
   /next counter 
/return @temp 

JimJohnson
a grimling bloodguard
a grimling bloodguard
Posts: 1299
Joined: Sat Oct 11, 2003 6:00 am

Post by JimJohnson » Fri Nov 07, 2003 10:01 am

Code: Select all

/call FindCombiner "make poison" 
/if $return==99 /return 

| /cleanup 
| /click right inv $return 
if you /id it thats what you get not


mortar and pestle

GeoffreyF67
a lesser mummy
a lesser mummy
Posts: 70
Joined: Tue Nov 04, 2003 6:07 pm

Post by GeoffreyF67 » Sat Nov 08, 2003 10:30 am

I think MQ goes by the display name when you right click...at least that's been my experience thus far.

G-Man