Download
(94 Kb)
Download
Updated: 03/16/16 10:28 AM
Pictures
File Info
Compatibility:
Thieves Guild (2.3)
Orsinium (2.2.4)
Updated:03/16/16 10:28 AM
Created:02/23/14 03:20 PM
Monthly downloads:186
Total downloads:16,462
Favorites:50
MD5:
Zgoo - data inspection tool  Popular! (More than 5000 hits)
Version: 1.02
by: SinusPi, Errc
Zgoo allows you to browse through tables and userdata to examine their values and components.

<b>Command usage:</b>
To use Zgoo, the chat command /zgoo is used.

/zgoo global or /zgoo _G - examines the global table. Some functions are grouped into categories "buckets". Also, some additional utilities are provided in the list.

/zgoo GuiRoot - From there you can see all the children in the GuiRoot:GetChildren() table.

/zgoo Any_Variable or zgoo Some_Function(blah) - Examine any Lua variable or function result.

/zgoo mouse - Examine the UI control that currently has your mouse's focus.

In the Zgoo window:
* Click the [+]/[-] buttons to expand/collapse tables and user data.
* Click [.] or [:] to call functions.
* The {...} button shows table contents inline, useful when you need to see one level deeper immediately
* The {@} button displays table addresses, useful when you suspect that two names actually link to the same table.

Extras:
- GetChildren function "added" for all userdata elements. This allows for easy access and visibility to all children. (This is not available by default)
- A__Zgoo_ToggleHidden is an alias to ToggleHidden. Moved it up the list for easy access.
- If a table has .tostring(), this gets shown inline.

TIP: Use Zgoo as not just a data explorer, but a quick-n-dirty interface to your debug commands. If you create YourAddon.someThings={} and each thing inside will have "function thing:tostring() return self.name end" and maybe a thing:debugMe() returning some interesting values, then you can /zgoo YourAddon, expand .someThings, and see a list of things with names shown, and you'll be able to click debugMe() on each thing. Or maybe even have a DeleteAllThings() function that you'd never need to call in your addon, but you'd use it to test how things are handled. If you're into that sort of thing, you could even make a whole set of functions to run them with just one click from Zgoo, without having to make a dedicated debug interface.


== Zgoo Event Tracker ==

/zgoo events

Track events in real time. Can unregister events by hitting the X button (reload to undo this). Hit + to expand the arguments for the event.



Also for convenience (maybe):

/zgoo free
Will unlock your mouse from the reticle so you can freely move it around the screen.


Known Issues:
- if some function call breaks it all, hold CTRL to disable automatic calling of Get*,Is*,Can* functions.
1.0 - New data bucket for Unit information. API # updated.
Now loads instead of breaking.
Also, properly handles multiple():calls():returning():tables():with():functions().

1.01 - Updated for ESO 1.1 (API 100004).
Optional Files (1)
File Name
Version
Size
Author
Date
Type
1.33
18kB
06/10/22 09:45 PM
Patch


Archived Files (3)
File Name
Version
Size
Uploader
Date
1.01
16kB
SinusPi
05/23/14 09:06 PM
1.0
15kB
SinusPi
03/29/14 10:29 PM
0.71
15kB
Errc
02/28/14 04:29 PM


Post A Reply Comment Options
Unread 02/24/14, 04:26 AM  
Gothrek

Forum posts: 2
File comments: 48
Uploads: 0
list in pdf

there is a possibility to have all lists of tables etc in pdf?
Report comment to moderator  
Reply With Quote
Unread 02/28/14, 01:49 PM  
Nyro
 
Nyro's Avatar

Forum posts: 7
File comments: 1
Uploads: 0
[bug]at launch

UI Error :
user:/AddOnS/Zgoo/Startup.lua:157: attempt to index a nil value
stack traceback:
user:/AddOnS/Zgoo/Startup.lua:157: in function '(main chunk)'

Did nothing but start the game and connect my lvl2 char on the Aldmeri side.
Didn't take look at the code yet, just reporting.

Thanks for the addon anyway, it's a good idea.
Last edited by Nyro : 02/28/14 at 03:49 PM.
Report comment to moderator  
Reply With Quote
Unread 02/28/14, 05:02 PM  
Errc
AddOn Author - Click to view AddOns

Forum posts: 30
File comments: 3
Uploads: 1
Re: [bug]at launch

Originally Posted by Nyro
UI Error :
user:/AddOnS/Zgoo/Startup.lua:157: attempt to index a nil value
stack traceback:
user:/AddOnS/Zgoo/Startup.lua:157: in function '(main chunk)'

Did nothing but start the game and connect my lvl2 char on the Aldmeri side.
Didn't take look at the code yet, just reporting.

Thanks for the addon anyway, it's a good idea.
Oops was some leftover code. New version is uploaded and should be working now.
Report comment to moderator  
Reply With Quote
Unread 02/28/14, 10:00 PM  
Krik

Forum posts: 8
File comments: 1
Uploads: 0
Nice mod, needs a few touch ups

I like the mod. But got a couple improvement suggestions.

First, the window is well to the right side of the screen so when you expand a table some of the text runs right off the screen.

Second, since I couldn't read some stuff, because it ran off the screen, I though lets try the copy button. It only copies what is in the "box". Some of those lists are huge even if the box was repositioned it would be easier to copy and past all of it out to a text editor.

I may look at your code to see if I can fix these myself, but just thought I would suggest them.
Report comment to moderator  
Reply With Quote
Unread 03/17/14, 09:50 AM  
Biki
AddOn Author - Click to view AddOns

Forum posts: 34
File comments: 67
Uploads: 5
Thank you for this, it really is an immense help while developing

Krik, the window is movable, you can just move it so the text no longer gets cut off.
Last edited by Biki : 03/17/14 at 09:50 AM.
Report comment to moderator  
Reply With Quote
Unread 04/06/14, 08:08 AM  
pjt15253
Spam Warrior
 
pjt15253's Avatar
Premium Member
AddOn Author - Click to view AddOns

Forum posts: 16
File comments: 8
Uploads: 1
Thank you so much! Not sure how I'd have gotten SpamFilter completed without this!
Report comment to moderator  
Reply With Quote
Unread 04/12/14, 06:59 AM  
Blythe
AddOn Author - Click to view AddOns

Forum posts: 1
File comments: 15
Uploads: 1
This is AWESOME. Thanks so much for developing it.

Any idea why when I copy something (/zgoo SOUNDS, in this case) it only copies the first few lines of the output? Seems like a bug but I can't tell what's causing it.

Also, maybe I'm an idiot, but I can't find anywhere what the {...} and @ in the upper right hand corner mean.

Thanks again!
Report comment to moderator  
Reply With Quote
Unread 04/14/14, 04:27 AM  
Errc
AddOn Author - Click to view AddOns

Forum posts: 30
File comments: 3
Uploads: 1
Originally Posted by Blythe
This is AWESOME. Thanks so much for developing it.

Any idea why when I copy something (/zgoo SOUNDS, in this case) it only copies the first few lines of the output? Seems like a bug but I can't tell what's causing it.

Also, maybe I'm an idiot, but I can't find anywhere what the {...} and @ in the upper right hand corner mean.

Thanks again!
The copy is restricted by the max size of text in an edit box (~1000) so anything longer can not be copied out via the clipboard. If you want to pull out more data you can modify it to spit stuff into saved vars and then get it there... So something like '/run Zgoo.sv.sounds = SOUNDS' or similarly.

The buttons at the top just toggle some additional information shown in-line. One is for memory addresses, the other shows the contents of a table in-line instead of having to expand it. Probably don't need this information and just options from when we were developing it.
Report comment to moderator  
Reply With Quote
Unread 04/29/14, 09:40 PM  
lyravega
AddOn Author - Click to view AddOns

Forum posts: 93
File comments: 15
Uploads: 2
Very useful addOn mate, gives such insight

By the way, you may want to disable bb codes (if allowed) or put a space after ":" on description so it won't become "ebug"
Last edited by lyravega : 04/29/14 at 09:40 PM.
Report comment to moderator  
Reply With Quote
Unread 05/01/14, 12:01 PM  
Criscal
AddOn Author - Click to view AddOns

Forum posts: 14
File comments: 107
Uploads: 4
Search

Hi,

Maybe I missed it - but is there any function to find functions and constants with a certain name in them. I would for example like to search for everything quest related as an example.
Very useful tool btw!

Best regards,

Criscal
Report comment to moderator  
Reply With Quote
Unread 05/02/14, 07:46 AM  
Aicam

Forum posts: 16
File comments: 2
Uploads: 0
table indexed tables

While browsing through _G["SCENE_MANAGER"] i found some tables which where indexed with some other table.
Is there a way to expand these indexes to see what their tables contains ?
Report comment to moderator  
Reply With Quote
Unread 05/02/14, 12:38 PM  
SinusPi
AddOn Author - Click to view AddOns

Forum posts: 18
File comments: 5
Uploads: 3
Re: Search

Originally Posted by Criscal
Maybe I missed it - but is there any function to find functions and constants with a certain name in them. I would for example like to search for everything quest related as an example.
/zgoo find uest <- yes, case sensitive

However, quest-specific funcs are already gathered in a top level group.

Originally Posted by Aicam
While browsing through _G["SCENE_MANAGER"] i found some tables which where indexed with some other table.
Is there a way to expand these indexes to see what their tables contains ?
It was possible in the precursor to Zgoo, Spoo for WoW - so the functionality should still be somewhere in there. It showed two expand buttons for those cases, first expanded the index and the second the data. I could dig into it at some point, but not at this moment.
Report comment to moderator  
Reply With Quote
Unread 05/06/14, 11:08 AM  
Eleventeen

Forum posts: 16
File comments: 122
Uploads: 0
oddly i cant find this addon on minion..
Report comment to moderator  
Reply With Quote
Unread 05/12/14, 10:45 PM  
Aiiane
 
Aiiane's Avatar
AddOn Author - Click to view AddOns

Forum posts: 19
File comments: 23
Uploads: 0
You might want to reconsider the addition of GetChildren, or at least name it to something that makes it obvious that it's added by Zgoo (e.g. "GetChildrenViaZgoo") - otherwise, addon authors may not realize that the function is provided by Zgoo and try to use it in their own addons, then be frustrated when it doesn't work (or even worse, when it works sometimes, because they've viewed the control in Zgoo, but not other times).
Report comment to moderator  
Reply With Quote
Unread 05/16/14, 02:16 PM  
Edda
 
Edda's Avatar
AddOn Author - Click to view AddOns

Forum posts: 60
File comments: 132
Uploads: 4
Really nice job. Has been usefull straight from the 30 minutes I started using it. Thx
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: