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

    • LF the following chars / items on chronos   Elf - with class Aeore's Shillen Saint - this is possible if you had done a class change with a ticket in the past. Dwarf - with class Mystic Muse - same as above   Any greater jewels / Radiant Circle Grace or Foresight +5 and above Cloak      
    • First, you need to understand what you're doing and what you want to achieve. You have to choose a server core. After that, decide what you want your server to include, code it, modify the client to fit your server, go public, and drink champagne.   If you know how to code, creating a server is relatively easy — a few months of work and you can make it happen. Modifying the client is a completely different story. There’s a lack of tutorials, tools, and source materials. I’m currently working on the client myself, and I’ve already spent over three weeks just trying to get started due to the lack of information. If you don’t have the knowledge and experience, you’ll need a team and a bag of money — but realistically, it just won’t succeed.
    • The server has been online and stable for over 2 months now, and we’re still going strong! No wipes, no shortcuts ~ just continuous work, daily fixes, events, and improvements to ensure the best possible experience.   Great News! 🔥 CHAPTER II IS COMING — GRACIA FINAL 🔥 On February 16, L2Elixir enters a new era. The server will be officially updated to Gracia Final, opening Chapter II of our journey. Expect new content, improvements, and surprises that will refresh the gameplay while keeping the classic Gracia Final spirit alive.   More challenges, more competition, and more reasons to log in.   📅 Update Date: February 16 ⚔️ Chapter II: Gracia Final This is not a reset. This is evolution.   Prepare yourselves — Chapter II begins soon.   Website: https://l2elixir.org/ Discord: https://discord.gg/5ydPHvhbxs    
    • Server owners, Top.MaxCheaters.com is now live and accepting Lineage 2 server listings. There is no voting, no rankings manipulation, and no paid advantages. Visibility is clean and equal, and early listings naturally appear at the top while the platform grows. If your server is active, it should already be listed. Submit here 👉https://Top.MaxCheaters.com This platform is part of the MaxCheaters.com network and is being built as a long-term reference point for the Lineage 2 community. — MaxCheaters.com Team
  • Topics

×
×
  • Create New...

Important Information

This community uses essential cookies to function properly. Non-essential cookies and third-party services are used only with your consent. Read our Privacy Policy and We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue..