ID:158448
 
Code:
mob
icon = 'mob.dmi'
var
full_access
money = 0

var
SavedVerbs
savex
savey
savez

Write(savefile/F)
verbs+=SavedVerbs
savex = x
savey = y
savez = z
..()

Read(savefile/F)
SavedVerbs = verbs
..()
Move(locate(savex,savey,savez))

world
hub = "Tman1114.DestinyOnline"
hub_password = "ilikemilk"
name = "Destiny Online"
status = "Main Server | Destiny Online | Webtest Release"
turf = /turf/grass

client
command_prompt = "DestinyOnline / Tman1114."
command_text = "Chat "

mob
Login()
if(fexists("Players/[ckey].sav"))
var/savefile/F=new("Players/[ckey].sav")
Read(F)
usr.client.view=7
world << "<b>[usr] has logged in!"
else
alert("No character found")
alert("What's your name?")
usr.name=input("Choose a name for your character.","Your Name",usr.name)
usr.icon_state = gender
usr.loc=locate(6,11,1)
world << "<b>[usr] has logged in!"
usr.client.view=7

mob
Logout()
..()
world << "<b>[usr] Logged out.</b>"
var/savefile/F=new("Players/[src.key].sav")
Write(F)
del(src)

mob
var
WhatNow="Talk to the Tutor near the fires."

mob
proc
LoginToServer()
world<<("[src] has come to meet their Destiny.")
usr<<"Welcome to Destiny Online. <a href=\
'http://www.byond.com/games/Tman1114/DestinyOnline'>BYOND Hub Page</a> | <a href=\
'http://www.destinyonline.comli.com'>Home Page</a>"


mob
var
medals
Stat()
statpanel("Medals", medals)


Problem:
When I compile and run, the game runs as expected. After quitting and logging back in to load the save, I am presented with a black screen. Help Please!

Tman1114
Might wanna cross out hub password.
and do this?
Move(locate(F["last_x"],F["last_y"],F["last_z"]))
In response to Gr1m d4 r34p3r
Not my real hub password.

(as you may have guessed) :)

Where would I put that?
In response to Tman1114
Under the Read proc?
In response to Gr1m d4 r34p3r
Thanks, that worked!
Hey man I was just going to say I have a published game named Destiny