I think i've found part of the issue to. For some reason it suddenly works if I remove the del src part of the logout proc.
Nevermind that. For some reason only the save button seems to work, not the logout proc version of saving?
Is ingame ever being set to true?

The only instance of this in your current code you provided only happens if a save file exists.
I tried taking ingame out as well as created and it still doesnt work.
only the save button version works even though its now the exact same code
The save button even loads the colors correctly?
Put them both here, there might be something subtle.
    Logout()
world << "[key] has logged off!"
var/savefile/F=new("Save/[ckey].sav")
F["Hair"]<<usr.whichair
F["Hair2"]<<src.haircolor
F["Race"]<<usr.race
F["name"]<<usr.name
F["g"]<<src.icon
F["x"]<<src.x
F["y"]<<src.y
F["z"]<<src.z
F["verbs"]<<src.verbs
sleep(2)
Write(F)


            
savegame()
var/savefile/F=new("Save/[ckey].sav")
F["Hair"]<<usr.whichair
F["Hair2"]<<src.haircolor
F["Race"]<<usr.race
F["name"]<<usr.name
F["g"]<<src.icon
F["x"]<<src.x
F["y"]<<src.y
F["z"]<<src.z
F["verbs"]<<src.verbs
sleep(2)
Write(F)


the only difference is savegame() is a verb
You don't have Logout defined elsewhere, do you? If so, add ..() to the bottom of each Logout. Consider doing it regardless though.
No i don't but i did it anyways. Still nothing.
If you have a second account logged in, you do see the logout message, right?
No, but I'm pretty sure that's because my seperate accounts aren't connecting to the game together or something because I don't have it on a hub or whatever?
If you're running it through DreamDaemon, you should be able to interact. You do not need a hub for this.
Tried running it on dreamdaemon and still the two accounts are not connecting together.
Assuming that you actually are using DD, that can't happen. You have to use two separate accounts though. How many players does it say are logged in when you log in?

In case you are unaware of where this is:
http://imgur.com/onIvl5W
Nevermind i was doing it wrong. Yeah the logout message works.
And if you output src.haircolor during the save, it is still correct, right?

EDIT: Are you calling the Load() from the verb without exiting the game first?
Also, check to see if the file is actually created from logout, and if so, try to compare it to the one created with the verb.
Theres definitly a file created from logout. The logout version of save saves other things. The only thing it doesnt save is the hair.
Try changing hairload as I mentioned earlier.
you mean when you said to pass the opened save file to hairload? How exactly do I do that.
Best response
You need to define hairload as
hairload(var/savefile/F)


When calling it,
hairload(F)


And get rid of the part opening and reading a new savefile in hairload.
Page: 1 2 3