PDA

View Full Version : Using Itemids For Food and Drink



junx
11-14-2007, 06:14 PM
Every item in World of Warcraft has an internal Item ID and can be used from any macro with the following syntax:


/use item:ItemID

Macros of this type use the first item in the list you have in your inventory and ignore the rest.

Using this syntax it is possible to make one macro for all mage food and water when you first start dualboxing and not have to worry about changing it until you hit 70.

The following macros contain all ranks of mage food and water, in order from lowest to highest, in two macros.

FOOD
/use item:1113
/use item:1114
/use item:1487
/use item:5349
/use item:8075
/use item:8076
/use item:22019
/use item:22895
/use item:34062



WATER
/use item:2136
/use item:2288
/use item:3772
/use item:5350
/use item:8077
/use item:8078
/use item:8079
/use item:30703
/use item:22018
/use item:34062

You can also make similar macros for pots and other consumables:

BANDAGE
/use item:1251
/use item:2581
/use item:3530
/use item:3531
/use item:6450
/use item:6451
/use item:8544
/use item:8545
/use item:21990
/use item:21991

MANA POTS
/use item:2455
/use item:3385
/use item:3827
/use item:6149
/use item:13443
/use item:13444
/use item:28101
/use item:32948
/use item:22832


HEALTH POTS

/use item:118
/use item:858
/use item:1710
/use item:3928
/use item:4596
/use item:13446
/use item:22829


I have other consumable macros for cooked food and other things. These macros all use lower items first then move to higher items as inventory depletes. You could reverse the order to use higher items first.

There are mods that will tell you an item's ID in game. Or you can go to wowhead.com and just copy the ID out of the URL. The itemid URL parameter on wowhead uses the in game ID's so you can copy them from there.

Ryan
11-14-2007, 07:09 PM
Is there any real difference between using an item name versus an item ID? I don't have a mage, so my water macro right now is simply /use Moonberry Juice

Gallo
11-14-2007, 09:08 PM
Is there any real difference between using an item name versus an item ID? I don't have a mage, so my water macro right now is simply /use Moonberry Juice

If you use this as a single macro:

/use item:2136
/use item:2288
/use item:3772
/use item:5350
/use item:8077
/use item:8078
/use item:8079
/use item:30703
/use item:22018
/use item:34062

then it will use whatever water you happen to have in your inventory... and you'll never have to write new macros every few levels.

The IT Monkey
11-14-2007, 09:13 PM
Is there any real difference between using an item name versus an item ID? I don't have a mage, so my water macro right now is simply /use Moonberry Juice

If you use this as a single macro:

/use item:2136
/use item:2288
/use item:3772
/use item:5350
/use item:8077
/use item:8078
/use item:8079
/use item:30703
/use item:22018
/use item:34062

then it will use whatever water you happen to have in your inventory... and you'll never have to write new macros every few levels.

Or you could use Autobar and save your macros for macros that kill stuff ;)

Ryan
11-14-2007, 09:23 PM
Is there any real difference between using an item name versus an item ID? I don't have a mage, so my water macro right now is simply /use Moonberry Juice

If you use this as a single macro:

/use item:2136
/use item:2288
/use item:3772
/use item:5350
/use item:8077
/use item:8078
/use item:8079
/use item:30703
/use item:22018
/use item:34062

then it will use whatever water you happen to have in your inventory... and you'll never have to write new macros every few levels.

That fails to answer my question though. Is there any real difference between using an itemID and using the name of an item?

And it doesn't work because I don't carry mage water, I use vendor water. And rewriting macros is no big deal, I change my macros constantly depending on what I want to do.

Gallo
11-14-2007, 09:33 PM
no difference at all. I think he just made that macro so that he never had to change it again.

The IT Monkey
11-14-2007, 09:45 PM
With a 255 character limit on macros if you are making a large macro the ITEMID comes in handy if you need to save some room.

/USE ITEM:2234
Is a lot shorter than
/USE Bestest Magical Drinking Water Ever Cold Filtered In The Mountains

junx
11-15-2007, 12:01 AM
Yeah it is to get around the character limit and not have to rewrite the macro on x number of accounts each time I get new ranks of food and water.

It also comes in handy for complex equipment swapping macros. For example I have a macro on my druid for swapping weapons during the Kale encounter. With names like "Staff of Disintegration" etc.. you can hit the hard limit in macros really quick.

Oathbreaker
11-15-2007, 02:33 AM
Has Blizzard ever been known to change item IDs?

The IT Monkey
11-15-2007, 01:55 PM
Has Blizzard ever been known to change item IDs?

Only on the [Guitar Amplifier of Power] it was ItemID 10... but they decided to make it go to 11.

Djarid
11-16-2007, 04:00 AM
ROFL