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

    • i'll give it a shot in a few hours and post it here
    • 🛡 GoldRush — High Five x20   A fresh High Five server focused on active progression, fair competition, and a healthy player-driven economy.   GoldRush is built for players who want a fresh spin on our beloved game that is connected to today's world via Web3 marketplace.   🌍 Server Info   Chronicle: High Five Type: Mid Rate / PvP Craft Community: International Location: Europe Time Zone: GMT+3   ⚙️ Rates   EXP: x20 SP: x20 Adena: x10 Drop: x8 Spoil: x12 Raid Boss: x3 Quest Items: x5 Quest EXP / SP: x10 Quest Adena: x5   👑 Class Progression   1st Class: Free 2nd Class: Free 3rd Class: 5,000,000 Adena   1st and 2nd class transfers reward Shadow Weapons.   ✨ Main Features   No P2W as there is no donation currency in the game Web3 Marketplace Events with real rewards Rotating accessories shop Weekly Olympiad Clean and active mid-rate progression   🧩 Community Board Features   Buffer GM Shop Gatekeeper Drop Search Rankings   🔨 Enchant Info   Max Weapon Enchant: +16 Max Armor Enchant: +12 Olympiad Max Enchant: +6   Safe Enchant: Weapons / Armor: safe to +3 Full Body Armor: safe to +4   Enchant Chance: +4 to +6: 66% +7 to +9: 60% +10 to +12: 54% +13 to +14: 48% +15 to +16: 42%   🏪 GM Shop / Gear Progression   C-grade through Dynasty gear is available through the GM Shop.   Moirai+ progression is farm, craft and raid based.   There is no admin-created endgame gear selling.   🥇 Gold Rush Economy   GoldRush includes a server-wide Adena sink system.   Players contribute Adena to the Gold Rush Collector. When the server goal is reached, limited Gold Bar stock unlocks through the Gold Merchant.   Daily Gold Rush missions also allow active players to earn Gold Bars through gameplay.   🌐 Website Player-to-Player Marketplace   GoldRush includes a website-based Web3 marketplace where players can list and trade items with each other.   Items come from real players.   The marketplace is player-to-player only.   🏛 Olympiad   Weekly Olympiad cycle. Olympiad starts at 18:00 GMT+3. Olympiad max enchant: +6.   🏰 Sieges   Castle sieges take place on Sundays at 16:00 and 20:00 GMT+3.   The first siege will happen 2 weeks after launch.   🐉 Grand Boss Respawn   Queen Ant: 24h + 2h random Core: 30h + 2h random Orfen: 48h + 2h random Baium: 120h + 3h random Antharas: 120h + 24h random Valakas: 120h + 24h random Beleth: 120h + 24h random   🎉 Events   Manual GM events with real token or gold bar rewards.   ⚔️ Fair Play   Bots are strictly forbidden and will result in a ban without warning.   Dualbox is limited to 1 box.   GoldRush is built around a healthy player-to-player economy.   🚀 What to Expect   Active farming Meaningful PvP Meaningul Farming Player-driven economy No donation currency     🔗 Join Us   Website: www.goldrushpvp.xyz Discord: https://discord.gg/kg9WXxcAY   🏁 Expected Launch: July 18 2026     If you are looking for a fresh High Five x20 server with clean structure and strong long-term potential, GoldRush is almost ready.   See you in game.
    • Collisions is from client are no way to bypass from server. Can be done from client modification need to be moded a .dll I can do the work you can contact me by DM  P.D: I already have this job done on the past
  • 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..