Jump to content
  • 0

Question

Posted

plz mporei kapios na me kanei 1 java core olokliromeno kai na me pei pou ton vazw klp akrivos plz an ginete. o code na lei oti otan enas pektis pataei change subclass kai ine se combat na min ginete na alaksei. perimenw gyes..plz ine anagi

5 answers to this question

Recommended Posts

  • 0
Posted

hmm, giati den bazeis ton "Subclass master" se ena meros p na mhn exei mob? h na katebaseis enan "subclass master" p na mhn mporeis na tou miliseis otan eisai se combat? h ean ksereis na ftiakseis ena script sta "quests/custom" p na mhn mporeis na miliseis ston npc otan eisai se combat?

  • 0
Posted

hmm, giati den bazeis ton "Subclass master" se ena meros p na mhn exei mob? h na katebaseis enan "subclass master" p na mhn mporeis na tou miliseis otan eisai se combat? h ean ksereis na ftiakseis ena script sta "quests/custom" p na mhn mporeis na miliseis ston npc otan eisai se combat?

gi auto se lew thelo to code re file eleos..apla kante mou to code min rotate giati...ine 1 bug . opou kai na ine fernoun mobs apo ketra gia paradigma mexri goddard..gi auto sas lew
  • 0
Posted

koita to attackstance de 8a ton afinei kai otan 8a ton hit kapoios allos gt mpainei se attack mode.

Pigaine sto L2VillageMasterInstance

import javolution.text.TextBuilder;
import net.sf.l2j.Config;
import net.sf.l2j.gameserver.Olympiad;
import net.sf.l2j.gameserver.datatables.CharTemplateTable;
import net.sf.l2j.gameserver.datatables.ClanTable;
import net.sf.l2j.gameserver.datatables.SkillTreeTable;
import net.sf.l2j.gameserver.instancemanager.CastleManager;
import net.sf.l2j.gameserver.instancemanager.SiegeManager;
import net.sf.l2j.gameserver.model.L2Clan;
import net.sf.l2j.gameserver.model.L2ClanMember;
import net.sf.l2j.gameserver.model.L2PledgeSkillLearn;
import net.sf.l2j.gameserver.model.L2Clan.SubPledge;
import net.sf.l2j.gameserver.model.base.ClassId;
import net.sf.l2j.gameserver.model.base.ClassType;
import net.sf.l2j.gameserver.model.base.PlayerClass;
import net.sf.l2j.gameserver.model.base.Race;
import net.sf.l2j.gameserver.model.base.SubClass;
import net.sf.l2j.gameserver.model.entity.Castle;
import net.sf.l2j.gameserver.model.quest.QuestState;
import net.sf.l2j.gameserver.network.SystemMessageId;
import net.sf.l2j.gameserver.serverpackets.AcquireSkillList;
import net.sf.l2j.gameserver.serverpackets.ActionFailed;
import net.sf.l2j.gameserver.serverpackets.NpcHtmlMessage;
import net.sf.l2j.gameserver.serverpackets.SystemMessage;
import net.sf.l2j.gameserver.serverpackets.UserInfo;
+import net.sf.l2j.gameserver.taskmanager.AttackStanceTaskManager;
import net.sf.l2j.gameserver.templates.L2NpcTemplate;
import net.sf.l2j.gameserver.util.Util;

 

             case 4: // Add Subclass - Action (Subclass 4 x[x])
                   boolean allowAddition = true;
                   /*
                    * If the character is less than level 75 on any of their previously chosen
                    * classes then disallow them to change to their most recently added sub-class choice.
                    */
                   if (player.getLevel() < 75)
                   {
                       player.sendMessage("You may not add a new sub class before you are level 75 on your previous class.");
                       allowAddition = false;
                   }

+                   if(AttackStanceTaskManager.getInstance().getAttackStanceTask(player))
+		    {
+			player.sendPacket(ActionFailed.STATIC_PACKET);
+			return;
+		    }

                   if (Olympiad.getInstance().isRegisteredInComp(player)
                       || player.getOlympiadGameId() > 0)
                   {
                                                    player.sendPacket(newSystemMessage(  SystemMessageId.YOU_HAVE_ALREADY_BEEN_REGISTERED_IN_A_WAITING_LIST_OF_AN_EVENT));
                      return;
                   }

 


             case 5: // Change Class - Action
                   /*
                    * If the character is less than level 75 on any of their previously chosen
                    * classes then disallow them to change to their most recently added sub-class choice.
                    *
                    * Note: paramOne = classIndex
                    */

+                   if(AttackStanceTaskManager.getInstance().getAttackStanceTask(player))
+		    {
+			player.sendPacket(ActionFailed.STATIC_PACKET);
+			return;
+		    }

                   if (Olympiad.getInstance().isRegisteredInComp(player)
                       || player.getOlympiadGameId() > 0)
                   {
                       player.sendPacket(new SystemMessage(
                                                           SystemMessageId.YOU_HAVE_ALREADY_BEEN_REGISTERED_IN_A_WAITING_LIST_OF_AN_EVENT));
                       return;
                   }

 

 

 

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

    • ⚔️ DRAGON-NETWORK LEGACY x15 ⚔️ INTERLUDE+ • SUBSTACK • STAGE PROGRESSION 🔥 GRAND OPENING: OCTOBER 2, 2026 🕖 19:00 UTC+2 🌐 https://dragon-network.eu ━━━━━━━━━━━━━━━━━━━━━━━━━━━━ THE LEGACY RETURNS. YOUR STORY BEGINS. The battlefield is calling once again! Dragon-Network returns with LEGACY x15, delivering a unique Interlude+ Substack experience featuring competitive PvP, expanded content, and progressive gameplay. Forge your build. Gather your clan. Conquer your enemies. ━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ⚙️ SERVER INFORMATION • Chronicle: Interlude+ • Gameplay: Substack • EXP / SP: x15 • Adena: x10 • Drop / Spoil: x10 • Seal Stones: x10 • Raid Boss Drops: x5 • Epic Drops: x1 • Maximum Level: 85 • Box Limit: 1 Main + 2 Boxes ━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ⚔️ SUBSTACK SYSTEM Create your own playstyle and explore unique class combinations. ✓ Free starting Golkonda Horn ✓ First Stack Sub from level 40 ✓ Additional horns obtainable through gameplay ✓ Custom class and skill adjustments Your build. Your strategy. Your legacy. ━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 🌍 INTERLUDE+ CONTENT Experience the classic world of Lineage II with additional content and expanded progression. ✓ Kamaloka & Labyrinth ✓ Pailaka Quests ✓ Hellbound Island ✓ Isle of Prayer ✓ Improved Pets ✓ S80 Equipment ✓ Attribute System ✓ Siegeable Fortresses Content is introduced progressively through server stages. ━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 🏆 PVP & EVENTS Prepare for competitive battles and valuable rewards! ✓ Daily Team vs Team events ✓ Event Coins and exclusive rewards ✓ Epic jewelry reward opportunities ✓ Weekly Olympiad cycles ✓ Castle Sieges ✓ Clan competition Fight for glory. Earn your rewards. ━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 🛡️ FAIR PLAY & QUALITY OF LIFE ✓ DragonGuard Anti-Cheat ✓ Custom Anti-Bot CAPTCHA ✓ No Pay-to-Win philosophy ✓ Improved class balance ✓ Progressive NPC Buffer ✓ 1-hour buffs ✓ Offline Shops ✓ Community Board skill learning ✓ Shift+Click monster drop information ✓ Combo Songs & Dances ✓ Tattoo System ━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 📅 SERVER ROADMAP OCT 02 — GRAND OPENING OCT 05 — Seven Signs Quest Period OCT 07 — Team vs Team Begins OCT 12 — Olympiad & Seal Validation OCT 17–18 — First Castle Sieges OCT 19 — First Heroes OCT 28 — Stage 2: Dynasty & Attribute Stones ━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 🔥 THE COUNTDOWN HAS BEGUN! Old rivalries will return. New alliances will rise. Legends will be written. Will you be part of the next chapter? ⚔️ DRAGON-NETWORK LEGACY x15 📅 OCTOBER 2, 2026 — 19:00 UTC+2 🌐 OFFICIAL WEBSITE https://dragon-network.eu 📜 SERVER FEATURES https://dragon-network.eu/features 🔧 SEASON IMPROVEMENTS https://dragon-network.eu/whats-new DRAGON-NETWORK — FORGE YOUR LEGACY.
    • Clan: BeMyFrag (BMF) Clan Leader: AresQQ (Ares / PapaSmurf) Type: EU PvP clan, English-speaking (Polish and other EU languages inside) Recruiting: YES — open until launch, target 80–120 active players Where are we playing now? Eigis Odyssey Season 3 — opens 9 October 2026, 8:00 PM. Full server briefing: https://bemyfrag.com/eigis/ How many members? target 80–120 at launch. Which servers have we played? Playing together for over a decade. Last season: The Cult  What we offer: Organised mass PvP and castle sieges every Sunday (Aden/Goddard alternating) TeamSpeak 3 (bmf.ts3.so) + in-client voice for parties DKP ranking with reward codes for active players Fair loot rules and disputes — no drama Maintained server FAQ, so you don’t figure out Eigis alone Multigaming Discord community beyond L2 Clan rules: Be on TeamSpeak for mass PvP and sieges Party up before launch — no solo drifting competitive and casual both welcome Join: https://discord.gg/2UweQ3RYTZ → channel #l2eigis-apply → ask for rights.
  • 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..