ID:140030
 
Code:
world
mob = /mob/pc
..()
mob
pc
icon = 'character.dmi'
Login()
Move(/obj/startpoint)
..()
obj
startpoint
icon = 'startpoint.dmi'


Problem description:
This code gives no errors, but when i compile and run it (there is more code, but it is irrelvent, as i will explain, since it is just for the basic turf, to create the map...) it shows a black screen where the map is suppose to be.

things that i have noticed:
1. it does not have a black screen, if i delete the world datum code.
2. both of the Dot-Dot proc's, weither deleted, or there, has no effect.
3. Doesn't matter if i use 'loc = locate()' or 'Move()'

Also, the only code not posted is obj's, and turfs', with only things othere that 'obj/books' etc, is name descriptions, and setting the icons, all turf used in the map, have working icons, since the map appears if as i noted above '1.'

Hope someone can help, and thanks in advance XD
You are giving Move() an invalid argument. A type path (such as /obj/startpoint) is not an actual atom which can be moved to. Therefore, you get a runtime error and Login() halts before it places the mob on the map.

You might be interested in the locate() procedure. Keep in mind that moving INTO an obj, while valid, will also result in a black screen. You probably want to find a turf, not an obj.
In response to Garthor
Garthor wrote:
You are giving Move() an invalid argument. A type path (such as /obj/startpoint) is not an actual atom which can be moved to. Therefore, you get a runtime error and Login() halts before it places the mob on the map.

You might be interested in the locate() procedure. Keep in mind that moving INTO an obj, while valid, will also result in a black screen. You probably want to find a turf, not an obj.

As i meantioned, i still get it, even if i use the 'loc = locate(/obj/startpoint)' and i tried making it a turf, not a obj, still having a problem, i will change both of what you said, and try again, worth a shot at least, although, i am thinking the problem, lies in the world datum, maybe something, that i didn't code correctly.... Eh, i will try it.
In response to Garthor
Ah, i must have done something wrong last time i tried it, but it is working now, thanks Garthor.