ESOUI

ESOUI (https://www.esoui.com/forums/index.php)
-   Lua/XML Help (https://www.esoui.com/forums/forumdisplay.php?f=175)
-   -   Where is the function d defined? (https://www.esoui.com/forums/showthread.php?t=1204)

Sclera 04/27/14 09:03 AM

Where is the function d defined?
 
I cannot seem to find the function d defined in the API and any search results are dismal since its a one letter function. I can see that its used to print to the chat log in game but is that all it is used for?

Thanks for the help,
New to Lua and addons

GetBackYouPansy 04/27/14 09:07 AM

It can be used to print to the chat log i.e. d("Hello, world!") but it can also be used to dump detail information about tables, i.e. d(ZO_Enchanting).

Also you can pass it any number of params and it will process them one after the other: d("Hello","world",ZO_Enchanting)

Sclera 04/27/14 09:14 AM

Thanks for the fast response!

Is this a Lua API function or is it exclusive to ESO? I was wondering if it was listed on the wiki since I didn't see it maybe my eyes aren't working too well :(

Harven 04/27/14 10:03 AM

It is exclusive to ESO. Lua has print() function but it will do nothing in eso scripts.

Ak0 04/27/14 10:08 AM

It is defined in debugutils.lua.

You need the decompiled game0000.dat to look at it tho, something of which you will have to track down yourself.

Sclera 04/27/14 08:14 PM

Thanks for the replies. I did manage to find the dat extraction proggy. Lots of interesting stuff to browse thru.

Cheers!

Sideshow 04/28/14 12:26 PM

Quote:

Originally Posted by Ak0 (Post 6106)
It is defined in debugutils.lua.

You need the decompiled game0000.dat to look at it tho, something of which you will have to track down yourself.

Could you also give me a handy lua decompiler? I'd like to peek around in the eso lua base :)

Garkin 04/29/14 05:06 AM

Quote:

Originally Posted by Sideshow (Post 6260)
Could you also give me a handy lua decompiler? I'd like to peek around in the eso lua base :)

Zenimax does not want to publish EsoUI source code yet, so I'm not sure if it is OK to paste link here.

ins 04/29/14 05:25 AM

Sourcecode to the extraction tool should be no problem sharing.

Garkin 04/29/14 05:36 AM

Quote:

Originally Posted by ins (Post 6325)
Sourcecode to the extraction tool should be no problem sharing.

If you say so...

Try first link from here: Google it. :) ~ Cairenn


All times are GMT -6. The time now is 03:22 AM.

vBulletin © 2024, Jelsoft Enterprises Ltd
© 2014 - 2022 MMOUI