Talk to trainer lua error
brett1337 opened this issue ยท 1 comments
Running Software (issues missing this information will be deleted):
PetTracker-10.0-10.0.0.zip
Describe the bug
Message: ...ce/AddOns/PetTracker/addons/main/features/gossip.lua:28: attempt to call global 'GossipFrame_GetTitleButtonCount' (a nil value)
Time: Mon Nov 7 07:52:40 2022
Count: 1
Stack: ...ce/AddOns/PetTracker/addons/main/features/gossip.lua:28: attempt to call global 'GossipFrame_GetTitleButtonCount' (a nil value)
[string "@Interface/FrameXML/GossipFrame.lua"]:66: in function `HandleShow'
[string "@Interface/FrameXML/CustomGossipFrameBase.lua"]:47: in function `HandleOpenEvent'
[string "@Interface/FrameXML/CustomGossipFrameBase.lua"]:39: in function <Interface/FrameXML/CustomGossipFrameBase.lua:37>
Locals: self = GossipFrame {
0 = <userdata>
SetPortraitShown = <function> defined @Interface/SharedXML/PortraitFrame.lua:91
GetTitleText = <function> defined @Interface/SharedXML/PortraitFrame.lua:28
gossipOptions = <table> {
}
SetPortraitTexCoord = <function> defined @Interface/SharedXML/PortraitFrame.lua:87
tutorialButtons = <table> {
}
SetPortraitTextureRaw = <function> defined @Interface/SharedXML/PortraitFrame.lua:79
OnShow = <function> defined @Interface/FrameXML/GossipFrameShared.lua:149
AvailableQuestButtonInit = <function> defined @Interface/FrameXML/GossipFrameShared.lua:102
SetTitleMaxLinesAndHeight = <function> defined @Interface/SharedXML/PortraitFrame.lua:49
SetTitleColor = <function> defined @Interface/SharedXML/PortraitFrame.lua:32
hasActiveQuests = true
buttons = <table> {
}
SetPoint = <function> defined =[C]:-1
DefaultPortraitTextureSizeAndOffset = <function> defined @Interface/SharedXML/PortraitFrame.lua:101
SetTitle = <function> defined @Interface/SharedXML/PortraitFrame.lua:36
backdrop = Frame {
}
SetTitleFormatted = <function> defined @Interface/SharedXML/PortraitFrame.lua:40
FriendshipStatusBar = StatusBar {
}
GreetingPanel = Frame {
}
TitleContainer = Frame {
}
Inset = GossipFrameInset {
}
SetBorder = <function> defined @Interface/SharedXML/PortraitFrame.lua:62
layoutType = "PortraitFrameTemplate"
CloseButton = GossipFrameCloseButton {
}
TopTileStreaks = Texture {
}
PortraitContainer = Frame {
}
SetPortraitToBag = <function> defined @Interface/SharedXML/PortraitFrame.lua:75
SetPortraitAtlasRaw = <function> defined @Interface/SharedXML/PortraitFrame.lua:83
SetPortraitToUnit = <function> defined @Interface/SharedXML/PortraitFrame.lua:71
Background = Texture {
}
Bg = GossipFrameBg {
}
SetGossipTitle = <function> defined @Interface/FrameXML/GossipFrameShared.lua:254
GetPortrait = <function> defined @Interface/SharedXML/PortraitFrame.lua:58
UpdateScrollBox = <function> defined @Interface/FrameXML/GossipFrameShared.lua:109
NineSlice = Frame {
}
OnLoad = <function> defined @Interface/FrameXML/GossipFrame.lua:56
OnHide = <function> defined @Interface/FrameXML/GossipFrameShared.lua:156
SetPortraitToAsset = <function> defined @Interface/SharedXML/PortraitFrame.lua:67
SetPortraitTextureSizeAndOffset = <function> defined @Interface/SharedXML/PortraitFrame.lua:95
GetTutorialButtons = <function> defined @Interface/FrameXML/GossipFrame.lua:93
HandleHide = <function> defined @Interface/FrameXML/GossipFrameShared.lua:186
Update = <function> defined =[C]:-1
HandleShow = <function> defined @Interface/FrameXML/GossipFrame.lua:62
SelectGossipOption = <function> defined @Interface/FrameXML/GossipFrameShared.lua:191
SetGossipTutorialMode = <function> defined @Interface/FrameXML/GossipFrame.lua:87
GetBackgroundTexture = <function> defined @Interface/FrameXML/GossipFrame.lua:70
OnEvent = <function> defined @Interface/FrameXML/GossipFrame.lua:81
}
textureKit = nil
To Reproduce
Steps to reproduce the behaviour:
- Start a pet battle with a trainer
Same as #299