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...

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disabled AdBlock