Showing results 1 to 25 of 500
Search took 0.01 seconds.
Search: Posts Made By: merlight
Forum: Bug Reports 07/29/19, 03:41 PM
Replies: 0
Views: 6,372
Posted By merlight
[open] rawset doesn't return anything

In ESOLua on LIVE (5.0) and PTS (5.1), rawset doesn't return anything (not even nil).

According to Lua 5.1 (http://www.lua.org/manual/5.1/manual.html#pdf-rawset) / 5.2...
Forum: General Authoring Discussion 07/25/19, 01:40 PM
Replies: 7
Views: 5,899
Posted By merlight
So I did a little bit of testing with the filter...

So I did a little bit of testing with the filter edit box in inventory, which I guess doesn't use any explicit EscapeMarkup, only default control behaviour. I was too lazy to type out the mnemonics...
Forum: General Authoring Discussion 07/25/19, 07:45 AM
Replies: 7
Views: 5,899
Posted By merlight
Found this, didn't test: h5. AllowMarkupType *...

Found this, didn't test:


h5. AllowMarkupType
* ALLOW_MARKUP_TYPE_ALL
* ALLOW_MARKUP_TYPE_COLOR_ONLY
* ALLOW_MARKUP_TYPE_NONE


There's xml attribute allowMarkupType as well as Get/Set methods on...
Forum: AddOn Help/Support 07/25/19, 07:19 AM
Replies: 35
Views: 18,380
Posted By merlight
Search for the file "UserSettings.txt" Creating...

Search for the file "UserSettings.txt"
Creating empty folders in various locations won't get you anywhere.
Forum: Bug Reports 07/25/19, 04:37 AM
Replies: 0
Views: 4,647
Posted By merlight
[open] FormatTime() inconsistent in different languages

function ZO_Stats:CreateMountSection() formats time to next training with this:

ZO_FormatTimeMilliseconds(timeUntilCanBeTrained, TIME_FORMAT_STYLE_COLONS, TIME_FORMAT_PRECISION_TWELVE_HOUR)


The...
Forum: AddOn Help/Support 07/25/19, 03:05 AM
Replies: 35
Views: 18,380
Posted By merlight
You should not need to create that (at least up...

You should not need to create that (at least up to the ../live/ part). When you start the game the first time and quit (no need to login), it should create that directory and save default settings in...
Forum: Wish List 07/18/19, 01:05 PM
Replies: 7
Views: 9,094
Posted By merlight
I checked on PTS and GetZoneNameByIndex() returns...

I checked on PTS and GetZoneNameByIndex() returns a non-empty string for all indices 1 through 726, and empty string for 727 and up. Which is in line with how the word "index" is used in other parts...
Forum: Wish List 07/18/19, 07:06 AM
Replies: 7
Views: 9,094
Posted By merlight
ad § 1) would be useful indeed ad § 2) assuming...

ad § 1) would be useful indeed

ad § 2) assuming valid zone indices form contiguous sequence, you can quickly find max valid index by binary search without hardcoding some arbitrary limit
Forum: AddOn Help/Support 06/30/19, 04:11 PM
Replies: 21
Views: 12,459
Posted By merlight
I've just noticed I swapped wiki links in...

I've just noticed I swapped wiki links in previous post, will fix that.



I see, that explains a lot. I assumed the LibStub(3b) directory in the example stood for "some complete new-style library...
Forum: General Authoring Discussion 06/30/19, 10:33 AM
Replies: 38
Views: 24,418
Posted By merlight
Actually it's without a crash or logout....

Actually it's without a crash or logout. /reloadui, as well as switching characters without logging out, doesn't discard downloaded history (and also doesn't refresh cooldowns). But that's a nitpick....
Forum: AddOn Help/Support 06/29/19, 06:03 PM
Replies: 21
Views: 12,459
Posted By merlight
This is inaccurate. Dependencies listed in...

This is inaccurate. Dependencies listed in "DependsOn" can be loaded from anywhere else, e.g. from live/AddOns/libX or any other (unrelated) add-on's subdirectory. The description of...
Forum: AddOn Help/Support 06/29/19, 12:43 PM
Replies: 21
Views: 12,459
Posted By merlight
Nice. Finally some plus points for separate...

Nice. Finally some plus points for separate libraries ;)
Forum: AddOn Help/Support 06/28/19, 06:56 PM
Replies: 21
Views: 12,459
Posted By merlight
I don't think that's an issue at all, what use...

I don't think that's an issue at all, what use case would need manifest 4+ levels deep?


As an author, you generally don't want to test your add-on against stale library versions (older than what...
Forum: AddOn Help/Support 06/28/19, 02:05 PM
Replies: 21
Views: 12,459
Posted By merlight
Good points, however not addressing the question...

Good points, however not addressing the question in the title. The option to not include libs in add-ons was there since 2014. Embedded libraries became the norm probably because the drawbacks of...
Forum: General Authoring Discussion 05/01/19, 12:07 PM
Replies: 40
Views: 26,473
Posted By merlight
You're right. I sometimes forget that my way of...

You're right. I sometimes forget that my way of installing addons without embedded libraries is not how everyone else does it.
Forum: Minion 05/01/19, 06:20 AM
Replies: 4
Views: 5,791
Posted By merlight
No, the client silently ignores lines in manifest...

No, the client silently ignores lines in manifest that don't refer to existing files.
Forum: General Authoring Discussion 05/01/19, 06:10 AM
Replies: 40
Views: 26,473
Posted By merlight
But why? I fail to see any real benefit in...

But why?

I fail to see any real benefit in dropping LibStub, other than getting rid of a bunch of copies of one tiny source file. LibStub sets up a common namespace for libraries. All you're going...
Forum: Site help, bugs, suggestions/questions 03/21/19, 11:53 AM
Replies: 13
Views: 3,115
Posted By merlight
Nobody likes fake links. :D

Nobody likes fake links. :D
Forum: AddOn Help/Support 03/17/19, 05:45 AM
Replies: 4
Views: 2,587
Posted By merlight
It might be more reliable to add/remove buttons...

It might be more reliable to add/remove buttons upon scene transition. See for example:...
Forum: Bug Reports 03/16/19, 06:57 PM
Replies: 4
Views: 6,542
Posted By merlight
I tried testing auto-saving back in January. I...

I tried testing auto-saving back in January. I don't know whether the system has changed since then, and I also think my script watching for file changes was bugged and may have missed something. I...
Forum: General Authoring Discussion 03/15/19, 08:03 PM
Replies: 18
Views: 7,564
Posted By merlight
As for the comment "STRANGE: <OnInitialized> is...

As for the comment "STRANGE: <OnInitialized> is not called for this control, ..."

ApplyTemplateToControl does not create the target control -- it must've been created previously (and its...
Forum: General Authoring Discussion 03/15/19, 02:08 PM
Replies: 18
Views: 7,564
Posted By merlight
I stand corrected. Controls created via...

I stand corrected. Controls created via CreateControlFromVirtual() can have "OnUpdate" handler -- either specified in <OnUpdate> element in XML, or set later with control:SetHandler("OnUpdate", ...)...
Forum: General Authoring Discussion 03/14/19, 07:46 PM
Replies: 18
Views: 7,564
Posted By merlight
It may be useful for lazy construction. You can...

It may be useful for lazy construction. You can create the parent (empty or only basic) control at startup, and then before it needs to be shown, choose which template to use for its contents (e.g....
Forum: AddOn Help/Support 03/11/19, 08:14 AM
Replies: 20
Views: 12,344
Posted By merlight
Thanks, works for me. I'd like to add that --...

Thanks, works for me.




I'd like to add that -- besides the broken call to class instead of instance -- the initialization of that instance is kinda evil; and extremely weird, as it doesn't follow...
Forum: Bug Reports 03/02/19, 05:46 AM
Replies: 11
Views: 7,284
Posted By merlight
Then it means ZO_LocalizeDecimalNumber has a new...

Then it means ZO_LocalizeDecimalNumber has a new bug.



No it's not ESO or Lua specific. Here Python:

>>> 308.09 * 100
30808.999999999996
>>> 303.9 * 100
30389.999999999996
Showing results 1 to 25 of 500