semkius Posted September 10, 2013 Posted September 10, 2013 How to set this option, that when you push TO VILLAGE you automaticlly go to Giran, and there is no metter where you died?? any help? Quote
0 ExTrEmEDwarf Posted September 10, 2013 Posted September 10, 2013 die.java if (_activeChar.isInsideZone(L2Character.ZONE_UNUSED)) { _activeChar.doRevive(); _activeChar.teleToLocation(0, 0, 0); return; } Quote
0 ^Wyatt Posted September 10, 2013 Posted September 10, 2013 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: Quote
0 SweeTs Posted September 10, 2013 Posted September 10, 2013 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); Quote
0 semkius Posted September 10, 2013 Author Posted September 10, 2013 is there any other way, without java, to set this? Quote
0 ^Wyatt Posted September 10, 2013 Posted September 10, 2013 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: Quote
Question
semkius
How to set this option, that when you push TO VILLAGE you automaticlly go to Giran, and there is no metter where you died?? any help?
5 answers to this question
Recommended Posts
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.