Jump to content
  • 0

[HELP] Spawn coordinates


down

Question

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

Link to comment
Share on other sites

5 answers to this question

Recommended Posts

  • 0

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

Link to comment
Share on other sites

  • 0

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

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

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disabled AdBlock