Download
(113Kb)
Download
Updated: 07-10-09 06:31 PM
Updated:07-10-09 06:31 PM
Created:04-24-09 12:49 AM
Downloads:8,858
Favorites:127
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-12-09, 10:15 PM  
Tymesink
A Fallenroot Satyr
AddOn Author - Click to view AddOns

Forum posts: 22
File comments: 67
Uploads: 3
Re: Fun with multiple realms and mixed dual-spec/not

Originally posted by forty2j
Noticed something last night:

It doesn't seem to be playing well with characters across multiple servers.

For example, on Terenas, I have a Druid in the first slot of my char select screen. I configured TalentSwitch to report "Tree" for Primary and "Moonkin" for Secondary specs.

On Illidan, I have a lowbie shaman in the first slot of my char select screen. This character is not yet dual-spec enabled.

If I log on the shaman, then log out and log on the druid, my druid's settings are cleared (the mod reports "Pirmary" and "Secondary" as the spec names).

If I fix the druid, then log out and log in as the shaman, it reports "Tree" as the shaman's spec!

Ok, granted, this mod doesn't really do anything if you aren't dual-spec, and in theory I should turn it off.. but I wouldn't expect it to cause harm by leaving it on.
Thanks for the bug report.. I will get working on this soon.
Report comment to moderator  
Reply With Quote
Unread 05-14-09, 12:34 PM  
forty2j
A Cobalt Mageweaver

Forum posts: 232
File comments: 260
Uploads: 0
Re: Re: Fun with multiple realms and mixed dual-spec/not

Originally posted by Stabler
Thanks for the bug report.. I will get working on this soon.
Thanks. As an update, I'm seeing similar behavior even for multiple dual-spec enabled characters on the same realm.
Report comment to moderator  
Reply With Quote
Unread 05-15-09, 01:57 PM  
ArtureLeCoiffeur
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 39
Uploads: 3
Re: Re: Re: Fun with multiple realms and mixed dual-spec/not

Originally posted by forty2j
Thanks. As an update, I'm seeing similar behavior even for multiple dual-spec enabled characters on the same realm.
You probably mean what I just saw - the talent alias are not set per character. Investigating the saved variables it looks like they are set per profile. Why?
Report comment to moderator  
Reply With Quote
Unread 05-16-09, 12:11 AM  
Tymesink
A Fallenroot Satyr
AddOn Author - Click to view AddOns

Forum posts: 22
File comments: 67
Uploads: 3
Updated...

SO here's whats going on with the profile issue...

I think the confusion on this profile issue begins when the addon first loads, it defaults to a shared "Default" profile. So when you customize the broker for a toon and then switch to another toon... the second toons picks up the "Default" profile by default. (No pun intended).

It should now default to a per character profile rather than a shared "Default" for a new character that has not loaded/used the addon before.

If you've ran the addon already on a toon, go to the config area for TalentSwitch and click on the "profiles" config and select the character name and realm for your toon.

I only have 2 characters on one server that I have dual specs. I was able to switch between both toons with out having any cross profile data issues. I was not however able to test across realms.

Please let me know if this fixes this issue or not... thanks!
Last edited by Tymesink : 05-17-09 at 11:07 PM.
Report comment to moderator  
Reply With Quote
Unread 05-16-09, 09:23 AM  
pexcer
A Kobold Labourer

Forum posts: 0
File comments: 14
Uploads: 0
Feature request:

I'd like to be able to launch the talent window with this. Handy addon
Report comment to moderator  
Reply With Quote
Unread 05-17-09, 12:41 PM  
forty2j
A Cobalt Mageweaver

Forum posts: 232
File comments: 260
Uploads: 0
Re: Updated...

Originally posted by Stabler
Please let me know if this fixes this issue or not... thanks!
Looks like it works, with 2 very minor annoyances:
- If I reset the "default" profile, I would have liked that to clear the profile assignments on my characters, so that from that point forward the new defaults would work. No matter, I already fixed up my 2 dual-spec characters on Terenas and my non-dual-spec character on Illidan that I had logged in with while running this mod.
- In order to get the spec's icon to display, I have to click "Get Talent Info". So, for example, on my druid I click that button, it gives me the leaf and moonfire icons plus "Restoration xx/xx/xx" and "Balance xx/xx/xx". Then I clear box 1 and type "Tree" and clear box 2 and type "Moonkin". Would be nice to get the icons without loading in new text that I have to delete. Currently if I don't follow these steps, I get the target icon that Blizzard shows when you haven't spent your points.

But in response to the fix of the original problem, yes, my 3 characters across 2 servers now have independent profiles, and changing one does nothing to other. I haven't tried on a new char yet to make sure he defaults to his own profile.
Last edited by forty2j : 05-17-09 at 12:42 PM.
Report comment to moderator  
Reply With Quote
Unread 05-17-09, 11:14 PM  
Tymesink
A Fallenroot Satyr
AddOn Author - Click to view AddOns

Forum posts: 22
File comments: 67
Uploads: 3
Re: Re: Updated...

Originally posted by forty2j
- If I reset the "default" profile, I would have liked that to clear the profile assignments on my characters, so that from that point forward the new defaults would work.
I'm using the Ace profile management in this addon. So the "Reset Profile" button only reset the current profile your toon is using. So to manage the "Default" profile you would select that as your profile for that toon and click on the "Reset Profile".

If you reset all you toon profiles... from the profile management area, you can delete profiles in the database. Then when you login into those toons, they will have new profile upon login.

Originally posted by forty2j
- In order to get the spec's icon to display, I have to click "Get Talent Info". So, for example, on my druid I click that button, it gives me the leaf and moonfire icons plus "Restoration xx/xx/xx" and "Balance xx/xx/xx". Then I clear box 1 and type "Tree" and clear box 2 and type "Moonkin". Would be nice to get the icons without loading in new text that I have to delete. Currently if I don't follow these steps, I get the target icon that Blizzard shows when you haven't spent your points. [/b]
So the feature would be to be able to select a custom icon or just by default when switching specs, the icon for that talent tree will show?
Last edited by Tymesink : 05-18-09 at 12:31 AM.
Report comment to moderator  
Reply With Quote
Unread 05-18-09, 07:54 AM  
forty2j
A Cobalt Mageweaver

Forum posts: 232
File comments: 260
Uploads: 0
Re: Re: Re: Updated...

Originally posted by Stabler
from the profile management area, you can delete profiles in the database. Then when you login into those toons, they will have new profile upon login.
Oh cool.. that would have been good to know. Anyway it only effected 3 characters of mine, and those have already been corrected.



So the feature would be to be able to select a custom icon or just by default when switching specs, the icon for that talent tree will show?
I definitely wasn't thinking about a custom icon (although somebody who is dual-spec PvE resto / PvP resto might want that). I was just thinking it would automatically apply Blizzard's default icon for my specs without pressing "Get Talent Info" in the options, which adds text I don't want.
Report comment to moderator  
Reply With Quote
Unread 05-24-09, 07:36 AM  
mrgyver
A Kobold Labourer
 
mrgyver's Avatar

Forum posts: 0
File comments: 7
Uploads: 0
This is Korea language file.

Broker_TalentSwitch\Locales\koKR.lua:
Code:
local MODNAME = "TalentSwitch"
local L = LibStub:GetLibrary("AceLocale-3.0"):NewLocale( MODNAME, "koKR")
if not L then return end

L["ADDON_NAME"] = "Broker: TalentSwitch";

L["DEFAULT_PREFIX_OUTPUT"] = "현재 특성: ";
L["DEFAULT_PRIMARY_ALIAS"] = "1특성";
L["DEFAULT_SECONDARY_ALIAS"] = "2특성";
L["DEFAULT_SUCCESS_MESSAGE"] = "특성 전환 완료!";

L["GENERAL_INFO_DESC"] = "TalentSwitch은 LibDataBroker에 기초를 둔 애드온입니다. 이것은 1특성과 2특성의 전환을 간단하고 쉽게 할 수 있는 매우 간단한 애드온입니다.";
L["General Information"] = "일반적인 정보";
L["Version : "] = "버전 : ";
L["Author : "] = "제작자 : ";
L["MSG_USAGE"] = "<당신의 메시지>";

L["Broker Prefix Label"] = "Broker 접두사 라벨";
L["PREFIX_OUTPUT_DESC"] = "1특성 및 2특성 메시지가 표시되기전 Broker 화면에 표시될 메시지입니다.";

L["On Change"] =" 특성 변경시"
L["ONCHANGE_OUTPUT_DESC"] = "특성 전환 완료시 표시될 메시지입니다. '스팸 숨김' 사용시 표시되지 않습니다.";

L["Hide Spam"] = "스팸 숨김";
L["HIDE_SPAM_DESC"] = "사용시, 특성 전환시 나오는 메시지를 숨깁니다.";

L["Primary Talent Alias"] = "1특성 별명";
L["PRIMARY_DESC"] = "Broker에 표시될 1특성의 별명을 입력합니다.";

L["Secondary Talent Alias"] = "2특성 별명";
L["SECONDARY_DESC"] = "Broker에 표시될 2특성의 별명을 입력합니다.";

L["TOOLTIP_INSTRUCTIONS1"] = "좌 클릭 - 특성 변경: |cffffff00";
L["TOOLTIP_INSTRUCTIONS2"] = "|r";
L["TOOLTIP_OPEN_CONFIG"] = "우 클릭 - 설정 창 열기";
L["TOOLTIP_PRIMARY"] = "1특성";
L["TOOLTIP_SECONDARY"] = "2특성";

L["BTN_GET_TALENT"] = "특정 정보 받아옴";
L["BTN_GET_TALENT_DESC"] = "당신의 특성 정보를 가지고 입력 박스에 프로필을 만듭니다.";

L["BTN_RESET"] = "기본값으로 복구"
L["BTN_RESET_DESC"] = "1특성, 2특성의 별명 및 아이콘을 복구합니다.";
Thanks
Report comment to moderator  
Reply With Quote
Unread 05-27-09, 02:26 AM  
ArtureLeCoiffeur
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 39
Uploads: 3
Problem with 1.8

Date: 2009-05-27 09:40:45
ID: 1
Error occured in: Global
Count: 1
Message: ..\AddOns\Broker_TalentSwitch\ldb.lua line 77:
bad argument #4 to 'format' (string expected, got no value)
Debug:
(tail call): ?
[C]: ?
[C]: format()
Broker_TalentSwitch\ldb.lua:77:
Broker_TalentSwitch\ldb.lua:71
Titan\LDBToTitan.lua:256:
Titan\LDBToTitan.lua:226
Report comment to moderator  
Reply With Quote
Unread 05-27-09, 11:29 AM  
PatoDaia
A Defias Bandit

Forum posts: 2
File comments: 36
Uploads: 0
Re: Problem with 1.8

Same here, with an esES client.
Report comment to moderator  
Reply With Quote
Unread 05-27-09, 08:44 PM  
brknsoul
A Deviate Faerie Dragon
AddOn Author - Click to view AddOns

Forum posts: 18
File comments: 160
Uploads: 2
This might be a little out the scope for TalentSwitch, but would it be possible to add a chat funtion to tell your raid or party (or just /say if not in either) What talent spec you've switched to, and have this customizable?

ie:
"BrknSoul draws his swords and prepares to do some damage!" when switching to fury spec
"BrknSoul dons his shield, ready to protect those in need!" when switching to prot spec.
Report comment to moderator  
Reply With Quote
Unread 05-28-09, 01:51 AM  
Tymesink
A Fallenroot Satyr
AddOn Author - Click to view AddOns

Forum posts: 22
File comments: 67
Uploads: 3
Originally posted by ArtureLeCoiffeur
Date: 2009-05-27 09:40:45
ID: 1
Error occured in: Global
Count: 1
Message: ..\AddOns\Broker_TalentSwitch\ldb.lua line 77:
bad argument #4 to 'format' (string expected, got no value)
Debug:
(tail call): ?
[C]: ?
[C]: format()
Broker_TalentSwitch\ldb.lua:77:
Broker_TalentSwitch\ldb.lua:71
Titan\LDBToTitan.lua:256:
Titan\LDBToTitan.lua:226
Fixed..(I hope) I dont have titan or esES (isn't esES a language locale?) but looking at the error report that was posted here and then looking at the code, I found an obvious mistake. I apologize for that. Let me know if you continue to have problems. If so, I will load up titan to further trouble shoot this.


Originally posted by brknsoul
This might be a little out the scope for TalentSwitch, but would it be possible to add a chat funtion to tell your raid or party (or just /say if not in either) What talent spec you've switched to, and have this customizable?

ie:
"BrknSoul draws his swords and prepares to do some damage!" when switching to fury spec
"BrknSoul dons his shield, ready to protect those in need!" when switching to prot spec.
Let me think about that for a bit. I like the idea. My original scope for this addon was to be a simple tools to switch between talent specs.
Last edited by Tymesink : 05-28-09 at 02:02 AM.
Report comment to moderator  
Reply With Quote
Unread 05-28-09, 03:22 AM  
Normi01
A Kobold Labourer

Forum posts: 0
File comments: 18
Uploads: 0
...\AddOns\Broker_TalentSwitch\ldb.lua line 213:
bad argument #4 to 'format' (string expected, got no value)

Get this with the latest version everytime i log in a char.

So long Normi.
Report comment to moderator  
Reply With Quote
Unread 05-28-09, 05:21 AM  
Arkive
A Cobalt Mageweaver
AddOn Author - Click to view AddOns

Forum posts: 242
File comments: 465
Uploads: 1
Get this with the latest (v1.9):

Code:
[2009/05/28 07:07:35-14-x1]: Broker_TalentSwitch-1.9\core.lua:231: bad argument #2 to 'format' (string expected, got nil)
Broker_TalentSwitch-1.9\core.lua:231: in function `GetTalentInfo'
Broker_TalentSwitch-1.9\core.lua:240: in function `GetAlias'
Broker_TalentSwitch-1.9\ldb.lua:102: in function `UpdateDisplay'
Broker_TalentSwitch-1.9\ldb.lua:121: in function `?'
Broker_TalentSwitch-1.9\ldb.lua:13: in function <Interface\AddOns\Broker_TalentSwitch\ldb.lua:13>
Worth noting that it works perfectly fine though.
Last edited by Arkive : 05-28-09 at 05:53 AM.
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: