lotrointerface.com
Search Downloads


Go Back   LoTROInterface > LotRO Tools & Utilities for Developers

Category: LotRO Tools & Utilities for DevelopersHere Be Dragons
Interface Information
Download
How do I install this? (FAQ)
Name: Here Be Dragons   Popular!
Author:
Date: 07-11-2011 02:41 PM
Size: 16.96 Kb
Version: 1.0
Rate File: 5 out of 5 with 3 votes  
Pictures
Click to enlarge 

Views: 0
Size: 73.57 Kb
Dimensions: 573 x 585
Browsing part of Turbine's API
 
Description
About

Here Be Dragons is a a plugin that lets the curious developer browse the global lua environment (_G) in LotRO with a graphical user interface.

Ultimately, Here Be Dragons is simply an interactive table dump. Developers can use the browser independently of the plugin itself to 'explore' their own data structures at run time, or find out more about those undocumented "args" Turbine's API sends as parameter to events.

Installation

Copy the "Equendil" folder from the zip file to your "My Documents/The Lord of the Rings Online/Plugins" folder. Overwriting files should be safe if you are already using one or several of my other plugins (provided they are up to date).

You will need to execute "/plugins refresh" if you install the plugin for the first time while the game is running.

Usage

On the command line (if launched as a plugin):

"/plugins load HereBeDragons" will launch the plugin and display its window.

"/hbd [show|hide|toggle]" will display, hide, or toggle the plugin's window. "/hbd" without arguments is equivalent to "/hbd toggle".

Graphical User Interface:

Table keys and values are color coded in the following way: string, number, table, boolean, function, nil, thread, userdata, metatable

"Refresh All" will reset top level nodes, so that expanding them again will reflect any change made to data in that scope.

As a debugging aid

In order to use the browser in your code, you have to import the following package somewhere in your project:
Code:
import "Equendil.LuaExplorer.DefaultBrowser";
Then you can call Equendil.LuaExplorer.Explore( name, value ), this will create a new top level node called <name>, that will let you inspect <value>, whatever it is (obviously, it should be a table or this would be quite pointless). This will open the browser's window if it was closed.

For instance:
Code:
Equendil.LuaExplorer.Explore( "Turbine's API", Turbine );
would let you inspect the Turbine.* hiearchy.

Code:
myButton.Click = function( sender, args )
	Equendil.LuaExplorer.Explore( "Click args", args );
end
would let you inspect the argument sent to a Click event by an instance <myButton> of Turbine.UI.Button.

Top level nodes can be closed clicking the red cross button

IMPORTANT: The plugin does not need to be loaded to do this.

Known Issues & limitations
  • The icon showing the expandable status of a node ( + / - ) might go out of sync if double clicked

Reporting issues, requests
You can report bugs and other issues or make requests:
  • On this thread
  • In private messages through this site
  • By contacting me on the Snowbourn server. Send a mail to "Equanor" (my main), or send a message directly if you prefer and I happen to be logged on.

Plans for the Future
- None at the moment.

Change Log

v1.0 - 2011 July 11
-Initial release.
File Statistics
User Rating:
5 out of 5 with 3 votes
Downloads: 18555
Views: 35701
Favorites: 15
Uploaded By:
 
Last Modified: N/A

View Pictures. Download Now! Post A Comment


Post A Reply
Author Comments Comment Options
Unread 07-18-2011, 07:13 PM  
Almagnus1
The Undefeated
Interface Author - Click to view interfaces

Forum posts: 8
File comments: 57
Uploads: 2
Excellent!

This is going to be a very nice tool for just about all of the Lua developer's out there =)
Almagnus1 is offline Report comment to moderator   Reply With Quote Reply With Quote
Unread 07-15-2011, 08:00 PM  
Galuhad
The Undying
 
Galuhad's Avatar
Interface Author - Click to view interfaces

Forum posts: 24
File comments: 170
Uploads: 20
Nice work Good to see someone make a bit more effort than my attempt lol.
Galuhad is offline Report comment to moderator   Reply With Quote Reply With Quote
Unread 07-15-2011, 04:12 PM  
SanDBoX
The Undying
 
SanDBoX's Avatar
Interface Author - Click to view interfaces

Forum posts: 40
File comments: 26
Uploads: 1
Great tool, using it to take the place of my hodge-podged debugging.
SanDBoX is offline Report comment to moderator   Reply With Quote Reply With Quote
Unread 07-12-2011, 01:08 PM  
Equendil
The Undying
Interface Author - Click to view interfaces

Forum posts: 52
File comments: 125
Uploads: 5
Quote:
Originally Posted by Equendil
Then you can call Equendil.LuaExplorer.Explore( name, value ), this will create a new top level node called <name>, that will let you inspect <value>, whatever it is (obviously, it should be a table or this would be quite pointless).
No big deal, but for the sake of correctness: I seem to have gone ahead of myself in stating that any type will work here, currently, a <value> that is not a table will cause an error.
Equendil is offline Report comment to moderator   Reply With Quote Reply With Quote
Post A Reply

 
Category Jump:
Search this Category:
 

All times are GMT -5. The time now is 06:50 AM.


Our Network
EQInterface | EQ2Interface | Minion | WoWInterface | ESOUI | LoTROInterface | MMOUI | Swtorui