MIST dumpDBs

From DCS World Wiki - Hoggitworld.com
Revision as of 06:30, 12 April 2018 by Grimes (talk | contribs) (Created page with "{{Mission Scripting |fName= mist.debug.dumpDBs| |vNum = Mist 1.0 |desc=Serializes all the tables in mist.DBs and outputs them to files in Saved Games/DCS/Logs/ | |rtnType=...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)


mist.debug.dumpDBs

Added with: Mist 1.0
Description
Serializes all the tables in mist.DBs and outputs them to files in Saved Games/DCS/Logs/
Syntax
nothing mist.debug.dumpDBs( )
Valid Input Values:
nothing
Return value:
nothing
Return example:
nothing
Usage Examples:
 do
 mist.debug.dumpDBs
 end

Notes:
For functions mist.debug.dump_G, mist.debug.writeData, and mist.debug.dumpDBs, you must (temporarily!) unprotect the Lua environment and enable the io and lfs libraries. You do this by commenting out the sanitizeModule calls in <DCS main directory>/Scripts/MissionScripting.lua. Just be sure to re-protect yourself later when you run missions from untrusted sources.
Related Functions
writeData, dumpDBs, dump_G, writeGroup, writeTypes, changeSetting

Scripting Engine

MIST Root Page