Here comes the noobiest question of the year :
When running my game the character creation and everything is fine but the screen there is no icons no nothing here is the login code :
mob
Login()
..()
CheckBan(src)
src.loc=locate(70,82,10)
src.Move(locate(/obj/start))
plz help thankyou .
~Jazz~
ID:174226
Sep 14 2003, 6:26 am
|
|
Sep 14 2003, 8:14 am
|
|
The problem is that you're moving the mob to someplace that doesn't exist.
|
Have you placed a /obj/start on your map? Also, I don't think you need both the src.loc, and src.Move.
~GokuSS4Neo~ |
It seems trivial but I had this problem when I but character creation into my game. Make sure that whatever variables you use for HP and MaxHP have a value above 0 after you define em. So that brand new characters that have just been created have a value for these two. I could be totally wrong and it could just be the way my code is but when I created a totally new character from no save file when the HP and MaxHP didnt have a var they got assigned null and my screen never went from black to the game like it should. I thought some serious stuff was wrong in my code and went thru it all for a few hours tryin to find it then I looked at my vars and noticed none of em have default values so a new chars were all gettin set to null. I just put = 0 beside em all and tried it again I didnt change ANYTHING else and it worked like a charm.
|