Pottery..

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

Moderator: MacroQuest Developers

jones14
orc pawn
orc pawn
Posts: 12
Joined: Tue Aug 06, 2002 5:11 pm

Pottery..

Post by jones14 » Wed Aug 07, 2002 9:53 pm

Ok, I'm wondering how to use the pottery wheel to do some combines. I'm using FindCombiner=Pottery. basically just took fishfillet.mac by Lord Beavis.
[[ L124RD likes code brackets, so should you... ]]

Code: Select all

| - fishfillet.mac - 
| - Orignally BatWingPie.mac 
| - Modified by Lord Beavis 

#turbo
#include routines.mac 
Sub Main 
    
/call FindCombiner Pottery
/if $return==99 /return 
    

   /cleanup 
   /click right inv $return 
   :MakePottery
      /sendkey down ctrl 

      /finditem "Water Flask" 
      /if $find()==FALSE /goto :Done 
      /click left pack $return 0 


      /finditem "Ceramic Lining Sketch" 
      /if $find()==FALSE /goto :Done 
      /click left pack $return 0 

      /finditem "Small block of clay" 
      /if $find()==FALSE /goto :Done 
      /click left pack $return 1 
      /sendkey up ctrl 
      /click left pack $return combine 

      /if "$cursor()"=="TRUE" /goto :AutoDrop 
      /for v1 1 to 5 
         /delay 1 
         /if "$cursor()"=="TRUE" /goto :AutoDrop 
      /next v1 

   /goto :MakePottery

   :AutoDrop 
   /click left auto 
   /delay 1 
   /click left auto    
   /goto :MakePottery

  :Done 
    /sendkey up ctrl 

/return 
Any help would be appreciated. (When I try to use it, it says... You do not seem to have a valid Pottery Container...)

cyberglitch
a lesser mummy
a lesser mummy
Posts: 42
Joined: Wed Jun 26, 2002 4:40 pm

Post by cyberglitch » Thu Aug 08, 2002 8:12 am

Look at hero.mac that comes with MQ. What you will have to do is have if /click left the wheel and then just use inv slots to drop in. All the coding is in hero.mac to be more specific for stuff like pottery, brewing, smithing etc..

GD
a snow griffon
a snow griffon
Posts: 353
Joined: Sat Jun 29, 2002 11:57 pm

Post by GD » Thu Aug 08, 2002 8:35 am

That would be because there is no Pottery container that i know of that you can carry, and as you stated yorself, it's the pottery wheel, which is an environmental combiner...

Try something like this:

Code: Select all

#turbo
Sub Main
	/cleanup
	/itemtarget pottery
	/face item
	/delay 2
	/mouseto item
	/delay 2
	/click left
	/delay 2
	
	:MakePottery
		/sendkey down ctrl

		/finditem "Water Flask"
		/if $find()==FALSE /goto :Done
		/click left enviro 0

		/finditem "Ceramic Lining Sketch"
		/if $find()==FALSE /goto :Done
		/click left enviro 1

		/finditem "Small block of clay"
		/if $find()==FALSE /goto :Done
		/click left enviro 2

		/sendkey up ctrl
		/click left enviro combine

		/if "$cursor()"=="TRUE" /goto :AutoDrop
		/for v1 1 to 5
			/delay 1
			/if "$cursor()"=="TRUE" /goto :AutoDrop
		/next v1

		/goto :MakePottery

	:AutoDrop
		/click left auto
		/delay 1
		/click left auto
		/goto :MakePottery

	:Done
		/sendkey up ctrl

/return
What you would have to do is go near the pottery wheel, then start the macro.
Opinions are like assholes, everyone has one, but most of them stink.

jones14
orc pawn
orc pawn
Posts: 12
Joined: Tue Aug 06, 2002 5:11 pm

Post by jones14 » Thu Aug 08, 2002 10:32 am

Thanks, Checking out hero.mac and trying your code GD.

cyberglitch
a lesser mummy
a lesser mummy
Posts: 42
Joined: Wed Jun 26, 2002 4:40 pm

Post by cyberglitch » Thu Aug 08, 2002 11:29 am

That should work, I was to lazy to do what GD did.

Gimme a break I posted at like 8am. :shock: