Skip to content

teleTo on EnterWorld cause client crash

Featured Replies

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

 

Hi

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

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

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

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.