Jaliborc / PetTracker

Tracks pets, alerts for upgrades and helps you in pet battles.
47 stars 25 forks source link

LUA Error Using UltraSquirt #331

Closed IntegraServe closed 1 year ago

IntegraServe commented 1 year ago

Running Software (issues missing this information will be deleted):

Describe the bug

  1. Load UltraSquirt
  2. Click on Pet Master
  3. Click on Target icon in UltraSquirt to select the Pet Master.
  4. Press Space bar to start fight.
  5. Lua Error shows (everytime).

Note: Dismissing the Lua error window allows UltraSquirt to finishe the battle.

To Reproduce Steps to reproduce the behaviour: See Above

Expected behaviour The Lua error should not occur.

Screenshots Not needed.

Error Logs From In Game Lua Error: Message: ...ce/AddOns/PetTracker/addons/main/features/gossip.lua:28: attempt to call global 'GossipFrame_GetTitleButtonCount' (a nil value) Time: Wed Jan 11 22:32:47 2023 Count: 4 Stack: ...ce/AddOns/PetTracker/addons/main/features/gossip.lua:28: attempt to call global 'GossipFrame_GetTitleButtonCount' (a nil value) [string "@Interface/AddOns/PetTracker/addons/main/features/gossip.lua"]:28: in function <...ce/AddOns/PetTracker/addons/main/features/gossip.lua:23> [string "=[C]"]: in function Update' [string "@Interface/FrameXML/GossipFrame.lua"]:66: in functionHandleShow' [string "@Interface/FrameXML/CustomGossipFrameBase.lua"]:47: in function `HandleOpenEvent' [string "@Interface/FrameXML/CustomGossipFrameBase.lua"]:39: in function <Interface/FrameXML/CustomGossipFrameBase.lua:37>

Locals: unit = "Creature-0-3776-1220-3867-107489-00003F6C69" id = 107489 (temporary) = nil (temporary) = "attempt to call global 'GossipFrameGetTitleButtonCount' (a nil value)" Addon =

{ Switcher = PetTrackerSwitcher { } Gossip =
{ } Enemy =
{ } GetColor = defined @Interface/AddOns/PetTracker/addons/main/main.lua:66 Species =
{ } Rival =
{ } OnPetsChanged = defined @Interface/AddOns/PetTracker/addons/main/main.lua:53 Tracker =
{ } Search = defined @Interface/AddOns/PetTracker/addons/main/api/search.lua:26 RivalInfo =
{ } Delay = defined @Interface/AddOns/BagBrother/libs/MutexDelay-1.0/MutexDelay-1.0.lua:27 MultiTip =
{ } BattleListener =
{ } RegisterMessage = defined @Interface/AddOns/BagBrother/libs/CallbackHandler-1.0/CallbackHandler-1.0.lua:90 UnregisterMessage = defined @Interface/AddOns/BagBrother/libs/CallbackHandler-1.0/CallbackHandler-1.0.lua:153 Battle =
{ } EnemyBar = Frame { } Rivals =
{ } Base =
{ } UnregisterSignal = defined @Interface/AddOns/BagBrother/libs/WildAddon-1.0/WildAddon-1.0.lua:78 SpecieBreeds =
{ } RegisterEvent = defined @Interface/AddOns/BagBrother/libs/CallbackHandler-1.0/CallbackHandler-1.0.lua:90 sets =
{ } OnBattle = defined @Interface/AddOns/PetTracker/addons/main/main.lua:57 AbilityButton =
{ } OnEnable = defined @Interface/AddOns/PetTracker/addons/main/main.lua:26 Name = "PetTracker" BattleSlot =
{ } Objectives = Frame { } SendSignal = defined @Interface/AddOns/BagBrother/libs/WildAddon-1.0/WildAddon-1.0.lua:82 SpeciePin =
{ } NewModule = defined @Interface/AddOns/BagBrother/libs/WildAddon-1.0/WildAddon-1.0.lua:68 Alerts = Sushi-3.1-Glowbox1 { } MaxLevel = 25 RivalPin =
{ } Entity =
{ } RivalOrder =
{ } JournalSlot =
{ } TextLine =
{ } StablePin =
{ } Units =
{ } AbilityDisplay =
{ } Breeds =
{ } Pin =
{ } Tag = "PETTRACKER" TextList =
{ } MapCanvas =
{ } ProgressBar =
{ } SpecieStats =
{ } MapSearch =
{ } PetSlot =
{ } TrackToggle = PetTrackerTrackToggle { } SendMessage = defined @Interface/AddOns/BagBrother/libs/CallbackHandler-1.0/CallbackHandler-1.0.lua:59 RivalsJournal = PetTrackerRivalsJournal { } BattleRecord =
{ } Stables =
{ } UnregisterAllEvents = defined @Interface/AddOns/BagBrother/libs/CallbackHandler-1.0/CallbackHandler-1.0.lua:174 AbilityAction =
{ } JournalMods =
{ } RegisterSignal = defined @Interface/AddOns/BagBrother/libs/WildAddon-1.0/WildAddon-1.0.lua:74 UnregisterAllMessages = defined @Interface/AddOns/BagBrother/libs/CallbackHandler-1.0/CallbackHandler-1.0.lua:174 Pet =
{ } state =
{ } Delaying = defined @Interface/AddOns/BagBrother/libs/MutexDelay-1.0/MutexDelay-1.0.lua:46 Tooltips = <tab

From Console: Couldn't get an error log. Type /console scriptErrors 1 in the chat and reload the game. If an error window appears, write here the message with ID: 1 (labelled 1/X). This is generally NOT the message that the window shows by default.

Additional context Should be about it.