turf
Login
login1
icon='13722.jpg'
login2
icon='13724.jpg'
NewChar
layer = 6
Click()
if(fexists("players/[usr.key]"))
switch(alert("You already have a character, do you want to override your character?","New Character","Yes","No"))
if("Yes")
fdel("players/[usr.key]")
if("No")
return
var/N = input(usr,"What is your name?","Name") as text
usr.name = N
switch(alert("What is your gender?","Gender","Male","Female"))
if("Male")
usr.gender = "Male"
usr.icon = 'BLNBase.dmi'
if("Female")
usr.gender = "Female"
usr.icon = 'BLNFemBase.dmi'
switch(input(usr,"What is your Race?","Race") in list("Human","Hollow","Shinigami","Vaizard","Mod Soul","Quincy","Bount"))
if("Human")
usr.race = "Human"
usr.loc = locate(55,15,1)
if("Hollow")
usr.race = "Hollow"
usr.loc = locate(59,49,2)
if("Shinigami")
usr.race = "Shinigami"
if("Vaizard")
usr.race = "Vaizard"
usr.loc = locate(55,15,1)
if("Mod Soul")
usr.race = "Mod Soul"
usr.loc = locate(55,15,1)
if("Quincy")
usr.race = "Quincy"
usr.loc = locate(55,15,1)
if("Bount")
usr.race = "Bount"
usr.loc = locate(55,15,1)
//usr.loc = locate(66,11,4)
LoadChar
layer = 6
Click()
if(fexists("player/[usr.key]"))
var/savefile/load
load = new ("players/[usr.key]")
load["mob"] >> usr
load["x"]>>usr.x
load["y"]>>usr.y
load["z"]>>usr.z
DelChar
layer = 6
Click()
fdel("players/[usr.key]")
Problem description: When I run the game, the login screen doesnt appear and it is all black, what am I doing wrong