ItemRack

This is a mod to make swapping equipment easier through popout slot menus, equip slot buttons, gear sets and automated swaps.

__ Quick Start Guide __

Minimap button:
* Right-click the minimap button to open options or create sets
* Left-click the minimap button to choose a set
* Shift-click the minimap button to unequip the last set equipped
* Alt-click the minimap button to toggle events on/off

Dockable buttons:
* Alt+click slots on the character sheet to create/remove buttons
* Alt+click yourself in the character sheet to create/remove a set button
* Alt+click the created buttons to toggle their auto-queue status
* Shift+drag buttons to break them apart if they're docked to each other
* Drag the menu's border around to dock it to a different side of buttons
* Right-click the menu's border to rotate the menu
* Size, alpha, spacing, etc are in options

Creating/equipping sets:
* You create sets in the Sets tab after right-clicking the minimap button
* Select slots for the set, choose a name and icon and click Save
* Once a set is saved, there are several ways to equip it:
1. Left-click the minimap button and choose the set
2. Mouseover a set button you've created (Alt+click yourself in character sheet)
3. Use a key binding you define in the set ("Bind Key" button)
4. In macros with /itemrack equip setname
5. In events or scripts that use EquipSet("setname")

Popout menus:
* Click an item or set in a menu to equip it
* Shift+click a set in a menu to unequip it
* Alt+click an item in a menu to hide/unhide it
* Hold Alt as you mouseover a slot to show all hidden items

While at a bank:
* Items/sets in the bank have a blue border.
* Selecting an item or set that's in the bank will pull it from the bank to your bags.
* Selecting an item or set that's not in the bank will attempt to put it all into the bank.

In the unlikely event that another mod (or default UI in the future) uses these function names, you can use their long version ItemRack.EquipSet(), ItemRack.UnequipSet(), etc. This mod only commandeers the shortened names if they appear to be unused.

__ Events __

2.2 (re)introduces events. These are scripts to automatically equip and unequip gear as things happen in game.

To use an event:
1. In the 'Sets' tab, create or make sure you have a set you'd like to equip when the event happens.
2. In the 'Events' tab, click the red ? icon beside the event you want to use.
3. Choose the set for this event.
4. Ensure the event has a check beside it.

As events are enabled, a separate process watches for those events and equips (and unequips if chosen) as they happen.

If you want to create or edit an event, there are four types of events:

Buff: These events equip gear as you gain buffs. ie, Evocation, Drinking and being on a mount.
Stance: These events equip gear when you change stances or forms. ie, Battle Stance, Moonkin Form, Shadowform
Zone: These events equip gear when you're in one of a list of zones. ie, the PVP event includes all arena and BG maps.
Script: For those with lua knowledge, you can create your own event based on a game event. A couple examples are in the default events.

When dealing with events, it's good to keep some things in mind:
* You'll get the most predictable behavior by having sets that don't overlap. If you're a warrior with a Tanking, DPS and PVP set, consider not including weapons in those sets. If you decide to make an event to swap in a 2H when you go into Berserker Stance and a 1h+shield when you go into Defensive Stance, you won't step on the toes of events that swap in PVP gear in a BG/arena or a tuxedo in a city.
* A gold gear icon on the minimap button (and on the sets button if you've created one) means that events are enabled. If you decide you want to temporarily shut down all events, Alt+click the minimap button or the sets button. (You can disable events in options also)
* For non-English users, you might want to edit the events that have English text within them. I try to keep it locale-independant when possible (ie, warrior and most druid stances use the numbers instead of names), but you'll never enter "Stormwind City" on a deDE client for the city event.
* Script Events do not have a "set" defined to them like other events do. They need to EquipSet("setname") explicitly. Its set button will always be the macro keys icon.
* Advanced users of 1.9x may notice the lack of a delay option in scripted events. I've decided to pull this down into the scripting system to streamline the event process. For now, you can use ItemRack.CreateTimer and ItemRack.StartTimer defined in ItemRack.lua.

__ New in 2.97 - By Kharthus __

* TOC update for 6.2 patch

__ New in 2.96 - By Kharthus __

* Fixed green icons in Sets screen

__ New in 2.95 - By Kharthus __

* TOC update for 6.1 patch

__ New in 2.94 - By Kharthus __

* Properly remove disabled events

__ New in 2.93 - By Kharthus __

* Added support for bonus stats in WoD (Thanks Gello)

__ New in 2.92 - By Kharthus __

* Fixed black and white buttons and gear icons

__ New in 2.91 - By Kharthus __

* Code cleanup for 6.0.2

__ New in 2.90 - By Kharthus __

* Fixed helm/cloak hiding

__ New in 2.89 - By Kharthus __

* TOC update for 6.0.2 patch

__ New in 2.88 - By Kharthus __

* TOC update for 5.4 patch

__ New in 2.87 - By Kharthus __

* New option for Hide the ItemRack buttons during pet battles

__ New in 2.86 - By Kharthus __

* Hide the ItemRack buttons during pet battles

__ New in 2.85 - By Kharthus __

* TOC update for 5.2 patch

__ New in 2.84 - By Kharthus __

* Fixed Monk off-hands

__ New in 2.83 - By Kharthus __

* TOC update for 5.1 patch

__ New in 2.82 - By Kharthus __

* Fixed dual spec events

__ New in 2.81 - By Kharthus __

* Attempt to fix GlyphUI problem

__ New in 2.8 - By Kharthus __

* Updates for MoP

- Change log up to this version removed from hosting site and archived in Change Log.txt

Hm, looks like I have to get into some coding works again and try a q'n'd work for myself, because I often have my bags full with drops from instance runs and I have to look, what I could sell with the tooltip line. But thx for the info anyway.

Originally posted by Bruneor I wonder, if anybody knows if there is a way to get ItemRack printing a line in a tooltip, to which set the current hovered gear is, ie. like in ClosetGnome, since I have around 50 gear items in my bags and I want to put some stuff into my bank but I have to rechecek several minutes before can do so, because I switched back parts of my tankgear last time. Any ideas or is it already done or what?

A bankswitcher option would be cool to, like again in ClosetGnome plugin ClosetGnome_Banker, couldn't find a post about this and if this is possible with events or such things.

No tooltip, but..

1. Open the bank.
2. Select the ItemRack set you want to bank. All items from this set (whether you were wearing them or they were in your bag) go to the bank.
3. Select the ItemRack set you want to keep. All items in that set that are in your bank go to your inventory.
4. Close the bank.
5. Select the same ItemRack set you selected in Step 3. You're now wearing it.

I wonder, if anybody knows if there is a way to get ItemRack printing a line in a tooltip, to which set the current hovered gear is, ie. like in ClosetGnome, since I have around 50 gear items in my bags and I want to put some stuff into my bank but I have to rechecek several minutes before can do so, because I switched back parts of my tankgear last time. Any ideas or is it already done or what?

A bankswitcher option would be cool to, like again in ClosetGnome plugin ClosetGnome_Banker, couldn't find a post about this and if this is possible with events or such things.

Originally posted by romracer
Try the following if you'd like. Both zips are the same (version 2.25+JC prismatic gem fix). They are two separate URLs in case any of you guys have problems with your browser caching the old one. You only need to download one of them (make sure the file dates are Apr 27th):

I've come across a solution to what's arguably the most sought-after feature in ItemRack right now.

With the advent of Dual Specs, everybody and their mother wants to have ItemRack auto-switch sets when the spec is swapped.

Well, until ItemRack allows something such as "When selecting this set, first apply the talents, then swap gear (because if gear is attempted to swap BEFORE respeccing, it will fail if some of the gear requires a talent to use)".

The solution to the above scenario is to set up an event "when talent spec has changed (meaning new talents are applied), look at which talent spec we are using (primary or secondary), and load a different set depending on which spec we're in". It avoids the problem of trying to equip gear that requires some talent before having changed spec, and it's automatic because it happens as soon as you swap spec.

Originally posted by sensory Doesn't work I'm afraid. Switches half my gear but is unable to re-equip some of the gear.

The other version posted in these comments that fixes the prismatic issues still works.

Hi guys, my apologies. I'm still leveling JC so I wasn't able to verify my port worked. Blame me for trying to make it more "future proof" because I believe that broke the prismatic part.

Try the following if you'd like. Both zips are the same (version 2.25+JC prismatic gem fix). They are two separate URLs in case any of you guys have problems with your browser caching the old one. You only need to download one of them (make sure the file dates are Apr 27th):

I'm an elemental shaman with a Resto offspec. Why is it when I switch item sets the Voice of Reason Shield (elemental) Keeps switching itself back into the offhand? I need the Shield of Assimilation in there and it won't stay in with Itemrack enabled!

Originally posted by romracer Here's a version 2.25 of ItemRack that includes the prismatic gem fix. I can't take credit for the fix as I didn't write it; I just merely ported it to the new version of ItemRack.

Hello, I designed a small event that will automatically switch gear sets when you switch specs. To do it, open up itemRack and open up the Events tab, and click New, then fill in the following details:

-------------------------

Name Of Event: Spec Switch (anything really but this is what I used)
Type Of Event: Script
Event Trigger: ACTIVE_TALENT_GROUP_CHANGED
Event Script:

groupIndex = GetActiveTalentGroup()
if groupIndex==1 then
EquipSet("NAME OF SET FOR PRIMARY SPEC HERE")
elseif groupIndex==2 then
EquipSet("NAME OF SET FOR OFFSPEC HERE")
end

---------------------------------
Note: Replace the
NAME OF SET FOR PRIMARY SPEC HERE
and
NAME OF SET FOR OFFSPEC HERE
with the actual names of your primary spec set and your offspec set. Make sure to KEEP THE QUOTATIONS (so if your primary set is called Healing, it'd look like this: EquipSet("Healing")

Combined with a simple macro (literally: /usetalents [spec:2] 1; [spec:1] 2), I am able to press one button to swap between specs and ItemRack is changing my gear accordingly.