Minion Beta! - Help us test our new AddOn updater. Get it now!
Download
(90 Kb)
Download
Updated: 10-17-14 02:57 PM
Pictures
File Info
Compatibility:
Warlords of Draenor Pre-Patch (6.0.2)
Updated:10-17-14 02:57 PM
Created:unknown
Downloads:725,146
Favorites:1,988
MD5:
6.0.2
ItemRack  Updated this week!  Popular! (More than 5000 hits)
Version: 2.92
by: Kharthus, Gello
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.

__ Slash Commands __

/itemrack : list the most common slash commands
/itemrack opt : summon the options GUI
/itemrack equip setname : equips a set
/itemrack reset : resets buttons
/itemrack reset everything : wipes all settings, sets and events
/itemrack lock/unlock : locks and unlocks the buttons
/itemrack toggle set name[, second set name] : equips/unequips "set name" (or swaps between two sets if a second set given)

__ Macro Functions __

EquipSet("setname") -- equips "setname"
UnequipSet("setname") -- unequips "setname"
ToggleSet("setname") -- toggles (equips then unequips) "setname"
IsSetEquipped("setname") -- returns true if "setname" is equipped

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.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
Optional Files (0)


Archived Files (15)
File Name
Version
Size
Author
Date
2.91
90kB
Kharthus
10-16-14 02:14 AM
2.90
90kB
Kharthus
10-15-14 04:59 AM
2.89
90kB
Kharthus
10-15-14 12:01 AM
2.88
90kB
Kharthus
09-30-13 03:55 AM
2.87
90kB
Kharthus
03-23-13 11:48 AM
2.86
90kB
Kharthus
03-20-13 11:22 AM
2.85
90kB
Kharthus
03-05-13 10:31 PM
2.84
90kB
Kharthus
02-10-13 09:35 PM
2.83
90kB
Kharthus
12-15-12 11:03 AM
2.82
90kB
Kharthus
09-03-12 12:00 AM
2.81
89kB
Kharthus
08-31-12 07:39 PM
2.8
89kB
Kharthus
08-27-12 10:41 PM
2.73
89kB
Kharthus
12-09-11 09:56 PM
2.25
85kB
Kharthus
04-17-09 06:16 AM
2.243
85kB
Gello
10-14-08 04:37 AM


Post A Reply Comment Options
Unread 08-25-08, 01:14 PM  
forty2j
A Cobalt Mageweaver

Forum posts: 232
File comments: 260
Uploads: 0
Missing Items

The following items won't show up in the menus, or only show up sometimes:

http://www.wowhead.com/?item=27529
http://www.wowhead.com/?item=34676
http://www.wowhead.com/?item=34675
forty2j is offline Report comment to moderator  
Reply With Quote
Unread 08-23-08, 09:59 AM  
alanm26
A Kobold Labourer

Forum posts: 0
File comments: 29
Uploads: 0
Is there a way to get evocation weapon swapping working again since the patch change? Now I just get spammed with "can't do that now" red text whille evocating and my weapons never swap, or swap after I'm done then don't swap back.

Also could you expand/add to the mounted event to also have an option for inside an instance/raid. Nothing like charging in for archimonde and realizing your PVP trinket has been replaced by your riding crop.
alanm26 is offline Report comment to moderator  
Reply With Quote
Unread 08-20-08, 11:57 AM  
forty2j
A Cobalt Mageweaver

Forum posts: 232
File comments: 260
Uploads: 0
Originally posted by Striph
SCT has an event where it says "EXECUTE" in the middle of the screen, so I know its possible through a mod. I currently have an execute button setup, and after looking through some of the custom events was just curious as to whether it was possible, i'm not looking for anything to play the game for me, would just make it easier on things in SWP when i'm already tanking some of the hardest fights to just simplify one aspect of the game.
I am neither a mod author nor a warrior, so I make no claims on this. But looking at the SCT Execute code, and then the ItemRack event code, you might be able to do something like:

["Execute"] = {
Type = "Script",
Trigger = "SPELL_ACTIVE",
Script = "local spell = \"Execute\"\nlocal set = \"Big Honkin Hammer\"\nif arg1==\"player\" and arg2==spell then\n EquipSet(set)\nend\n\n",
}
forty2j is offline Report comment to moderator  
Reply With Quote
Unread 08-19-08, 10:59 PM  
Striph
A Deviate Faerie Dragon
AddOn Author - Click to view AddOns

Forum posts: 15
File comments: 31
Uploads: 5
Originally posted by forty2j
However, you can make a "1h mitigation" or "1h threat" set, write a swap macro for it, and bind it somewhere useful.
SCT has an event where it says "EXECUTE" in the middle of the screen, so I know its possible through a mod. I currently have an execute button setup, and after looking through some of the custom events was just curious as to whether it was possible, i'm not looking for anything to play the game for me, would just make it easier on things in SWP when i'm already tanking some of the hardest fights to just simplify one aspect of the game.
Striph is offline Report comment to moderator  
Reply With Quote
Unread 08-19-08, 01:13 PM  
forty2j
A Cobalt Mageweaver

Forum posts: 232
File comments: 260
Uploads: 0
Originally posted by Striph
Is there anyway to make an event for a weapon swap based on a target mobs health? For example, an execute event to swap weapons out at 20% health?
As an author, you should know that Blizzard doesn't want the addons to play the game for you.

However, you can make a "1h mitigation" or "1h threat" set, write a swap macro for it, and bind it somewhere useful.
forty2j is offline Report comment to moderator  
Reply With Quote
Unread 08-18-08, 04:04 PM  
Striph
A Deviate Faerie Dragon
AddOn Author - Click to view AddOns

Forum posts: 15
File comments: 31
Uploads: 5
Is there anyway to make an event for a weapon swap based on a target mobs health? For example, an execute event to swap weapons out at 20% health?
Striph is offline Report comment to moderator  
Reply With Quote
Unread 08-03-08, 03:47 PM  
greenstpne
A Murloc Raider

Forum posts: 6
File comments: 6
Uploads: 0
Mining and Itemrack.

I asked this before but so far have not been able to make an event for mining.
Basically when you get to a node you click on it and it automatically starts mining, you don't have to click on an icon. Is there anyway to make this work?

Thanks for updating the addon its working great so far.
greenstpne is offline Report comment to moderator  
Reply With Quote
Unread 07-24-08, 02:58 PM  
Burnum
A Defias Bandit
 
Burnum's Avatar

Forum posts: 2
File comments: 81
Uploads: 0
minor Mount event "Except in PVP instances" issue. (at least in Arena) If you enter Arena mounted the set doesn't get changed back to non mounted once you enter.

I will have to test more.
Burnum is offline Report comment to moderator  
Reply With Quote
Unread 07-24-08, 09:46 AM  
forty2j
A Cobalt Mageweaver

Forum posts: 232
File comments: 260
Uploads: 0
Originally posted by Kharthus
Pretty sure that's been happening for awhile, nothing new caused by the spell casting delay. If you click on a portal while mounted it somehow doesn't trigger ItemRack that you dismounted.
I was actually still on 2.22 when I tried it. Was just getting back into events, since I'd been using some version of the 2.0 beta for forever.
forty2j is offline Report comment to moderator  
Reply With Quote
Unread 07-23-08, 09:30 PM  
Kharthus
A Murloc Raider
AddOn Author - Click to view AddOns

Forum posts: 8
File comments: 238
Uploads: 6
=> The swift flight set is still equipped.
Pretty sure that's been happening for awhile, nothing new caused by the spell casting delay. If you click on a portal while mounted it somehow doesn't trigger ItemRack that you dismounted.
Kharthus is offline Report comment to moderator  
Reply With Quote
Unread 07-21-08, 08:24 AM  
forty2j
A Cobalt Mageweaver

Forum posts: 232
File comments: 260
Uploads: 0
Here's a fun one for you.

1. Roll a druid
2. Acquire epic flight form
3. Create a set for the swift flight charm
4. Attach the set to the event of shifting into swift flight
5. Test, and verify it behaves correctly under normal circumstances

Ok, then.

6. Shift to epic flight form
7. Take the portal down to Sunwell Isle
8. Watch yourself be force-shifted out once you arrive, since you can't fly there
=> The swift flight set is still equipped.
forty2j is offline Report comment to moderator  
Reply With Quote
Unread 07-20-08, 05:39 PM  
Kharthus
A Murloc Raider
AddOn Author - Click to view AddOns

Forum posts: 8
File comments: 238
Uploads: 6
Re: Re: Re: riding trinket delay

I've noticed it the most while mining from a mount. That's probably the easiest way to test it if you have a miner.
Kharthus is offline Report comment to moderator  
Reply With Quote
Unread 07-20-08, 07:33 AM  
Gello
A Scalebane Royal Guard
AddOn Author - Click to view AddOns

Forum posts: 444
File comments: 334
Uploads: 100
Re: Re: riding trinket delay

I'm looking into event-driven sets not unequipping on a delay caused by a cast. It works on single not in chain cast situations (in combat complicates it a bit).

There's also a timing issue when the spell causes you to go into combat when it lands. Cast a nuke with a cast time and when it lands it attempts to swap just as you enter combat.

Unfortunately if I don't figure it out today it may be a few days before I can devote serious time to it since it's a busy week for me.

edit: btw if the not unequipping is more annoying than the interrupted casting, edit ItemRack.lua and at the very top is:

local disable_delayed_swaps = nil -- temporary. change nil to 1 to stop attempting to delay set swaps while casting

as it says change nil to 1 and reload/logout-in
Last edited by Gello : 07-20-08 at 08:20 AM.
Gello is offline Report comment to moderator  
Reply With Quote
Unread 07-20-08, 02:22 AM  
Kharthus
A Murloc Raider
AddOn Author - Click to view AddOns

Forum posts: 8
File comments: 238
Uploads: 6
Re: riding trinket delay

Originally posted by blankStare
first, I just got into queues. Wow, nice feature.

Since the last patch did something to equipment switching, if I'm on my mount, i have a riding crop and want to mine a node, when I right click the node I start to mine but when the trinket gets switched out, I get interrupted. I have a different addon doing the switching. Is there any way to use itemrack for the switching and delay the trinket switch if I'm mining, or such?
Use the Mounted Event. At the moment, the delay isn't working, but it also won't interrupt your mining. It just leaves your riding crop equipped.
Kharthus is offline Report comment to moderator  
Reply With Quote
Unread 07-20-08, 02:20 AM  
Kharthus
A Murloc Raider
AddOn Author - Click to view AddOns

Forum posts: 8
File comments: 238
Uploads: 6
spell interrupts

The new feature to not interrupt spell casting works fine if you are swapping sets from the menu, but doesn't work when a set swaps automatically when it's triggered by an event. It doesn't interrupt the spell anymore, but it also doesn't complete the swap when the spell is finished.
Kharthus is offline Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: