Jump to content
  • 0

teleTo on EnterWorld cause client crash


Question

Posted

hi i really stuck on this along with other people i asked. at EnterWorld.java  there is the  activeChar.spawnMe(x,y,z);

which spawn the character upon login. If you add  after this example   activeChar.teleToZone(x,y,z);       at first when u login its fine but if you restart and no relogin and u click enter in game

it crash. It happen in H5 also but in some specific places..

 

3 answers to this question

Recommended Posts

  • 0
Posted
4 hours ago, vampir said:

Hi

You should change x,y,z of spawnMe rather than setting location of character twice.

Elfo said the same, i did.. it's a common problem in all L2J packs. It only works if you add the teleportTo in a threadpool and happen 90 ms after the spawn me

  • 0
Posted

I don't think the root cause is somewhere in the server, client doesn't expect teleport during character loading and it just crashes. Did you try to put teleToLocation at the end of EnterWorld and not in the middle?

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


×
×
  • 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