VoiceOver (Classic)

VoiceOver (Classic)

923k Downloads

Confused on the setup

tlplayer opened this issue ยท 10 comments

commented

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.

commented

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.

commented

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.

commented

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.

commented

File structure should look like this.
image
image

commented

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.

commented

It seems it can't find the backdrop template in the SoundQueueUI:24 where is the UI parent defined?

commented

Is there an addon dependency that defines the backdrop template the sound queue uses? what addons do you have loaded?

commented

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.

commented

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 (:

commented

The way I ended up solving this issue is using the hermes proxy client with a 1.14.2 classic client then the addon worked very well. closing this issue now.