I got it to the point where I encrypt and decrypt mobs, but if it is not directly from the savefile, it doesn't appear that you can input stuff straight into the mob.
How can I do this last part without it giving me a bad input run-time error, and have it working?
Will I need to encrypt each var on it's own?
Here is the code I am using now:
//Saving:
mob/proc/Save_Character()
var/savefile/F = new(client.Import())
var/RC5var
RC5var << client.mob
RC5var = RC5_Encrypt(RC5var,"encryptcode")
F["[src.name]/mob"] << RC5var
F["[src.name]/name"] << client.mob.name
client.Export(F)
src << "[src.name] saved."
//Loading (Done during login, after selecting what character you want (INP is your character)):
var/mob/mobe
var/mob/RC5var
F["[INP]/mob"] >> RC5var
RC5var = RC5_Decrypt(RC5var,"encryptcode")
RC5var >> mobe
client.mob = mobe
[edit]
It seems to be saving mobs as null as well:
\[GM\]\ Kunark
mob = null
name = "\[GM] Kunark"
Is in the savefile.