Download
(10Kb)
Download
Updated: 10-02-12 02:14 AM
Updated:10-02-12 02:14 AM
Created:10-02-12 02:14 AM
Downloads:2,164
Favorites:10
MD5:
Categories:Plug-Ins & Patches, Data Broker

Ara Broker SpecSwitcher r10 MoP

Version: r10 MoP
by: RandomHero13 [More]

included some fixes from the comments and fixed some things myself.

Post A Reply Comment Options
Unread 12-19-14, 04:00 AM  
RandomHero13
A Kobold Labourer
 
RandomHero13's Avatar
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 18
Uploads: 1
damn, sorry totally forgot it
Report comment to moderator  
Reply With Quote
Unread 05-27-13, 02:38 AM  
Jzar
A Chromatic Dragonspawn
 
Jzar's Avatar
AddOn Author - Click to view AddOns

Forum posts: 158
File comments: 281
Uploads: 5
So how did looking into that bug over the weekend go?

lol Just kidding, everyone has a life, and I've more or less abandoned my addons in the year since I last played, so I'm not one to talk.

Just a quick heads up, here's a diff for how to fix this addon for characters that have no specialization.

Code:
@@ -75,0 +76 @@
+    if not GetSpecialization() then return nil, DEFAULT_ICON end
@@ -299,0 +301 @@
+    if not GetSpecialization() then nbSpec = 0 end
Just stick the first line before line 76, and the second line before 301. Cheers!
Last edited by Jzar : 05-27-13 at 02:38 AM.
Report comment to moderator  
Reply With Quote
Unread 11-01-12, 03:05 AM  
Jeaz
A Murloc Raider
 
Jeaz's Avatar

Forum posts: 6
File comments: 67
Uploads: 0
Minor thing maybe, but the toc isn't updated so it's list as an out of date addon.
Report comment to moderator  
Reply With Quote
Unread 10-26-12, 01:15 AM  
RandomHero13
A Kobold Labourer
 
RandomHero13's Avatar
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 18
Uploads: 1
i'll look into it over the weekend.
Report comment to moderator  
Reply With Quote
Unread 10-20-12, 05:18 AM  
Ravenslair
A Kobold Labourer
 
Ravenslair's Avatar
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 45
Uploads: 2
level 9 and below errors

i got the following errors when i logged on y lvl 1 bank alt

Lua Code:
  1. 5x ...\Ara_Broker_SpecSwitcher\Ara_Broker_SpecSwitcher-r10.lua:77: Usage: GetSpecializationInfo(specIndex[, isInspect[, isPet]])
  2. <in C code>
  3. ...\Ara_Broker_SpecSwitcher\Ara_Broker_SpecSwitcher-r10.lua:77: in function <...\Ara_Broker_SpecSwitcher\Ara_Broker_SpecSwitcher.lua:75>
  4. ...\Ara_Broker_SpecSwitcher\Ara_Broker_SpecSwitcher-r10.lua:448: in function <...\Ara_Broker_SpecSwitcher\Ara_Broker_SpecSwitcher.lua:446>
  5. (tail call): ?
  6.  
  7. Locals:
  8. group = nil
  9. maxPoints = 0
  10. finalIcon = "Icons\Spell_Shadow_SacrificialShield"
  11. text = nil
  12. DEFAULT_ICON = "Icons\Spell_Shadow_SacrificialShield"
  13.  
  14. -----------------------------------------------------------------------------------------------------
  15.  
  16. 1x Libs\LibExtraTip\LibExtraTip.lua:290: script ran too long
  17. Libs\LibExtraTip\LibExtraTip.lua:290: in function "SetLootItem"
  18. FrameXML\LootFrame.lua:270: in function "LootItem_OnEnter"
  19. <string>:"*:OnEnter":1: in function <string>:"*:OnEnter":1
  20.  
  21. Locals:
  22. self = LootButton1 {
  23.  0 = <userdata>
  24.  count = LootButton1Count {}
  25.  slot = 1
  26.  hasItem = 1
  27.  searchOverlay = LootButton1SearchOverlay {}
  28.  icon = LootButton1IconTexture {}
  29.  quality = 1
  30. }
  31. slot = 1
  32. slotType = 1
  33. -----------------------------------------------------------------------------------------------------
  34. 1x Libs\LibPeriodicTable-3.1\LibPeriodicTable-3.1-90399.lua:292: script ran too long
  35. Libs\LibPeriodicTable-3.1\LibPeriodicTable-3.1-90399.lua:292: in function "ItemInSet"
  36. DataStore_Inventory\DataStore_Inventory-r27.lua:368: in function "GetSource"
  37. Altoholic-r125\Loots.lua:882: in function "GetSource"
  38. Altoholic-r125\Tooltip.lua:453: in function <Altoholic\Tooltip.lua:437>
  39. Altoholic-r125\Tooltip.lua:565: in function <Altoholic\Tooltip.lua:556>
  40. <in C code>
  41. <in C code>
  42. <in C code>
  43. Libs\LibExtraTip\LibExtraTip.lua:290: in function "SetLootItem"
  44. FrameXML\LootFrame.lua:270: in function "LootItem_OnEnter"
  45. <string>:"*:OnEnter":1: in function <string>:"*:OnEnter":1
  46.  
  47. Locals:
  48. self = <table> {
  49.  SetDefaultModuleLibraries = <func> @Ace3\..\AceAddon-3.0.lua:383
  50.  Enable = <func> @Ace3\..\AceAddon-3.0.lua:315
  51.  RegisterChatCommand = <func> @Ace3\..\AceConsole-3.0.lua:85
  52.  EnableModule = <func> @Ace3\..\AceAddon-3.0.lua:348
  53.  modules = <table> {}
  54.  GetModule = <func> @Ace3\..\AceAddon-3.0.lua:231
  55.  IterateEmbeds = <func> @Ace3\..\AceAddon-3.0.lua:458
  56.  UnregisterComm = <func> @Ace3\..\CallbackHandler-1.0.lua:181
  57.  defaultModuleLibraries = <table> {}
  58.  Deserialize = <func> @Ace3\..\AceSerializer-3.0.lua:242
  59.  UnregisterChatCommand = <func> @Ace3\..\AceConsole-3.0.lua:111
  60.  Printf = <func> @Ace3\..\AceConsole-3.0.lua:69
  61.  SetDefaultModulePrototype = <func> @Ace3\..\AceAddon-3.0.lua:425
  62.  name = "DataStore_Inventory"
  63.  IsEnabled = <func> @Ace3\..\AceAddon-3.0.lua:467
  64.  orderedModules = <table> {}
  65.  DisableModule = <func> @Ace3\..\AceAddon-3.0.lua:366
  66.  Guilds = <table> {}
  67.  Characters = <table> {}
  68.  ThisCharacter = <table> {}
  69.  GetSource = <func> @..\DataStore_Inventory.lua:365
  70.  RegisterMessage = <func> @Ace3\..\CallbackHandler-1.0.lua:118
  71.  GetArgs = <func> @Ace3\..\AceConsole-3.0.lua:144
  72.  Print = <func> @Ace3\..\AceConsole-3.0.lua:54
  73.  OnEnable = <func> @..\DataStore_Inventory.lua:336
  74.  baseName = "DataStore_Inventory"
  75.  SetupOptions = <func> @..\Options.lua:7
  76.  OnDisable = <func> @..\DataStore_Inventory.lua:348
  77.  IsModule = <func> @Ace3\..\AceAddon-3.0.lua:484
  78.  db = <table> {}
  79.  SetDefaultModuleState = <func> @Ace3\..\AceAddon-3.0.lua:403
  80.  OnInitialize = <func> @..\DataStore_Inventory.lua:319
  81.  UnregisterAllComm = <func> @Ace3\..\CallbackHandler-1.0.lua:202
  82.  SetEnabledState = <func> @Ace3\..\AceAddon-3.0.lua:440
  83.  Serialize = <func> @Ace3\..\AceSerializer-3.0.lua:118
  84.  enabledState = true
  85. SendCommMessage = <func> @Ace3\..\AceComm-3.0.lua:87
  86.  RegisterEvent = <func> @Ace3\..\CallbackHandler-1.0.lua:118
  87.  UnregisterAllMessages = <func> @Ace3\..\CallbackHandler-1.0.lua:202
  88.  RegisterComm = <func> @Ace3\..\AceComm-3.0.lua:63
  89.  UnregisterAllEvents = <func> @Ace3\..\CallbackHandler-1.0.lua:202
  90.  SendMessage = <func> @Ace3\..\CallbackHandler-1.0.lua:87
  91.  IterateModules = <func> @Ace3\..\AceAddon-3.0.lua:453
  92.  UnregisterMessage = <func> @Ace3\..\CallbackHandler-1.0.lua:181
  93.  NewModule = <func> @Ace3\..\AceAddon-3.0.lua:256
  94.  GetName = <func> @Ace3\..\AceAddon-3.0.lua:300
  95.  defaultModuleState = true
  96.  UnregisterEvent = <func> @Ace3\..\CallbackHandler-1.0.lua:181
  97.  Disable = <func> @Ace3\..\AceAddon-3.0.lua:330
  98. }
  99. searchedID = 72092
  100. info = nil
  101. source = nil
  102. (for genera
Last edited by Ravenslair : 10-20-12 at 05:22 AM.
Report comment to moderator  
Reply With Quote
Unread 10-20-12, 04:29 AM  
Mayron
A Frostmaul Preserver
 
Mayron's Avatar
AddOn Author - Click to view AddOns

Forum posts: 275
File comments: 1200
Uploads: 12
This comes up with a Lua error if you are on a character that cannot have talents yet (level 9 or lower)
Report comment to moderator  
Reply With Quote
Unread 10-15-12, 02:48 AM  
ArtureLeCoiffeur
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 39
Uploads: 3
Originally Posted by RandomHero13
i thought it would be enough to enter the version number in the "version" field and therefore didn't include it in the filename.
AFAIK, WoWInterface does not change the filename, so you have the freedom to choose the name and the obligation to choose a reasonable name.
Report comment to moderator  
Reply With Quote
Unread 10-14-12, 01:27 PM  
RandomHero13
A Kobold Labourer
 
RandomHero13's Avatar
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 18
Uploads: 1
i thought it would be enough to enter the version number in the "version" field and therefore didn't include it in the filename.
Report comment to moderator  
Reply With Quote
Unread 10-14-12, 04:04 AM  
ArtureLeCoiffeur
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 39
Uploads: 3
@RandomHero13: can you please include the version number in the filename? Thanks!
Report comment to moderator  
Reply With Quote
Unread 10-03-12, 03:55 AM  
RandomHero13
A Kobold Labourer
 
RandomHero13's Avatar
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 18
Uploads: 1
when does this error occur?
Report comment to moderator  
Reply With Quote
Unread 10-02-12, 08:13 AM  
Aisenfaire
A Murloc Raider

Forum posts: 6
File comments: 394
Uploads: 0
I got the following error with this version:

Code:
5x ...\Ara_Broker_SpecSwitcher\Ara_Broker_SpecSwitcher-r10.lua:302: Usage: GetSpecializationInfo(specIndex[, isInspect[, isPet]])
<in C code>
...\Ara_Broker_SpecSwitcher\Ara_Broker_SpecSwitcher-r10.lua:302: in function <...\Ara_Broker_SpecSwitcher\Ara_Broker_SpecSwitcher.lua:294>
...\Ara_Broker_SpecSwitcher\Ara_Broker_SpecSwitcher-r10.lua:451: in function "PLAYER_TALENT_UPDATE"
...\Ara_Broker_SpecSwitcher\Ara_Broker_SpecSwitcher-r10.lua:483: in function <...\Ara_Broker_SpecSwitcher\Ara_Broker_SpecSwitcher.lua:483>

Locals:
talentGroup = 2
specC = 0
aliasC = 0
gearC = 0
hasAlias = nil
hasGear = nil
nbSpec = 2
(for index) = 1
(for limit) = 2
(for step) = 1
i = 1
f = <unnamed> {
 0 = <userdata>
 PLAYER_ENTERING_WORLD = <func> @..\Ara_Broker_SpecSwitcher.lua:495
 UNIT_SPELLCAST_SUCCEEDED = <func> @..\Ara_Broker_SpecSwitcher.lua:65
 ACTIVE_TALENT_GROUP_CHANGED = <func> @..\Ara_Broker_SpecSwitcher.lua:454
 UNIT_SPELLCAST_STOP = <func> @..\Ara_Broker_SpecSwitcher.lua:65
 PLAYER_LEAVING_WORLD = <func> @..\Ara_Broker_SpecSwitcher.lua:494
 PLAYER_TALENT_UPDATE = <func> @..\Ara_Broker_SpecSwitcher.lua:446
}
config = <table> {
 scale = 1
}
char = <table> {
 1 = <table> {}
 2 = <table> {}
}
SetButtonData = <func> @..\Ara_Broker_SpecSwitcher.lua:280
ICON_SIZE = 14
TEXT_OFFSET = 5
GAP = 10
buttons = <table> {}
BUTTON_HEIGHT = 17
g = <unnamed> {
 0 = <userdata>
}
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: