Thread: Addon Etiquette
View Single Post
04/22/14, 12:46 PM   #32
Halja
 
Halja's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2014
Posts: 111
The interaction can be total strange too. Garkin and I had a brief add-on conflict. It had to do with the lua convention of dumping unused return values to an underscore character. Inside on of Skyshards locally decared functions was.

Code:
_,_,_,zone,subzone = string.find(textureName, "(maps/)(%w+)/(%w+_%w+)")
In ESOTheater, I had for whatever unknown reason had '_' in the relative parent position when setting an anchor.
Code:
tcontrol:SetAnchor(TOP, _, _, x, y)
If Skyshards loaded before mine, boom. The game tired to use the value from Skyshards on the set anchor. Easy to fix but very unexpected.

Cheers,
halja
  Reply With Quote