Confused on the setup
tlplayer opened this issue ยท 10 comments
Hi,
Great work on the addon. I loaded the game and got an unexpected symbol expected near the # on line 3 for the fuzzy search function. Am I supposed to do anything besides just drag and dropping the addon inside of the addons folder? I'm also on 1.12.1 if that might throw a wrench in the gears. Thanks.
That actually makes sense why it might not be working. Just remove backdrop template from that line of code. It doesn't actually do anything.
That argument probably doesn't exist on a classic client. It's used for the background of the queue UI, but I thought it looked better without one and never removed the string arg.
it also can't seem to pickup on events from the 1.12.1 client odd. I removed the ui portion just to see if it would play the sound but logs an error when the event happens.
The fuzzy search is used for matching dialog to a sound file, so I'd imagine you might be missing a lookup table.
Did you copy the addon code from the repo directly or extract it from the released ZIP? The zip has everything pre-generated for barrens and durotar.
1.12.1 should be ok, but I haven't tested.
It seems to be using the # to get the size of the array instead of table.getn. I'll test it. Could be 1.12.1 version of lua is older and doesn't have the # character for array size.
It seems it can't find the backdrop template in the SoundQueueUI:24 where is the UI parent defined?
Is there an addon dependency that defines the backdrop template the sound queue uses? what addons do you have loaded?
All of the event triggering is done in EventHandler.lua. Its a very short file and should be somewhat easy to abstract depending on the game client version.
Yeah I think the 1.12.1 conversion is a bit more messy than I'd like. I'm just going to wait for SOM 2 and enjoy it then (: