z0fa / WoWQuestTTS

6 stars 1 forks source link

QuestTTS not loading (2.5.3) #9

Closed RavingSmurfGB closed 5 months ago

RavingSmurfGB commented 1 year ago

Issue

I am facing an issue where the WoWQuestTTS addon does not work There are some errors on startup, typing /qtts start does nothing and using either of the play buttons (quest log and minimap) do nothing but do error. Other than Swatter there are no other addons loaded. I am using TBC 2.5.3, I know it may not be officially supported but If you could help me modify what needs modifying to get this to work I would be incredibly thank full. I have tried using the following versions of WoWQuestTTS from curseforge [1.26,1.27,1.28]

Let me know of any other information you would like/need?

Errors on startup

The following errors appear on startup, only after using Swatter

Date: 2023-09-30 15:53:32
ID: 1
Error occured in: Global
Count: 1
Message: ..\AddOns\QuestTTS\src/settings.lua line 13:
   attempt to index field 'TtsVoiceType' (a nil value)
Debug:
   [string "@QuestTTS\src/settings.lua"]:13: in main chunk
Locals:
__namespace = "QuestTTS"
__module = <table> {
 Addon = <table> {
 }
 Array = <table> {
 }
}
Addon = <table> {
 onInit = <function> defined @Interface\AddOns\QuestTTS\libs/addon.lua:337
 useDebugValue = <function> defined @Interface\AddOns\QuestTTS\libs/addon.lua:309
 nextTick = <function> defined @Interface\AddOns\QuestTTS\libs/addon.lua:319
 print = <function> defined @Interface\AddOns\QuestTTS\libs/addon.lua:325
 isWOTLK = false
 useMemo = <function> defined @Interface\AddOns\QuestTTS\libs/addon.lua:110
 useEvent = <function> defined @Interface\AddOns\QuestTTS\libs/addon.lua:154
 useContext = <function> defined @Interface\AddOns\QuestTTS\libs/addon.lua:114
 onLoad = <function> defined @Interface\AddOns\QuestTTS\libs/addon.lua:331
 useSavedVariable = <function> defined @Interface\AddOns\QuestTTS\libs/addon.lua:122
 useSlashCmd = <function> defined @Interface\AddOns\QuestTTS\libs/addon.lua:203
 useEffect = <function> defined @Interface\AddOns\QuestTTS\libs/addon.lua:93
 isTBC = true
 useState = <function> defined @Interface\AddOns\QuestTTS\libs/addon.lua:73
 isClassic = false
 isRetail = false
 useHook = <function> defined @Interface\AddOns\QuestTTS\libs/addon.lua:230
 onUpdate = <function> defined @Interface\AddOns\QuestTTS\libs/addon.lua:343
}
Array = <table> {
 indexOf = <function> defined @Interface\AddOns\QuestTTS\libs/array.lua:177
 every = <function> defined @Interface\AddOns\QuestTTS\libs/array.lua:100
 slice = <function> defined @Interface\AddOns\QuestTTS\libs/array.lua:243
 reduceRight = <function> defined @Interface\AddOns\QuestTTS\libs/array.lua:229
 length = <function> defined @Interface\AddOns\QuestTTS\libs/array.lua:77
 flapMap = <function> defined @Interface\AddOns\QuestTTS\libs/array.lua:157
 copyWithin = <function> defined @Interface\AddOns\QuestTTS\libs/array.lua:91
 isArray = <function> defined @Interface\AddOns\QuestTTS\libs/array.lua:43
 find = <function> defined @Interface\AddOns\QuestTTS\libs/array.lua:131
 toString = <function> defined @Interface\AddOns\QuestTTS\libs/array.lua:278
 concat = <function> defined @Interface\AddOns\QuestTTS\libs/array.lua:88
 from = <function> defined @Interface\AddOns\QuestTTS\libs/array.lua:51
 flat = <function> defined @Interface\AddOns\QuestTTS\libs/array.lua:154
 includes = <function> defined @Interface\AddOns\QuestTTS\libs/array.lua:174
 values = <function> defined @Interface\AddOns\QuestTTS\libs/array.lua:291
 unshift = <function> defined @Interface\AddOns\QuestTTS\libs/array.lua:283
 sort = <function> defined @Interface\AddOns\QuestTTS\libs/array.lua:269
 shift = <function> defined @Interface\AddOns\QuestTTS\libs/array.lua:235
 keys = <function> defined @Interface\AddOns\QuestTTS\libs/array.lua:183
 groupBy = <function> defined @Interface\AddOns\QuestTTS\libs/array.lua:168
 splice = <function> defined @Interface\AddOns\QuestTTS\libs/array.lua:272
 new = <function> defined @Interface\AddOns\QuestTTS\libs/array.lua:8
 fill = <function> defined @Interface\AddOns\QuestTTS\libs/array.lua:110
 forEach = <function> defined @Interface\AddOns\QuestTTS\libs/array.lua:162
 findIndex = <function> defined @Interface\AddOns\QuestTTS\libs/array.lua:144
 toLocaleString = <function> defined @Interface\AddOns\QuestTTS\libs/array.lua:275
 pop = <function> defined @Interface\AddOns\QuestTTS\libs/array.lua:199
 reverse = <function> defined @Interface\AddOns\QuestTTS\libs/array.lua:232
 filter = <function> defined @Interface\AddOns\QuestTTS\libs/array.lua:116
 entries = <function> defined @Interface\AddOns\QuestTTS\libs/array.lua:94
 at = <function> defined @Interface\AddOns\QuestTTS\libs/array.lua:84
 push = <function> defined @Interface\AddOns\QuestTTS\libs/array.lua:205
 groupByToMap = <function> defined @Interface\AddOns\QuestTTS\libs/array.lua:171
 join = <function> defined @Interface\AddOns\QuestTTS\libs/array.lua:180
 of = <function> defined @Interface\AddOns\QuestTTS\libs/array.lua:30
 map = <function> defined @Interface\AddOns\QuestTTS\libs/array.lua:189
 reduce = <function> defined @Interface\AddOns\QuestTTS\libs/array.lua:215
 some = <function> defined @Interface\AddOns
AddOns:
  Swatter, v2.5.6773 (SwimmingSeadragon)
  QuestTTS, v1.28
  BlizRuntimeLib_enUS v2.5.3.20503 <none>
  (ck=65)
Date: 2023-09-30 15:53:32
ID: 1
Error occured in: Global
Count: 1
Message: ..\AddOns\QuestTTS\src/settings.lua line 13:
   attempt to index field 'TtsVoiceType' (a nil value)
Debug:
   [string "@QuestTTS\src/settings.lua"]:13: in main chunk
Locals:
__namespace = "QuestTTS"
__module = <table> {
 Addon = <table> {
 }
 Array = <table> {
 }
}
Addon = <table> {
 onInit = <function> defined @Interface\AddOns\QuestTTS\libs/addon.lua:337
 useDebugValue = <function> defined @Interface\AddOns\QuestTTS\libs/addon.lua:309
 nextTick = <function> defined @Interface\AddOns\QuestTTS\libs/addon.lua:319
 print = <function> defined @Interface\AddOns\QuestTTS\libs/addon.lua:325
 isWOTLK = false
 useMemo = <function> defined @Interface\AddOns\QuestTTS\libs/addon.lua:110
 useEvent = <function> defined @Interface\AddOns\QuestTTS\libs/addon.lua:154
 useContext = <function> defined @Interface\AddOns\QuestTTS\libs/addon.lua:114
 onLoad = <function> defined @Interface\AddOns\QuestTTS\libs/addon.lua:331
 useSavedVariable = <function> defined @Interface\AddOns\QuestTTS\libs/addon.lua:122
 useSlashCmd = <function> defined @Interface\AddOns\QuestTTS\libs/addon.lua:203
 useEffect = <function> defined @Interface\AddOns\QuestTTS\libs/addon.lua:93
 isTBC = true
 useState = <function> defined @Interface\AddOns\QuestTTS\libs/addon.lua:73
 isClassic = false
 isRetail = false
 useHook = <function> defined @Interface\AddOns\QuestTTS\libs/addon.lua:230
 onUpdate = <function> defined @Interface\AddOns\QuestTTS\libs/addon.lua:343
}
Array = <table> {
 indexOf = <function> defined @Interface\AddOns\QuestTTS\libs/array.lua:177
 every = <function> defined @Interface\AddOns\QuestTTS\libs/array.lua:100
 slice = <function> defined @Interface\AddOns\QuestTTS\libs/array.lua:243
 reduceRight = <function> defined @Interface\AddOns\QuestTTS\libs/array.lua:229
 length = <function> defined @Interface\AddOns\QuestTTS\libs/array.lua:77
 flapMap = <function> defined @Interface\AddOns\QuestTTS\libs/array.lua:157
 copyWithin = <function> defined @Interface\AddOns\QuestTTS\libs/array.lua:91
 isArray = <function> defined @Interface\AddOns\QuestTTS\libs/array.lua:43
 find = <function> defined @Interface\AddOns\QuestTTS\libs/array.lua:131
 toString = <function> defined @Interface\AddOns\QuestTTS\libs/array.lua:278
 concat = <function> defined @Interface\AddOns\QuestTTS\libs/array.lua:88
 from = <function> defined @Interface\AddOns\QuestTTS\libs/array.lua:51
 flat = <function> defined @Interface\AddOns\QuestTTS\libs/array.lua:154
 includes = <function> defined @Interface\AddOns\QuestTTS\libs/array.lua:174
 values = <function> defined @Interface\AddOns\QuestTTS\libs/array.lua:291
 unshift = <function> defined @Interface\AddOns\QuestTTS\libs/array.lua:283
 sort = <function> defined @Interface\AddOns\QuestTTS\libs/array.lua:269
 shift = <function> defined @Interface\AddOns\QuestTTS\libs/array.lua:235
 keys = <function> defined @Interface\AddOns\QuestTTS\libs/array.lua:183
 groupBy = <function> defined @Interface\AddOns\QuestTTS\libs/array.lua:168
 splice = <function> defined @Interface\AddOns\QuestTTS\libs/array.lua:272
 new = <function> defined @Interface\AddOns\QuestTTS\libs/array.lua:8
 fill = <function> defined @Interface\AddOns\QuestTTS\libs/array.lua:110
 forEach = <function> defined @Interface\AddOns\QuestTTS\libs/array.lua:162
 findIndex = <function> defined @Interface\AddOns\QuestTTS\libs/array.lua:144
 toLocaleString = <function> defined @Interface\AddOns\QuestTTS\libs/array.lua:275
 pop = <function> defined @Interface\AddOns\QuestTTS\libs/array.lua:199
 reverse = <function> defined @Interface\AddOns\QuestTTS\libs/array.lua:232
 filter = <function> defined @Interface\AddOns\QuestTTS\libs/array.lua:116
 entries = <function> defined @Interface\AddOns\QuestTTS\libs/array.lua:94
 at = <function> defined @Interface\AddOns\QuestTTS\libs/array.lua:84
 push = <function> defined @Interface\AddOns\QuestTTS\libs/array.lua:205
 groupByToMap = <function> defined @Interface\AddOns\QuestTTS\libs/array.lua:171
 join = <function> defined @Interface\AddOns\QuestTTS\libs/array.lua:180
 of = <function> defined @Interface\AddOns\QuestTTS\libs/array.lua:30
 map = <function> defined @Interface\AddOns\QuestTTS\libs/array.lua:189
 reduce = <function> defined @Interface\AddOns\QuestTTS\libs/array.lua:215
 some = <function> defined @Interface\AddOns
AddOns:
  Swatter, v2.5.6773 (SwimmingSeadragon)
  QuestTTS, v1.28
  BlizRuntimeLib_enUS v2.5.3.20503 <none>
  (ck=65)

Error on attempted quest play

Date: 2023-09-30 15:58:30
ID: 3
Error occured in: Global
Count: 1
Message: ..\AddOns\QuestTTS\src/main.lua line 188:
   attempt to index upvalue 'Settings' (a nil value)
Debug:
   [string "@QuestTTS\src/main.lua"]:188: getText()
   [string "@QuestTTS\src/main.lua"]:153:
      QuestTTS\src/main.lua:149
   [string "@QuestTTS\src/main.lua"]:327:
      QuestTTS\src/main.lua:323
Locals:
source = "quest:focused"
toRet = ""
title = "Tramping Paws"
description = "The Mosshide Gnolls have lived in the Wetlands peacefully for many years, but now grow in numbers.  Their feet stamp flat the fen's bushes and flowers, and their foul axes cut too much wood to fuel their fires.

They are no longer in balance with the land.  For the Wetlands to survive, the Gnolls must be reduced.

Kill 15 Mosshide Gnolls and 10 Mosshide Mongrels.  Hunt them to the south, near the Dwarven gate of Algaz.  After you do this, return to me."
objective = "Kill 15 Mosshide Gnolls and 10 Mosshide Mongrels, then return to Rethiel the Greenwarden in the Wetlands."
(*temporary) = nil
(*temporary) = false
(*temporary) = false
(*temporary) = "attempt to index upvalue 'Settings' (a nil value)"
module = <table> {
 ttsStop = <function> defined @Interface\AddOns\QuestTTS\src/main.lua:166
 guessSource = <function> defined @Interface\AddOns\QuestTTS\src/main.lua:251
 ttsAutoStop = <function> defined @Interface\AddOns\QuestTTS\src/main.lua:141
 openSettings = <function> defined @Interface\AddOns\QuestTTS\src/main.lua:305
 ttsAutoPlay = <function> defined @Interface\AddOns\QuestTTS\src/main.lua:108
 getText = <function> defined @Interface\AddOns\QuestTTS\src/main.lua:170
 getVoice = <function> defined @Interface\AddOns\QuestTTS\src/main.lua:281
 getState = <function> defined @Interface\AddOns\QuestTTS\src/main.lua:360
 initPlayButton = <function> defined @Interface\AddOns\QuestTTS\src/main.lua:309
 ttsPlay = <function> defined @Interface\AddOns\QuestTTS\src/main.lua:157
 ttsToggle = <function> defined @Interface\AddOns\QuestTTS\src/main.lua:149
}
CrossExp = <table> {
 isQuestFrameShown = <function> defined @Interface\AddOns\QuestTTS\src/expansions/legacy.lua:12
 initSettings = <function> defined @Interface\AddOns\QuestTTS\src/expansions/legacy.lua:36
 useGossipUpdateHook = <function> defined @Interface\AddOns\QuestTTS\src/expansions/legacy.lua:24
 getGossipText = <function> defined @Interface\AddOns\QuestTTS\src/expansions/legacy.lua:16
 initPlayButton = <function> defined @Interface\AddOns\QuestTTS\src/expansions/legacy.lua:28
 getQuestLogTitle = <function> defined @Interface\AddOns\QuestTTS\src/expansions/legacy.lua:20
}
Settings = nil

AddOns:
  Swatter, v2.5.6773 (SwimmingSeadragon)
  QuestTTS, v1.28
  BlizRuntimeLib_enUS v2.5.3.20503 <none>
  (ck=65)
z0fa commented 1 year ago

are you playing on an unofficial server? If that's the case then I don't think it's possibile to make it work... The addon should work on official classic tbc because both retail and classic shares most of the interface code but the old tbc client it's completely different and it doesn't have access to the tts api