Jump to content

Recommended Posts

Posted

hi exo dei se polous server oti exoun akoma to party duel bug pou otan kaneis party duel mpeneis mesa stin olympiad  otan  exei kai mporeis  na  tous fate gi ayto sas dino edo to compile na to fix :P

 

 

Index: /trunk/L2Archid_GameServer_It/java/com/l2jarchid/Config.java
===================================================================
--- /trunk/L2Archid_GameServer_It/java/com/l2jarchid/Config.java (revision 352)
+++ /trunk/L2Archid_GameServer_It/java/com/l2jarchid/Config.java (revision 353)
@@ -1309,5 +1309,8 @@
     public static boolean L2JMOD_WEDDING_FORMALWEAR;
     public static int L2JMOD_WEDDING_DIVORCE_COSTS;
-
+    public static int DUEL_SPAWN_X;
+    public static int DUEL_SPAWN_Y;
+    public static int DUEL_SPAWN_Z;
+    
	// *******************************************************************************************
	public static void loadAMConfig()
@@ -1408,5 +1411,7 @@
             L2JMOD_WEDDING_FORMALWEAR               = Boolean.parseBoolean(L2JArchidModSettings.getProperty("WeddingFormalWear", "True"));
             L2JMOD_WEDDING_DIVORCE_COSTS            = Integer.parseInt(L2JArchidModSettings.getProperty("WeddingDivorceCosts", "20"));
-            
+            DUEL_SPAWN_X							= Integer.parseInt(L2JArchidModSettings.getProperty("PartyDuelSpawnX", "149319"));
+            DUEL_SPAWN_Y							= Integer.parseInt(L2JArchidModSettings.getProperty("PartyDuelSpawnY", "46710"));
+            DUEL_SPAWN_Z							= Integer.parseInt(L2JArchidModSettings.getProperty("PartyDuelSpawnZ", "-3413"));
             TVT_EVENT_ENABLED                        = Boolean.parseBoolean(L2JArchidModSettings.getProperty("TvTEventEnabled", "false"));
             TVT_EVENT_INTERVAL                        = L2JArchidModSettings.getProperty("TvTEventInterval", "20:00").split(",");
Index: /trunk/L2Archid_GameServer_It/java/com/l2jarchid/gameserver/model/entity/Duel.java
===================================================================
--- /trunk/L2Archid_GameServer_It/java/com/l2jarchid/gameserver/model/entity/Duel.java (revision 262)
+++ /trunk/L2Archid_GameServer_It/java/com/l2jarchid/gameserver/model/entity/Duel.java (revision 353)
@@ -23,5 +23,5 @@

import javolution.util.FastList;
-
+import com.l2jarchid.Config;
import com.l2jarchid.gameserver.ThreadPoolManager;
import com.l2jarchid.gameserver.ai.CtrlIntention;
@@ -228,9 +228,11 @@
				{
					// players need to be teleportet first
-					//TODO: stadia manager needs a function to return an unused stadium for duels
+					// TODO: stadia manager needs a function to return an unused stadium for duels
					// currently only teleports to the same stadium
-					_duel.teleportPlayers(-102495, -209023, -3326);
-
-					// give players 20 seconds to complete teleport and get ready (its ought to be 30 on offical..)
+					
+					_duel.teleportPlayers(Config.DUEL_SPAWN_X, Config.DUEL_SPAWN_Y, Config.DUEL_SPAWN_Z);
+
+					
+					// give players 20 seconds to complete teleport and get ready (its ought to be 30 on official..)
					ThreadPoolManager.getInstance().scheduleGeneral(this, 20000);
				}
Index: /trunk/L2Archid_GameServer_It/config/mods/l2jarchid-mods.properties
===================================================================
--- /trunk/L2Archid_GameServer_It/config/mods/l2jarchid-mods.properties (revision 315)
+++ /trunk/L2Archid_GameServer_It/config/mods/l2jarchid-mods.properties (revision 353)
@@ -348,2 +348,13 @@
#TvTShowCredits = True

+
+#================================================#
+#         /!\       Party Duel        /!\        #
+#================================================#
+# Default Coordinates : Coliseum
+# Party Duel Spawn X
+PartyDuelSpawnX = 149319
+# Party Duel Spawn Y
+PartyDuelSpawnY = 46710
+# Party Duel Spawn Z
+PartyDuelSpawnZ = -3413

 

 

http://trac.assembla.com/L2J-Archid/changeset/353

Posted

maybe some credits to L2J-Archid?

 

this works only for l2jarchid so.....

 

 

apo oti blepo kai i 2 sas den exete dei oti eistai se Έλληνες Developers

 

kai dn einai tis L2J-Archid  arxiko kataskebasmo ton  exei kanei i l2dot

alla giati ekleise  to pira apo tin l2j-archid..

 

Posted

kai dn einai tis L2J-Archid  arxiko kataskebasmo ton  exei kanei i l2dot

alla giati ekleise  to pira apo tin l2j-archid..

 

 

Em., t idio pragma leme me allo tropo. Owner tis l2dot eimoun k kserw..egw prosopika t xa valei.

 

k stn archid.

 

apla na vazeis credits.

Posted

Em., t idio pragma leme me allo tropo. Owner tis l2dot eimoun k kserw..egw prosopika t xa valei.

 

k stn archid.

 

apla na vazeis credits.

 

 

to 3ero polu kala  oti to ebales  esu kai poios sou to eipe giati den to i3eres to  bug :P

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
Reply to this topic...

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