Jump to content
  • 0

L2jEsios button TO VILLAGE = Move to Giran


Question

5 answers to this question

Recommended Posts

  • 0
Posted

You could use the SEARCH button before posting things already answered, http://maxcheaters.com/forum/index.php?topic=283284.0

 

gameserver/network/clientpackets/RequestRestartPoint.java

 

After Castle check, probably u haven't it equal.

Castle castle = CastleManager.getInstance().getCastle(activeChar.getX(), activeChar.getY(), activeChar.getZ());
	if ((castle != null) && castle.getSiege().getIsInProgress())
	{
		if ((activeChar.getClan() != null) && castle.getSiege().checkIsAttacker(activeChar.getClan()))
		{
			// Schedule respawn delay for attacker
			ThreadPoolManager.getInstance().scheduleGeneral(new DeathTask(activeChar), castle.getSiege().getAttackerRespawnDelay());
			if (castle.getSiege().getAttackerRespawnDelay() > 0)
			{
				activeChar.sendMessage("You will be re-spawned in " + (castle.getSiege().getAttackerRespawnDelay() / 1000) + " seconds");
			}
			return;
		}
	}

 

just add:

 

activeChar.teleToLocation(x,y,z;

 

 

die.java

If he wants to teleport when the user press "To Village" button is from requestrestartpoint  :troll:

  • 0
Posted

Guys, guys..

 

Like Wyatt said, it's inside RequestRestartPoint.java

 

Find (to village button)

 

default:
                    loc = MapRegionTable.getInstance().getTeleToLocation(activeChar, MapRegionTable.TeleportWhereType.Town);

 

and replace it with

 

default:
                    loc = new Location(x, y, z);

  • 0
Posted

is there any other way, without java, to set this?

I don't think so, m8.

Btw u are in a java help section and u ask for a non-java way?  :rage:

 

Maybe u could try to go to data/zones/zone.xml (if that's your IL source...) and try to change all spawn x='' y='' z='' with Giran coords... but I don't recommend you to do that...  :rage:

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