WoWInterface

WoWInterface (https://www.wowinterface.com/forums/index.php)
-   Lua/XML Help (https://www.wowinterface.com/forums/forumdisplay.php?f=16)
-   -   This Addon does not work. Please help me. (https://www.wowinterface.com/forums/showthread.php?t=56998)

hoslam1 01-27-19 06:24 AM

This Addon does not work. Please help me.
 
Link : <snip>

Hi everyone

The name of this addon is called "VeriFly".

This addon is an addon created by a Korean user very long ago.

VeriFly will cause a confirmation box to appear before actually leaving a Flight Master.

However, this addon no longer works. Developers stopped working a few years ago.

If it works again, it will be useful to multiple users.

I need your help to make this addon work. Help.

Fizzlemizz 01-27-19 09:41 AM

In the file VeriFly.lua remove the TEXT() call from around the text, button1 and button2 entries.

Old:
Lua Code:
  1. text = TEXT(VERIFLY_CONFIRM_PREFIX.."|cFF00FFFF"..VeriFly_DestinationName.."|r"..VERIFLY_CONFIRM_POST..""),
  2. button1 = TEXT(OKAY),
  3. button2 = TEXT(CANCEL),
New:
Lua Code:
  1. text = VERIFLY_CONFIRM_PREFIX.."|cFF00FFFF"..VeriFly_DestinationName.."|r"..VERIFLY_CONFIRM_POST.."",
  2. button1 = OKAY,
  3. button2 = CANCEL,

hoslam1 01-27-19 05:52 PM

Quote:

Originally Posted by Fizzlemizz (Post 331472)
In the file VeriFly.lua remove the TEXT() call from around the text, button1 and button2 entries.

Old:
Lua Code:
  1. text = TEXT(VERIFLY_CONFIRM_PREFIX.."|cFF00FFFF"..VeriFly_DestinationName.."|r"..VERIFLY_CONFIRM_POST..""),
  2. button1 = TEXT(OKAY),
  3. button2 = TEXT(CANCEL),
New:
Lua Code:
  1. text = VERIFLY_CONFIRM_PREFIX.."|cFF00FFFF"..VeriFly_DestinationName.."|r"..VERIFLY_CONFIRM_POST.."",
  2. button1 = OKAY,
  3. button2 = CANCEL,


Thanks to Fizzlemizz, I was able to solve the problem. Thank you very much.


All times are GMT -6. The time now is 04:30 AM.

vBulletin © 2020, Jelsoft Enterprises Ltd
© 2004 - 2019 MMOUI