ID:169767
 
I don't know where this really goes but,What causes the black screen when you log in?Like when i log in my whole map is all black.What causes them?Several Login()?

Edit:Move my topic to Code problems plz.

I'll show you my login code.Not veyr long or nothing just simple.

mob/Login()
speeding = 1
ChooseChar()
src.loc=locate(1,1,1)
speeding = 0
..()

world
name = "High Velocity Paintball."
view = 9
tick_lag = 2

mob
proc
ChooseChar()
switch(alert("What color would you like to be?",,"Blue","Green","Quit"))
if("Blue")
src << "You have chosen blue,"
icon='Mob.dmi'
icon_state="1"
if("Green")
src << "You have chosen green,"
icon='Mob.dmi'
icon_state="2"
if("Quit")
del src
If the mob isn't placed on the map, then you won't see the map!
In response to Elation
Can you explain a bit more?How is it not placed?In the Login() it has the choosechar() run first after that proc is done it places them 1,1,1

Edit:Ok it was working when i had all the icons in 1 single .dmi file.I move all the stores to a Stores.dmi and the Chars to Mob.dmi now it's showing the map black.
In response to DaGoat787
DaGoat787 wrote:
Can you explain a bit more?How is it not placed?In the Login() it has the choosechar() run first after that proc is done it places them 1,1,1

Edit:Ok it was working when i had all the icons in 1 single .dmi file.I move all the stores to a Stores.dmi and the Chars to Mob.dmi now it's showing the map black.

Probably because you need to switch their icons?
In response to Hell Ramen
turf
Grass
icon='Mob.dmi'
icon_state="grass"

obj
EqStore
icon='Stores.dmi'
icon_state="eq"
layer=OBJ_LAYER+3

Thoose are the only 2 obj/turfs i got right now.
You're abusing usr! Remember, by default, alert() takes usr as its argument. Read the usr lecture!
In response to Wizkidd0123
I left the code the same.Closed DM couple mins later i open,compile,run it and it's all good now.Know why?