Download
(113 Kb)
Download
Updated: 07-10-09 06:31 PM
Updated:07-10-09 06:31 PM
Created:04-24-09 12:49 AM
Downloads:7,975
Favorites:137
MD5:
Broker: TalentSwitch - No longer supported  Popular! (More than 5000 hits)
Version: No Longer supported
by: Tymesink [More]
This addon is no longer supported. I would suggest using the following addon as a replacement:

Ara Broker SpecSwitcher





Broker: TalentSwitch is a LibDataBroker based info addon. This is a very simple addon which provides a simple and easy way
to switch between Primary and Secondary Talent specs.

Data Broker Display
This plugin does not provide a display of its own, you will need to install display plugin such as Fortress, Carousel or Docking Station, amongst others.







Extended thanks to
- PatoDaia for the esES language file
- mrgyver for the koKR language file
- fuyuri for the zhTW language.
1.9.6
-- Fixed a file name issue with the koKR.lua language file

1.9.5
-- Added esES language file
-- Another bug reported.. added additional logic to check for "nil".

1.9.4
-- Added zhTW language file

1.9.3
-- Fixed another event bug.

1.9.2
-- Fixed bugs using different events

1.9
-- Bug Fix with tooltip

1.8
-- Added Korea language file
-- the icon shown in the broker frame no longer requires a user to "Get Talent Info" first. The icon reflects the primary talent tree for the current talent specialization that is active.

1.7
-- Fixed a bug with profile/saved data issue

1.6
-- Found a late night/early morning typo bug cause errors to happen.

1.5
-- Fixed a bug where the path to the ace libs weren't correct.
-- Added a hook SetActiveTalentGroup to optimize CPU consumption, avoid looking for every spell cast. ** Thank you Aranarth for the suggestion.

1.4
-- Removed profile management using SavedVariablesPerCharacter and implement profile managment using AceDBOptions-3.0.

1.3
-- Added more info in the tooltip about the active and inactive talents

1.2
-- Added Hide Spam feature
-- Added Custom Message when talent switch is complete. Shows only when hide spam is enabled. Can leave the custom message blank if no message is desired.

1.1
- Added Primary and Secondary custom aliases
- Added Get Talent Info feature for custom aliases

1.0
- Initial release.
Post A Reply Comment Options
Unread 05-01-09, 08:17 PM  
Aranarth
A Deviate Faerie Dragon
 
Aranarth's Avatar
AddOn Author - Click to view AddOns

Forum posts: 14
File comments: 394
Uploads: 7
Optimization

To optimize CPU consumption, avoid looking for every spell cast. Hook SetActiveTalentGroup. Here is a code sample:
Code:
local orgSetActiveTalentGroup = _G.SetActiveTalentGroup

function SetActiveTalentGroup(...)
	f:RegisterEvent"UNIT_SPELLCAST_SUCCEEDED"
	f:RegisterEvent"UNIT_SPELLCAST_STOP"
	ChatFrame_AddMessageEventFilter("CHAT_MSG_SYSTEM", SpamFilter)
	return orgSetActiveTalentGroup(...)
end

function f:UNIT_SPELLCAST_STOP(event, unit, spell)
	if unit ~= "player" then return end
	self:UnregisterEvent"UNIT_SPELLCAST_SUCCEEDED"
	self:UnregisterEvent"UNIT_SPELLCAST_STOP"
	ChatFrame_RemoveMessageEventFilter("CHAT_MSG_SYSTEM", SpamFilter)
end
f.UNIT_SPELLCAST_SUCCEEDED = f.UNIT_SPELLCAST_STOP
Cheers
Aranarth is offline Report comment to moderator  
Reply With Quote
Unread 05-01-09, 01:41 AM  
Tymesink
A Fallenroot Satyr
AddOn Author - Click to view AddOns

Forum posts: 21
File comments: 67
Uploads: 6
Originally posted by kxuhx
Same problem with Docking Station, cant get it to show

I tested with Docking Station and the addon does work with Docking Station.

You may have to delete the old settings file (<World of Warcraft Directory>\WTF\Account\<ACCOUNTNAME>\SavedVariabled)
for every character (World of Warcraft Directory>\WTF\Account\<ACCOUNTNAME>\<REALM>\<CHARACTER>\SavedVariables\).

Deleted any file that contains the name "Broker_TalentSwitch".

Please let me know if that fixes the problem or if you continue to have problems with Docking Station.
Tymesink is offline Report comment to moderator  
Reply With Quote
Unread 04-30-09, 09:25 PM  
kxuhx
A Kobold Labourer

Forum posts: 0
File comments: 98
Uploads: 0
Same problem with Docking Station, cant get it to show
kxuhx is offline Report comment to moderator  
Reply With Quote
Unread 04-29-09, 08:24 AM  
Tymesink
A Fallenroot Satyr
AddOn Author - Click to view AddOns

Forum posts: 21
File comments: 67
Uploads: 6
Originally posted by Normi01
I am using DockingStation, i can see the addon
in the User Interface and change the settings, but dockingstation
says its offline, the older versions all work fine tho.

I got it to work now, you have to delete the old settings file
for every character.
Ok.. I will work on that tonight. Thank you for reporting this.
Tymesink is offline Report comment to moderator  
Reply With Quote
Unread 04-29-09, 03:20 AM  
Normi01
A Kobold Labourer

Forum posts: 0
File comments: 18
Uploads: 0
I am using DockingStation, i can see the addon
in the User Interface and change the settings, but dockingstation
says its offline, the older versions all work fine tho.

I got it to work now, you have to delete the old settings file
for every character.
Last edited by Normi01 : 04-29-09 at 03:26 AM.
Normi01 is offline Report comment to moderator  
Reply With Quote
Unread 04-28-09, 11:51 PM  
Tymesink
A Fallenroot Satyr
AddOn Author - Click to view AddOns

Forum posts: 21
File comments: 67
Uploads: 6
Re: 1.3

Originally posted by Normi01
Version 1.3 doesnt load anymore for me, i switched back to 1.2.

So long Normi.
Please check your LBD display mod settings... I'm using fortress and the broker display is showing just fine.
Tymesink is offline Report comment to moderator  
Reply With Quote
Unread 04-28-09, 11:15 AM  
Tymesink
A Fallenroot Satyr
AddOn Author - Click to view AddOns

Forum posts: 21
File comments: 67
Uploads: 6
Re: 1.3

Originally posted by Normi01
Version 1.3 doesnt load anymore for me, i switched back to 1.2.

So long Normi.
Any errors with that? Or the addon just isn't displaying anything?
Tymesink is offline Report comment to moderator  
Reply With Quote
Unread 04-28-09, 05:47 AM  
Normi01
A Kobold Labourer

Forum posts: 0
File comments: 18
Uploads: 0
1.3

Version 1.3 doesnt load anymore for me, i switched back to 1.2.

So long Normi.
Normi01 is offline Report comment to moderator  
Reply With Quote
Unread 04-26-09, 12:05 AM  
Tymesink
A Fallenroot Satyr
AddOn Author - Click to view AddOns

Forum posts: 21
File comments: 67
Uploads: 6
Originally posted by Farook
Could you add a feature to suppress the chat spam when you switch specs?

DualSpeccer has that (if you wanna have a look at the code).
Originally posted by echobravo
That's correct. Show the custom name for each in the LDB tooltip and identify which is active and which is the alternate spec.

I like these ideas and I see value in it. I'll work on it later this week when I get caught up on my client work. Thanks guys for the advice / feature request to make this addon better.
Tymesink is offline Report comment to moderator  
Reply With Quote
Unread 04-25-09, 09:28 PM  
Farook
A Molten Giant
 
Farook's Avatar

Forum posts: 595
File comments: 113
Uploads: 0
Could you add a feature to suppress the chat spam when you switch specs?

DualSpeccer has that (if you wanna have a look at the code).
__________________
Farook is offline Report comment to moderator  
Reply With Quote
Unread 04-25-09, 09:00 PM  
echobravo
A Kobold Labourer

Forum posts: 1
File comments: 98
Uploads: 0
Originally posted by Stabler
Just so that I understand what you are asking...

So for those ppl out used the custom name feature and used the word "Tank" or "DPS" or some other naming convention, on the tooltip to display the Primary & Secondary Talent Spec in the tooltip?
That's correct. Show the custom name for each in the LDB tooltip and identify which is active and which is the alternate spec.
echobravo is offline Report comment to moderator  
Reply With Quote
Unread 04-25-09, 08:16 PM  
Tymesink
A Fallenroot Satyr
AddOn Author - Click to view AddOns

Forum posts: 21
File comments: 67
Uploads: 6
Originally posted by echobravo
Nice touch with the custom spec naming feature. I switched to this from DualSpeccer. One feature that I liked about DualSpeccer was it displayed both your current and alternate specs in the tooltip. Would you please consider adding this functionality?
Just so that I understand what you are asking...

So for those ppl out used the custom name feature and used the word "Tank" or "DPS" or some other naming convention, on the tooltip to display the Primary & Secondary Talent Spec in the tooltip?
Last edited by Tymesink : 04-25-09 at 08:19 PM.
Tymesink is offline Report comment to moderator  
Reply With Quote
Unread 04-25-09, 08:02 PM  
echobravo
A Kobold Labourer

Forum posts: 1
File comments: 98
Uploads: 0
Nice touch with the custom spec naming feature. I switched to this from DualSpeccer. One feature that I liked about DualSpeccer was it displayed both your current and alternate specs in the tooltip. Would you please consider adding this functionality?
echobravo is offline Report comment to moderator  
Reply With Quote
Unread 04-25-09, 11:24 AM  
Tymesink
A Fallenroot Satyr
AddOn Author - Click to view AddOns

Forum posts: 21
File comments: 67
Uploads: 6
Sorry about that. It was early morning hours that I uploaded 1.1. Wasn't paying attention. I repackaged the addon into .zip format.
Tymesink is offline Report comment to moderator  
Reply With Quote
Unread 04-25-09, 10:45 AM  
echobravo
A Kobold Labourer

Forum posts: 1
File comments: 98
Uploads: 0
Originally posted by PatoDaia
Nice addon !

But could you modify the package to be compatible with WoWInterface UI Updater ? Seems it doesnt support .rar files.

Keep the good work !
Yes can you please archive in ZIP format instead?
echobravo is offline Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: