Tradeskill macro using new tradeskill window

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

Moderator: MacroQuest Developers

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

Fix for Ctrl-Click

Post by GD » Fri Jun 11, 2004 9:50 pm

* * EDIT: Fixed a typo that stopped this from working * *

This will make it work for you by getting your setting for using Ctrl-Clicking from your UI Config file, then pressing Ctrl if needed.

* NOTE * You must edit the EQUIFile setting to your Everquest folder for it to work * NOTE *

In Sub DeclareOuters add:

Code: Select all

| Define EQ UI config file
   /declare EQUIFile string outer "[color=red]YourEQFolder[/color]\UI_${Me}_${MacroQuest.Server}.ini"
Then change Sub OpenPack from:

Code: Select all

   /if (!${Window[Pack${PackNum}].Open}) {
      /if (!${Window[Inventory].Open}) /keypress INVENTORY
      /itemnotify pack${PackNum} rightmouseup
      /delay 5
   }
To:

Code: Select all

   /if (!${Window[Pack${PackNum}].Open}) {
      /if (!${Window[Inventory].Open}) /keypress INVENTORY
[color=red]      /if (${Ini[${EQUIFile},TradeskillWnd,CtrlBypass].Equal[1]}) {
         /itemnotify pack${PackNum} rightmouseup
      } else {
         /Ctrl /itemnotify pack${PackNum} rightmouseup
      }[/color]
      /delay 5
   }
Opinions are like assholes, everyone has one, but most of them stink.

BrainDeath
a ghoul
a ghoul
Posts: 86
Joined: Sun Mar 07, 2004 5:00 pm

Post by BrainDeath » Fri Jul 16, 2004 10:25 pm

Edited just to fix the > being changed to html safe tag

Epoch18
orc pawn
orc pawn
Posts: 16
Joined: Mon Sep 15, 2003 1:39 pm

Post by Epoch18 » Sun Jul 18, 2004 2:05 pm

I made this simple string to make Short Ale, but MQ keeps saying
[MQ2] Recipe [short] not defined in newts.ini INI file
[MQ2] An error has occured. ending macro
I'm sure I have it right, but maybe I'm missing something. Here's what I have inserted into the newts.ini file:

Code: Select all

[short] 
;Short Ale 
Recipe1=barley
ContType1=enviro 
ContName1=Brew Barrel 
Recipe2=hops 
ContType2=enviro 
ContName2=Brew Barrel 
Recipe3=cask 
ContType3=enviro 
ContName3=Brew Barrel 
Recipe4=water flask 
ContType4=enviro 
ContName4=Brew Barrel 
Any help or suggestions please?

s16z
a ghoul
a ghoul
Posts: 97
Joined: Thu Apr 01, 2004 12:03 pm

Post by s16z » Sun Jul 18, 2004 2:19 pm

Any recipe that has multiple words in the name must be enclosed in quotes, i.e. /macro newts "short beer"

If you don't, it will only use the first word (in your case 'short') to look for the recipe.

Epoch18
orc pawn
orc pawn
Posts: 16
Joined: Mon Sep 15, 2003 1:39 pm

Post by Epoch18 » Sun Jul 18, 2004 2:23 pm

EDIT: Wait... I think I might have found what I'm doing wrong... I actually misunderstood the whole concept of how the macro works.

EDIT 2: Yeah, I figured it out, Thanks anyway

BrainDeath
a ghoul
a ghoul
Posts: 86
Joined: Sun Mar 07, 2004 5:00 pm

Post by BrainDeath » Mon Oct 18, 2004 5:38 pm

10-18-04:

Updated the macro with a few minor changes and implemented some suggested changes.

Also added the macro as an include file. Can be very helpful when used in conjunction with fine macros like advpath. :wink: