ID:176781
 
How do I get rid of black screen?
Depends on what context your using it in. We need a little more info to help, but my guess is that your location is set to null. Just use loc = locate(1,1,1).
-DogMan
In response to Dog Man
I have the locate 1,1,1 but it is still black screen.
In response to Saiyagirl
Well, it all depends on so many, many things. But, if your code is still new, then do this


mob
Login()
usr.loc = locate(x,y,z)


where x,y,z are where you want them to start the game

make sure to have
mob
Logout()
del(src)
so their mobiles get deleted when they log out and dont' stay there polluting the game.
In response to Metallica
Just because someone doesn't include savefiles in a game doesn't mean its primitive. A lot of game types don't require saving any imformation from a game session. I'm just trying to be helpfull here, some people might have taken you calling their code primitive as an insult.
In response to Saiyagirl
Ok. Add a verb that outputs your current location. Something like this.

mob/verb/LocTest()
src << "x:[src.x],y:[src.y],z:[src.z]"
src << "Located on: [src.loc]"

Use that verb when your on the blackscreen. This will figure out exactly where you are. If any of the numbers are 0, or it hasnt got anything writen for "Located on:" then there is a mix up in your code somewhere thats taking the mob to a place that doesnt exist.
Even once your done, you might want to keep that verb in a dm file called debug, since its good to have around when there are bugs. Then when your ready to release the game you just uncheck the box next to the file.
-DogMan
In response to Jotdaniel
Primitive? What primitive?