Jump to content

Recommended Posts

Posted

hi i found a bug in many server with the party duel which when you do it it teleport you inside olympiad and you can kill the others in olympiad games.i checked it out and here how to fix it

 

 

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

Oh i tested and really works thank i fixed in my pack thank's

 

You tested it after 5 min's? Lol haha

  • 2 weeks later...
Posted

Its is patch witch change party duel x/y/z location and some other things , read patch and You will see .

  • 2 years later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


  • Posts

    • The Return of L2Elixir – A Legacy Reborn in 2025 Read more features: https://l2elixir.org/features/ It’s time to relive the magic. Many of you remember L2Elixir, first launched in 2008 – a server that brought players together, created friendships, rivalries, and unforgettable memories. For two+ incredible years, until its closure in 2010, Elixir was more than just a server… it was home. In 2018, a fake project borrowed the name and damaged that legacy, but the true memories of L2Elixir never died. Today, in 2025, we are proud to announce that a new dedicated team has taken up the mantle to bring L2Elixir back to life – with respect for the past and a fresh vision for the future.   What to Expect We’re not here to be “just another server.” Our mission is to bring back nostalgia with innovation, offering a unique progression experience: Interlude-Like start, capturing that classic old-school feeling. A natural evolution into Gracia Final. Followed by Gracia Epilogue, keeping the journey alive without losing balance. This is not a copy-paste server – it’s a carefully crafted world designed to honor the spirit of Lineage II while introducing fresh ideas to keep the gameplay alive and rewarding. Why L2Elixir? A balanced environment where community comes first. A project built with passion, not profit. A server that values longevity, fairness, and nostalgia.   📅 Launch Date & Details Closed Beta: Online. Open Beta & Rewards: November 15 & 21:00 UTC +2 Launch: November 28 & 21:00 UTC +2   🔗 Join the Community Be part of history once again. Follow our Discord, join the discussion, and prepare to step back into the world where legends were made.   https://l2elixir.org/ https://discord.gg/5ydPHvhbxs L2Elixir 2025 – Honoring the Past. Building the Future.
    • 10-24-2025 - OUR TOPIC IS RELEVANT! CONTACT US BY THE CONTACTS BELOW
    • Can someone decompile in classes this LineageSkilleffect.u ? I am willing to pay if needed,  protocol god any. https://wormhole.app/BEj0pr#osVXtnL9Q-AmmVmxOcEZfw
    • I didn't have the key for the cache too i just writen random things, then the second time i opened it i didn't need to use the serial key again
    • estoy montandolo en mi win10pro jaja descargue tu rar y ahora no puedo iniciar la cache ya que pide una key serial podrias ayudarme asi lo monto para jugar solo  en el server.exe tambien me pide un serial   
  • Topics

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