Thread: Saving Data
View Single Post
04/17/14, 07:03 PM   #3
Errc
AddOn Author - Click to view addons
Join Date: Feb 2014
Posts: 30
Originally Posted by Mitazaki View Post
I'm looking for a way to dump large amounts of data to a file

Im thinking of the following options but not sure what's possible :

1...Use a text box ingame that can have its contents copied and then pasted outside game.

2...Save in a very very large variable in \SavedVariables.

3...Some other lua method that can be used to save/dump data to a file.

4...Loop through the data and dynamically create new savedvariables eg ( savedvariables.data1 , savedvariables.data2 , savedvariables.data3 , savedvariables.data4 and so on for each field in the loop ) for \SavedVariables
1) Does work, use an editbox. But it is very limited in size, ~1000 characters.

2) Saving to SV is the easiest way and the way you will want to do this likely.

3) Chatlog was disabled, I don't think it has made a comeback so none.

4) Same as number 2 but split from 1 var into many.
  Reply With Quote