Jump to content

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?

Edited by Rincevvind
Link to comment
https://forums.kleientertainment.com/forums/topic/36400-saving-data-for-profile/
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
  • Create New...