ID:271462
 
Can someone tell me how to make a WORKING login system??
Not unless you explain what a "WORKING login system" is.
var/workinglogin = 0
mob/Login()
src << "OMFG YOU JUST LOGGED IN."
workinglogin = 1


Like that?
In response to Foomer
Like so people can ACTUALLY login and I dont get 500 errors when I try to run the game
In response to Dession
That and picking an icon
In response to XI-Demyx
Probably by making it yourself and not 1) using a ripped source, or 2) not using a bad demo.
In response to Popisfizzy
I am. Im making a custom bleach game but cant get the login system working
In response to XI-Demyx
Custom? Does that mean editing a source?

How can you make a game if you can't make a simple Login(). Tsk tsk.
In response to Dession
I did everything BUT the login @_@
In response to XI-Demyx
Maybe you should consider posting your errors and login code in Code Problems instead of asking vague, unanswerable questions such as "how do i make my login system work?"
In response to XI-Demyx
Post your problem code using the Dm tags and i think we may be able to help you -_-.

-Genjura
In response to XI-Demyx
Then it shouldn't be hard to do a simple login. =P
In response to Dession
I decided, screw the whole thing. Dession is right if I cant make a simple login system why should I make a game D:
In response to XI-Demyx
XI-Demyx wrote:
I did everything BUT the login @_@

If you did everything but the login why quit the project?
Just post you existing login with some details on what you want so i or we can help you -_-.

-Genjura
In response to Genjura
I kinda deleted the login to try and start over, and I dont have anything now. I forget the old login too
In response to XI-Demyx
mob
Login()
var/N
N=input("Welcome to the login, what would yo like to do?", "Login")in list("New Character","Cont. Character", "Delete Character") //to ask what will happen as a switch form
if(N=="New Character")
switch(input("What Skin Tone do you want?","Choose Skin")in list("White"))
if("White")
alert("You have chosen the Skin Tone white.")
src.icon_state=""
setrest()


mob/proc
setrest()
src.loc=locate(2,3,1)
src.icon='BaseWhite.dmi'

I cant get hair working D:
In response to XI-Demyx
That looks horrible. Here, try this:
mob
Login()
switch(input("What would you like to do?") in list("New","Load","Cancel"))
if("New")
switch(input("What's your skin tone?") in list("White"))
if("White")
alert("You have chosen white.")
switch(input("What kind of hair?") in list("Afro"))
if("Afro")
overlays+=icon('Hair.dmi',"Afro")
icon='Base.dmi'
icon_state="white_base"
loc=locate(2,3,1)
In response to DarkD3vil666
It works but one problem: the hair doesnt show
In response to XI-Demyx
why would you quit a game just because you have a hard time with one little problem? thats how you get better at coding, so just continue on.
In response to Soujen
I want to, I just want to get the login right so I can finish the game
Page: 1 2