Jump to content

Saving data for profile


Recommended Posts

Topic means "to profile" :-)

 

I have mod that required to share settings between different sessions

 

there a questions :

 - is it safe to add custom data to profile? any size restrictions?

 - is there serialize/unserialize functions for it.

 

looking into http://lua-users.org/wiki/TableSerialization, but most of them too complex for such task.

 

just need array2str(array) and str2array(string) functions, where array can have array of array of array inside without functions,customdata,pointers and other "useless" things :-). Just standart types like string,boolean,number and table.

 

i can made ugly functions with string concatenation with ugly "unique" key for each array dimension to split them, but maybe there a beauty solution?

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

Please be aware that the content of this thread may be outdated and no longer applicable.

×
  • Create New...