Jump to content
  • 0

[Help]Custom spawn location, relog ports back.


brett16

Question

I have a custom town location players go to when they die. But when they relog from a server restart or a crash they always get ported back to that custom location. Maybe I did something wrong but how can I make it so they stay where they logged out?

Link to comment
Share on other sites

10 answers to this question

Recommended Posts

  • 0

right click on the EnterWorld.java in package explorer, choose "Compara with"  and next choose "latest from repository"

u should look for something like activeChar.teletolocation(parameters) or codes similar to this1

Link to comment
Share on other sites

  • 0

Ok, so would it be some kind of setting that forces players to port at that location on login? I'm not really sure what I should be looking for in this file.

Yea it would be something about teleport just search for teleport in the enterworld file

Link to comment
Share on other sites

  • 0

Delete godamn line and condition :P.

 

Must be something like

 

if (activeChar.isFaction() == 1)

{

    activeChar.teleportblabla....

    activeChar.sendMessage("you have been proted back blabla");

}

 

Delete whole code.

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.


×
×
  • Create New...