- 0
Request little help
-
Posts
-
By TrakinasXP · Posted
Hello everyone, I am selling the complete AdvExt64 FULL Extender for L2OFF PTS Interlude servers, including the complete source code. Note: This is NOT the Vanganth extender. This is the complete, fully featured Interlude advext64 extender its full source code. Here is a breakdown of the key features included in this extender: 💻 Source Code Included Full Extender Source: Modify, compile, and add your own custom features with zero limitations ⚔️[NEW] Boss Spawns & Global Announcements Boss Management (BossSpawn.txt): Full control over the exact spawn coordinates and respawn times for any Raid or Epic Boss. Auto-Announce: The server will automatically send a global announcement whenever a normal Raid Boss or Epic Boss spawns (supports custom chat colors). 🏪 Exclusive Systems (OtherSettings) [SearchStore] Costume system; Skins Clan Crest on NPCs: 🌟 Core Systems & Quality of Life AIO (All-In-One) System Premium & VIP System Offline Trade & Market Custom NPC Buffer Extended Teleports Buff Store System: Buff Item Fast Load L2Npc Multi-language System ⚔️ [NEW] Event Engine (Fully Automated) Good vs Evil (GVE) & All vs All (AVA): Team vs Team (TvT) Capture the Flag (CTF): Last Hero (DeathMatch) Party Death "Server First" Promos: Custom Drop Events Vip System Newbie Rates: ⚙️ Custom Gameplay Mechanics Daily/Weekly/Monthly Missions: Advanced Enchant System: Attribute System Special Map Areas: Olympiad Extras: PvP/PK Systems: In-Game Mail Clan Search Seach Store Bot Report 🛡️ Security & Administration Anti-Bot Integrations: Patch & HWID Protection: Builder System Jail & Chat Filter System Price: 500 USD Contact Telegram: @TrakinasXP -
By BitHosting · Posted
[SIZE=4][B]🇨🇦 NEWCANADA40 — 40% OFF VPS in Canada (Toronto)[/B][/SIZE] We are excited to announce the launch of our new location — Toronto, Canada. [B]Promo code:[/B] NEWCANADA40 [B]Discount:[/B] 40% on VPS orders [B]Valid until:[/B] June 7 ✔ New Canadian location ✔ Excellent North American connectivity ✔ Fast server deployment ✔ Suitable for any project [B]How to activate:[/B] — Visit our website — Select Canada (Toronto) as your location — Enter the promo code during checkout 👉 [url=https://bit.hosting]https://bit.hosting[/url] [I]The offer is valid for new Toronto VPS orders until June 7, 2026.</I> -
By l2-scripts · Posted
Thanks for the collection and the free advertising! These files have been in the public domain for a long time — you just saved people the trouble of searching. A true fan. 😄 Just to clarify for everyone reading: these files have nothing to do with this topic. They are 10+ year old builds, and since various third-party modifications exist in the wild, we cannot guarantee what may have been added or changed in those versions. Use them at your own risk. We have absolutely no judgment toward those who are on a tight budget and can't afford our current builds — these old shared files might genuinely help you get started. Just use them carefully and at your own risk. And please don't judge developers for the mistakes they made early in their careers — every developer goes through stages of growth, and what you see in those old builds is simply a snapshot of where we were back then. We've come a long way since. If you're interested in our older builds, we have a dedicated thread for that with significantly reduced prices — very accessible for any budget. We have also recently resumed full technical support for legacy builds, handled by a separate team that doesn't interfere with our private development direction for larger projects. You can find our legacy builds here: Our OLd L2-scripts Packs Actual revisions Our current private sources are a completely different story — which is exactly what this thread is about. Too bad all your time goes into collecting other people's old code instead of developing your own project. Though judging by "L2MID is currently offline, we will come back soon in 2026" — you clearly have plenty of time on your hands. 😉 -
SHARED alreaxy! Are these files yours? https://fex.net/ru/s/kdop2z4
-
-
Topics

Question
Leon29
What is wrong with this code
/* * This program is free software: you can redistribute it and/or modify it under * the terms of the GNU General Public License as published by the Free Software * Foundation, either version 3 of the License, or (at your option) any later * version. * * This program is distributed in the hope that it will be useful, but WITHOUT * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more * details. * * You should have received a copy of the GNU General Public License along with * this program. If not, see <http://www.gnu.org/licenses/>. */ package teleports.GrandBossTeleporters; import com.l2jserver.Config; import com.l2jserver.gameserver.datatables.DoorTable; import com.l2jserver.gameserver.instancemanager.GrandBossManager; import com.l2jserver.gameserver.instancemanager.QuestManager; import com.l2jserver.gameserver.model.L2CommandChannel; import com.l2jserver.gameserver.model.L2Party; import com.l2jserver.gameserver.model.actor.L2Npc; import com.l2jserver.gameserver.model.actor.instance.L2GrandBossInstance; import com.l2jserver.gameserver.model.actor.instance.L2PcInstance; import com.l2jserver.gameserver.model.quest.Quest; import com.l2jserver.gameserver.model.quest.QuestState; import com.l2jserver.gameserver.model.zone.type.L2BossZone; import com.l2jserver.gameserver.util.Util; /** * @author Plim * Original python script by Emperorc */ public class GrandBossTeleporters extends Quest { private static final int[] NPCs = { 13001, //Heart of Warding : Teleport into Lair of Antharas 36600, //Heart of Volcano : Teleport into Lair of Valakas 31859, //Teleportation Cubic : Teleport out of Lair of Antharas 31384, //Gatekeeper of Fire Dragon : Opening some doors 31540, //Watcher of Valakas Klein : Teleport into Hall of Flames 31686, //Gatekeeper of Fire Dragon : Opens doors to Heart of Volcano 31687, //Gatekeeper of Fire Dragon : Opens doors to Heart of Volcano 31759 //Teleportation Cubic : Teleport out of Lair of Valakas }; private Quest antharasAI() { return QuestManager.getInstance().getQuest("antharas"); } private Quest valakasAI() { return QuestManager.getInstance().getQuest("valakas"); } private static int playerCount = 0; @Override public String onAdvEvent(String event, L2Npc npc, L2PcInstance player) { String htmltext = ""; QuestState st = player.getQuestState(getName()); if (st == null) st = newQuestState(player); player.teleToLocation(183813, -115157, -3303); st.set("allowEnter", "1"); return htmltext; } @Override public String onTalk(L2Npc npc, L2PcInstance player) { String htmltext = ""; QuestState st = player.getQuestState(getName()); if (st == null) return null; switch (npc.getNpcId()) { case 13001: if (antharasAI() != null) { if (player.getParty() == null) { htmltext = "test.htm"; } if (player.getParty().getCommandChannel() == null) { htmltext = "test.htm"; } if (player.getParty().getCommandChannel().getLeader() != player) { htmltext = "test.htm"; } if (player.getParty().getCommandChannel().getMemberCount() < 2 || player.getParty().getCommandChannel().getMemberCount() > 65) { htmltext = "test.htm"; } for (L2PcInstance channelMember : player.getParty().getCommandChannel().getMembers()) { if (!Util.checkIfInRange(1000, player, channelMember, true)) { htmltext = "test.htm"; } } int status = GrandBossManager.getInstance().getBossStatus(29019); int statusW = GrandBossManager.getInstance().getBossStatus(29066); int statusN = GrandBossManager.getInstance().getBossStatus(29067); int statusS = GrandBossManager.getInstance().getBossStatus(29068); if (status == 2 || statusW == 2 || statusN == 2 || statusS == 2) htmltext = "13001-02.htm"; else if (status == 3 || statusW == 3 || statusN == 3 || statusS == 3) htmltext = "13001-01.htm"; else if (status == 0 || status == 1) //If entrance to see Antharas is unlocked (he is Dormant or Waiting) { // st.takeItems(3865, 1); // No longer consumed in h5 L2BossZone zone = GrandBossManager.getInstance().getZone(179700, 113800, -7709); if (zone != null) zone.allowPlayerEntry(player, 30); for (L2PcInstance channelMember : player.getParty().getCommandChannel().getMembers()) { channelMember.teleToLocation(179700 + getRandom(700), 113800 + getRandom(2100), -7709); } if (status == 0) { L2GrandBossInstance antharas = GrandBossManager.getInstance().getBoss(29019); antharasAI().notifyEvent("waiting", antharas, player); } } } break; case 31859: player.teleToLocation(79800 + getRandom(600), 151200 + getRandom(1100), -3534); break; case 31385: if (valakasAI() != null) { int status = GrandBossManager.getInstance().getBossStatus(29028); if (status == 0 || status == 1) { if (playerCount >= 200) htmltext = "31385-03.htm"; st.unset("allowEnter"); L2BossZone zone = GrandBossManager.getInstance().getZone(212852, -114842, -1632); if (zone != null) zone.allowPlayerEntry(player, 30); player.teleToLocation(204328 + getRandom(600), -111874 + getRandom(600), 70); playerCount++; if (status == 0) { L2GrandBossInstance valakas = GrandBossManager.getInstance().getBoss(29028); valakasAI().startQuestTimer("1001", Config.Valakas_Wait_Time, valakas, null); GrandBossManager.getInstance().setBossStatus(29028, 1); } } else if (status == 2) htmltext = "31385-02.htm"; else htmltext = "31385-01.htm"; } else htmltext = "31385-01.htm"; break; case 31384: DoorTable.getInstance().getDoor(24210004).openMe(); break; case 31686: DoorTable.getInstance().getDoor(24210006).openMe(); break; case 31687: DoorTable.getInstance().getDoor(24210005).openMe(); break; case 31540: if (playerCount < 50) htmltext = "31540-01.htm"; else if (playerCount < 100) htmltext = "31540-02.htm"; else if (playerCount < 150) htmltext = "31540-03.htm"; else if (playerCount < 200) htmltext = "31540-04.htm"; else htmltext = "31540-05.htm"; break; case 31759: player.teleToLocation(150037 + getRandom(500), -57720 + getRandom(500), -2976); break; } return htmltext; } public GrandBossTeleporters(int questId, String name, String descr) { super(questId, name, descr); for (int npcId : NPCs) { addStartNpc(npcId); addTalkId(npcId); } } public static void main(String[] args) { new GrandBossTeleporters(-1, GrandBossTeleporters.class.getSimpleName(), "teleports"); } }i get this error:
line 95: if (player.getParty().getCommandChannel() == null)
:o
9 answers to this question
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now