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

    • Inventory restock: Premium business accounts are now available.   ✔ Wallester Business EU 🇪🇺|💳 Unlimited virtual cards, physical cards, 🏦 multi-currency IBAN, ₿ crypto & stablecoin deposits. ✔ Stripe Business UK 🇬🇧|💳 Instant virtual cards (Visa/Mastercard), high-conversion checkout, multi-currency payouts, ₿ crypto payments, no-code payment links. ✔ Mercury Business US 🇺🇸|🏦 US checking & savings, 💳 unlimited virtual cards, domestic & International wires, native stablecoin settlement. ✔ Payset Business EU 🇪🇺|🏦 Multiple IBANs, UK sort code, SEPA Instant, 💳 unlimited virtual cards, multi-currency accounts. ✔ Novo Business US 🇺🇸|🏦 Business checking account, ACH payments & invoicing, 💳 virtual & physical cards, novo boost.
    • Let me see if I understand correctly, older gentlemen, when a newcomer shows up to create modern things with the help of AI, doing what you charge them to do, you point the finger and laugh. I believe that's why everything is stagnant. The product isn't for programming experts, it's for newcomers. Don't buy from you if they can do it themselves using this base. You're going to deliver a similar product, maybe even worse than this one, so why are you complaining? PowerShell, as you well know, started with it, then came new platforms and new apps, new creation models, all with different languages; I chose the simplest one for my taste. This is about being organized and knowing how to choose the right words for each situation. It's not 100%, but it already gives a good impression. Nothing is 100%, so a topic written by AI, and all the code that you charge an absurd amount for to prohibit and sell hacks, could be open source so that everyone can create new practices, new models, new information for passing packets, prohibiting the use of cheats that cause server owners to break so much. Let's remember that the Admin doesn't always shut down the server; it's the players who find problems and take advantage by buying and reselling items, and they say that the GM shuts down the server every week, but that's a lie. What they do is duplicate items with packages and sell them, but perhaps this could give some future developers a starting point to create their own protection following the model in the initial documentation. Because none of you answer a question from a newbie, you think you're superior because you have knowledge, but with AI, people like that can have the same knowledge as you, but with less practice. And if they practice a lot, 10,000 hours, they can be as good as all of you older developers in the L2J field.
    • ✨ Exclusive Offer for Marketplace Growth 🔥 Elevate your performance with a premium bonus. 💲 Top up your balance with $100 or more and receive an additional $5 credit — seamlessly added to your account. ⭐️ Designed for those who value efficiency, scale, and results. ⚡️ Effortless. Refined. Effective. 💥 Enhance your strategy today 💥
  • 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..