MIST dumpDBs

From DCS World Wiki - Hoggitworld.com


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