Jump to content

Recommended Posts

Posted

Wtb pack npc :

1)Mass siege informer
2)All Sub classes at one npc
3)Raid Boss Info
4)Vote Manager
 
For 5 euro (paypal), write here or in PM
 
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


×
×
  • Create New...

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disabled AdBlock