ID:174797
 
I look at the savefile section of the blue book and become confused. I don't know why savefiles are so hard for me, but I need some help. Can someone provide me with a code sample for a savefile structure? I would like for it to check for a saved mob on Login(), and if there isn't one, initiate CreateNewChar(). On logout have it save the mob to a savefile directory. Any help is appreciated, and will be mentioned in the credits. Thanks in advance.

--Joe
Delita12345 wrote:
I look at the savefile section of the blue book and become confused. I don't know why savefiles are so hard for me, but I need some help. Can someone provide me with a code sample for a savefile structure? I would like for it to check for a saved mob on Login(), and if there isn't one, initiate CreateNewChar(). On logout have it save the mob to a savefile directory. Any help is appreciated, and will be mentioned in the credits. Thanks in advance.

See:

http://www.deadron.com/Games/ByondBasicSavefiles.html
In response to Deadron
Deadron wrote:
See:

http://www.deadron.com/Games/ByondBasicSavefiles.html

That was a big help. Thanks Deadron.