Skip to content

[HELP] Spawn coordinates

Featured Replies

I wanna change char spawn coordinates. When char presses to village button he gets ported to Giran town, instead of to nearest village.

But the problem is i dont know which packet does that.

Is it CharMoveToLocation packet?

	writeC(0x01);

	writeD(_charObjId);

	writeD(_xDst);
	writeD(_yDst);
	writeD(_zDst);

	writeD(_x);
	writeD(_y);
	writeD(_z);

http://www.maxcheaters.com/forum/index.php?topic=97231.0

 

dont forget that it have different imports, dont make another thread while you get errors :D

 

be careful when you apply patches, better do them manually

better dont do this, you will have problems with sieges etc.

  • Author

Ye, it will be a bad thing during sieges.

But maybe i can add this

Siege siege = SiegeManager.getInstance().getSiege(activeChar);
if (siege != null && siege.getIsInProgress()) loc = MapRegionManager.getInstance().getTeleToLocation(activeChar, TeleportWhereType.Town);
else loc = new Location(x, x, x);

 

Anyway, do u know how to add a random spawn loc?

 

P.S.: Thank u a lot ExTrEmEDwarf :)

Anyway, do u know how to add a random spawn loc?

What you mean? Respawning at differents coordinates?

  • Author

Exactly...

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.