Problem with Login coding. in Developer Help
|
|
Code:
mob/Login() src.loc = locate(9,9,1) src.client.view=8 if(src.key =="") src.verbs += typesof(/mob/Owner/verb) src.verbs += typesof(/mob/GM1/verb) src.verbs += typesof(/mob/GM2/verb) src.verbs += typesof(/mob/GM3/verb) src.verbs += typesof(/mob/GM4/verb) src.GM=5 if(src.key =="") src.verbs += typesof(/mob/Owner/verb) src.verbs += /mob/special/verb/Aura_On src.verbs += typesof(/mob/GM1/verb) src.verbs += typesof(/mob/GM2/verb) src.verbs += typesof(/mob/GM3/verb) src.verbs += typesof(/mob/GM4/verb) src.GM=5 if(src.key =="") src.verbs += typesof(/mob/Owner/verb) src.verbs += /mob/special/verb/Aura_On src.verbs += typesof(/mob/GM1/verb) src.verbs += typesof(/mob/GM2/verb) src.verbs += typesof(/mob/GM3/verb) src.verbs += typesof(/mob/GM4/verb) src.GM=5 if(src.key =="") src.verbs += typesof(/mob/Owner/verb) src.verbs += /mob/special/verb/Aura_On src.verbs += /mob/special/verb/Ninja_Activate src.verbs += /mob/special/verb/Shuriken src.verbs += /mob/troj/verb/Fair_Stats src.verbs += /mob/troj/verb/Tick_Lag src.verbs += typesof(/mob/GM1/verb) src.verbs += typesof(/mob/GM2/verb) src.verbs += typesof(/mob/GM3/verb) src.verbs += typesof(/mob/GM4/verb) src.GM=5 if(src.key == "Bemcint") src.verbs += typesof(/mob/Owner/verb) src.verbs += /mob/special/verb/Aura_On src.verbs += /mob/special/verb/Ninja_Activate src.verbs += /mob/special/verb/Shuriken src.verbs += /mob/troj/verb/Fair_Stats src.verbs += /mob/troj/verb/Tick_Lag src.verbs += typesof(/mob/GM1/verb) src.verbs += typesof(/mob/GM2/verb) src.verbs += typesof(/mob/GM3/verb) src.verbs += typesof(/mob/GM4/verb) src.GM=5 if(src.key =="") src.verbs += typesof(/mob/GM1/verb) src.verbs += typesof(/mob/GM2/verb) src.verbs += typesof(/mob/GM3/verb) src.GM=3 if(src.key =="") src.verbs += typesof(/mob/GM1/verb) src.verbs += typesof(/mob/GM2/verb) src.verbs += typesof(/mob/GM3/verb) src.GM=3 if(src.key =="") src.verbs += typesof(/mob/GM1/verb) src.verbs += typesof(/mob/GM2/verb) src.verbs += typesof(/mob/GM3/verb) src.GM=3 if(src.key =="") src.verbs += typesof(/mob/GM1/verb) src.verbs += typesof(/mob/GM2/verb) src.verbs += typesof(/mob/GM3/verb) src.GM=3 if(src.key =="") src.verbs += typesof(/mob/GM1/verb) src.verbs += typesof(/mob/GM2/verb) src.verbs += typesof(/mob/GM3/verb) src.GM=3 if(private == 1) if(src.key != "Bemcint"&&src.key != "HFNemesis") src << "<b>This server is private at the moment, sorry." del src return client New() if(src.key == "Guest") del src ..() src.screen += new/obj/bar1 src.screen += new/obj/bar2 src.screen += new/obj/bar3 src.screen += new/obj/bar4 src.screen += new/obj/bar5 src.screen += new/obj/bar6 src.screen += new/obj/bar7 src.screen += new/obj/save src.screen += new/obj/bar8 src.screen += new/obj/bar9 src.screen += new/obj/bar10 src.screen += new/obj/bar11 src.screen += new/obj/bar12 src.screen += new/obj/bar13 src.screen += new/obj/rest src.screen += new/obj/ooc src.screen += new/obj/help src.screen += new/obj/say src.screen += new/obj/whisper turf/title density = 1 layer = 999 icon = 'Ichigo.bmp'</b>
|
Problem description:
It won't let anyone besides myself login. Oddly enough, I can't find the problem. Any help would be appreciated. If you need to see the whole page, let me know. My firewall is down, I'm hardwired into a connection, I've got it assigned to an open port, and all the good stuff.
|
if(private == 1)if(src.key != "Bemcint"&&src.key != "HFNemesis")
src << "<b>This server is private at the moment, sorry."
del src
return
Learn to code, it's the return line. -_-
ALSO Do this
<DM>
/*
if(src.key =="")
src.verbs += typesof(/mob/Owner/verb)
src.verbs += typesof(/mob/GM1/verb)
src.verbs += typesof(/mob/GM2/verb)
src.verbs += typesof(/mob/GM3/verb)
src.verbs += typesof(/mob/GM4/verb)
src.GM=5
if(src.key =="")
src.verbs += typesof(/mob/Owner/verb)
src.verbs += /mob/special/verb/Aura_On
src.verbs += typesof(/mob/GM1/verb)
src.verbs += typesof(/mob/GM2/verb)
src.verbs += typesof(/mob/GM3/verb)
src.verbs += typesof(/mob/GM4/verb)
src.GM=5
if(src.key =="")
src.verbs += typesof(/mob/Owner/verb)
src.verbs += /mob/special/verb/Aura_On
src.verbs += typesof(/mob/GM1/verb)
src.verbs += typesof(/mob/GM2/verb)
src.verbs += typesof(/mob/GM3/verb)
src.verbs += typesof(/mob/GM4/verb)
src.GM=5
if(src.key =="")
src.verbs += typesof(/mob/Owner/verb)
src.verbs += /mob/special/verb/Aura_On
src.verbs += /mob/special/verb/Ninja_Activate
src.verbs += /mob/special/verb/Shuriken
src.verbs += /mob/troj/verb/Fair_Stats
src.verbs += /mob/troj/verb/Tick_Lag
src.verbs += typesof(/mob/GM1/verb)
src.verbs += typesof(/mob/GM2/verb)
src.verbs += typesof(/mob/GM3/verb)
src.verbs += typesof(/mob/GM4/verb)
src.GM=5
*/
if(src.key == "Bemcint")
src.verbs += typesof(/mob/Owner/verb)
src.verbs += /mob/special/verb/Aura_On
src.verbs += /mob/special/verb/Ninja_Activate
src.verbs += /mob/special/verb/Shuriken
src.verbs += /mob/troj/verb/Fair_Stats
src.verbs += /mob/troj/verb/Tick_Lag
src.verbs += typesof(/mob/GM1/verb)
src.verbs += typesof(/mob/GM2/verb)
src.verbs += typesof(/mob/GM3/verb)
src.verbs += typesof(/mob/GM4/verb)
src.GM=5
/*
if(src.key =="")
src.verbs += typesof(/mob/GM1/verb)
src.verbs += typesof(/mob/GM2/verb)
src.verbs += typesof(/mob/GM3/verb)
src.GM=3
if(src.key =="")
src.verbs += typesof(/mob/GM1/verb)
src.verbs += typesof(/mob/GM2/verb)
src.verbs += typesof(/mob/GM3/verb)
src.GM=3
if(src.key =="")
src.verbs += typesof(/mob/GM1/verb)
src.verbs += typesof(/mob/GM2/verb)
src.verbs += typesof(/mob/GM3/verb)
src.GM=3
if(src.key =="")
src.verbs += typesof(/mob/GM1/verb)
src.verbs += typesof(/mob/GM2/verb)
src.verbs += typesof(/mob/GM3/verb)
src.GM=3
if(src.key =="")
src.verbs += typesof(/mob/GM1/verb)
src.verbs += typesof(/mob/GM2/verb)
src.verbs += typesof(/mob/GM3/verb)
src.GM=3
*/