Quantcast ESOUI - Search Results
Showing results 1 to 25 of 500
Search took 0.03 seconds.
Search: Posts Made By: merlight
Forum: Lua/XML Help 02/06/17, 07:48 PM
Replies: 2
Views: 677
Posted By merlight
GetLootItemLink needs the lootId, not...

GetLootItemLink needs the lootId, not index:

local lootId, name = GetLootItemInfo(i)
local link = GetLootItemLink(lootId)
Forum: Lua/XML Help 11/17/16, 08:36 PM
Replies: 3
Views: 1,115
Posted By merlight
You might want to look how it's done in Khajiit...

You might want to look how it's done in Khajiit Speak (http://www.esoui.com/downloads/info157-KhajiitSpeak.html)
Forum: Lua/XML Help 11/09/16, 12:17 PM
Replies: 6
Views: 1,265
Posted By merlight
@Letho Could it be that you're confusing...

@Letho Could it be that you're confusing different textures? In the XML example you use *closebutton*.dds, while in the Lua example you use *decline*.dds.

I can't find the *closebutton*.dds files to...
Forum: Lua/XML Help 11/07/16, 05:30 PM
Replies: 2
Views: 1,014
Posted By merlight
Do your addon's settings actually get saved in...

Do your addon's settings actually get saved in SavedVariables/? If not, your addon manifest is probably missing the line ## SavedVariables: jellyVars
Forum: General Authoring Discussion 11/07/16, 03:52 PM
Replies: 12
Views: 3,521
Posted By merlight
Disclaimer: I haven't tried running ESO since TG...

Disclaimer: I haven't tried running ESO since TG PTS, and am pulling stuff off a very unreliable medium.



AFAIR the culprit was that an inventory refresh triggers OnMouseExit+Enter on the item slot...
Forum: General Authoring Discussion 11/06/16, 07:32 PM
Replies: 12
Views: 3,521
Posted By merlight
I thought this was generally known already....

I thought this was generally known already. Remember we've discussed this in so many threads... and then wondered why it's so hard to find more info. Apparently there's no sane way to search addon...
Forum: General Authoring Discussion 10/25/16, 06:38 AM
Replies: 12
Views: 2,004
Posted By merlight
I'm certain sirinsidiator was just trying to save...

I'm certain sirinsidiator was just trying to save you some trouble. Maybe we shouldn't have taken the example code literally, but it's really hard to not suggest a more solid design.

The whole debug...
Forum: Bug Reports 09/27/16, 06:57 PM
Replies: 3
Views: 1,541
Posted By merlight
Yes, I've reported that here...

Yes, I've reported that here (http://www.esoui.com/forums/showpost.php?p=23864&postcount=8)
Forum: General Authoring Discussion 09/23/16, 01:00 PM
Replies: 3
Views: 1,331
Posted By merlight
It's probably just your text editor detecting...

It's probably just your text editor detecting wrong charset. Force it to use UTF-8.
Forum: General Authoring Discussion 06/18/16, 03:36 PM
Replies: 6
Views: 1,494
Posted By merlight
You should be using AreId64sEqual to compare...

You should be using AreId64sEqual to compare mailId
Forum: General Authoring Discussion 06/14/16, 04:55 AM
Replies: 17
Views: 3,885
Posted By merlight
For the ones I uploaded, I only used 7z switches...

For the ones I uploaded, I only used 7z switches to exclude unwanted stuff:

ver=$(tail -1 "$ESO/depot/_databuild/databuild.stamp") || exit
rm -f "/tmp/esoui-$ver.zip"
7z a...
Forum: Lua/XML Help 06/12/16, 02:16 PM
Replies: 2
Views: 1,244
Posted By merlight
You may be hitting the hard limit of ~262k...

You may be hitting the hard limit of ~262k constants per file. It can be saved, but not loaded...
Forum: Wish List 05/29/16, 03:48 AM
Replies: 2
Views: 1,272
Posted By merlight
The call to FlushCachedMessages should be in...

The call to FlushCachedMessages should be in TryLoadSettings (after LoadChatFromSettings) so that it isn't called again. There's no need to call it again as long as primaryContainer exists, plus it...
Forum: Lua/XML Help 05/11/16, 02:23 PM
Replies: 20
Views: 6,206
Posted By merlight
I've never used ZO_ScrollContainer, and I...

I've never used ZO_ScrollContainer, and I wouldn't use it in this case, either. Here's how I see it:
- ZO_ScrollContainer for UI widgets -- a number of controls, often of different types, shapes and...
Forum: Lua/XML Help 05/11/16, 12:54 PM
Replies: 20
Views: 6,206
Posted By merlight
The principle behind ZO_ScrollList is separating...

The principle behind ZO_ScrollList is separating data from controls. That way you can have thousands of data items in a list, and only a bunch of controls to display them (well in your case, there'll...
Forum: Lua/XML Help 05/10/16, 06:11 PM
Replies: 20
Views: 6,206
Posted By merlight
I'd advise you to try using ZO_ScrollList. It's...

I'd advise you to try using ZO_ScrollList. It's almost guaranteed to perform better.

In your code above, you're creating as many icon controls as there are icons in your dataset. And each time you...
Forum: Lua/XML Help 04/30/16, 10:39 AM
Replies: 12
Views: 3,750
Posted By merlight
OPTIONS_WINDOW_FRAGMENT calls RefreshSettings...

OPTIONS_WINDOW_FRAGMENT calls RefreshSettings when showing, and SendAllCachedSettingMessages (http://esodata.uesp.net/current/data/s/e/n/SendAllCachedSettingMessages.html) when hiding. Maybe you need...
Forum: Tutorials & Other Helpful Info 04/30/16, 03:58 AM
Replies: 34
Views: 10,983
Posted By merlight
Perhaps it only works with prime indices. 23173...

Perhaps it only works with prime indices. 23173 is prime. 75358 and 813 are not! ;)
Forum: Wish List 04/29/16, 08:29 AM
Replies: 16
Views: 4,974
Posted By merlight
@Dolby: Invalid HTML produced by my above...

@Dolby: Invalid HTML produced by my above post:

</div>I googled &quot;literally facerolling game&quot; and found this:<br/>
<a href="https://<div style='margin: 5px;'>
<iframe width="560" height="315"...
Forum: Wish List 04/29/16, 08:24 AM
Replies: 16
Views: 4,974
Posted By merlight
I googled "literally facerolling game" and found...

I googled "literally facerolling game" and found this: https://www.youtube.com/watch?v=mNuWIZZaysU

edit: ugh! youtube link get auto-wrapped in [ url ] tags but doesn't show up at all. Look it up...
Forum: General Authoring Discussion 04/25/16, 04:26 AM
Replies: 6
Views: 2,232
Posted By merlight
To me it looks quite suspicious that they check...

To me it looks quite suspicious that they check indices one-behind:


// auxsort 5.1

while (lua_rawgeti(L, 1, ++i), sort_comp(L, -1, -2)) {
if (i>u) luaL_error(L, "invalid order...
Forum: Lua/XML Help 04/06/16, 05:21 AM
Replies: 4
Views: 2,596
Posted By merlight
You can check the ingame list with Torchbug...

You can check the ingame list with Torchbug (http://www.esoui.com/downloads/info1159-MerTorchbug.html)

type /tbug in chat
switch to Strings tab
type ITEMTYPE in filter field
should show you all item...
Forum: Translation Help 03/31/16, 05:24 PM
Replies: 3
Views: 2,553
Posted By merlight
At first I was like "Doesn't 'vale' mean goodbye?...

At first I was like "Doesn't 'vale' mean goodbye? And who the babel is Aperila?"
Forum: Tutorials & Other Helpful Info 03/16/16, 04:10 AM
Replies: 10
Views: 3,397
Posted By merlight
Who never stared at their own code asking "who...

Who never stared at their own code asking "who wrote this mess?" :D

Anyway, I'd either use Ayantir's heuristics, perhaps include a check for "^treasuremap_" or "_survey_" in texture name to be sure;...
Forum: Tutorials & Other Helpful Info 03/15/16, 04:39 PM
Replies: 10
Views: 3,397
Posted By merlight
LostTreasure/LostTreasure.lua +300 function...

LostTreasure/LostTreasure.lua +300 function LT:SlotAdded(bagId, slotIndex, slotData)
LostTreasure/LostTreasure.lua +301 if not (bagId == BAG_BACKPACK and slotData and slotData.itemType ==...
Showing results 1 to 25 of 500