ID:143825
 
        Login()
..()
usr.name = input("Enter your name... (Capitalize the first letter)","Name Selection")
usr.icon_state = input("What is your gender?","Gender Selection") in list("Male","Female")
usr.icon_state = input("What is your profession?","Class Selection") in list("Warrior","Wizard","Rogue","Ranger")
usr.icon_state = "Move(locate(1,1,1))"
world << "[usr] logs in!"

Logout()
..()
world << "[src] logs out!"</b>


Problem description: I have this code down but it still wont put any people on it when i run the game! please help!

where are you trying to get this to come up. I ran it in an empty world and it worked perfectly for me. I had a stats screen up and everything just to make sure. The only thing is after I picked a class it said it for a breif second and switched to "Move(locate(1,1,1))" What is that for?

Jman9901 wrote:
        Login()
> ..()
> usr.name = input("Enter your name... (Capitalize the first letter)","Name Selection")
> usr.icon_state = input("What is your gender?","Gender Selection") in list("Male","Female")
> usr.icon_state = input("What is your profession?","Class Selection") in list("Warrior","Wizard","Rogue","Ranger")
> usr.icon_state = "Move(locate(1,1,1))"
> world << "[usr] logs in!"
>
> Logout()
> ..()
> world << "[src] logs out!"</b>

Problem description: I have this code down but it still wont put any people on it when i run the game! please help!

In response to Robertg0123
someone told me to put that on there last night. i guess that was a stupid idea... so i just erase the move part and it'll work?

the stats thing works for me cept it says 'currentspell' and the player wont come up. i can move around but there is no player, just the screen.
In response to Jman9901
it worked either way for me.. so I have no idea
In response to Robertg0123
okay. but one more thing, did you get the player to come up too?
In response to Jman9901
what do you mean by get the player to come up??
Argh, so many things wrong with that...

1) If you can not see properly, the lines under Login() and Logout() are not indented properly... it should be giving you errors!

2) Using usr is a no-no, essentially because you do not know who usr really is (usr = client that first started a proc.. well, that's 1/2 of the definition anyways). You should be using src, the source of that procedure (which is the player logging in rather than the first client).

3) Why do you have three icon_state modifications? The latest one will over-ride the others. In fact, I really doubt you have an icon state named "Move(locate(1,1,1))".
WHAT ARE YOU TRYING TO DO?!?!

This code is terrible! Does your icon have the following icon states:

-Male
-Female
-Warrior
-Wizard
-Rogue
-Ranger
-Move(1,1,1)

No? This code would never work! You don't define an icon state for each and every stat screen! If you want it to work, first study a character selection demo, work on yours, and come back knowing at least knowing how to change your gender! (in-game, of course)
In response to Robertg0123
Are you aware that if you want 'players' to come up, actual PEOPLE have to log into your game?
In response to Armiris
yes it does
In response to GhostAnime
okay okay sorry i was doing a tutorial, i wont be doing that one again. . .
In response to Robertg0123
when i log in i move around and stuff but there is no guy on the screen
In response to Kazekage
i logged into it myself, i ran it, but nothing came up
In response to Jman9901
You are doing it totally wrong tho...

Why are you setting the icon_state 3 times? and why are you turning Move() into an ICON STATE?
In response to Kazekage
jman, maybe you didnt set the players icons yet.

mob
rogue
icon = 'somethin.dmi'
icon_state = "Rogue"


maybe?
In response to GhostAnime
Amazing, GhostAnime. You're the only person I see that has mentioned the errors in indentations, and that sticks out a LOT.
In response to Kaiochao2536
When you focus on something, you lose sight of the obvious... this is a good video to test it:

http://viscog.beckman.uiuc.edu/grafs/demos/15.html

Count how many times the white shirt wearers throw the balls. Afterwards, count how many balls were thrown and you'll see a special surprise... now, I don't think this'll work correctly because this video seems a bit too small.
In response to Kaiochao2536
Kaiochao2536 wrote:
Amazing, GhostAnime. You're the only person I see that has mentioned the errors in indentations, and that sticks out a LOT.

The assumption is that there was a copy-and-paste error, because that wouldn't have even compiled as-is.
In response to Rassafrass
okay thanks everyone, but i fixed it while everyone was talking to eachother! ty anyways!