Minion Beta! - Help us test our new AddOn updater. Get it now!
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,985
Favorites:135
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 08-10-09, 03:29 AM  
Sunhead
A Murloc Raider

Forum posts: 5
File comments: 40
Uploads: 1
Red face Re: Re: Bad Behaviour

Originally posted by Stabler
Well I just installed Dominos and was able to switch specs without any errors or anything breaking. When you say it breaks pretty hard.. what does that mean? Are you getting LUA errors or Dominios isn't working as expected and your not getting any errors?
Shaman switching between Resto and Ele.
The problem does not seem isolated to this mod, if I use any thing BUT vanilla UI elements I get the problem, eg Talented. Either something in Domino's about the new totem UI is screwing up with spec changes, which doesnt happen when its the only mod loaded, or something is getting tainted and not bitching about it.
As for errors, nothing in LUA errors.
What happens is the Blizz Totem UI appears, the Blizz XP bar appears and I lose my game control bar.
Sunhead is offline Report comment to moderator  
Reply With Quote
Unread 08-08-09, 09:58 PM  
Tymesink
A Fallenroot Satyr
AddOn Author - Click to view AddOns

Forum posts: 21
File comments: 67
Uploads: 6
Re: Bad Behaviour

Well I just installed Dominos and was able to switch specs without any errors or anything breaking. When you say it breaks pretty hard.. what does that mean? Are you getting LUA errors or Dominios isn't working as expected and your not getting any errors?
Last edited by Tymesink : 08-08-09 at 09:59 PM.
Tymesink is offline Report comment to moderator  
Reply With Quote
Unread 08-08-09, 08:47 PM  
Sunhead
A Murloc Raider

Forum posts: 5
File comments: 40
Uploads: 1
Exclamation Bad Behaviour

After an hour of work last night I isolated this addon as the problem.
When I am using Dominos bar mod, if I change spec using this mod, the bar mod breaks pretty hard, the vanilla totem manager comes back and other bars disappear. This behavior does not happen if I use the _normal_ switch talents component in the vanilla Talents UI. /rl does restore full fuunctionality until I change spec again.
I can even have this mod installed and running, and use the vanilla UI to change and its all ok, but if I use this mod then it goes bad.

Hope you can work out what Blizzard changed in 3.2 to break this.
Sunhead is offline Report comment to moderator  
Reply With Quote
Unread 07-10-09, 07:17 AM  
mrgyver
A Kobold Labourer
 
mrgyver's Avatar

Forum posts: 0
File comments: 7
Uploads: 0
Korean language filename error

Korean language filename error

\AddOns\Broker_TalentSwitch\Locales\koKR.lua.lua ==>koKR.lua

Thanks
mrgyver is offline Report comment to moderator  
Reply With Quote
Unread 07-09-09, 01:23 PM  
Strongbow
A Deviate Faerie Dragon
 
Strongbow's Avatar

Forum posts: 11
File comments: 96
Uploads: 0
I've recently starting to get this error

Date: 2009-07-09 21:20:19
ID: 1
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:
Broker_TalentSwitch\ldb.lua:118
(tail call): ?

it still works but i wanted you to know.

-Strongbow-
Strongbow is offline Report comment to moderator  
Reply With Quote
Unread 06-12-09, 05:31 AM  
Bashire
A Kobold Labourer

Forum posts: 0
File comments: 5
Uploads: 0
Thanks

Thanks for the fix

Mod is working great.
Last edited by Bashire : 06-12-09 at 05:31 AM.
Bashire is offline Report comment to moderator  
Reply With Quote
Unread 06-09-09, 12:33 AM  
Tymesink
A Fallenroot Satyr
AddOn Author - Click to view AddOns

Forum posts: 21
File comments: 67
Uploads: 6
Update: Version 1.9.4

Update: Version 1.9.4

Added zhTW language file.
Tymesink is offline Report comment to moderator  
Reply With Quote
Unread 06-09-09, 12:32 AM  
Tymesink
A Fallenroot Satyr
AddOn Author - Click to view AddOns

Forum posts: 21
File comments: 67
Uploads: 6
Re: Re: Re: error on startup

Originally posted by Bashire
I have the latest version on this site. Also I use ChocolateBar for my LDB. I disabled all ACE3 addons except Chocolatebar and Talentswitch and still get this error.

...

It appears that the error changes slightly based on which ACE3 addons are running.. I could not stop the error on startup but I could get it to go away on a reloadui.

Thanks for your help.

Bashire
After removing all my mods and just having choclatebar and talentswitch I was still unable to reproduce this error. I tried several variation where I had removed all the libs in the talentswitch and download the ace 3 libs externally and still no error.

But looking at the error it seems that an method is being fired when there isn't any talent data for the character so in turn you get this error: "string expected, got nil". In previous versions I had the same error occurring because I was doing the initial update off the wrong events.

I'll have to look into this deeper, but if I can't reproduce the error, then any changes I make trying to fix this would be shooting in the dark.
Last edited by Tymesink : 06-09-09 at 01:30 AM.
Tymesink is offline Report comment to moderator  
Reply With Quote
Unread 06-08-09, 12:02 AM  
Tymesink
A Fallenroot Satyr
AddOn Author - Click to view AddOns

Forum posts: 21
File comments: 67
Uploads: 6
Originally posted by fuyuri
This is zhTW language file.
Thanks for your addon.
I'll have this updated with this zhTW language file soon. Thank you.
Tymesink is offline Report comment to moderator  
Reply With Quote
Unread 06-08-09, 12:00 AM  
Tymesink
A Fallenroot Satyr
AddOn Author - Click to view AddOns

Forum posts: 21
File comments: 67
Uploads: 6
Re: Re: Re: error on startup

Originally posted by Bashire
I have the latest version on this site. Also I use ChocolateBar for my LDB. I disabled all ACE3 addons except Chocolatebar and Talentswitch and still get this error.

...

It appears that the error changes slightly based on which ACE3 addons are running.. I could not stop the error on startup but I could get it to go away on a reloadui.

Thanks for your help.

Bashire
Sorry I haven't fixed this yet. I've been working all weekend and haven't had time yet to look more into this. When I do, I'll load up Choclatebar and see if I can reproduce this.
Tymesink is offline Report comment to moderator  
Reply With Quote
Unread 06-06-09, 03:36 PM  
fuyuri
A Kobold Labourer

Forum posts: 0
File comments: 1
Uploads: 0
This is zhTW language file.
Thanks for your addon.

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

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

L["DEFAULT_PREFIX_OUTPUT"] = "現在設定: ";
L["DEFAULT_PRIMARY_ALIAS"] = "主要";
L["DEFAULT_SECONDARY_ALIAS"] = "次要";
L["DEFAULT_SUCCESS_MESSAGE"] = "天賦切換完成!";

L["GENERAL_INFO_DESC"] = "TalentSwitch是一個以LibDataBroker為基礎開發的插件。這是一個非常簡易的插件,讓您很簡易切換主要與次要天賦設定。";
L["General Information"] = "一般設定";
L["Version : "] = "版本 : ";
L["Author : "] = "作者 : ";
L["MSG_USAGE"] = "<您的訊息>";

L["Broker Prefix Label"] = "資料顯示器前置標籤";
L["PREFIX_OUTPUT_DESC"] = "此訊息在資料顯示器會顯示於主要與次要訊息前方。";

L["On Change"] = "切換時"
L["ONCHANGE_OUTPUT_DESC"] = "當'隱藏垃圾訊息'開啟時,此訊息會在您切換天賦完成時顯示。";

L["Hide Spam"] = "隱藏垃圾訊息";
L["HIDE_SPAM_DESC"] = "當此設定開啟時,將會隱藏在切換天賦設定時所產生的垃圾訊息";

L["Primary Talent Alias"] = "主要天賦別名";
L["PRIMARY_DESC"] = "此訊息將會使您的主要天賦以資訊欄方式呈現於您的資料顯示器。";

L["Secondary Talent Alias"] = "次要天賦別名";
L["SECONDARY_DESC"] = "此訊息將會使您的次要天賦以資訊欄方式呈現於您的資料顯示器。";

L["TOOLTIP_INSTRUCTIONS1"] = "點擊左鍵切換: |cffffff00";
L["TOOLTIP_INSTRUCTIONS2"] = "|r";
L["TOOLTIP_OPEN_CONFIG"] = "點擊右鍵開啟設定";
L["TOOLTIP_PRIMARY"] = "主要設定";
L["TOOLTIP_SECONDARY"] = "次要設定";

L["BTN_GET_TALENT"] = "取得天賦資訊";
L["BTN_GET_TALENT_DESC"] = "將您的天賦資訊預先填入設定欄";

L["BTN_RESET"] = "恢復預設"
L["BTN_RESET_DESC"] = "將您的主要與次要別名以及圖示還原至預設值";
Last edited by fuyuri : 06-06-09 at 03:39 PM.
fuyuri is offline Report comment to moderator  
Reply With Quote
Unread 06-06-09, 07:18 AM  
Bashire
A Kobold Labourer

Forum posts: 0
File comments: 5
Uploads: 0
Re: Re: error on startup

Originally posted by Stabler
I'm am unable to reproduce the error. I even disabled all my addons except for Fortress and Broker: TalentSwitch and still I was unable to reproduce this error.

Are you sure you have the latest version? If you do have the latest, is anyone else getting the error? What broker display addon are you using?
I have the latest version on this site. Also I use ChocolateBar for my LDB. I disabled all ACE3 addons except Chocolatebar and Talentswitch and still get this error.

[2009/06/06 09:11:06-2330-x1]: Broker_TalentSwitch-1.9\core.lua:461: bad argument #2 to 'format' (string expected, got nil)
Broker_TalentSwitch-1.9\core.lua:461: in function `GetTalentInfo'
Broker_TalentSwitch-1.9\core.lua:479: in function `GetAlias'
Broker_TalentSwitch-1.9\ldb.lua:197: in function `UpdateDisplay'
Broker_TalentSwitch-1.9\core.lua:347: in function <Interface\AddOns\Broker_TalentSwitch\core.lua:345>
(tail call): ?:
<in C code>: ?
<string>:"safecall Dispatcher[1]":18: in function <[string "safecall Dispatcher[1]"]:10>
(tail call): ?:
AceAddon-3.0-5:729: in function `EnableAddon'
AceAddon-3.0-5:869: in function <...oker_TalentSwitch\libs\AceAddon-3.0\AceAddon-3.0.lua:841>
<in C code>: in function `LoadAddOn'
Interface\FrameXML\UIParent.lua:229: in function `UIParentLoadAddOn':
Interface\FrameXML\UIParent.lua:252: in function `CombatLog_LoadUI':
Interface\FrameXML\UIParent.lua:497: in function <Interface\FrameXML\UIParent.lua:469>:

It appears that the error changes slightly based on which ACE3 addons are running.. I could not stop the error on startup but I could get it to go away on a reloadui.

Thanks for your help.

Bashire
Bashire is offline Report comment to moderator  
Reply With Quote
Unread 06-03-09, 09:25 PM  
Tymesink
A Fallenroot Satyr
AddOn Author - Click to view AddOns

Forum posts: 21
File comments: 67
Uploads: 6
Re: error on startup

Originally posted by Bashire
[2009/06/03 08:07:03-2273-x1]: Broker_TalentSwitch-1.9\core.lua:461: bad argument #2 to 'format' (string expected, got nil)
Broker_TalentSwitch-1.9\core.lua:461: in function `GetTalentInfo'
Broker_TalentSwitch-1.9\core.lua:479: in function `GetAlias'
Broker_TalentSwitch-1.9\ldb.lua:197: in function `UpdateDisplay'
Broker_TalentSwitch-1.9\core.lua:347: in function <Interface\AddOns\Broker_TalentSwitch\core.lua:345>
(tail call): ?:
<in C code>: ?
<string>:"safecall Dispatcher[1]":18: in function <[string "safecall Dispatcher[1]"]:10>
(tail call): ?:
AceAddon-3.0-5 (Ace3):1061: in function `EnableAddon'
AceAddon-3.0-5 (Ace3):1241: in function <Interface\AddOns\Ace3\AceAddon-3.0\AceAddon-3.0.lua:1213>
<in C code>: in function `LoadAddOn'
Interface\FrameXML\UIParent.lua:229: in function `UIParentLoadAddOn':
Interface\FrameXML\UIParent.lua:252: in function `CombatLog_LoadUI':
Interface\FrameXML\UIParent.lua:497: in function <Interface\FrameXML\UIParent.lua:469>:

Still getting a error on startup.

Bashire
I'm am unable to reproduce the error. I even disabled all my addons except for Fortress and Broker: TalentSwitch and still I was unable to reproduce this error.

Are you sure you have the latest version? If you do have the latest, is anyone else getting the error? What broker display addon are you using?
Last edited by Tymesink : 06-03-09 at 09:28 PM.
Tymesink is offline Report comment to moderator  
Reply With Quote
Unread 06-03-09, 06:15 AM  
Bashire
A Kobold Labourer

Forum posts: 0
File comments: 5
Uploads: 0
error on startup

[2009/06/03 08:07:03-2273-x1]: Broker_TalentSwitch-1.9\core.lua:461: bad argument #2 to 'format' (string expected, got nil)
Broker_TalentSwitch-1.9\core.lua:461: in function `GetTalentInfo'
Broker_TalentSwitch-1.9\core.lua:479: in function `GetAlias'
Broker_TalentSwitch-1.9\ldb.lua:197: in function `UpdateDisplay'
Broker_TalentSwitch-1.9\core.lua:347: in function <Interface\AddOns\Broker_TalentSwitch\core.lua:345>
(tail call): ?:
<in C code>: ?
<string>:"safecall Dispatcher[1]":18: in function <[string "safecall Dispatcher[1]"]:10>
(tail call): ?:
AceAddon-3.0-5 (Ace3):1061: in function `EnableAddon'
AceAddon-3.0-5 (Ace3):1241: in function <Interface\AddOns\Ace3\AceAddon-3.0\AceAddon-3.0.lua:1213>
<in C code>: in function `LoadAddOn'
Interface\FrameXML\UIParent.lua:229: in function `UIParentLoadAddOn':
Interface\FrameXML\UIParent.lua:252: in function `CombatLog_LoadUI':
Interface\FrameXML\UIParent.lua:497: in function <Interface\FrameXML\UIParent.lua:469>:

Still getting a error on startup.

Bashire
Bashire is offline Report comment to moderator  
Reply With Quote
Unread 05-29-09, 02:12 AM  
ArtureLeCoiffeur
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 38
Uploads: 3
Just to confirm that the addon works OK for me now. Congratz!

I was about to rename it to Broken: TalentSwitch
ArtureLeCoiffeur is offline Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: