ID:273976
 
Every time i try to code login turfs they always want to screw up. i will add them to the map and they never apper when i start the game up.

turf
LoginScreen
icon='Naruto Untold Prophecy1.jpg'
density=1
layer=998
turf
Customization
icon='Custom Screen.png'
density=1
layer=998
turf
VillageSelect
icon='Village Select.jpg'
density=1
layer=998


turf
NewChar
density=1
layer=999
Click()
usr.loc = locate(50,49,96)
usr.Frozen = 1
var/name = input("","Name") as text|null
if(length(name) < 2)
alert("Your Name Must Be Longer Than 2 Letters!")
return
if(length(name) > 20)
alert("Your Name Can Not Be Longer Then 20 Letters!")
return
usr.name="[html_encode(name)]"
if( usr.name== "")
usr<<""
return
usr.loc = locate(51,8,1)
usr.Frozen = 0
turf
LoadChar
density=1
layer=999
Click()
usr.LoadPlayer()


I dont see why it wont work.
I don't see any proc that creates those turfs. Do you place them on the map?
In response to Martys1103
please explain the login screen to me...im stuck there too
In response to Martys1103
Yes i place them on the map. but they wont show
In response to Overlord Lore
Overlord Lore wrote:
Yes i place them on the map. but they wont show

Recently I had this problem, it was because I was using 'Fill' instead of 'Add' to place the title screens on the map.

I hope that's your problem too?
In response to Hashir
Actually i am useing add....
i've found the problem, i didnt have a map format xD