Forum rules - please read before posting.

[Save system] Encryption of Save data - json format.

edited July 2019 in Engine development

Hi Chris,

I am encrypting and decrypting save data so player cannot change the data (I am using json format, cause I save some custom data).
• First in OnFinishSaving event the savefile parameter has empty string in fileName field see here. Not sure if it is wanted. (in OnBeforeLoading the field is OK).
• Second I thought that OnBeforeLoading is called before it loads data, but when looking at the implementation it is not. I would need it to be called before it loads the data so I can decrypt the data, cause otherwise it throws an exception.

Do you have some idea how can I achieve this some other way ?



Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Welcome to the official forum for Adventure Creator.