TRADESKILL MACROS MOVED NEW THREAD

Post your completed (working) macros here. Only for macros using MQ2Data syntax!

Moderator: MacroQuest Developers

mq2user77
a hill giant
a hill giant
Posts: 160
Joined: Thu Dec 16, 2004 11:31 am
Contact:

Post by mq2user77 » Fri Dec 30, 2005 12:03 pm

Is this correct without a warp plugin? (Alchemy.mac)

Code: Select all

Sub MoveToSteaon
  /echo Going to ${MerchantNameA}.
  /echo warp Loc 278 1571 -55
/return

HooseNutz
orc pawn
orc pawn
Posts: 11
Joined: Tue Dec 27, 2005 5:21 pm
Location: Afghanistan

Post by HooseNutz » Fri Dec 30, 2005 3:15 pm

The alchemy macro crashes when it attempts to make "Kilva's Skin of Flame" potions. keeps saying it cant find Flamewort, which is on a different merchant, but it wont switch merchants to check. How do I fix this? I tried making a MerchantNameB="Name" variable, but it didnt work.

hawk810
orc pawn
orc pawn
Posts: 11
Joined: Sat Nov 05, 2005 6:30 pm

Post by hawk810 » Fri Dec 30, 2005 5:57 pm

The pottery mac crashes because of this, although i do not know enough to fix it.

Code: Select all

| ****************** Locs ****************************
   :CounterLooplo
   /if [color=red](${String[${Ini[${FileName},${SectionName},Loc${nValues}]}].Equal[null]})[/color] {
      /varcalc nValues ${nValues}-1
      /goto :MakeArraylo
   }
   /varcalc nValues ${nValues}+1
   /goto :CounterLooplo 

armysoldier
a hill giant
a hill giant
Posts: 189
Joined: Mon Jun 27, 2005 2:13 am
Location: Florida (Stationed at FT Carson CO)

Post by armysoldier » Fri Dec 30, 2005 7:15 pm

make sure you got the INI files.. also listed on this thread.

as for the alchemy one.. i posted a new code that should have taken care of that

army

ps alchemy is the only one I have not used extensively .. my sham was already way above those skills when i wrote that macro

I may be separating the alchemy into a SH and abysmal sea ... so there is no warping involved.. and no issues

8-)

hawk810
orc pawn
orc pawn
Posts: 11
Joined: Sat Nov 05, 2005 6:30 pm

Post by hawk810 » Fri Dec 30, 2005 7:41 pm

armysoldier wrote:make sure you got the INI files.. also listed on this thread.

as for the alchemy one.. i posted a new code that should have taken care of that

army

ps alchemy is the only one I have not used extensively .. my sham was already way above those skills when i wrote that macro

I may be separating the alchemy into a SH and abysmal sea ... so there is no warping involved.. and no issues

8-)
I have the ini file, and it recognises it..

It spams the MQ Window with the String TLO had been removed error..

if i comment out that line, it starts the macro, but hangs when it has to start moving the character around.. It was my asumption that string could not be used like that anymore.

but if you say it works, maybe i have something wrong.:)

armysoldier
a hill giant
a hill giant
Posts: 189
Joined: Mon Jun 27, 2005 2:13 am
Location: Florida (Stationed at FT Carson CO)

Post by armysoldier » Fri Dec 30, 2005 7:42 pm

took alchemy code down.. gonna separate into a abysmal and SH macs..

I forgot original code had warping in it .. sorry


army

armysoldier
a hill giant
a hill giant
Posts: 189
Joined: Mon Jun 27, 2005 2:13 am
Location: Florida (Stationed at FT Carson CO)

Post by armysoldier » Fri Dec 30, 2005 7:44 pm

hawk810 wrote:
armysoldier wrote:make sure you got the INI files.. also listed on this thread.

as for the alchemy one.. i posted a new code that should have taken care of that

army

ps alchemy is the only one I have not used extensively .. my sham was already way above those skills when i wrote that macro

I may be separating the alchemy into a SH and abysmal sea ... so there is no warping involved.. and no issues

8-)

I have the ini file, and it recognises it..

It spams the MQ Window with the String TLO had been removed error..

if i comment out that line, it starts the macro, but hangs when it has to start moving the character around.. It was my asumption that string could not be used like that anymore.

but if you say it works, maybe i have something wrong.:)
hawk .. its the same code from the other macros... just different recipies.. and different locs for movement

I will check that part out before i repost it

maybe i can borrow a sham with low alchemy skill.. 8-)

or PL one real quick

TheZ
a hill giant
a hill giant
Posts: 243
Joined: Tue Jan 11, 2005 3:05 am

Post by TheZ » Fri Dec 30, 2005 8:23 pm

Plus, you know, vanilla MQ2 has strings taken out now.

If you want to use the mac, you'd have to change that.

armysoldier
a hill giant
a hill giant
Posts: 189
Joined: Mon Jun 27, 2005 2:13 am
Location: Florida (Stationed at FT Carson CO)

Post by armysoldier » Fri Dec 30, 2005 8:34 pm

hmmm .... there are minor mods made to the original MQ2 code...

i didn't think those had an effect on the code working...

i will compile a fresh code and try them all again ..



the pottery one is overrides original code.. with slight mods done to it



army

DigitalMocking
a grimling bloodguard
a grimling bloodguard
Posts: 620
Joined: Mon Apr 04, 2005 5:53 pm

Post by DigitalMocking » Sat Dec 31, 2005 7:42 am

Pretty odd occurance last night...

Every time I ran the brewing mac, it would cause the brew barrel do Despawn, I managed to depop all 3 barrels in the abysmal sea, then 2 in PoK.

Just found that odd, not sure why tho.

EQwhat
a lesser mummy
a lesser mummy
Posts: 57
Joined: Sat Jun 18, 2005 6:55 pm
Location: UK

despawn

Post by EQwhat » Sat Dec 31, 2005 9:27 am

lol grats. they must be on to you. I didnt think they could despawn since they are fixtures. Also did you go back and see if they respawn'd?

HooseNutz
orc pawn
orc pawn
Posts: 11
Joined: Tue Dec 27, 2005 5:21 pm
Location: Afghanistan

Post by HooseNutz » Sat Dec 31, 2005 11:19 am

Hey armysoldier...you can borrow my shammy :D , but you gotta promise to give him back. LOL

Pennington01
a ghoul
a ghoul
Posts: 112
Joined: Fri Dec 17, 2004 4:54 pm

Post by Pennington01 » Sat Dec 31, 2005 11:28 am

Same thing happened to me in Abysmal sea with forges. They would come back after I camped out and came back. Very odd.

hawk810
orc pawn
orc pawn
Posts: 11
Joined: Sat Nov 05, 2005 6:30 pm

Post by hawk810 » Sun Jan 01, 2006 4:46 am

I had the same issue with that macro.. I was not able to get the "experiment" form of the brew barrel to open either.. control-right-click would not do anything.. even with the button pressed, it would only open up the new tradeskill window..

Goofmester1
a hill giant
a hill giant
Posts: 241
Joined: Thu Nov 06, 2003 4:26 am

Post by Goofmester1 » Mon Jan 02, 2006 2:08 am

When running the Brewing Macro there is an error everytime the Macro goes and opens the brew barrel for String TLO being removed. The part that is causing it is in cleanpacks.inc

Code: Select all

 /if (${String[${PackNumber}].Equal[e]}) {
        /for iSlot 1 to 10
            /nomodkey /shiftkey /itemnotify enviro${iSlot} leftmouseup
            /delay 1s
       /autoinv
        /next iSlot
   
    } else { 
This has the $String in the command wich was removed from the MQ source some time back and should be changed. To get it to work I changed the cleanpacks.inc like so..

Code: Select all

/if (${PackName.Equal[Enviro]}) {
       [color=red] /varset PackNumber 12020[/color]
    } else {
        /varset PackNumber ${FindItem[=${PackName}].InvSlot.ID}
        /if (${PackNumber}) {
            /varcalc PackNumber ${PackNumber}-21
            /varset PackNumber ${PackNumber.Arg[0,.]}
        } else {
            /echo Could not find container in your inventory
            /echo Contanier name = ${PackName}
            /endmacro
        }
    }
  [color=blue]  /if ((${PackNumber})==(12020)) {[/color]
        /for iSlot 1 to 10
            /nomodkey /shiftkey /itemnotify enviro${iSlot} leftmouseup
            /delay 1s
       /autoinv
        /next iSlot
   
    } else {
Last edited by Goofmester1 on Mon Jan 02, 2006 9:16 am, edited 2 times in total.