Forging(smithing)mac [Request Fulfilled]

Macro requests from before the user variable changes that broke all macros

Moderator: MacroQuest Developers

night
orc pawn
orc pawn
Posts: 24
Joined: Sat Jun 22, 2002 7:08 pm

Forging(smithing)mac [Request Fulfilled]

Post by night » Sat Jun 29, 2002 6:51 pm

Been looking for a mac that will help make skill in smithing. Could try to make a adaptation of my own but there doesnt seem to be any macros yet that use a non inventory combiner ie forge. Not really interested in the buying/selling parts of the macro, I want to handle that part on my own, just need a macro to handle the mindless point and click.

Thanks

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

Post by cyberglitch » Sat Jun 29, 2002 7:17 pm

Hangs everyso often. Just empty forge and clear your cursor. Better then nothing.

Code: Select all

Sub Main 
   :MakeBits 
      /sendkey down ctrl 

      /finditem "Small Piece of Ore" 
      /if $find()==FALSE /goto :Done 
      /click left enviro 0 

      /finditem "Small Piece of Ore" 
      /if $find()==FALSE /goto :Done 
      /click left enviro 1 

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

      /sendkey up ctrl
      /click left enviro combine 

      /delay 2 
      /if "$cursor()"=="TRUE" /goto :AutoDropBits 

      /goto :MakeBits 

    :AutoDropBits 
       /click left auto        
       /goto :MakeBits 

   :Done 
    /sendkey up ctrl 

/return 

night
orc pawn
orc pawn
Posts: 24
Joined: Sat Jun 22, 2002 7:08 pm

hangs right away

Post by night » Sun Jun 30, 2002 1:23 am

wont drop first piece of ore into the forge and hangs right away. Sorry for being a pest but I cant find another example of droping items in a forge or brewbarrel or Id try to fix it myself.

Thanks

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

Post by GD » Sun Jun 30, 2002 1:37 am

May be a stupid question, but are you opening up the Forge (and not moving the window) before you start? If not, here's a modified version that does it for you.

Code: Select all

Sub Main 
   /itemtarget Forge
   /face item
   /click left item

   :MakeBits 
      /sendkey down ctrl 

      /finditem "Small Piece of Ore" 
      /if $find()==FALSE /goto :Done 
      /click left enviro 0 

      /finditem "Small Piece of Ore" 
      /if $find()==FALSE /goto :Done 
      /click left enviro 1 

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

      /sendkey up ctrl 
      /click left enviro combine 

      /delay 2 
      /if "$cursor()"=="TRUE" /goto :AutoDropBits 

      /goto :MakeBits 

    :AutoDropBits 
       /click left auto        
       /goto :MakeBits 

   :Done 
    /sendkey up ctrl 

/return 
Last edited by GD on Sun Jun 30, 2002 1:41 am, edited 1 time in total.

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

Post by L124RD » Sun Jun 30, 2002 1:39 am

Salutations,
That might be the problem if it didn't pick the piece of ore up first... I would suggest putting some lag proofing into it and posting it into the macro depot section...