Download
(91Kb)
Download
Updated: 07-18-23 01:31 PM
Pictures
File Info
Compatibility:
Fractures in Time (10.1.5)
Embers of Neltharion (10.1.0)
Updated:07-18-23 01:31 PM
Created:unknown
Downloads:763,391
Favorites:1,969
MD5:

ItemRack  Popular! (More than 5000 hits)

Version: 3.28
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 3.28 - By Kharthus __

* TOC update for 10.1.5 patch

__ New in 3.27 - By Kharthus __

* TOC update for 10.1.0 patch
* Addon compartment support
* Clickthrough buttons once again work on mouseUp
* Fix for addons collecting buttons (thanks sfmict)

__ New in 3.26 - By Kharthus __

* Fixed set icon list (thanks SlavKnightGeto)
* Fixed inventory icon sizing in Options window

__ New in 3.25 - By Kharthus __

* Fixed clickthrough on floating buttons that use inventory items.

__ New in 3.24 - By Kharthus __

* TOC update for 10.0.7 patch

__ New in 3.23 - By Kharthus __

* TOC update for 10.0.5 patch

__ New in 3.22 - By Kharthus __

* Fix for errors when mousing over item slots

__ New in 3.21 - By Kharthus __

* Updates for 10.0.2 patch

__ New in 3.20 - By Kharthus __

* Updates for 10.0 patch

__ New in 3.17 - By Kharthus __

* TOC update for 9.2.5 patch

_ New in 3.16 - By Kharthus __

* TOC update for 9.2 patch

__ New in 3.15 - By Kharthus __

* TOC update for 9.1.5 patch

__ New in 3.14 - By Kharthus __

* TOC update for 9.1 patch

__ New in 3.13 - By Kharthus __

* TOC update for 9.0.5 patch

__ New in 3.12 - By Kharthus __

* TOC update for 9.0.2 patch

__ New in 3.11 - By Kharthus __

- Updates to support Shadowlands Pre-Patch

- Change log up to this version removed from hosting site and archived in Change Log.txt
Optional Files (0)


Archived Files (13)
File Name
Version
Size
Author
Date
3.27
91kB
Kharthus
05-07-23 11:56 AM
3.26
91kB
Kharthus
04-02-23 08:20 PM
3.25
91kB
Kharthus
03-27-23 07:37 AM
3.24
91kB
Kharthus
03-26-23 02:22 PM
3.23
91kB
Kharthus
02-24-23 12:56 PM
3.22
91kB
Kharthus
12-02-22 02:32 AM
3.21
91kB
Kharthus
11-15-22 08:29 PM
3.20
91kB
Kharthus
11-04-22 11:17 AM
3.17
91kB
Kharthus
06-01-22 10:36 PM
3.16
91kB
Kharthus
02-22-22 10:36 PM
3.15
91kB
Kharthus
01-28-22 09:56 AM
3.14
91kB
Kharthus
07-03-21 08:50 AM
3.13
91kB
Kharthus
03-12-21 05:40 PM


Post A Reply Comment Options
Unread 06-30-08, 04:56 PM  
Gello
A Molten Giant
AddOn Author - Click to view AddOns

Forum posts: 521
File comments: 582
Uploads: 75
Re: Plaguelands

Originally posted by Thorlin
Am I completely missing something or is there no way to auto swap in Argent Dawn Commission when entering the Plaguelands anymore?
Make a new event, type Zone and in the zone list enter:
Western Plaguelands
Eastern Plaguelands
Stratholme
Scholomance

and you have the old event back.

I thought it'd be a pretty low priority nowadays but can add it back in to defaults if there's demand.
Report comment to moderator  
Reply With Quote
Unread 06-30-08, 01:02 PM  
Thorlin
A Defias Bandit

Forum posts: 2
File comments: 36
Uploads: 0
Plaguelands

Am I completely missing something or is there no way to auto swap in Argent Dawn Commission when entering the Plaguelands anymore?
Report comment to moderator  
Reply With Quote
Unread 06-29-08, 09:02 PM  
Gello
A Molten Giant
AddOn Author - Click to view AddOns

Forum posts: 521
File comments: 582
Uploads: 75
I'll look into that Lohv. I think something funny is going on with zoning and a relatively new setup.
Report comment to moderator  
Reply With Quote
Unread 06-28-08, 05:37 PM  
Lohv
A Kobold Labourer

Forum posts: 0
File comments: 26
Uploads: 0
There seems to be an obscure bug when you zone (in and out of an instance of any type, but also when you load into the game): it appears that the first *hidden* set you have save will be equipped.

This happens on both of my characters: my druid automatically equips her charm of swift flight (her flight set is her top-most "hidden" set), and my hunter automatically equips her riding crop (her mounted set is her top-most "hidden" set).

Both my characters use the "PvP" event, and the "Unequip when leaving zone" checkbox is checked. However, if I uncheck this checkbox, the bug no longer occurs, be it when loading into the game, zoning into a PvP instance, a battleground, a PvE instance, or out of those.

Please note, this was occurring even if I *NEVER* had my riding crop/swift flight charm equipped during that particular playing session. So it is indeed a bug and not a case of ItemRack trying to re-equip my previous set.

Thanks in advance for looking into this!
Report comment to moderator  
Reply With Quote
Unread 06-27-08, 09:00 PM  
blankStare
A Kobold Labourer

Forum posts: 1
File comments: 82
Uploads: 0
dagger script event

edit: seems this is a work in progress lol. check back here often

rogue dagger switch:
event= UNIT_AURA

Code:
if arg1=="target" then
 local i
 local db
 for i=1,16 do
   db=UnitDebuff("target",i)
   if db=="Kidney Shot" or db=="Mace Stun Effect" or db=="Gouge" then 
     EquipSet("dagger") 
     i=17
   end
 end
end
Last edited by blankStare : 06-28-08 at 01:17 PM.
Report comment to moderator  
Reply With Quote
Unread 06-26-08, 08:21 PM  
Gello
A Molten Giant
AddOn Author - Click to view AddOns

Forum posts: 521
File comments: 582
Uploads: 75
Re: Mining Nodes.

re daggers and backstab. Nothing has changed in the mechanics of weapon swaps and casting, at least in ~2 years since they added a global cooldown to weapon swaps. If a dagger isn't equipped and a skill requires a dagger, you won't be able to swap one in and use the skill both in one keypress in combat.

re dazed, stunned, mining node: Those are all possible.

re identical items different enchant/gems: Yes this mod handles same items with different gems/enchants (should handle it better than the old version). Just make sure to save the set with the new enchant/gems and it will know to look for them.
Last edited by Gello : 06-27-08 at 06:33 PM.
Report comment to moderator  
Reply With Quote
Unread 06-26-08, 12:30 PM  
greenstpne
A Murloc Raider

Forum posts: 6
File comments: 6
Uploads: 0
Mining Nodes.

Didn't look at the notes so don't know if this has been implemented...but it would be great if it was. Is it possible? Can you setup a profile that will switch just after you click on a node?

Currently I have two sets of t6 one gemmed for stam the other for agil, with the old version I can swap without issues, will the new version have any issues with duplicate items?
Last edited by greenstpne : 06-26-08 at 12:36 PM.
Report comment to moderator  
Reply With Quote
Unread 06-26-08, 05:31 AM  
blankStare
A Kobold Labourer

Forum posts: 1
File comments: 82
Uploads: 0
/script EquipSet()

I'm revisiting weapon switching via a macro. It's been awhile but, the following macro used to just take one hardware event (keypress).
/script EquipSet("dagger")
/cast BackStab

Now I have to press the button twice. Did Bliz make something in the EquipSet now require a hardware event?

So... has anyone coded an event script that will trigger when your current target is dazed or stunned?
Report comment to moderator  
Reply With Quote
Unread 06-25-08, 12:14 PM  
Gello
A Molten Giant
AddOn Author - Click to view AddOns

Forum posts: 521
File comments: 582
Uploads: 75
Re: Re: Excellent news Gello!

re druid flight forms: Oops I knew I forgot something. It will be in next update (2.21 likely this weekend). I'm going to set the Unequip on those also by default. Let me know if druids would prefer to not unequip.

I should mention that especially these first few updates after events, I may be tweaking or adding default events. These will overwrite default events already named, and any custom events that use the new default names. So far this is "Swimming", "Druid Flight Form" and "Druid Swift Flight Form". If anyone changes a default event and wants to prevent updates from changing them, change their name and save then disable the old default events. This won't be an ongoing problem.

re UnitOnTaxi: Cool that'll work well. Thanks!

re disabling events in PVP: This one I've spent some time on. Initially I was going to have a function named ItemRack.SuspendEvents() and ItemRack.ResumeEvents() but in the end it'll probably be easier just to add a checkbox on buff and stance events whether to disable when the pvp flag is up, either in an instance or in world pvp. This is something scriptable now with the event and function you mentioned (on PLAYER_ENTERING_WORLD script ItemRackUser.EnableEvents=(arg2=="none") and "ON" or "OFF" ItemRack.RegisterEvents()) , but it's been a pretty common request I'll do something for it.

re rebuilding sets: Yeah sorry they'll need rebuilt if you go from 1.9x to 2.x. There was a lot of excess fluff in 1.9x for backward compatability. The rewrite seemed a good time to start over.

re Blessed Medallion of Karabor: Further down someone mentioned this problem also with belts. I tried to look into possible reasons but couldn't figure it out then. Do you have any tooltip mods running that add lines to the tooltip? Are any of them all red on this neck and not on others? If it's possible could you post a screenshot of the Blessed Medallion of Karabor's tooltip?
Report comment to moderator  
Reply With Quote
Unread 06-25-08, 06:37 AM  
romracer
A Murloc Raider
 
romracer's Avatar
AddOn Author - Click to view AddOns

Forum posts: 4
File comments: 49
Uploads: 1
Re: Excellent news Gello!

Originally posted by EvilJim
Gello, so glad to hear that events have finally made it into ItemRack 2.x.

However, I was curious if if was still necessary to rebuild all sets from the ground up upon updating to 2.x, or if current set info will get transfered over to 2.x on install.

Plz LMK when you get a moment, and once again, Events in 2.x, good on you!
About 6 lines down on the AddOn Info tab:

"__ Notes for ItemRack 1.9x users __
* All your sets and events from 1.9x will need to be rebuilt. The changes are too drastic to carry over."
Report comment to moderator  
Reply With Quote
Unread 06-25-08, 03:31 AM  
Acirac
A Defias Bandit

Forum posts: 2
File comments: 56
Uploads: 0
Not showing neck piece

For some reason when creating sets or when mousing over the neck slot in the character frame my Blessed Medallion of Karabor is not being shown. The item id is 32757. The item is in my bags and all other necks pieces show except that one
Report comment to moderator  
Reply With Quote
Unread 06-24-08, 08:01 PM  
EvilJim
A Kobold Labourer

Forum posts: 0
File comments: 3
Uploads: 0
Excellent news Gello!

Gello, so glad to hear that events have finally made it into ItemRack 2.x.

However, I was curious if if was still necessary to rebuild all sets from the ground up upon updating to 2.x, or if current set info will get transfered over to 2.x on install.

Plz LMK when you get a moment, and once again, Events in 2.x, good on you!
Report comment to moderator  
Reply With Quote
Unread 06-23-08, 08:21 PM  
Lohv
A Kobold Labourer

Forum posts: 0
File comments: 26
Uploads: 0
Hi Gello,

First of all thanks for the addon. Second, I wanted to draw your attention to this API function:
http://www.wowwiki.com/API_IsInInstance

Instead of checking the name of the zone in the "PvP" event you can simply check the second return value of IsInInstance(). This also opens the way for a "PvE" event. The value returned by IsInInstance is correct immediately upon PLAYER_ENTERING_WORLD.

In fact, it would be great if there could be a checkbox to prevent event-based equips from triggering in an arena. For instance, in arenas, players often stealth or mount up before the game starts; however, once the match has started, we can no longer swap gear, so being stuck with the "mounted" or "stealth" set would be baaad.

Thanks again!
Last edited by Lohv : 06-23-08 at 08:57 PM.
Report comment to moderator  
Reply With Quote
Unread 06-23-08, 07:29 PM  
SaberHawke
A Fallenroot Satyr
 
SaberHawke's Avatar

Forum posts: 23
File comments: 93
Uploads: 0
Re: Re: Minor Error

Originally posted by Gello
Thanks SaberHawke I'll have that fixed next update.

The mount bit on flight-master mounts kinda surprised me too. Instead of checking mount buffs and stuff, this mod does a simple IsMounted() to see if you're mounted. Which turns out to be true if you've taken a flight from a flight master.

I'm hesitant to go back to buffs to check for mount status since they add new mounts all the time, but the option is there if any want to limit what's considered mounted. (create a new Buff event, with the name of the buff mount)
Thanks for the followup.

One thought though, you could check if the unit is using a taxi with the UnitOnTaxi API call.
Report comment to moderator  
Reply With Quote
Unread 06-23-08, 07:27 PM  
Spotz
A Defias Bandit

Forum posts: 3
File comments: 1
Uploads: 0
Possible to add support for Druid Flight Forms?

Code:
   ["Druid Flight Form"] = { Type = "Stance", Stance = "Flight Form" },
   ["Druid Swift Flight Form"] = { Type = "Stance", Stance = "Swift Flight Form" },
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: