Save_1()
if(!src||!mob) return
Ranking(mob)
if(fexists("Player Saves/[mob.ckey]/Options.sav")) fdel("Player Saves/[mob.ckey]/Options.sav")
var/savefile/csave
var/GML=mob.GMLevel
if(key==world.host) mob.GMLevel=0
csave = new ("Player Saves/[mob.ckey]/Options.sav","-1")
csave["Tutorial"] << mob.Tutorial
csave["Jailed"] << mob.jailed
csave["Jail Time"] << mob.jail_time
csave["Muted"] << mob.muted
csave["Mute Time"] << mob.mute_time
if(key!=world.host) csave["GMLevel"] << mob.GMLevel
csave["AM"] << mob.AdnM
csave["GMLock"] << mob.GMLock
csave["AHM"] << mob.adminhelpmute
csave["MK"] << mob.mkallow
csave["Storage"] << mob.personal_storage
csave["HasStorage"] << mob.has_storage
if(fexists("Player Saves/[mob.ckey]/Save File [mob.save_filec].sav")) fdel("Player Saves/[mob.ckey]/Save File [mob.save_filec].sav")
var/savefile/save
save = new ("Player Saves/[mob.ckey]/Save File [mob.save_filec].sav","-1")
save["Name"] << mob.name
save["mob"] << mob
save["x"] << mob.x
save["y"] << mob.y
save["z"] << mob.z
mob:SetScores()
mob.GMLevel=GML
if(mob.notifysave&&mob.afk_time<5) src<<"<font color=red>Game Saved."
Problem description:For some reason that i cant fucking find out this saving proc isn't working properly. What happens is i join the game a couple moments inthe game and the autosave(which happens every 90 seconds after this) happens and the save proc works just fine, but every single autosave that happens after this doesn't overwrite the first save, which means that the first save of the character is never overwriten by any saving command... Anyone got any idea why?(I'm messing around in the Dark Apocalypse open source, trying to learn some stuff and such)
Try to slowly add to this.