Jump to content

Recommended Posts

Posted (edited)

5 euro each or 5 euro in total? :happyforever:

 

But you know that all these are shared, more or less ? Also, what's your pack ?

Edited by SweeTs
Posted (edited)

5 euro each or 5 euro in total? :happyforever:

 

But you know that all these are shared, more or less ? Also, what's your pack ?

 

5 euro for all , but how much do you want for it? 

 

for example this 15 euro for all  :dat:

Edited by Lexicon
Posted (edited)

1)

### Eclipse Workspace Patch 1.0
#P aCis_gameserver
Index: java/net/sf/l2j/gameserver/model/actor/instance/L2CastleManagerInstance.java
===================================================================
--- java/net/sf/l2j/gameserver/model/actor/instance/L2CastleManagerInstance.java    (revision 0)
+++ java/net/sf/l2j/gameserver/model/actor/instance/L2CastleManagerInstance.java    (revision 0)
@@ -0,0 +1,84 @@
+/* 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 2, 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, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
+ * 02111-1307, USA.
+ *
+ * http://www.gnu.org/copyleft/gpl.html
+ */
+package net.sf.l2j.gameserver.model.actor.instance;
+
+import net.sf.l2j.gameserver.instancemanager.CastleManager;
+import net.sf.l2j.gameserver.model.entity.Castle;
+import net.sf.l2j.gameserver.network.serverpackets.ActionFailed;
+import net.sf.l2j.gameserver.network.serverpackets.NpcHtmlMessage;
+import net.sf.l2j.gameserver.network.serverpackets.SiegeInfo;
+import net.sf.l2j.gameserver.templates.chars.L2NpcTemplate;
+
+/**
+ * @author -=DoctorNo=-
+ */
+public class L2CastleManagerInstance extends L2NpcInstance
+{    
+    public L2CastleManagerInstance(int objectId, L2NpcTemplate template)
+    {
+        super(objectId, template);
+    }
+    
+    @Override
+    public void onBypassFeedback(L2PcInstance player, String command)
+    {
+        if(player == null )
+            return;
+        
+        else if (command.startsWith("siege_"))
+        {
+            int castleId = 0;
+            
+            if (command.startsWith("siege_gludio"))
+                castleId = 1;
+            else if (command.startsWith("siege_dion"))
+                castleId = 2;
+            else if (command.startsWith("siege_giran"))
+                castleId = 3;
+            else if (command.startsWith("siege_oren"))
+                castleId = 4;
+            else if (command.startsWith("siege_aden"))
+                castleId = 5;
+            else if (command.startsWith("siege_innadril"))
+                castleId = 6;
+            else if (command.startsWith("siege_goddard"))
+                castleId = 7;
+            else if (command.startsWith("siege_rune"))
+                castleId = 8;
+            else if (command.startsWith("siege_schuttgart"))
+                castleId = 9;
+            
+            Castle castle = CastleManager.getInstance().getCastleById(castleId);
+            
+            if(castle != null && castleId != 0)
+                player.sendPacket(new SiegeInfo(castle));
+        }
+    }
+    
+    @Override
+    public void showChatWindow(L2PcInstance player)
+    {
+        player.sendPacket(ActionFailed.STATIC_PACKET);
+        
+        NpcHtmlMessage html = new NpcHtmlMessage(getObjectId());    
+        html.setFile("data/html/castle_manager.htm");
+        html.replace("%objectId%", String.valueOf(getObjectId()));
+        player.sendPacket(html);
+    }
+}
\ No newline at end of file

Html

<html><title>Castle Manager</title>
<body>
<center>
<table>
<tr><td align=center><font color="LEVEL">Choose The Castle Manager.</font></td></tr>
<tr><td height=10></td></tr>
<tr><td align=center><button action="bypass -h npc_%objectId%_siege_giran" value="Giran Castle" width=200 height=27 back="L2UI_CT1.OlympiadWnd_DF_HeroConfirm_Down" fore="L2UI_CT1.OlympiadWnd_DF_HeroConfirm"></td></tr>
<tr><td align=center><button action="bypass -h npc_%objectId%_siege_aden" value="Aden Castle" width=200 height=27 back="L2UI_CT1.OlympiadWnd_DF_HeroConfirm_Down" fore="L2UI_CT1.OlympiadWnd_DF_HeroConfirm"></td></tr>
<tr><td align=center><button action="bypass -h npc_%objectId%_siege_rune" value="Rune Castle" width=200 height=27 back="L2UI_CT1.OlympiadWnd_DF_HeroConfirm_Down" fore="L2UI_CT1.OlympiadWnd_DF_HeroConfirm"></td></tr>
<tr><td align=center><button action="bypass -h npc_%objectId%_siege_oren" value="Oren Castle" width=200 height=27 back="L2UI_CT1.OlympiadWnd_DF_HeroConfirm_Down" fore="L2UI_CT1.OlympiadWnd_DF_HeroConfirm"></td></tr>
<tr><td align=center><button action="bypass -h npc_%objectId%_siege_dion" value="Dion Castle" width=200 height=27 back="L2UI_CT1.OlympiadWnd_DF_HeroConfirm_Down" fore="L2UI_CT1.OlympiadWnd_DF_HeroConfirm"></td></tr>
<tr><td align=center><button action="bypass -h npc_%objectId%_siege_gludio" value="Gludio Castle" width=200 height=27 back="L2UI_CT1.OlympiadWnd_DF_HeroConfirm_Down" fore="L2UI_CT1.OlympiadWnd_DF_HeroConfirm"></td></tr>
<tr><td align=center><button action="bypass -h npc_%objectId%_siege_goddard" value="Goddard Castle" width=200 height=27 back="L2UI_CT1.OlympiadWnd_DF_HeroConfirm_Down" fore="L2UI_CT1.OlympiadWnd_DF_HeroConfirm"></td></tr>
<tr><td align=center><button action="bypass -h npc_%objectId%_siege_schuttgart" value="Schuttgart Castle" width=200 height=27 back="L2UI_CT1.OlympiadWnd_DF_HeroConfirm_Down" fore="L2UI_CT1.OlympiadWnd_DF_HeroConfirm"></td></tr>
<tr><td align=center><button action="bypass -h npc_%objectId%_siege_innadril" value="Innadril Castle" width=200 height=27 back="L2UI_CT1.OlympiadWnd_DF_HeroConfirm_Down" fore="L2UI_CT1.OlympiadWnd_DF_HeroConfirm"></td></tr>
</table>
<br><br>
<font color=3293F3>Lineage II</font><br>
<img src="L2UI.SquareWhite" width=258 height=1>
</body>
</center></html>

2)

### Eclipse Workspace Patch 1.0
#P aCis_gameserver
Index: java/net/sf/l2j/gameserver/model/actor/instance/L2VillageMasterInstance.java
===================================================================
--- java/net/sf/l2j/gameserver/model/actor/instance/L2VillageMasterInstance.java    (revision 332)
+++ java/net/sf/l2j/gameserver/model/actor/instance/L2VillageMasterInstance.java    (working copy)
@@ -613,6 +613,9 @@
      */
     public final boolean checkVillageMaster(PlayerClass pclass)
     {
+        if (Config.ALT_GAME_SUBCLASS_EVERYWHERE)
+            return true;
+        
         return checkVillageMasterRace(pclass) && checkVillageMasterTeachType(pclass);
     }
     
Index: config/players.properties
===================================================================
--- config/players.properties    (revision 332)
+++ config/players.properties    (working copy)
@@ -284,6 +284,10 @@
 # Allow player subclass addition without checking for unique quest items.
 AltSubClassWithoutQuests = False
 
+# Allow player to add/change subclass at all village master
+# Default: False
+AltSubclassEverywhere = True
+
 #=============================================================
 #                        Buffs config
 #=============================================================
Index: java/net/sf/l2j/Config.java
===================================================================
--- java/net/sf/l2j/Config.java    (revision 332)
+++ java/net/sf/l2j/Config.java    (working copy)
@@ -489,6 +489,7 @@
     public static boolean ES_SP_BOOK_NEEDED;
     public static boolean DIVINE_SP_BOOK_NEEDED;
     public static boolean ALT_GAME_SUBCLASS_WITHOUT_QUESTS;
+    public static boolean ALT_GAME_SUBCLASS_EVERYWHERE;
     
     /** Buffs */
     public static boolean STORE_SKILL_COOLTIME;
@@ -1110,6 +1111,7 @@
             ES_SP_BOOK_NEEDED = players.getProperty("EnchantSkillSpBookNeeded", true);
             DIVINE_SP_BOOK_NEEDED = players.getProperty("DivineInspirationSpBookNeeded", true);
             ALT_GAME_SUBCLASS_WITHOUT_QUESTS = players.getProperty("AltSubClassWithoutQuests", false);
+            ALT_GAME_SUBCLASS_EVERYWHERE = players.getProperty("AltSubclassEverywhere", true);
             
             BUFFS_MAX_AMOUNT = players.getProperty("MaxBuffsAmount", 20);
             STORE_SKILL_COOLTIME = players.getProperty("StoreSkillCooltime", true);

3)

/*
 * 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 custom.BossInfo;


import net.sf.l2j.gameserver.datatables.NpcTable;
import net.sf.l2j.gameserver.instancemanager.GrandBossManager;
import net.sf.l2j.gameserver.model.actor.L2Npc;
import net.sf.l2j.gameserver.model.actor.instance.L2PcInstance;
import net.sf.l2j.gameserver.model.quest.Quest;
import net.sf.l2j.gameserver.network.serverpackets.NpcHtmlMessage;

public class BossInfo extends Quest
{
    private static final int NPC_ID = 50002;
    private static final int[] BOSSES = { 29001, 29006, 29014, 29019, 29020, 29022, 29028, 29045 };

    public BossInfo(int questid, String name, String descr)
    {
        super(questid, name, descr);
        addFirstTalkId(NPC_ID);
    }
    
    public String onFirstTalk(L2Npc npc, L2PcInstance pc)
    {
        if (npc == null || pc == null)
            return null;

        if(npc.getNpcId() == NPC_ID)
            sendInfo(pc);
        
        return null;
    }

    private void sendInfo(L2PcInstance activeChar)
    {
        StringBuilder tb = new StringBuilder();
        
        tb.append("<html><title>Lineage II</title><body><center>");
        tb.append("<font color=FF9900>Grand Boss Info</font><br>");

        for (int boss : BOSSES)
        {
            String name = NpcTable.getInstance().getTemplate(boss).getName();
            long delay = GrandBossManager.getInstance().getStatsSet(boss).getLong("respawn_time");
            
            if (delay <= System.currentTimeMillis())
                tb.append("<center><font color=\"00C3FF\">" + name + "</color>: " + "<font color=\"9CC300\">is alive</color>"+"<br1>");
            else
            {
                int hours = (int) ((delay - System.currentTimeMillis()) / 1000 / 60 / 60);
                int mins = (int) (((delay - (hours * 60 * 60 * 1000)) - System.currentTimeMillis()) / 1000 / 60);
                int seconts = (int) (((delay - ((hours * 60 * 60 * 1000) + (mins * 60 * 1000))) - System.currentTimeMillis()) / 1000);
                tb.append("<font color=\"00C3FF\">" + name + "</color>" + "<font color=\"FFFFFF\">" +" " + "respawn in </color> " + " " + " <font color=\"32C332\"> " + hours + ":" + mins + ":" + seconts + "</color><br1>");
            }
        }

        tb.append("<br><img src=\"L2UI.SquareGray\" width=250 height=1>");
        tb.append("</center></body></html>");
        
        NpcHtmlMessage htm = new NpcHtmlMessage(NPC_ID);
        htm.setHtml(tb.toString());
        activeChar.sendPacket(htm);
    }

    public static void main(String[] args)
    {
        new BossInfo(-1, "BossInfo", "custom");
    }
}

4) Well, I wont share it :troll:

 

About your post above

 

http://www.maxcheaters.com/topic/184816-lineage-psd-interlude-pvp-packsource/

Edited by SweeTs

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

    • [New Server] L2Aquila — Gracia Final x9300 No Wipe | Custom Farming Zones Hi all, Rolling a fresh Gracia Final x9300 server — stable core, dedicated box, no wipe, no close, 24/7. WHAT TO EXPECT • 9300x EXP / 3000x SP / 5500x Adena / Safe +3 / Max +25 • Custom Shop + Custom Farming Zones • Free Starter Pack with 20 Custom Coins • Accounts auto-created on first login — no registration • Olympiads, TvT, CTF, offline trading, buff shop LINKS • Website & downloads: https://l2aquila.com/downloads/ • Forum: https://l2aquila.com/forum/ • Discord: https://discord.gg/5ZyBRvG4k • Gameplay tour: https://youtu.be/5QS8qpDG_wc • Install guide: https://youtu.be/F_BfBeiof-s Happy to answer any questions here. Feedback welcome!
    • [New Server] L2Aquila — Gracia Final x9300 No Wipe | Custom Farming Zones Hi all, Rolling a fresh Gracia Final x9300 server — stable core, dedicated box, no wipe, no close, 24/7. WHAT TO EXPECT • 9300x EXP / 3000x SP / 5500x Adena / Safe +3 / Max +25 • Custom Shop + Custom Farming Zones • Free Starter Pack with 20 Custom Coins • Accounts auto-created on first login — no registration • Olympiads, TvT, CTF, offline trading, buff shop LINKS • Website & downloads: https://l2aquila.com/downloads/ • Forum: https://l2aquila.com/forum/ • Discord: https://discord.gg/5ZyBRvG4k • Gameplay tour: https://youtu.be/5QS8qpDG_wc • Install guide: https://youtu.be/F_BfBeiof-s Happy to answer any questions here. Feedback welcome!
    • Hey everyone! A few of us are currently brainstorming and designing a new Lineage 2 private server. Our goal is to capture that classic L2 atmosphere we all fell in love with back in the day, but with a modern, refined feel. We’re aiming for a community-driven, dynamic server where good PvP, meaningful progression, clan life, and that nostalgic L2 vibe take center stage—a place where it just feels good to log in and play. Instead of deciding everything on our own behind closed doors, we want to build something the community actually wants to play on. We’ve put together a short survey to gather your thoughts: What did you love most about older/classic servers? What burnout factors or mechanics are you tired of? What systems or QoL (quality of life) features would you like to see? What red flags make you avoid a server entirely? It only takes a few minutes to fill out, and every single response helps us shape the vision for this project. We can't promise every single idea will be implemented, but we promise to read and consider all of your feedback.   https://docs.google.com/forms/d/e/1FAIpQLScKXptLs9ci_y8PfSmfy9dr2iSvZ9KI9dF3qDaKeFgg9RAaMQ/viewform?pli=1   Thanks a lot for your time and help in bringing this project to life! Let us know your thoughts in the comments as well.
    • Standard Google accounts added in login:password format; aged 7–14 days on average after registration; high quality, manually registered!
  • 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..