After granting DreamSeeker permission to load my safefile, I would get this error:
BYOND Error:(Sfile.cpp,1136) failed to open file:
BYOND Error:(Sfile.cpp,1136) ß\Users\USER\Desktop\NotV\Vamp 0.9\playersaves\killer22.sav
proc name: LoadPlayer (/mob/Character/proc/LoadPlayer)
source file: Character Handle.dm,71
usr: null
src: Character (/mob/Character)
call stack:
Character (/mob/Character): LoadPlayer()
Killer22 (/client): Load()
LoadC()
Numbered Steps to Reproduce Problem:
Basically I saved it, when I re-ran the application and attempted to load it, it would give me the previous run-time error.
Code Snippet (if applicable) to Reproduce Problem:
proc
LoadPlayer()
..()
if(fexists("playersaves/[ckey].sav"))
winset(src, "1-Login", "is-visible=false;is-default=false;")
winset(src, "1-Main", "is-visible=true;is-default=true;is-disabled=false")
winset(src, "health", "is-visible=true;")
winset(src, "health_up", "is-visible=true;")
winset(src, "health_down", "is-visible=true;")
winset(src, "hp", "is-visible=true;")
var/coords[3]
var/savefile/F=new("playersaves/[ckey].sav") //<< Line 71. This is where the run-times directed me.
version=F["version"]
if(version<save_version) alert(src,"Your save file is out dated. The system will attempt to load what variables it can, but you may not receive all or any of the proper data.")
if(F.dir.Find("forum_info"))
F.cd="forum_info"
for(var/V in forum_info) vars[V]=F[V]
if(saveinfo=="true")
winset(src,"forum_user","text=[client.Decryption(username,20)]")
winset(src,"forum_pass","text=[client.Decryption(password,25)]")
winset(src,"forum_save","is-checked=true;")
else src<<"Save Corruption: forum_info could not be found in your save."
if(F.dir.Find("stat_info"))
F.cd="stat_info"
for(var/V in stat_info) vars[V]=F[V]
else src<<"Save Corruption: 'stat_info' could not be found in your save."
if(F.dir.Find("personal_info"))
F.cd="personal_info"
for(var/V in personal_info) vars[V]=F[V]
else src<<"Save Corruption: 'personal_info' could not be found in your save."
if(F.dir.Find("preferences"))
F.cd="preferences"
for(var/V in preferences) vars[V]=F[V]
Expected Results:
Should have loaded all my saved stats.
Actual Results:
Run-time error.
Does the problem occur:
Every time? Or how often?
Yes.
In other games?
This is the only game I've tried to save using this method.
In other user accounts?
I can't say for sure.
On other computers?
I can't say for sure.
When does the problem NOT occur?
It did not occur in the previous version of BYOND.
Did the problem NOT occur in any earlier versions? If so, what was the last version that worked? (Visit http://www.byond.com/download/build to download old versions for testing.)
I just said it didn't...
Workarounds:
None.
BYOND Error:(Sfile.cpp,1136) failed to open file:
BYOND Error:(Sfile.cpp,1136) èller22.DynShip id=52134&hubpath=Killer22.DynShip&version&type=CÂ4
proc name: LoadPlayer (/mob/Character/proc/LoadPlayer)
source file: Character Handle.dm,71
usr: null
src: Character (/mob/Character)
call stack:
Character (/mob/Character): LoadPlayer()
Killer22 (/client): Load()
LoadC()
"ller22.DynShip id=52134&hubpath=Killer22.DynShip&version&type=CÂ4"
That library is NOT included. Why it would even be mentioned I have no idea.