Playmaker Forum

PlayMaker News => General Discussion => Topic started by: mrminico on October 03, 2016, 01:25:13 AM

Title: How do you make save functionality?
Post by: mrminico on October 03, 2016, 01:25:13 AM
I was wondering is Play maker capable of creating some sort of save file function via states or a "save game" manager. I was looking up on the asset store and saw a plugin called Easy save. I don't have money right now and I'm trying to see if theres a way I may be able to do some sort of save game state machine with Playmaker.
Title: Re: How do you make save functionality?
Post by: djaydino on October 03, 2016, 07:25:12 AM
Hi,
You can save data in playerprefs but it is easy to hack.
You could use it 1st and wait for easy save to be on sale :)

There is another asset called 'Smooth Save for PlayMaker' which is cheaper
but i don't know if it is possible to upload saves to a server with this one.
Title: Re: How do you make save functionality?
Post by: mrminico on October 04, 2016, 12:19:17 AM
Wait how is it easy to hack? Im not really going to make any online functionality in my game. And can you explain like lets say I want to make an auto save that saves every hour or after finishing a mission how would that work with playmaker player pref?
Title: Re: How do you make save functionality?
Post by: djaydino on October 04, 2016, 06:36:32 AM
hi,
Code: [Select]
Wait how is it easy to hack?It is very easy for a user to change the data (cheat) on playerprefs
online and offline

if you want it to auto save every hour you can use a wait and set it to 3600 and on the next state save the data you want to safe and loop back to wait.
You can add a global transition to it so you can also save on demand (end of level, or a save button for the player to press)
Title: Re: How do you make save functionality?
Post by: dudebxl on October 04, 2016, 12:12:25 PM
You can encrypt or MD5/SH1 (https://snipt.net/dudebxl/tag/actioncategoryencryption/) the playerpref data.

Search this forum (for encryption package) + ecosystem (see above link for ref) for the actions.

Then your data is hack proof...
Title: Re: How do you make save functionality?
Post by: mrminico on October 04, 2016, 01:31:00 PM
hi,
Code: [Select]
Wait how is it easy to hack?It is very easy for a user to change the data (cheat) on playerprefs
online and offline

if you want it to auto save every hour you can use a wait and set it to 3600 and on the next state save the data you want to safe and loop back to wait.
You can add a global transition to it so you can also save on demand (end of level, or a save button for the player to press)

I see thanks again for your insight.
Title: Re: How do you make save functionality?
Post by: mrminico on October 04, 2016, 01:32:46 PM
You can encrypt or MD5/SH1 (https://snipt.net/dudebxl/tag/actioncategoryencryption/) the playerpref data.

Search this forum (for encryption package) + ecosystem (see above link for ref) for the actions.

Then your data is hack proof...

I'm really confused by all that code I'll search it all in the ecosystem and one last question I have for you, how do I setup this encryption package?
Title: Re: How do you make save functionality?
Post by: dudebxl on November 04, 2016, 03:05:26 PM
read this: http://hutonggames.com/playmakerforum/index.php?topic=9789.0
Title: Re: How do you make save functionality?
Post by: dudebxl on November 13, 2016, 12:15:24 PM
@mrminico - version 1.0.2 is broken  :'( . I am looking for an old version and i will let you know
Title: Re: How do you make save functionality?
Post by: dudebxl on November 13, 2016, 12:55:51 PM
Uploaded previous version 1.0.1beta