sunleo Posted December 18, 2011 Share Posted December 18, 2011 Very useful post .. thanks a lot for sharing :) Link to comment Share on other sites More sharing options...
sunleo Posted December 18, 2011 Share Posted December 18, 2011 can exchange loc = new Location(81236, 148638, -3469); to use loc = new Location(Config.LocRespawnX, Config.LocRespawnY, Config.LocRespawnZ); config : +public static int LocRespawnX; +public static int LocRespawnY; +public static int LocRespawnZ; +LocRespawnX = Integer.parseInt(l2jdemonniacSettings.getProperty("LocX", "10724")); +LocRespawnY = Integer.parseInt(l2jdemonniacSettings.getProperty("LocY", "-23729")); +LocRespawnZ = Integer.parseInt(l2jdemonniacSettings.getProperty("LocZ", "-3650")); also works! :D tha's a good idea dude . You can easily change what location you want instantly thank repatching :) keep sharing :) Link to comment Share on other sites More sharing options...
benaz Posted April 9, 2012 Share Posted April 9, 2012 Cheers! Was looking this for ages! Anyways, google search engine is better than mxc. lol Link to comment Share on other sites More sharing options...
ExCaLiBuR® Posted April 28, 2012 Share Posted April 28, 2012 very good i test and working one question i can use more location ?? loc = new Location(81236, 148638, -3469); loc = new Location(819356, 148938, -3499); loc = new Location(815236, 1486938, -3969); Link to comment Share on other sites More sharing options...
Necro Posted April 28, 2012 Share Posted April 28, 2012 Nice work Krash :) Link to comment Share on other sites More sharing options...
Mimosin Posted February 2, 2013 Share Posted February 2, 2013 can exchange loc = new Location(81236, 148638, -3469); to use loc = new Location(Config.LocRespawnX, Config.LocRespawnY, Config.LocRespawnZ); config : +public static int LocRespawnX; +public static int LocRespawnY; +public static int LocRespawnZ; +LocRespawnX = Integer.parseInt(l2jdemonniacSettings.getProperty("LocX", "10724")); +LocRespawnY = Integer.parseInt(l2jdemonniacSettings.getProperty("LocY", "-23729")); +LocRespawnZ = Integer.parseInt(l2jdemonniacSettings.getProperty("LocZ", "-3650")); also works! :D Add: + public static boolean LocEnable; + LocEnable = Boolean.parseBoolean(CustomSettings.getProperty("LocEnable", "true")); requestrestartpoint... default: + if (Config.LocEnable) + loc = new Location(Config.LocRespawnX, Config.LocRespawnY, Config.LocRespawnZ); + else loc = MapRegionManager.getInstance().getTeleToLocation(activeChar, MapRegionManager.TeleportWhereType.Town); break; Is better :$ Link to comment Share on other sites More sharing options...
NoGeRa Posted February 10, 2013 Share Posted February 10, 2013 Works! :D TY Link to comment Share on other sites More sharing options...
PartyAnimaL88 Posted February 17, 2013 Share Posted February 17, 2013 Thnx dude for your share :) Link to comment Share on other sites More sharing options...
xdem Posted February 19, 2013 Share Posted February 19, 2013 What about arenas? like coliseum/giran arena. It should be normal spawn. xD sad, but true story, btw the code is 4 years old :troll: Link to comment Share on other sites More sharing options...
`Sword Posted April 14, 2013 Share Posted April 14, 2013 sad, but true story, btw the code is 4 years old :troll: ### Eclipse Workspace Patch 1.0 #P L2J-Archid-Game Index: src/main/java/com/l2jarchid/gameserver/network/clientpackets/RequestRestartPoint.java =================================================================== --- src/main/java/com/l2jarchid/gameserver/network/clientpackets/RequestRestartPoint.java (revision 1060) +++ src/main/java/com/l2jarchid/gameserver/network/clientpackets/RequestRestartPoint.java (working copy) @@ -148,7 +148,7 @@ break; default: - loc = MapRegionTable.getInstance().getTeleToLocation(activeChar, MapRegionTable.TeleportWhereType.Town); + if (!activeChar.isInsideZone(L2Character.ZONE_PVP) + { + loc = new Location(81236, 148638, -3469); //Giran + } + else + { + loc = MapRegionTable.getInstance().getTeleToLocation(activeChar, MapRegionTable.TeleportWhereType.Town); + } break; } Link to comment Share on other sites More sharing options...
Recommended Posts