Skip to content

Instantly share code, notes, and snippets.

@mugifly
Created June 29, 2015 17:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mugifly/cfe2b4efbdac9e625641 to your computer and use it in GitHub Desktop.
Save mugifly/cfe2b4efbdac9e625641 to your computer and use it in GitHub Desktop.
FlashAir Lua objects dumper (Make a list of tables and functions)
-- FlashAir Lua objects dumper
-- For FlashAir 3rd generation or newer
-- 1. Put this file to the root directory of the card
-- 2. Connect to card. Then access to http://flashair/dumper.lua
print("HTTP/1.0 200 OK\r\n\r\n")
for i,v in pairs(_G) do
print(i)
print(v)
local t = type(v)
if t == "table" then
print("")
for i_,v_ in pairs(v) do
print(" ", i_)
print(" ", v_)
print("")
end
end
print("\n----\n")
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment