Jump to content
  • 0

[HELP] Spawn coordinates


Question

Posted

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);

5 answers to this question

Recommended Posts

  • 0
Posted

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

  • 0
Posted

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 :)

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