Jump to content
  • 0

[Help]Custom spawn location, relog ports back.


Question

Posted

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?

10 answers to this question

Recommended Posts

  • 0
Posted

well its a faction mod that I turned on. It has the faction base locations. I have the source code so if u could point me towards where I might be able to look at it.

  • 0
Posted

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.

  • 0
Posted

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

  • 0
Posted

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

  • 0
Posted

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.

Guest
This topic is now closed to further replies.


×
×
  • Create New...

Important Information

This community uses essential cookies to function properly. Non-essential cookies and third-party services are used only with your consent. Read our Privacy Policy and We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue..