Jump to content

Recommended Posts

Posted
Index: aCis_datapack/data/xml/zones/ArenaZone.xml
IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
===================================================================
diff --git a/aCis_datapack/data/xml/zones/ArenaZone.xml b/aCis_datapack/data/xml/zones/ArenaZone.xml
--- a/aCis_datapack/data/xml/zones/ArenaZone.xml	(revision fe710a9694c725982e80c3db5037128ed3f0ca02)
+++ b/aCis_datapack/data/xml/zones/ArenaZone.xml	(revision c59220ae01b62d03a4f1394ba1ce52853868bbab)
@@ -6,18 +6,21 @@
 		<node x="12937" y="183019"/>
 		<node x="12943" y="184010"/>
 		<node x="11941" y="184010"/>
+		<spawn type="NORMAL" x="12661" y="181687" z="-3560"/>
 	</zone>
 	<zone shape="NPoly" minZ="-3752" maxZ="-3352"><!-- gludin_pvp -->
 		<node x="-88411" y="141732"/>
 		<node x="-87429" y="141733"/>
 		<node x="-87429" y="142708"/>
 		<node x="-88408" y="142708"/>
+		<spawn type="NORMAL" x="-86979" y="142402" z="-3643"/>
 	</zone>
 	<zone shape="NPoly" minZ="-3850" maxZ="-3350"><!-- giran_pvp_battle -->
 		<node x="72493" y="142263"/>
 		<node x="73493" y="142264"/>
 		<node x="73493" y="143261"/>
 		<node x="72495" y="143258"/>
+		<spawn type="NORMAL" x="73890" y="142656" z="-3778"/>
 	</zone>
 	<zone shape="NPoly" minZ="-3498" maxZ="-3298"><!-- colosseum_battle -->
 		<node x="150948" y="46483" />
@@ -36,5 +39,6 @@
 		<node x="151220" y="47493" />
 		<node x="151216" y="47259" />
 		<node x="150947" y="46960" />
+		<spawn type="NORMAL" x="147451" y="46728" z="-3298"/>
 	</zone>
 </list>
\ No newline at end of file
Index: aCis_gameserver/java/net/sf/l2j/gameserver/data/xml/MapRegionData.java
IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
===================================================================
diff --git a/aCis_gameserver/java/net/sf/l2j/gameserver/data/xml/MapRegionData.java b/aCis_gameserver/java/net/sf/l2j/gameserver/data/xml/MapRegionData.java
--- a/aCis_gameserver/java/net/sf/l2j/gameserver/data/xml/MapRegionData.java	(revision fe710a9694c725982e80c3db5037128ed3f0ca02)
+++ b/aCis_gameserver/java/net/sf/l2j/gameserver/data/xml/MapRegionData.java	(revision 1ff70bc80187be81e9301b350b234e26f781a3d9)
@@ -22,6 +22,8 @@
 import net.sf.l2j.gameserver.model.entity.Castle;
 import net.sf.l2j.gameserver.model.entity.Siege;
 import net.sf.l2j.gameserver.model.location.Location;
+import net.sf.l2j.gameserver.model.zone.ZoneForm;
+import net.sf.l2j.gameserver.model.zone.type.ArenaZone;
 import net.sf.l2j.gameserver.model.zone.type.TownZone;
 
 import org.w3c.dom.Document;
@@ -46,7 +48,7 @@
 	private static final int REGIONS_Y = 16;
 	
 	private static final Location MDT_LOCATION = new Location(12661, 181687, -3560);
-	
+
 	private final int[][] _regions = new int[REGIONS_X][REGIONS_Y];
 	
 	protected MapRegionData()
@@ -228,7 +230,15 @@
 		// The player is in MDT, move him out.
 		if (player.isInsideZone(ZoneId.MONSTER_TRACK))
 			return MDT_LOCATION;
-		
+
+		// The player is in Arena zone type, move him out.
+		if (player.isInsideZone(ZoneId.ARENA)) {
+			ArenaZone arenaZone = ZoneManager.getInstance().getZone(player, ArenaZone.class);
+			if(arenaZone != null && !arenaZone.getSpawns(SpawnType.NORMAL).isEmpty()){
+				return arenaZone.getRndSpawn(SpawnType.NORMAL);
+			}
+		}
+
 		if (teleportType != TeleportType.TOWN && player.getClan() != null)
 		{
 			if (teleportType == TeleportType.CLAN_HALL)
Index: aCis_gameserver/java/net/sf/l2j/gameserver/enums/ZoneId.java
IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
===================================================================
diff --git a/aCis_gameserver/java/net/sf/l2j/gameserver/enums/ZoneId.java b/aCis_gameserver/java/net/sf/l2j/gameserver/enums/ZoneId.java
--- a/aCis_gameserver/java/net/sf/l2j/gameserver/enums/ZoneId.java	(revision fe710a9694c725982e80c3db5037128ed3f0ca02)
+++ b/aCis_gameserver/java/net/sf/l2j/gameserver/enums/ZoneId.java	(revision 1ff70bc80187be81e9301b350b234e26f781a3d9)
@@ -21,7 +21,8 @@
 	CAST_ON_ARTIFACT(16),
 	NO_RESTART(17),
 	SCRIPT(18),
-	BOSS(19);
+	BOSS(19),
+	ARENA(20);
 	
 	private final int _id;
 	
Index: aCis_gameserver/java/net/sf/l2j/gameserver/model/zone/type/ArenaZone.java
IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
===================================================================
diff --git a/aCis_gameserver/java/net/sf/l2j/gameserver/model/zone/type/ArenaZone.java b/aCis_gameserver/java/net/sf/l2j/gameserver/model/zone/type/ArenaZone.java
--- a/aCis_gameserver/java/net/sf/l2j/gameserver/model/zone/type/ArenaZone.java	(revision fe710a9694c725982e80c3db5037128ed3f0ca02)
+++ b/aCis_gameserver/java/net/sf/l2j/gameserver/model/zone/type/ArenaZone.java	(revision 1ff70bc80187be81e9301b350b234e26f781a3d9)
@@ -3,13 +3,14 @@
 import net.sf.l2j.gameserver.enums.ZoneId;
 import net.sf.l2j.gameserver.model.actor.Creature;
 import net.sf.l2j.gameserver.model.actor.Player;
+import net.sf.l2j.gameserver.model.zone.type.subtype.SpawnZoneType;
 import net.sf.l2j.gameserver.model.zone.type.subtype.ZoneType;
 import net.sf.l2j.gameserver.network.SystemMessageId;
 
 /**
  * A zone extending {@link ZoneType}, where summoning is forbidden. The place is considered a pvp zone (no flag, no karma). It is used for arenas.
  */
-public class ArenaZone extends ZoneType
+public class ArenaZone extends SpawnZoneType
 {
 	public ArenaZone(int id)
 	{
@@ -24,6 +25,7 @@
 		
 		character.setInsideZone(ZoneId.PVP, true);
 		character.setInsideZone(ZoneId.NO_SUMMON_FRIEND, true);
+		character.setInsideZone(ZoneId.ARENA, true);
 	}
 	
 	@Override
@@ -31,7 +33,8 @@
 	{
 		character.setInsideZone(ZoneId.PVP, false);
 		character.setInsideZone(ZoneId.NO_SUMMON_FRIEND, false);
-		
+		character.setInsideZone(ZoneId.ARENA, false);
+
 		if (character instanceof Player)
 			((Player) character).sendPacket(SystemMessageId.LEFT_COMBAT_ZONE);
 	}

 

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

    • ## [1.4.0] - 2026-01-28   ### ✨ New Features - **Vote System**: Lineage 2 servers can now use our vote–reward system. Players vote on the website and claim rewards in-game (1 vote = 1 claim) - **Vote Page**: On each server’s page (`/servers/<server>`), a **“Vote for Server”** button opens a dedicated vote page with cooldown info and optional Turnstile verification - **By Votes View**: The **“By Votes”** tab on the main page shows **actual vote counts** per server - **API Documentation**: New **API Docs** page at `/docs` (and footer link) with HMAC auth, endpoints, and examples for game server integration - **Vote API (My Servers)**: Server owners can open **“Vote API”** in My Servers to manage credentials, cooldown, allowed IPs, and open the docs   ### 🔄 Improvements - **Server Pages**: Single-server data is cached and loads faster; server pages can be opened by ID or by name (e.g. `/servers/my-server-name`) - **API Root**: Visiting the API root redirects to the docs URL configured in admin (default: site docs page) - **Admin Panel**: New **“Vote System”** tab for global settings (Turnstile, API security, default cooldown, docs URL)   ### 🔐 Security & Reliability - Turnstile (CAPTCHA) support for vote submissions to reduce abuse - HMAC-protected game server API for secure vote check/claim and stats
    • "I recently purchased the account panel from this developer and wanted to leave a positive review.   The transaction was smooth, and the developer demonstrated exceptional professionalism throughout the process.   What truly sets them apart is their outstanding post-sale support. They are responsive, patient, and genuinely helpful when addressing questions or issues. It's clear they care about their customers' experience beyond just the initial sale.   I am thoroughly satisfied and grateful for the service. This is a trustworthy seller who provides real value through both a quality product and reliable support. 100% recommended."
    • 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
    • ⚙️ General Changed “No Carrier” title to “Disconnected” to avoid confusion after abnormal DC. On-screen Clan War kill notifications will no longer appear during Sieges, Epics, or Events. Bladedancer or SwordSinger classes can now log in even when Max Clients (2) is reached, you cannot have both at the same time. The max is 3 clients. Duels will now be aborted if a monster aggros players during a duel (retail-like behavior). Players can no longer send party requests to blocked players (retail-like). Fixed Researcher Euclie NPC dialogue HTML error. Changed Clan leave/kick penalty from 12 hours to 3 hours. 🧙 Skills Adjusted Decrease Atk. Spd. & Decrease Speed land rates in Varka & FoG. Fixed augmented weapons not getting cooldown when entering Olympiad. 🎉 Events New Team vs Team map added. New Save the King map added (old TvT map). Mounts disabled during Events. Letter Collector Event enabled Monsters drop letters until Feb. 13th Louie the Cat in Giran until Feb. 16th Inventory slots +10 during event period 📜 Quests Fixed “Possessor of a Precious Soul Part 1” rare stuck issue when exceeding max quest items. Fixed Seven Signs applying Strife buff/debuff every Monday until restart. 🏆 Milestones New milestone: “Defeat 700 Monsters in Varka” 🎁 Rewards: 200 Varka’s Mane + Daily Coin 🌍 NEW EXP Bonus Zones Hot Springs added Varka Silenos added (hidden spots excluded) As always, thank you for your support! L2Elixir keeps evolving, improving, and growing every day 💙   Website: https://l2elixir.org/ Discord: https://discord.gg/5ydPHvhbxs
  • 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..