Download
(89 Kb)
Download
Updated: 12-09-11 08:56 PM
Pictures
File Info
Tested:Hour of Twilight 4.3
Updated:12-09-11 08:56 PM
Created:unknown
Downloads:717,320
Favorites:2,033
MD5:
This AddOn is 4.3 compatible
ItemRack  Popular! (More than 5000 hits)
Version: 2.73
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.73 - By Kharthus __

* TOC update for WoW 4.3.0
* Fixed GetNumMacroIcons error in 4.3

__ New in 2.72 - By Kharthus __

* TOC update for WoW 4.2.0

__ New in 2.71 - By Kharthus __

* TOC update for WoW 4.1.0

__ New in 2.7 - By Yewbacca __

* Created new consolidated patterns for ItemLink/ItemString-to-ItemRackStyleID, ItemRackStyleID-to-BaseID, ItemLink/ItemString-to-BaseID
* Created new functions that use those patterns, and various other new helper functions, in order to consolidate all ItemString-handling in one place
* Replaced all old-style handling of itemIDs (string.gsub/find/match) and made everything use the new functions instead, for more robust handling as well as easy updates in the future
* Replaced GUI drawing code with references to new functions, to get icons and tooltips to work in the GUI
* Updated the GUI code so that it always draws item tooltips using the player's current level, which ensures that mousing over heirlooms in saved sets will actually show their stats for your CURRENT level (the old code set all levels to 0 which made it so the stats were shown incorrectly as level 1)
* Improved the two functions that actually LOCATE the stored equipment set items inside the player's inventory/equipment/bank (whether it's for equipping, or simply displaying a tooltip), by making sure those functions pass the INCOMING ID through the new level updater (UpdateIRString) to ensure all old Item IDs are up to date, thus fixing the bug where leveling up would cause ItemRack to fail strict item search on all saved sets and resort to any-item-with-the-same-baseID; this injection point was chosen because it fixes the problem completely throughout the board, since everything that locates items relies on the item finding functions
* Updated the functions for getting info for an item (GetInfoByID), posting an itemlink to the chatbox when shift clicking an item in ItemRack's GUI (ChatLinkID), and the function for showing an item in a tooltip, so that they all pass the incoming ID through the level updater (UpdateIRString) in order to work with up-to-date information, since it's important that stats are correct whether it's for posting chat links or looking at a tooltip's stats
* Commented and cleaned up terrible code here and there, as I untangled the messy code (minor changes)

__ New in 2.65 - By Kharthus __

* Reverted gear swap code to 2.243 version

__ New in 2.64 - By Kharthus __

* Fixed slash commands

__ New in 2.63 - By Kharthus __

* Replaced all getglobal calls with _G
* Fixed Titan's Grip and Shaman off-hand

__ New in 2.62 - By Kharthus __

* Fixed lua errors caused by chat links
* Fixed issues with clicking on Dockable Buttons
* Fixed event code
* Fixed icon updates on gear swaps

__ New in 2.61 - By Kiki __

* Fixed lua errors caused by tooltips

__ New in 2.60 - By Kiki __

* Fixed for WoW 4.0
Optional Files (6)
File Name
Version
Size
Author
Date
Type
2.73
89kB
12-02-11 02:04 PM
Patch
3.3.0.1
5kB
12-08-09 02:02 PM
Addon
r35
33kB
11-27-09 11:42 PM
Addon
1.9
15kB
06-05-09 11:25 AM
Addon
2.16
60kB
06-08-08 07:12 AM
Addon
1.0
4kB
03-19-06 06:56 AM
Addon


Archived Files (2)
File Name
Version
Size
Author
Date
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
Old 04-24-12, 09:52 AM  
gonzorito
A Kobold Labourer

Forum posts: 0
File comments: 2
Uploads: 0
Kiki - the link posted here is dead, do you have another for us? Thanks!

Originally Posted by kiki
Since original authors are still not responding my messages, I've set up a temporary download page for my modified version of some addons.
Here it is: http://christophe.calmejane.free.fr/wow/addons.html

I really hope Gello will answer me soon, so we can do this in a proper manner.
Thanks for the support meanwhile.
gonzorito is offline Report comment to moderator  
Reply With Quote
Old 12-28-11, 12:13 AM  
Kharthus
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 179
Uploads: 6
Originally Posted by Meltorefas
Glad to see this back again, as I don't think Blizzard's equipment manager compares. Is there a way to turn off the feature that pops out the list of available items when I hover over an equipment slot in the character screen, though? I find it distracting.
Turn off the Character Sheet Menus. It's near the bottom of the Config tab.
Kharthus is offline Report comment to moderator  
Reply With Quote
Old 12-26-11, 01:07 PM  
Meltorefas
A Kobold Labourer

Forum posts: 1
File comments: 9
Uploads: 0
Glad to see this back again, as I don't think Blizzard's equipment manager compares. Is there a way to turn off the feature that pops out the list of available items when I hover over an equipment slot in the character screen, though? I find it distracting.
Meltorefas is offline Report comment to moderator  
Reply With Quote
Old 12-18-11, 11:48 PM  
Kharthus
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 179
Uploads: 6
Originally Posted by Teslan
Thanks for the fast reply. Sounds like there's no easy and quick hotfix for this then. Any chance to make the CHAT_MSG_SAY arguments to work at least?
Sorry. I think it needs a complete re-think of how those events are handled. The buff/stance/zone logic is all custom for those events.
Kharthus is offline Report comment to moderator  
Reply With Quote
Old 12-18-11, 04:49 PM  
Teslan
A Kobold Labourer

Forum posts: 0
File comments: 3
Uploads: 0
Originally Posted by Kharthus
Looks like the generic scripting events are pretty broken. Between the changes to global variables and in-combat restrictions there are a lot of issues.

The buff/zone/stance events still seem to function correctly though. You just won't be able to make your own events using every event in the game.
Thanks for the fast reply. Sounds like there's no easy and quick hotfix for this then. Any chance to make the CHAT_MSG_SAY arguments to work at least?
Teslan is offline Report comment to moderator  
Reply With Quote
Old 12-18-11, 11:24 AM  
Kharthus
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 179
Uploads: 6
Looks like the generic scripting events are pretty broken. Between the changes to global variables and in-combat restrictions there are a lot of issues.

The buff/zone/stance events still seem to function correctly though. You just won't be able to make your own events using every event in the game.
Kharthus is offline Report comment to moderator  
Reply With Quote
Old 12-18-11, 04:56 AM  
Teslan
A Kobold Labourer

Forum posts: 0
File comments: 3
Uploads: 0
Originally Posted by Kharthus
Originally Posted by Teslan
Great addon, although the scripts woth arg1 and similar in them are still not working.
Need a few more details. What are you trying to do and what isn't working?
For example the Events\'After Cast' script that comes with addon. If I enter the name of the spell and the name of the spell, nothing happens.
My script looks like this:

local spell = "Arcane Explosion"
local set = "pink"
if arg1=="player" and arg2==spell then
EquipSet(set)
end

From my understanding this should equip the 'pink' set whenever I cast an arcane explosion (I tested this out of combat obviously.)

I tried to create a script that listens to the CHAT_MSG_SAY event and whenever someone says a colour like red, green, blue my outfit changes to that colour (even turns me naked when someone says pink). It's a really fun RP script I had earlier and I was really sad when this increadable addon stopped working, and was cheerful when discovered that its working again.

If I leave the conditions out and just leave EquipSet("pink") in the script from the previous example, the script works fine. That's why I thought it has to do something with the arg1 variables. I even tried to enter a "local arg1, arg2 = ..." line after some google research (as the event args are not globals since patch 4.01), but it has no effect.

I'm just a beginner, maybe it has nothing to do with the addon and I just overlooked something...
Teslan is offline Report comment to moderator  
Reply With Quote
Old 12-17-11, 10:42 PM  
Kharthus
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 179
Uploads: 6
Originally Posted by Teslan
Great addon, although the scripts woth arg1 and similar in them are still not working.
Need a few more details. What are you trying to do and what isn't working?
Kharthus is offline Report comment to moderator  
Reply With Quote
Old 12-17-11, 06:33 PM  
Teslan
A Kobold Labourer

Forum posts: 0
File comments: 3
Uploads: 0
Great addon, although the scripts woth arg1 and similar in them are still not working.
Teslan is offline Report comment to moderator  
Reply With Quote
Old 12-10-11, 06:23 AM  
kmartinez
A Kobold Labourer

Forum posts: 0
File comments: 3
Uploads: 0
I too would like to thank you. I love this addon, and I appreciate you taking the time to keep it going.
kmartinez is offline Report comment to moderator  
Reply With Quote
Old 12-09-11, 10:04 PM  
Gello
A Scalebane Royal Guard
AddOn Author - Click to view AddOns

Forum posts: 420
File comments: 150
Uploads: 71
Very nice work, Kharthus, and many thanks for keeping this addon alive.

I'm awful at keeping addons up to date (waits for gasps of shock to die down) and it's gratifying that some not only want to keep them alive but work hard to make it happen.

Kharthus is the new owner of ItemRack. Take as much creative license as you want with it! And thanks again!
Gello is offline Report comment to moderator  
Reply With Quote
Old 12-02-11, 02:06 PM  
Kharthus
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 179
Uploads: 6
v2.73 is up with fixes for 4.3.
Last edited by Kharthus : 12-09-11 at 08:56 PM.
Kharthus is offline Report comment to moderator  
Reply With Quote
Old 12-01-11, 03:01 AM  
Ballistics
A Kobold Labourer
 
Ballistics's Avatar

Forum posts: 0
File comments: 2
Uploads: 0
Many thanks for the fix...I simply find Wow awful without this addon.
However, I'm not sure how to apply the fix.
Could you say how to update the addon in a step-by-step way please?
Thank you
Ballistics is offline Report comment to moderator  
Reply With Quote
Old 11-30-11, 06:55 PM  
bunghead
A Kobold Labourer

Forum posts: 0
File comments: 2
Uploads: 0
Re: Broken in patch 4.3

Originally Posted by oscarucb
Here's the fix to the immediate lua error in ItemRackOptions.lua:
thank you
bunghead is offline Report comment to moderator  
Reply With Quote
Old 11-30-11, 06:04 PM  
oscarucb
A Defias Bandit
 
oscarucb's Avatar
AddOn Author - Click to view AddOns

Forum posts: 2
File comments: 12
Uploads: 1
Broken in patch 4.3

Latest version of ItemRack started giving lua errors in 4.3

Anyone working on fixing/maintaining this for 4.3?

Here's the fix to the immediate lua error in ItemRackOptions.lua:

Code:
 345         --for i=1,GetNumMacroIcons() do
 346         --      table.insert(ItemRackOpt.Icons,GetMacroIconInfo(i))
 347         for k,v in ipairs(GetMacroIcons()) do -- oscarucb
 348                 table.insert(ItemRackOpt.Icons,"Interface\\Icons\\"..v)
 349         end
Last edited by oscarucb : 11-30-11 at 06:16 PM.
oscarucb is offline Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: