Jump to content

Recommended Posts

Posted

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

  • 3 months later...
  • 3 weeks later...
Posted

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

  • 9 months later...
Posted

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

Posted

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:

  • 1 month later...
Posted

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

Guest
This topic is now closed to further replies.

×
×
  • Create New...