Results: 213Comments by: merlight |
File: LibAsync07/25/19 |
![]() Posted By: merlight
@votan Hi, do you have this somewhere in repository (git/mercurial)? I wanted to use LibAsync:Sort, but the Quicksort implementation therein is so simplistic and slow that I ended up writing several different variants. Would like to propose one for inclusion.
In the end I didn't use any of the Quicksort variants, I think it's a ba...
|
File: LibGetText03/03/19 |
![]() Posted By: merlight
local function GetInstance(addon)
has obscure bug in both, though. The first argument that the __call metafunction receives is the object that's being called, i.e. LibGetText
local function GetInstance(self, addon)
local dict = self.instance
if dict == nil then
dict = Dictionary:New()
self.instance =...
|
File: Full Moon01/06/19 |
![]() Posted By: merlight
It seemed strange to me you used the Earth's Moon for the backdrop.
This is Nirn's Secunda - from http://elderscrolls.wikia.com/wiki/Secunda:
https://vignette.wikia.nocookie.net/elderscrolls/images/0/07/TESV_Secunda.png/revision/latest?cb=20120311142610
Then I found on that wiki page - one of their Bloodmoon images is actually o...
|
File: Advanced Filters12/26/18 |
![]() Posted By: merlight
Manifest is missing the colon in "## DependsOn: " line, so it has no effect. If you then remove embedded libraries, AF may be initialized before LibFilters (stand-alone)... and spit a lot of errors.
edit: oops, just noticed I got Baertram's version 1.5.0.6 unpacked. I guess that's a work in progress, as the manifest is not suppose...
|
File: HarvestMap12/25/18 |
![]() Posted By: merlight
@sandain it's more reliable to test for directory existence rather than hardcode location, on Linux the path depends on Wine configuration.
for example:
trybasedir () {
test -d "$1" && basedir="$1"
}
trybasedir "$HOME/Documents/Elder Scrolls Online/live" || # default
trybasedir "$HOME/Elder Scrolls Online/live" || # fo...
|
File: Mer Torchbug08/21/16 |
![]() Posted By: merlight
Hi @manavortex
ad 1) Dunno how that works, and how other UI deal with that. Maybe you can set scale on "tbugTabWindow" template (controls/templates.xml), but that will likely enlarge text as well.
ad 2) That's on TODO list (which is really WONTDO list since I can't run the game, haven't even updated since Thieves Guild). Hint:...
|
File: AwesomeGuildStore06/21/16 |
![]() Posted By: merlight
user:/AddOns/AwesomeGuildStore/wrappers/SellTabWrapper.lua:50: attempt to index a nil value
This is what happens when you use one name for three different things :D
48. local container = LAMCreateControl.slider(container, data, name)
49. container:SetDimensions(203, SLIDER_HEIGHT)
50. container.container:SetWidth(190)
Clea...
|
File: Medic - UI Fixes06/14/16 |
![]() Posted By: merlight
@sirinsidiator Have you considered including API compatibility fixes? Only simple ones, like when a function disappears but can be easily aliased or re-implemented. I noticed quite a few "hotfixes" for individual add-ons, which is kinda silly. Since neither Garkin nor myself are playing anymore, the previous compatibility tool is dead.
|
File: AchievementInfo06/10/16 |
![]() Posted By: merlight
Hmm that message shouldn't appear. Are you using the latest version 2.7?
Can you tell me the other addons you are using so i can try to recreate that problem?
This is most likely because you call your .createSettingsPanel in response to the first ("hijacked" :)) EVENT_ADD_ON_LOADED.
If another add-on that includes a newer LAM...
|
File: LibAddonMenu-2.006/09/16 |
![]() Posted By: merlight
I was thinking of setting a saved variable in an additional file of the standalone which will then set the version to 999 for developers.
If someone bundles it, the file doesn't get loaded and the default version is 0. It also needs to be included by hand at least once so it works.
You mean a global var, right? Then it becomes al...
|
File: LibAddonMenu-2.006/09/16 |
![]() Posted By: merlight
I'll have to think of some measure to prevent it from happening again and again and I already have an idea.
You could probably bail out if it's not installed stand-alone, something like:
if MINOR >= 999 then
pathToStandAlone = "AddOns/LibAddonMenu-2.0/LibAddonMenu-2.0/LibAddonMenu-2.0.lua"
fakeError = pcall(error, "...
|
File: AwesomeGuildStore06/07/16 |
![]() Posted By: merlight
Yes it's a ZOS bug (more precisely, item database mess), and it's been there since before launch. Some materials have bogus level information. Like you can find Wormwood level 1 or level 37.
|
File: BugCatcher05/26/16 |
![]() Posted By: merlight
It's a whole mess of code to do that, since you're dealing not only with X/Y, but you have to account for math for the scaling, too.
Not necessarily. If you anchor the CENTER point of the icon instead of its TOPLEFT corner (and align the center of the actual graphic with the center of the control using SetTextureCoords), it will g...
|
File: Guild Sales Master for Master Merchant05/06/16 |
![]() Posted By: merlight
I checked the last week of Mint sales (yea I sell Mint, whats it to ya?)
I was shocked I was selling for 8 and seeing it sell for 20 in a different guild!
You can get Mint for free at linuxmint.com
yw ;)
|
File: LibLoadedAddons - OBSOLETE, Please remove from addons04/09/16 |
![]() Posted By: merlight
Technically correct, logically not correct. Libraries do not have any use on their own, only when another code uses to perform some actions via their APIs. Libraries are a sort of factories, or frameworks, or whatever you call it. For example LibAddonMenu has not use if I just drop it into my Addons directory, it's a facility that an...
|
File: LibLoadedAddons - OBSOLETE, Please remove from addons04/06/16 |
![]() Posted By: merlight
Addons and libraries should not be mixed together.
Except that libraries are add-ons, which only happen to be embeddable without conflicts thanks to LibStub. And if your add-on has public API, it is a library.
|
File: LibLoadedAddons - OBSOLETE, Please remove from addons04/06/16 |
![]() Posted By: merlight
sharing of APIs between addons without exposing global objects/functions.
There's LibStub for that.
|
File: Mer Character Sheet04/04/16 |
![]() Posted By: merlight
I've retired, you'll need to do that one these "hard" ways:
out of game: edit .../SavedVariables/merCharacterSheet.lua manually (or just delete it and then log each character and redo your settings)
ingame type: /script merCharacterSheet_SavedVariables.characters = nil -- for each unwanted CHARNAME
install Zgoo, ingame type /zgo...
|
File: EsoExtractData03/23/16 |
![]() Posted By: merlight
Just letting you know I finally put my unpacker on github. It's for the curious only -- it only extracts UI stuff from game0000.dat and there's no documentation, you'll have to figure out how to run it from the source. I removed lots of dead code before pushing it, but there's still a lot of debug output from when I was trying to fig...
|
File: Mer Band-Aid ZO-UI Fixes03/14/16 |
![]() Posted By: merlight
Sorry guys, Thieves Guild doesn't accept Linux folk.
I can't run the game, so I won't be updating any of my add-ons, at least until:
a) ZOS restores OpenGL renderer in Windows client
b) Wine supports D3D11 out of the box
|
File: ESOUI - The Elder Scrolls Online source code03/02/16 |
![]() Posted By: merlight
pts source updated
|
File: Custom Idle Animation02/28/16 |
![]() Posted By: merlight
It isn't difficult to integrate the LibAddonMenu into the addon.
I've just thought it's a waste of space if every little addon adds a whole addon library onto your HDD and into your RAM while playing.
According to the How-To, LibStub ensures the library is only loaded into memory once and that it's the latest revision. Though I c...
|
File: ESOUI - The Elder Scrolls Online source code02/17/16 |
![]() Posted By: merlight
PTS 2.3.1 source uploaded ^^
|
File: EsoExtractData02/17/16 |
![]() Posted By: merlight
I updated pts yesterday (took ages) and my source extractor ran fine. It's simpler as it can't extract anything else, so is perhaps less susceptible to failures. I should put it on github already... no time for that. But I can put the extracted esoui sources there if you want.
|
File: Mer Torchbug02/14/16 |
![]() Posted By: merlight
Is there any chat command like "/tb moc", or a keybinding, to show the actual control below the mouse cursor inside the inspector?
No special command, /tbug moc() works simply because it calls the global function moc.
Originally I considered adding a few keybinds configurable to execute any script, but it's probably not going...
|