ID:144383
 
Code:
mob
Write(savefile/F)
..()
F["last_x"] << x
F["last_y"] << y
F["last_z"] << z
Read(savefile/F)
..()
var/last_x
var/last_y
var/last_z
F["last_x"] >> last_x
F["last_y"] >> last_y
F["last_z"] >> last_z
src.loc = locate(last_x, last_y, last_z)
src.verbs+=src.Verb





mob
verb
Save()
if(src.savefile1)
src<<"Character Saved!"
var/savefile/F=new("players/[usr.ckey]/[usr.ckey](1).sav")
src.savefile1=1
Write(F)


Problem description:
Cannot open 'C:\DOCUME~1\Owner.CJ\MYDOCU~1\players\megajoe\megajoe(1).sav': file is in use.
proc name: Save (/mob/verb/Save)
source file: Commands.dm,27
usr: Mega joe (/mob/PC)
src: Mega joe (/mob/PC)
call stack:
Mega joe (/mob/PC): Save()

Well, the file was in use. Maybe you had your game running twice or whatnot. Just exit all the programs that may access that file (probably only your game), then make sure it didn't get locked in use - try to rename or move it. If you can, then it's not in use - try running your game again, it should work.