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?

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...