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:221
Total downloads:16,419
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 04/06/16, 05:23 PM  
uladz
AddOn Author - Click to view AddOns

Forum posts: 11
File comments: 223
Uploads: 2
Originally Posted by Halja
ESOUIDocumentationP9.trimmed.txt file is in the Zgoo root folder. Which leads to it showing on Add-on list in game. A file dump/download to the wrong location?
Just noticed the same, I think the file can be safely removed.
Report comment to moderator  
Reply With Quote
Unread 03/20/16, 02:03 PM  
Halja
 
Halja's Avatar
AddOn Author - Click to view AddOns

Forum posts: 111
File comments: 43
Uploads: 1
ESOUIDocumentationP9.trimmed.txt file is in the Zgoo root folder. Which leads to it showing on Add-on list in game. A file dump/download to the wrong location?
Report comment to moderator  
Reply With Quote
Unread 03/16/15, 12:17 PM  
Ayantir
 
Ayantir's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1019
File comments: 1531
Uploads: 31
Heya,

FYI an average vet char now get 27/28k objects, so it can cause /zgoo to freeze your computer for few seconds.
For some of us with end-user addons, using /zgoo (without arg) can raise up your LUA Memory

If you want to avoid original warning, edit Zgoo.lua, line 835 and raise the local MAX_GLOBAL = 25000 to something bigger. (i've personnaly set the value to 30000).

Report comment to moderator  
Reply With Quote
Unread 08/17/14, 12:15 PM  
Deome
 
Deome's Avatar
AddOn Author - Click to view AddOns

Forum posts: 29
File comments: 76
Uploads: 8
Originally Posted by wmrojer
To prevent ZGOO from crashing while scrolling through table [1] you need to add the function GetTradingHouseSearchResultItemLink to the list of blacklisted function.
That was infinitely useful. Been bothering me for weeks and weeks--I knew it was a Get function, near the trading house, but never knew which one.
Report comment to moderator  
Reply With Quote
Unread 07/27/14, 07:10 AM  
wmrojer

Forum posts: 2
File comments: 51
Uploads: 0
To prevent ZGOO from crashing while scrolling through table [1] you need to add the function GetTradingHouseSearchResultItemLink to the list of blacklisted function.

The table BLACKLISTED in zgoo.lua at line 32 should look like this
Lua Code:
  1. local BLACKLIST = {
  2.     GetNamedChild="BLACKLISTED",
  3.     --IsChildOf="BLACKLISTED",
  4.     --GetAnchor="BLACKLISTED",
  5.     GetChild="BLACKLISTED",
  6.     GetClass="BLACKLISTED",
  7.     GetHandler="BLACKLISTED",
  8.     GetTradingHouseSearchResultItemInfo="CRASHES",
  9.     GetTradingHouseSearchResultItemLink="CRASHES",
  10. }

You can also hold down CTRL while scrolling to prevent zgoo from calling functions. Personally I think it would have been better if you needed to hold down CTRL to call functions since you rarely get any relevant information from calling functions without any input parameters anyway.
Report comment to moderator  
Reply With Quote
Unread 07/26/14, 03:04 PM  
Xrystal
caritas omnia vincit
 
Xrystal's Avatar
Premium Member
AddOn Author - Click to view AddOns

Forum posts: 369
File comments: 85
Uploads: 0
Same scrolling bug with me through the same table. No error message, just kicks me out. Not sure what it had got to as I wasn't reading the values as my stuff is right at the bottom of the list.
Last edited by Xrystal : 07/26/14 at 03:05 PM.
Report comment to moderator  
Reply With Quote
Unread 07/03/14, 05:59 PM  
fosley
AddOn Author - Click to view AddOns

Forum posts: 7
File comments: 33
Uploads: 1
I'm having the problem that the game crashes when using Zgoo to scroll through the list of items under the table [1]. If I scroll quickly, it just crashes, but if I carefully scroll one item at a time using the scroll wheel, the following shows up:
[.] GetTradingHouseListingPercentage() = 1
[.] GetTradingHousePostPriceInfo() = table [#3,3]
GetTradingHouseSearchResultItemInfo() = CRASHES

Then, if I scroll one more tick, the game crashes, giving me the popup "what were you doing when the game crashed" dialogue. I disabled every addon I have except Zgoo, and I still get the same crash.

If I run /script d(GetTradingHouseSearchResultItemInfo()), the game also crashes, so this is a problem with the game, rather than your addon (I ran the script after deleting all the addons from the addon folder and it still crashed). Still, it would be nice if there was a way to bypass this so I can try to debug my own addon.

Could you put in some kind of exception so it will ignore that particular function until it gets fixed?
Report comment to moderator  
Reply With Quote
Unread 06/26/14, 09:11 AM  
zgrssd
AddOn Author - Click to view AddOns

Forum posts: 280
File comments: 26
Uploads: 3
Originally Posted by Eleventeen
oddly i cant find this addon on minion..
It is listed under "Utilities -> Developer Ulities" on this site, wich is not covered by minion. It only covers "Stand Alone Addons".

I think I found a bug under 1.2.3:
While browsing through the _G.Fonts with zgoo I noticed that for every Font, for every entry of "GetChildren()" there is instead this exception message:
user:/AddOns/Zgoo/Zgoo.lua:439: function expected instead of nil
stack traceback:
user:/AddOns/Zgoo/Zgoo.lua:439: in function 'func'
user:/AddOns/Zgoo/Zgoo.lua:897: in function 'Zgoo:ButtonClick'
user:/AddOns/Zgoo/Zgoo.lua:238: in function '(anonymous)'
Last edited by zgrssd : 06/26/14 at 09:11 AM.
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
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/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/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/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/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 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
Post A Reply



Category Jump: