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,845
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-28-09, 10:13 PM  
Tymesink
A Fallenroot Satyr
AddOn Author - Click to view AddOns

Forum posts: 22
File comments: 67
Uploads: 3
Originally posted by ChaosInc
Code:
Error occured in: Global
Count: 1
Message: ..\AddOns\Broker_TalentSwitch\ldb.lua line 121:
   attempt to index global 'db' (a nil value)
Debug:
   [C]: ?
   Broker_TalentSwitch\ldb.lua:121: PLAYER_TALENT_UPDATE()
   Broker_TalentSwitch\ldb.lua:131:
      Broker_TalentSwitch\ldb.lua:129
v1.9.2

Right at startup.
I couldn't reproduce that error at startup... but I did see what could cause that to error to happen. Uploaded a new fix. 1.9.3

Just wonder why I can't reproduce that error.
Last edited by Tymesink : 05-28-09 at 10:15 PM.
Report comment to moderator  
Reply With Quote
Unread 05-28-09, 08:31 PM  
Sythalin
Curse staff
 
Sythalin's Avatar
AddOn Author - Click to view AddOns

Forum posts: 680
File comments: 373
Uploads: 15
Code:
Error occured in: Global
Count: 1
Message: ..\AddOns\Broker_TalentSwitch\ldb.lua line 121:
   attempt to index global 'db' (a nil value)
Debug:
   [C]: ?
   Broker_TalentSwitch\ldb.lua:121: PLAYER_TALENT_UPDATE()
   Broker_TalentSwitch\ldb.lua:131:
      Broker_TalentSwitch\ldb.lua:129
v1.9.2

Right at startup.
Report comment to moderator  
Reply With Quote
Unread 05-28-09, 06:54 PM  
Tymesink
A Fallenroot Satyr
AddOn Author - Click to view AddOns

Forum posts: 22
File comments: 67
Uploads: 3
Yea sorry about all that. When I switched the broker icon to always reflect the current talent spec, on a reloadUI everything worked fine. However on login, the addon would fail.

It should be fixed now. Please let me know if there are still anymore issues. I have tested using fortress but not titan.
Report comment to moderator  
Reply With Quote
Unread 05-28-09, 12:21 PM  
Wolfje63
A Deviate Faerie Dragon
 
Wolfje63's Avatar

Forum posts: 12
File comments: 2
Uploads: 0
Got he same error message with the default EN 1.9 version.
__________________



Report comment to moderator  
Reply With Quote
Unread 05-28-09, 10:28 AM  
PatoDaia
A Defias Bandit

Forum posts: 2
File comments: 36
Uploads: 0
Yes, esES is a local language

And gettin the new #2 error too, like the previous posters, with last version of Titan Panel.
Report comment to moderator  
Reply With Quote
Unread 05-28-09, 06:43 AM  
ArtureLeCoiffeur
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 39
Uploads: 3
I had the same problem with arg #2 for format.

This is deDE, using Titanpanel.

After quite a bit of debugging I believe I found the cause. Broker_Talentswitch seems to lose some information. Titanpanel displayes a generic icon and 00/00/00. The tooltip, though, is OK.

When I switch talentsets, the info displayed by Titanpanel gets updated. But after logging out and in, the state is lost. For some weird reason, the state survives a UI reload.
Last edited by ArtureLeCoiffeur : 05-28-09 at 08:10 AM.
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
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, 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-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-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, 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-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-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-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
Post A Reply



Category Jump: