ID:261187
 
What would I need besides Deadrons "Character_Handling" to have a save code that lets the player save their character for themselves?

Evil_SSJ4Vegeta
Evil_SSJ4Vegeta wrote:
What would I need besides Deadrons "Character_Handling" to have a save code that lets the player save their character for themselves?

Evil_SSJ4Vegeta

mob/verb/save()
src.client.SaveMob()

I believe. I haven't looked at CharacterHandling in detail for a while.
In response to Spuzzum
Fast reply Spuzzum, and thanks also for this snippet :), but I will hang on for more help as when I use this save code, you get to the login part, chose your character and then the Map doesnt load, do you have any Idea as to why this might happen?
In response to Evil_SSJ4Vegeta
What libs do I need besides "Character Handling" to make the save code work, as I want the "players" to save for themself, not the AutoSave code.

Could anyone help?
In response to Evil_SSJ4Vegeta
Evil_SSJ4Vegeta wrote:
What libs do I need besides "Character Handling" to make the save code work, as I want the "players" to save for themself, not the AutoSave code.

Could anyone help?

In Dream Maker, double click on Lib/Deadron.CharacterHandling.

Then open the characterhandling.dm file, which contains all the information you need to turn off auto-saving and to save the mob whenever a player wants (Spuzzum's code is the correct approach but the function name has changed.) Read all the comments in that file (won't take more than 3 minutes).

If you find the documentation there confusing, please let me know which part you find confusing so I can improve it.
In response to Deadron
Ok thanks Deadron
In response to Spuzzum
mob/verb/save()
src.client.SaveMob()

if the above didnt work, try.

client/verb/Save()
base_SaveMob()

thats what i used till i developed my own save program.