ID:268094
 
mob/create_character
var/mob/character
Login()
var/charactername = input("Choose Your Name to Join OK!","OK Character Name?")
character = new /mob/You/Player()
character.name = charactername
src.client.mob = character
character.loc=locate (9,49,1)
world<<"<B>[character] has logged in!"
del(src)
..()


however when i login it takes me to a diffrent place? any ideas why
Vash_616 wrote:
lying? I mean i re-posted the post with the !! the old one didnt,i didnt mean to now stop flaming ok thanks

Ok, you finally admitted it. Now, I'll try and help. Do you have any other Login() code that sends you to another location?
In response to SSJ4_Gohan_Majin
i have a few login codes here they are:
mob
Login()
if(!src.client.address)
host=src.client
world.status="[world.name]'s [server] Server ([version]) Is Hosted By [host]</B></font>"
..()


mob/BaseCamp
base_save_allowed = 0
Login()
if(BetaTesters.Find(usr.key))
RemoveVerbs()
usr.loc=locate (33,2,1)
src.K_Security_System(1,list("Vash_616"),list("Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"),null,null,"2004")
RemoveVerbs()
..()
else
sleep(1)
usr << "<big><Font Color=red>Access Denied, Closed Beta!"
world << "()[usr.key] Tried to Login but was Denied ([client.address])"
RemoveVerbs()
del(src)


mob/BaseCamp/ChoosingCharacter
Login()
spawn()
ChooseCharacter()
return ..()


But none of them send me to another location =/
In response to Vash_616
Vash_616 wrote:
But none of them send me to another location =/ = WRONG

Take a closer look.

Login()
if(BetaTesters.Find(usr.key))
RemoveVerbs()
>>>>>usr.loc=locate (33,2,1)<<<<<
src.K_Security_System(1,list("Vash_616"),list("Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"),null,null,"2004")
RemoveVerbs()
..()
else
sleep(1)
usr << "<big><Font Color=red>Access Denied, Closed Beta!"
world << "()[usr.key] Tried to Login but was Denied ([client.address])"
RemoveVerbs()
del(src)

In response to SSJ4_Gohan_Majin
That takes you to the login screen.
In response to Vash_616
Vash_616 wrote:
That takes you to the login screen.

It still sends you to a diffrent location, right?
In response to SSJ4_Gohan_Majin
yes. but the other login code is supposed to send you to a town and it does not.
In response to Vash_616
Vash_616 wrote:
yes. but the other login code is supposed to send you to a town and it does not.

The game cannot send you to 2 locations at once.
In response to SSJ4_Gohan_Majin
its not, i removed that but it still does the same thing the coordinates are correct and everything.
In response to Vash_616
I fixed it,never mind..