Talented Classic

Talented Classic

519k Downloads

Era version not working in SoD

mirrana opened this issue ยท 1 comments

commented

First time loading, I see the following when opening my talent frames:
image

After reloading the UI, it works better, but still not right. It seems related to talented data somehow?

image

image

It should be noted that I am a priest and it seems to be looking up WARRIOR.

Stack trace:

2x Talented/view.lua:100: attempt to index local 'first_tree' (a nil value)
[string "@Talented/view.lua"]:100: in function `SetClass'
[string "@Talented/view.lua"]:162: in function `SetTemplate'
[string "@Talented/core.lua"]:271: in function `SetTemplate'
[string "@Talented/core.lua"]:368: in function `Update'
[string "@Talented/core.lua"]:351: in function <Talented/core.lua:348>
[string "=(tail call)"]: ?
[string "TOGGLETALENTS"]:1: in function <[string "TOGGLETALENTS"]:1>

Locals:
self = <table> {
 template = <table> {
 }
 frame = TalentedFrame {
 }
 elements = <table> {
 }
 name = "base"
}
class = "PRIEST"
force = nil
talents = <table> {
}
top_offset = 100
bottom_offset = 4
first_tree = nil
(*temporary) = nil
(*temporary) = 24
(*temporary) = 0
(*temporary) = 0
(*temporary) = Button {
 0 = <userdata>
 SetButtonState = <function> defined @Talented/ui/base.lua:42
 left = Texture {
 }
 Enable = <function> defined @Talented/ui/base.lua:58
 right = Texture {
 }
 middle = Texture {
 }
 Disable = <function> defined @Talented/ui/base.lua:67
}
(*temporary) = EditBox {
 0 = <userdata>
 tooltip = "You can edit the name of the template here. You must press the Enter key to save your changes."
 Right = Texture {
 }
 Middle = Texture {
 }
 Left = Texture {
 }
}
(*temporary) = FontString {
 0 = <userdata>
}
(*temporary) = FontString {
 0 = <userdata>
}
(*temporary) = <function> defined =[C]:-1
(*temporary) = FontString {
 0 = <userdata>
}
(*temporary) = <userdata>
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = "attempt to index local 'first_tree' (a nil value)"
Talented = <table> {
 CreateTemplateMenu = <function> defined @Talented/ui/menu.lua:65
 defaults = <table> {
 }
 LoadAddOn = <function> defined @Talented/core.lua:74
 OpenOptionsFrame = <function> defined @Talented/ui/menu.lua:26
 MakeArrow = <function> defined @Talented/ui/arrows.lua:17
 GetTalentPrereqs = <function> defined @Talented/spell.lua:234
 UnregisterComm = <function> defined @Masque/Libs/CallbackHandler-1.0/CallbackHandler-1.0.lua:143
 HideTooltipInfo = <function> defined @Talented/tips.lua:134
 DataAddonLoaded = <function> defined @Talented/talents.lua:151
 GetDefaultMode = <function> defined @Talented/core.lua:285
 SetDefaultModulePrototype = <function> defined @Masque/Libs/AceAddon-3.0/AceAddon-3.0.lua:405
 UpdateTemplateName = <function> defined @Talented/core.lua:123
 LoadTemplates = <function> defined @Talented/core.lua:456
 GetMode = <function> defined @Talented/core.lua:54
 SetTemplate = <function> defined @Talented/core.lua:264
 SetMode = <function> defined @Talented/core.lua:58
 RegisterMessage = <function> defined @BagBrother/libs/CallbackHandler-1.0/CallbackHandler-1.0.lua:90
 UnregisterMessage = <function> defined @BagBrother/libs/CallbackHandler-1.0/CallbackHandler-1.0.lua:153
 Update = <function> defined @Talented/core.lua:364
 hooks = <table> {
 }
 SendCommMessage = <function> defined @BugSack/Libs/AceComm-3.0/AceComm-3.0.lua:83
 db = <table> {
 }
 UnregisterAllComm = <function> defined @Masque/Libs/CallbackHandler-1.0/CallbackHandler-1.0.lua:164
 SetEnabledState = <function> defined @Masque/Libs/AceAddon-3.0/AceAddon-3.0.lua:420
 Hook = <function> defined @Bartender4/libs/AceHook-3.0/AceHook-3.0.lua:273
 OpenTemplate = <function> defined @Talented/core.lua:244
 OnEnable = <function> defined @Talented/core.lua:289
 GetTemplateStringClass = <function> defined @Talented/encode.lua:15
 MakeButton = <function> defined @Talented/ui/buttons.lua:75
 ImportTemplate = <function> defined @Talented/core.lua:209
 Pool = <table> {
 }
 OnInitialize = <function> defined @Talented/core.lua:78
 UnregisterAllEvents = <function> defined @BagBrother/libs/CallbackHandler-1.0/CallbackHandler-1.0.lua:174
 base = TalentedFrame {
 }
 Deserialize = <function> defined @BugSack/Libs/AceSerializ
commented

As the error code says, you don't have Talented_Data loaded! I should probably add it as a requirement for the addon to be enabled.