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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


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