Showing results 1 to 18 of 18
Search took 0.00 seconds.
Search: Posts Made By: SinusPi
Forum: General Authoring Discussion 06/27/14, 09:20 AM
Replies: 6
Views: 5,280
Posted By SinusPi
To me, it's not a matter of "no solution" vs...

To me, it's not a matter of "no solution" vs "perfect solution". It's a matter of baby steps.

Should we make demands and organize protests? Maybe it would work, or maybe it could have adverse...
Forum: General Authoring Discussion 06/26/14, 04:34 PM
Replies: 6
Views: 5,280
Posted By SinusPi
There's just one problem with that: addon authors...

There's just one problem with that: addon authors are irrelevant. We give Zenimax no extra revenue, we bring in no (significant numbers of) new players. We're just there because it's easy to write...
Forum: News 06/26/14, 06:07 AM
Replies: 56
Views: 85,959
Posted By SinusPi
BACKSLASHES break it.

If you happen to have any important backslashes in your saved variable contents... ESCAPE IT TWICE. Or do some other magic.

1. /run MyAddonSV.something = "Blah\\blah"
2. Reload.
3. View the SV file...
Forum: News 06/25/14, 10:49 AM
Replies: 56
Views: 85,959
Posted By SinusPi
Actually that's an improvement, because you CAN...

Actually that's an improvement, because you CAN escape a double quote in a double-quoted string, "blah\"blah", while there is no way to escape a closing squacket in a squacket-enclosed string,...
Forum: General Authoring Discussion 05/30/14, 01:41 PM
Replies: 6
Views: 4,520
Posted By SinusPi
There's no way to do that, simply. Your table...

There's no way to do that, simply. Your table isn't even sorted by the keys, not to mention the value of the param1 attribute.

But, you can do something else.


tArray={}
tArray["name1"] = { param1...
Forum: Lua/XML Help 05/26/14, 02:18 PM
Replies: 16
Views: 15,253
Posted By SinusPi
Off-topic indeed, and care to elaborate?

Off-topic indeed, and care to elaborate?
Forum: Lua/XML Help 05/24/14, 05:13 PM
Replies: 16
Views: 15,253
Posted By SinusPi
You'll need every single map scaled differently...

You'll need every single map scaled differently for that to work, though - the "map type" isn't enough for scaling.
Forum: Lua/XML Help 05/24/14, 03:53 PM
Replies: 16
Views: 15,253
Posted By SinusPi
Also, the code depending on...

Also, the code depending on ZO_WorldMapContainer:GetDimensions() is oddly red-herringed, too - that function simply returns a map's size in pixels, according to the current zoom level, NOT the map's...
Forum: Lua/XML Help 05/24/14, 03:02 PM
Replies: 16
Views: 15,253
Posted By SinusPi
That's a total red herring - string distance is...

That's a total red herring - string distance is the difference between two strings, like "tortoise" and "turquoise" would have like 3 differences.
Forum: General Authoring Discussion 05/15/14, 02:11 PM
Replies: 3
Views: 6,158
Posted By SinusPi
Lua errors in XML, shown as 8726823746287346

In a Lua error stacktrace, lines like "8528349283749283:3: (main chunk)" mean the error is in some anonymous Lua code in an XML file.

It's a 64-bit hex, shown in decimal, but that's not much...
Forum: General Authoring Discussion 04/28/14, 02:15 PM
Replies: 12
Views: 8,248
Posted By SinusPi
Even better, if you just use a LOCAL table for...

Even better, if you just use a LOCAL table for the addon object,

local MyAddon = {}

function MyAddon:DoCrap()
function MyAddon:DoMoreCrap()

... then you can choose to "show" it...

...
Forum: Site help, bugs, suggestions/questions 04/28/14, 03:15 AM
Replies: 2
Views: 1,289
Posted By SinusPi
Oh, I thought it was broken for me alone, or I...

Oh, I thought it was broken for me alone, or I just didn't know how to get it to work. I don't see any rich text controls at all, should I?
Forum: General Authoring Discussion 03/07/14, 04:35 PM
Replies: 11
Views: 9,335
Posted By SinusPi
Actually, there's a technicality: -- tmp =...

Actually, there's a technicality:

-- tmp = T.__index(T, SetHidden) -- 1st anon function runs and returns the 2nd anon function
This here isn't really an anon function - it's a "normal" function in...
Forum: General Authoring Discussion 03/07/14, 05:19 AM
Replies: 11
Views: 9,335
Posted By SinusPi
Let me clarify :)

I'm the author of the original CHAIN function, harkening back to my WoW "Spoo" addon - let me clarify it for you :)

It IS a pretty tricky thing, I give you that. But, InDef made a pretty good job at...
Forum: Dev Tools 02/28/14, 08:53 AM
Replies: 9
Views: 17,461
Posted By SinusPi
Well, yeah, the table cycle check is in...

Well, yeah, the table cycle check is in EmitMessage used by d() because it tries to output it all at once. Zgoo displays just the selected branches of a table, so cycles are permitted.
Forum: Graphics Help 02/27/14, 10:01 PM
Replies: 13
Views: 19,186
Posted By SinusPi
You can put DDS files alongside your addon, if...

You can put DDS files alongside your addon, if you only :SetTexture("YourAddonFolder/file.dds") .
Forum: General Authoring Discussion 02/27/14, 09:58 PM
Replies: 3
Views: 5,834
Posted By SinusPi
zork, do you have any other UI source extracted...

zork, do you have any other UI source extracted from the esoui files..?
Forum: Dev Tools 02/23/14, 02:12 PM
Replies: 9
Views: 17,461
Posted By SinusPi
[AddOn] Zgoo - data inspection tool

To make the life of AddOn developers easier, here's Zgoo - made by @Errc and me.

Zgoo allows you to browse through tables and userdata to example their components in a nice and easy interface.

To...
Showing results 1 to 18 of 18