Thread Tools Display Modes
04/27/14, 09:03 AM   #1
Sclera
Join Date: Apr 2014
Posts: 3
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
  Reply With Quote
04/27/14, 09:07 AM   #2
GetBackYouPansy
AddOn Author - Click to view addons
Join Date: Apr 2014
Posts: 7
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)
  Reply With Quote
04/27/14, 09:14 AM   #3
Sclera
Join Date: Apr 2014
Posts: 3
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
  Reply With Quote
04/27/14, 10:03 AM   #4
Harven
 
Harven's Avatar
AddOn Author - Click to view addons
Join Date: Apr 2014
Posts: 135
It is exclusive to ESO. Lua has print() function but it will do nothing in eso scripts.
  Reply With Quote
04/27/14, 10:08 AM   #5
Ak0
AddOn Author - Click to view addons
Join Date: Mar 2014
Posts: 20
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.
  Reply With Quote
04/27/14, 08:14 PM   #6
Sclera
Join Date: Apr 2014
Posts: 3
Thanks for the replies. I did manage to find the dat extraction proggy. Lots of interesting stuff to browse thru.

Cheers!
  Reply With Quote
04/28/14, 12:26 PM   #7
Sideshow
 
Sideshow's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2014
Posts: 36
Originally Posted by Ak0 View Post
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
  Reply With Quote
04/29/14, 05:06 AM   #8
Garkin
 
Garkin's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2014
Posts: 832
Originally Posted by Sideshow View Post
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.
  Reply With Quote
04/29/14, 05:25 AM   #9
ins
AddOn Author - Click to view addons
Join Date: Mar 2014
Posts: 76
Sourcecode to the extraction tool should be no problem sharing.
  Reply With Quote
04/29/14, 05:36 AM   #10
Garkin
 
Garkin's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2014
Posts: 832
Originally Posted by ins View Post
Sourcecode to the extraction tool should be no problem sharing.
If you say so...

Try first link from here: Google it. ~ Cairenn

Last edited by Cairenn : 04/29/14 at 12:56 PM.
  Reply With Quote

ESOUI » Developer Discussions » Lua/XML Help » Where is the function d defined?

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off