ID:266179
 
Plz tell me :)
SSJ4_Link wrote:
Plz tell me :)

mob/Login()
var/N =input("Whats Your Name","Name")
usr.name=N


(not tested)
In response to Nadrew
Nadrew wrote:
SSJ4_Link wrote:
Plz tell me :)

mob/Login()
var/N =input("Whats Your Name","Name")
usr.name=N


(not tested)


The screen goes black when u do that(Map Screen)
In response to RagnarofBurland
RagnarofBurland wrote:
Nadrew wrote:
SSJ4_Link wrote:
Plz tell me :)

mob/Login()
var/N =input("Whats Your Name","Name")
usr.name=N


(not tested)


The screen goes black when u do that(Map Screen)

<font color="red">Try using Vortezz's Race Handling (I dont know if that is the exact name) Under the Demos section, it helped me alot until it started to crash.

~~PyRoMaNiAc~~
In response to RagnarofBurland
RagnarofBurland wrote:
Nadrew wrote:
SSJ4_Link wrote:
Plz tell me :)

mob/Login()
var/N =input("Whats Your Name","Name")
usr.name=N


(not tested)


The screen goes black when u do that(Map Screen)

At the end of the proc, you need to let BYOND do the default login behavior to put the mob on the map. To do that, you call ..():

mob/Login()
// Your stuff here

// Now let superclass do its behavior.
return ..()
In response to Deadron
Deadron wrote:
RagnarofBurland wrote:
Nadrew wrote:
SSJ4_Link wrote:
Plz tell me :)

mob/Login()
var/N =input("Whats Your Name","Name")
usr.name=N


(not tested)


The screen goes black when u do that(Map Screen)

At the end of the proc, you need to let BYOND do the default login behavior to put the mob on the map. To do that, you call ..():

mob/Login()
// Your stuff here

// Now let superclass do its behavior.
return ..()


Yeah I relized I forgot that my bad...
In response to PyRoMaNiAc
PyRoMaNiAc wrote:
RagnarofBurland wrote:
Nadrew wrote:
SSJ4_Link wrote:
Plz tell me :)

mob/Login()
var/N =input("Whats Your Name","Name")
usr.name=N


(not tested)


The screen goes black when u do that(Map Screen)

<font color="red">Try using Vortezz's Race Handling (I dont know if that is the exact name) Under the Demos section, it helped me alot until it started to crash.

~~PyRoMaNiAc~~
</font>

Eh?

It started to crash? What do you mean?

PS: Please close your tags.
In response to PyRoMaNiAc
PyRoMaNiAc wrote:
RagnarofBurland wrote:
Nadrew wrote:
SSJ4_Link wrote:
Plz tell me :)

mob/Login()
var/N =input("Whats Your Name","Name")
usr.name=N


(not tested)


The screen goes black when u do that(Map Screen)

<font color="red">Try using Vortezz's Race Handling (I dont know if that is the exact name) Under the Demos section, it helped me alot until it started to crash.

~~PyRoMaNiAc~~


Pyro something you need to learn is to close your</font>
HTML tags..

Not to be rude but it does get kinda annoying
In response to PyRoMaNiAc
mob/Login()
var/N =input("Whats Your Name","Name")
usr.name=N

The screen goes black when u do that(Map Screen)

That is because the Login() procedure, by default, moves the player onto the map. Since you don't have "..()" inside the Login() proc, it is overriding the former proc. And because it is overridden, the player isn't put on the map.

Here is how it should look.

mob/Login()
var/N = input("What's your name?","Name:")
usr.name = N
..() //run the former Login() proc as well

..() proc
Login() proc



<font color="red">Try using Vortezz's Race Handling (I dont know if that is the exact name) Under the Demos section, it helped me alot until it started to crash.

~~PyRoMaNiAc~~</font>

Also not to be rude, but if we wanted red as a colour on the forums, we would have set it up that way. Don't use other colours except for emphasis. And remember to close your tags, as others were happy to point out.