Jump to content
  • 0

teleTo on EnterWorld cause client crash


Afou To Patisa

Question

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

 

Link to comment
Share on other sites

3 answers to this question

Recommended Posts

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

Link to comment
Share on other sites

  • 0

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?

Link to comment
Share on other sites

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