←  Programs

ComputerCraft | Programmable Computers for Minecraft

»

Table Explorer - Discover the content of y...

HPWebcamAble's Photo HPWebcamAble 17 Feb 2016

Table Explorer

Look through your table!. Edit, create, and delete indexes.

Screenshots

Download
Run the following command in a computer (Supports full color and gray scale displays)
pastebin run LkzPw4G5
or for older versions of CC
pastebin get LkzPw4G5 install
install


How to use
In the terminal, run:
te explore <table name>
Note that the table must be in _G

In a program:
shell.run("te api") --# Loads the API
te.explore( <table> , <string (name)> )
DO NOT use os.loadAPI("te"), it won't work!

Bug Reports or Suggestions
Post a comment here or on the Github page
Edited by HPWebcamAble, 17 February 2016 - 09:49 PM.
Quote

Creator's Photo Creator 17 Feb 2016

If the thing in the title is not the path, please add it.
Quote

HPWebcamAble's Photo HPWebcamAble 17 Feb 2016

 Creator, on 17 February 2016 - 07:47 PM, said:

If the thing in the title is not the path, please add it.

Umm.. what?
Quote

oeed's Photo oeed 17 Feb 2016

Nice idea, this is pretty cool!
Quote

Exerro's Photo Exerro 17 Feb 2016

This is pretty neat.

 HPWebcamAble, on 17 February 2016 - 08:46 PM, said:

 Creator, on 17 February 2016 - 07:47 PM, said:

If the thing in the title is not the path, please add it.

Umm.. what?

I think he means showing "_G.redstone" at the top when you're looking in the redstone table.
Quote

Creator's Photo Creator 17 Feb 2016

Just add the table path, like "_G/atable/anotherone/rednet"
Quote

HPWebcamAble's Photo HPWebcamAble 17 Feb 2016

 Exerro, on 17 February 2016 - 09:02 PM, said:

I think he means showing "_G.redstone" at the top when you're looking in the redstone table.

 Creator, on 17 February 2016 - 09:06 PM, said:

Just add the table path, like "_G/atable/anotherone/rednet"


In the screenshots, it shows _G, so it displays _G - Table Explorer, but in directories it'll show _G.redstone

I use periods (.) instead of slashes because I thought it made more sense.. you know, file paths have slashes, but tables are indexed with [""] or .
Edited by HPWebcamAble, 17 February 2016 - 09:07 PM.
Quote