My Login System isn't working, and yes I did check the locations and they're not wrong. Here is the coding...
mob
Login()
loc =locate(8,7,5)
mob/mobs.Likon
icon = 'Mobs.dmi'
icon_state = "1"
Click()
usr.health = 200
usr.max_health = 200
usr.icon = 'Mobs.dmi'
usr.icon_state = "1"
usr.magic = 20
usr.max_magic = 100
usr.Hstart()
mob/mobs.Guino
icon = 'Mobs.dmi'
icon_state = "2"
Click()
usr.health = 200
usr.max_health = 200
usr.icon = 'Mobs.dmi'
usr.icon_state = "2"
usr.magic = 22
usr.max_magic = 100
usr.Sstart()
mob/mobs.Hioku
icon = 'Mobs.dmi'
icon_state = "3"
Click()
usr.health = 200
usr.max_health = 200
usr.icon = 'Mobs.dmi'
usr.icon_state = "3"
usr.magic = 19
usr.max_magic = 100
usr.Kstart()
mob
proc
Hstart()
loc =locate(4,4,1)
mob
proc
Sstart()
loc =locate(1,1,1)
mob
proc
Kstart()
loc =locate(1,1,1)
ID:172715
Apr 5 2004, 8:13 am
|
|
In response to Lummox JR
|
|
Well exactly, the screen loc at (1,1,5) dosn't loc there, and the characters arnt there for me to click, it is just all black.
And hows this?: mob Login() loc =locate(1,1,5) mob/Likon icon = 'Mobs.dmi' icon_state = "1" Click() usr.health = 200 usr.max_health = 200 usr.icon = 'Mobs.dmi' usr.icon_state = "1" usr.magic = 20 usr.max_magic = 100 usr.Hstart() mob/Guino icon = 'Mobs.dmi' icon_state = "2" Click() usr.health = 200 usr.max_health = 200 usr.icon = 'Mobs.dmi' usr.icon_state = "2" usr.magic = 22 usr.max_magic = 100 usr.Sstart() mob/Hioku icon = 'Mobs.dmi' icon_state = "3" Click() usr.health = 200 usr.max_health = 200 usr.icon = 'Mobs.dmi' usr.icon_state = "3" usr.magic = 19 usr.max_magic = 100 usr.Kstart() mob proc Hstart() loc =locate(1,1,1) mob proc Sstart() loc =locate(1,1,1) mob proc Kstart() loc =locate(1,1,1) |
In response to Zeigue
|
|
if it doesnt work, try:
Move(locate(1,1,1)) or: x=1 y=1 z=1 |
I'll say this, though: That mob/mobs.Blah crap is ridiculous. A period isn't valid there.
Lummox JR