Download
(60Kb)
Download
Updated: 05-25-13 02:47 PM
Pictures
File Info
Updated:05-25-13 02:47 PM
Created:unknown
Downloads:192,028
Favorites:904
MD5:

Trinket Menu  Popular! (More than 5000 hits)

Version: 5.0.2
by: Gello, Resike

This is a mod to make swapping trinkets easier. It will display your two equipped trinkets in a bar. Mouseover on either trinket will display a menu of up to 30 trinkets in your bags to swap.

Swapping/Using trinkets

Left click a trinket in the menu to equip it to the top trinket slot.
Right click a trinket in the menu to equip it to the bottom trinket slot.
Left or Right click either trinket to use them. Or make a key binding for either trinket.

Auto Queue

3.0 introduces auto trinket queues to TrinketMenu. In options you can sort a trinket slot to the order you want trinkets equipped, turn on Auto Queue for that slot (Alt+Click the trinket on the bar or check the tab in options), and the mod will automatically swap trinkets as they're used and come off cooldown.

It was (hopefully) made to be intuitive enough to use without instructions, but if wondering about specifics:

The auto queue rules are:

  • A trinket at 30 seconds or less cooldown is considered off cooldown.
  • If the currently equipped trinket is on cooldown, swap to the first available trinket not on cooldown.
  • If the currently equipped trinket cannot go on cooldown (passive trinkets), equip a higher ranking trinket when it comes off cooldown.
  • If the currently equipped trinket is ready for use, then do nothing unless a higher-ranked trinket marked 'Priority' is waiting to swap in.
  • If a trinket has a 'Delay' defined, then hold that trinket for its delay before swapping it out. (ie, Earthstrike for 20 seconds)
Auto queue icon colors:
  • A gold gear on a trinket means that auto queue is active for that slot.
  • A grey gear on a trinket means the equipped trinket has a delay defined and is waiting to swap out.
  • A red gear on a trinket means the equipped trinket is flagged 'Pause Queue' and auto queue is suspended.
Other auto queue notes:
  • If you use some mod to automatically swap in passive trinkets (Carrot on a Stick or Argent Dawn Commission), flag those trinkets 'Pause Queue' to suspend the queue while they're equipped.
  • Swapping to a passive trinket manually in TrinketMenu will stop the auto queue for that slot. Alt+click the slot to turn auto queue back on.
  • A purely passive trinket will mark the natural end of a queue. If you would like the queue to stop sooner (ie, Burst of Knowledge as bottom-most trinket even on cooldown), move the "Stop queue here" mark to where you want the queue to stop.
  • The auto queues work independently of the "trinket ready!" notifications.
  • Trinkets attempting to swap during combat or while dead will queue for when you drop out of combat or return to life.
  • If you don't want to use auto queue and would like to remove it completely, you can delete TrinketMenuQueue.xml and TrinketMenuQueue.lua while out of game. The remaining mod will be about the size of TrinketMenu 2.7 and run better than 2.7.

Auto Queue Shared Timers

Keep in mind as you set up your queues that many trinkets trigger shared cooldown timers. As an example:

Trinket 0 contains a Cannonball Runner not on cooldown
Trinket 1 contains a Diamond Flask not on cooldown

When you click Diamond Flask, it will put the Cannonball Runner into a 60-second cooldown. TrinketMenu will then look for something more available for Trinket 0, and then 30 seconds later as the Cannonball Runner comes off cooldown it will swap it back in.

This is expected behavior. If it seems like this happens a lot, you may want to Auto Queue only one trinket slot, until you get trinkets that can be used without triggering the other's cooldown.

Customizing Display

The main and menu windows are independently scalable and rotatable. While the windows are unlocked:
  • Move either window by dragging its edge.
  • Rotate either window by right-clicking its edge.
  • Scale/resize either window by dragging the lower-right corner to the desired size.

If you're having problems grabbing the edge of the menu window to move/rotate/resize it, hold Shift down while it's open and the menu won't go away when the mouse leaves the menu's edge.

If you right-click the gear icon around the minimap (or /trinket options) a small options window will appear under the minimap. Here you can customize the display further by showing cooldowns as numbers and keeping the menu always open.

Once you're settled on a setup you like, you can lock the windows in options.

To set an exact scale (optional):
  • /trinket scale main n : Scale the main window to n
  • /trinket scale menu n : Scale the menu window to n
  • ie: /trinket scale menu 0.85

See Readme.txt for much more info

* 5.0.2
Fixed an itemID bug.
* 5.0.1
Updated for 5.3.
* 5.0.0
Updated for 5.2.
Minor fixes.
Code Cleanup.
Moved textures to "Textures" folder.
Added notification support for MSBT, Parrot, xCT, xCT+.
Optional Files (0)


Post A Reply Comment Options
Unread 04-04-06, 04:17 PM  
amazonrm
A Kobold Labourer

Forum posts: 0
File comments: 2
Uploads: 0
I just downloaded the 2.7 version of Trinket Menu. It is all working for me again.

Thanks.
Report comment to moderator  
Reply With Quote
Unread 07-10-06, 04:30 PM  
Masx
A Kobold Labourer

Forum posts: 0
File comments: 2
Uploads: 0
Feature request and maybe bug?

Is it possible to add an option to toggle the color and fade time for the "Notify when ready" option? Also when I click one trinket after another... it seems to have some sort of delay. About 1-2 seconds before the first trinket goes off and sometimes the second doesn't register when it is clicked. Any ideas what that is?

Other than that great mod
Last edited by Masx : 07-11-06 at 01:23 PM.
Report comment to moderator  
Reply With Quote
Unread 07-13-06, 04:47 PM  
Cowboy
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 1
File comments: 12
Uploads: 6
Between 3.01 and 3.1, you changed "Swapping in a trinket that can be clicked will not stop queue" which is functionality I had become accustomed to in 3.01. Is there any way to change that back, or make an option for it? It's weird for me to swap in a trinket only to have it swapped back immediately. And disabling the queue just to swap the trinket in is an extra step.

Actually.. what if you just temporarily force Priority mode to true for any trinket you manually swap in if the trinket is being swapped into a slot with an active queue?

Also, I'd love to see trinket "sets" (like in Itemrack) because I find myself rearranging my trinkets queues often, based on what situation I'm in.. BGs vs grinding/questing solo vs in a group.

Either way, great addon (and addons).. I appreciate all the work you've done!

- Cowboy
Report comment to moderator  
Reply With Quote
Unread 07-13-06, 08:05 PM  
Gello
A Molten Giant
AddOn Author - Click to view AddOns

Forum posts: 521
File comments: 582
Uploads: 75
Oh yeah. Priority trinkets will keep trying to swap in when you swap in a situational trinket. Hmm I'll look into it. An option to disable queue on all swaps would be easy and the likely route if a "keep this until used" would be awkward.

On queue sets, if it happens it'd be in ItemRack 2.0 or later instead of TrinketMenu. I can't guarantee anything. (same with notify)

It's kinda awkward but if you're really desperate you can set up macros in the meantime to reorder the sort. First print out the sort queue:

/script local t,s=TrinketMenu.Sort[0],"" for i=1,getn(t) do s=s..t[i]..", " end DEFAULT_CHAT_FRAME:AddMessage(s)

Sort[0] is Trinket0 (top trinket), Sort[1] is Trinket1 (bottom trinket). It will say something like: 21326, 13382, 14023, 10455, 833, 0, 13965, 19287,

Those are the item id's of the trinkets. If you can correlate the item to the list, then you can create macros like:

/script TrinketMenu.Sort[0] = { 19287, 13965, 10455, 0, 21326,13382, 14023 }

Not a trivial task but it should work in the meantime. (You can do /script message(GetItemInfo(itemID)) to get the name of an item.)
Report comment to moderator  
Reply With Quote
Unread 07-15-06, 02:08 PM  
Gello
A Molten Giant
AddOn Author - Click to view AddOns

Forum posts: 521
File comments: 582
Uploads: 75
re: maybe bug

On the second trinket not registering when clicking them fast together, I think it may be a global cooldown. Many trinkets trigger and/or join the global cooldown. I'm hoping this is the reason for that. You can test by putting the trinket on the action bars and seeing if it goes into cooldown with the rest when you cast a spell. The next update (probably Sunday or Monday) will show global cooldowns on the buttons, if the trinket is affected. It will probably be the last update for a while (barring any bugs) as I turn my full attention back to bigger mods. So let me know if anyone finds any bugs.
Report comment to moderator  
Reply With Quote
Unread 07-16-06, 07:11 AM  
Gello
A Molten Giant
AddOn Author - Click to view AddOns

Forum posts: 521
File comments: 582
Uploads: 75
On the priority trinkets swapping in over one manually swapped, I went the simpler route and added a 'Stop Queue on Swap' option. It will have the most use to those with frequent priority trinkets.
Report comment to moderator  
Reply With Quote
Unread 07-16-06, 02:31 PM  
Cowboy
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 1
File comments: 12
Uploads: 6
Originally posted by Gello
On the priority trinkets swapping in over one manually swapped, I went the simpler route and added a 'Stop Queue on Swap' option. It will have the most use to those with frequent priority trinkets.
Does the queue start again once the swapped-in trinket is used?

- Cowboy
Report comment to moderator  
Reply With Quote
Unread 07-16-06, 04:51 PM  
Gello
A Molten Giant
AddOn Author - Click to view AddOns

Forum posts: 521
File comments: 582
Uploads: 75
Originally posted by Cowboy
Does the queue start again once the swapped-in trinket is used?

- Cowboy
No it will stop the queue. The slot needs alt+clicked for the auto queue to resume if the option is on (it's off by default). I don't think this is a great burden. If the auto queue is interrupted manually then it's fair to expect it to be resumed manually.
Report comment to moderator  
Reply With Quote
Unread 07-24-06, 08:04 PM  
Gello
A Molten Giant
AddOn Author - Click to view AddOns

Forum posts: 521
File comments: 582
Uploads: 75
3.22 only adds the functions TrinketMenu.SetQueue and TrinketMenu.GetQueue. You don't need to redownload if you don't plan to use these functions.

They're for outside mods (or macros) to control TrinketMenu's auto queues. There are more details in the readme.txt but the upshot is:

TrinketMenu.SetQueue(0 or 1,"ON" or "OFF" or "PAUSE" or "RESUME" or "SORT"+list)
0 or 1 : Trinket0 or Trinket1
"ON" : Turn queue on irregardless of previous state
"OFF" : Turn queue off irregardless of previous state
"PAUSE" : Suspend queue if it was on
"RESUME" : Return queue to normal operation if it was paused
"SORT" : Parameters that follow list a new order for trinkets to auto queue

I don't intend to add a UI to make sort profiles and stuff. These are functions added for convenience. Requests for more bloat will find its way to ItemRack before this mod.

Also got confirmation that it works without problems on Chinese clients so I'm going to assume it works on all clients.
Report comment to moderator  
Reply With Quote
Unread 07-28-06, 01:45 PM  
dsds
A Kobold Labourer

Forum posts: 0
File comments: 3
Uploads: 0
Is there any way for me to change it so that if I swap in an active trinket with 45 seconds or so left on it's cooldown, the mod won't automatically swap it back out?

The way I'm using this mod, my queue consists of two passive trinkets. That way, when I use one of my active trinkets, it swaps in one of the passive trinkets when I get out of combat which is really nice. I don't queue any active trinkets since I have over 15 and I use em all in different situations, I just manually swap em in depending what I'm doing.

But some trinkets like the insignia of the alliance I often want to swap in when they're almost but not quite ready, so I'll be sure to have em later. The mod is fighting me on this and immediatly swapping in a passive trinket. I realize that I can stop the queue when I manually swap in a trinket, but I manually swap in trinkets a lot so I'm hoping I can avoid this.

By the way, great mod, other than this one issue it's exactly what I needed!
Last edited by dsds : 07-28-06 at 01:48 PM.
Report comment to moderator  
Reply With Quote
Unread 07-29-06, 09:35 AM  
Gello
A Molten Giant
AddOn Author - Click to view AddOns

Forum posts: 521
File comments: 582
Uploads: 75
There's an option ('Stop Queue on Swap') to stop the auto queue when you manually swap in trinkets. If you find yourself stopping the queue a lot it may be an alternative.
Report comment to moderator  
Reply With Quote
Unread 08-07-06, 12:59 AM  
Bilb
A Murloc Raider

Forum posts: 5
File comments: 8
Uploads: 0
i'm using the auto queue feature , wich i find really handy. but when i use on of my trinket out of combat ( mind quickening gem to conjure water faster =p ) i have to desactivate auto queue or it swap to my next trinket, wasting the cooldown of the trinket i activated out of combat. that'd be great if i could get trinket menu to wait for the buff to fade before equiping the next trinket. Great mod
Last edited by Bilb : 08-07-06 at 01:02 AM.
Report comment to moderator  
Reply With Quote
Unread 08-07-06, 05:28 AM  
Gello
A Molten Giant
AddOn Author - Click to view AddOns

Forum posts: 521
File comments: 582
Uploads: 75
Originally posted by Bilb
i'm using the auto queue feature , wich i find really handy. but when i use on of my trinket out of combat ( mind quickening gem to conjure water faster =p ) i have to desactivate auto queue or it swap to my next trinket, wasting the cooldown of the trinket i activated out of combat. that'd be great if i could get trinket menu to wait for the buff to fade before equiping the next trinket. Great mod
Put a delay on the trinket. Select the trinket and enter a number in 'Delay' at the bottom.

It will hold the trinket until the delay is over before swapping it out.
Last edited by Gello : 08-07-06 at 05:31 AM.
Report comment to moderator  
Reply With Quote
Unread 10-28-06, 12:13 PM  
N00bZXI
A Defias Bandit
AddOn Author - Click to view AddOns

Forum posts: 2
File comments: 28
Uploads: 2
Suggestion

Would be nice that when showing/hiding TrinketMenu with the minimap button is disabled, instead of both buttons showing/hiding the options menu, leftclick would enable autoque on both trinkets.

function TrinketMenu.MinimapButton_OnClick()
PlaySound("GAMEGENERICBUTTONPRESS")
if arg1=="LeftButton" and TrinketMenuOptions.DisableToggle=="OFF" then
TrinketMenu.ToggleFrame(TrinketMenu_MainFrame)
elseif arg1=="RightButton" then
TrinketMenu.ToggleFrame(TrinketMenu_OptFrame)
elseif arg1=="LeftButton" and TrinketMenuOptions.DisableToggle=="ON" then
TrinketMenuQueue.Enabled[0] = 1
TrinketMenuQueue.Enabled[1] = 1
TrinketMenu.UpdateCombatQueue()
TrinketMenu_Trinket0Check:SetChecked(1);
TrinketMenu_Trinket1Check:SetChecked(1);
end
end

Amazing mod. Extremely useful.
Report comment to moderator  
Reply With Quote
Unread 10-28-06, 03:47 PM  
Gello
A Molten Giant
AddOn Author - Click to view AddOns

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

I like the idea of making a click of the minimap button turn queues on/off. How about Alt+Left click to toggle queue for top trinket, and Alt+Right click to toggle queue for bottom?
Last edited by Gello : 10-28-06 at 03:51 PM.
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: