Thread Tools Display Modes
09/22/14, 01:24 PM   #1
SnowmanDK
 
SnowmanDK's Avatar
AddOn Author - Click to view addons
Join Date: Apr 2014
Posts: 161
What changed in ESO 1.4.4?

What changed in ESO 1.4.4?

Some addons started to throw errors, my Bank Manager Revived included.

It seems like it's not all clients having the issues though.
That is causing problems for me as I can't get the error others get on my addon, which makes it kinda hard to fix it.
I did try running my client in both french, english and german, all with no errors.
  Reply With Quote
09/22/14, 03:40 PM   #2
SnowmanDK
 
SnowmanDK's Avatar
AddOn Author - Click to view addons
Join Date: Apr 2014
Posts: 161
Originally Posted by Tierney11290 View Post
Not sure of everything, but they did indeed fix the character limitation for Addon names. For instance, if there was a color code in an addon name, the name was cut off short.
Lua Code:
  1. return language[BankManager.Saved["language"]][text]
That's the line that fails in my addon.
Problem is I can't get that error but other people do.
They also report similar errors in other addons.
  Reply With Quote
09/22/14, 04:04 PM   #3
SnowmanDK
 
SnowmanDK's Avatar
AddOn Author - Click to view addons
Join Date: Apr 2014
Posts: 161
So far I have been told of the following addons showing the same or similar errors after ESO v1.4.4 was released:

Bank Manager Revived 2.9.7/2.9.8/2.9.9 (the last 2 was attempts to fix the issue with no luck)
Crafting Stations 0.6
PublicDungeonChampions 1.1.0

My problem is I can't reproduce those errors.

Last edited by SnowmanDK : 09/22/14 at 04:07 PM.
  Reply With Quote
09/22/14, 04:15 PM   #4
Garkin
 
Garkin's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2014
Posts: 832
It could be some kind of conflict between addons. Bank Manager Revived uses a lots of global functions and variables such as "init(eventCode, addOnName)", "options()", "showUI()" or "language". Those functions and variables could be easily overwritten by another addon and you can get unexpected results.

My guess is, that your global table "language" gets overwritten by another addon, because "language" is very common name for variables.
  Reply With Quote
09/22/14, 04:58 PM   #5
SnowmanDK
 
SnowmanDK's Avatar
AddOn Author - Click to view addons
Join Date: Apr 2014
Posts: 161
Originally Posted by Garkin View Post
It could be some kind of conflict between addons. Bank Manager Revived uses a lots of global functions and variables such as "init(eventCode, addOnName)", "options()", "showUI()" or "language". Those functions and variables could be easily overwritten by another addon and you can get unexpected results.

My guess is, that your global table "language" gets overwritten by another addon, because "language" is very common name for variables.
Thanks, "language" was used in my addon, so changed that. Hope it fixed it
  Reply With Quote
09/22/14, 05:07 PM   #6
Garkin
 
Garkin's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2014
Posts: 832
Originally Posted by SnowmanDK View Post
Thanks, "language" was used in my addon, so changed that. Hope it fixed it
It's definitely step to the right direction. But I'd recommend to take it a bit further - move all your global functions and variables to the global table BankManager, so you will be sure that variable "dirty" is truly yours and that init(...) really initializes your addon. I.e. init(...) -> BankManager.init(...), dirty -> BankManager.dirty, language -> BankManager.language etc.
  Reply With Quote
09/23/14, 08:10 PM   #7
Seerah
Fishing Trainer
 
Seerah's Avatar
WoWInterface Super Mod
AddOn Author - Click to view addons
Join Date: Feb 2014
Posts: 648
If a variable cannot be local, then it *must* either
a) have a non-generic name
b) be stored inside a (non-generically named) global table

This is good, responsible programming.
  Reply With Quote
09/24/14, 06:34 PM   #8
SnowmanDK
 
SnowmanDK's Avatar
AddOn Author - Click to view addons
Join Date: Apr 2014
Posts: 161
Originally Posted by Seerah View Post
If a variable cannot be local, then it *must* either
a) have a non-generic name
b) be stored inside a (non-generically named) global table

This is good, responsible programming.
Thanks to Garkin I solved the issue. It was the global variable "language" that was used.
It is in "Bank Manager Revived", which was originally developed by Todo as "Bank Manager".
But thanks for the heads-up
  Reply With Quote

ESOUI » Developer Discussions » General Authoring Discussion » What changed in ESO 1.4.4?


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off