Jump to content

Recommended Posts

Posted

======================================================
======================================================
+++java/net/sf/l2j/config.java

@@ 640 @@ 
    /** Speed of Weverns */
    public static int WYVERN_SPEED;
    /** Speed of Striders */
    public static int STRIDER_SPEED;
    /** party member */   
    /** Allow Wyvern Upgrader ? */
    public static boolean ALLOW_WYVERN_UPGRADER;
+  /** Shift Click On NPC */
+  public static boolean ALT_PLAYER_SHIFT_MOUSE;


@@ 1479 @@

                EFFECT_CANCELING    = Boolean.valueOf(otherSettings.getProperty("CancelLesserEffect", "True"));
                WYVERN_SPEED        = Integer.parseInt(otherSettings.getProperty("WyvernSpeed", "100"));
                STRIDER_SPEED       = Integer.parseInt(otherSettings.getProperty("MaxPartyMembers", "20"));
                ALLOW_WYVERN_UPGRADER     = Boolean.valueOf(otherSettings.getProperty("AllowWyvernUpgrader", "False"));
+               ALT_PLAYER_SHIFT_MOUSE = Boolean.valueOf(otherSettings.getProperty("AltPlayerShiftMouse", "False"));
======================================================
======================================================
+++java/config/other.propetis

@@ 12 @

# movement speed for strider and wyvern
WyvernSpeed = 100
StriderSpeed = 80

#Allow the wyvern manager located in every castle to train wyverns and striders from hatchlings
AllowWyvernUpgrader = False
+
+# -------------------------------------------------
+# Allow Player Press Shift+Mouse Show Droplist ?
+# -------------------------------------------------
+# (Default: False)
+AltPlayerShiftMouse = False

======================================================
======================================================
+++java/net/sf/l2j/gameserver/model/actor/instance/l2npcinstance.java

@@ 32 @@

      import net.sf.l2j.gameserver.SevenSigns;
      import net.sf.l2j.gameserver.SevenSignsFestival;
      import net.sf.l2j.gameserver.ThreadPoolManager;
      import net.sf.l2j.gameserver.ai.CtrlIntention;
      import net.sf.l2j.gameserver.cache.HtmCache;
      import net.sf.l2j.gameserver.datatables.ClanTable;
      import net.sf.l2j.gameserver.datatables.HelperBuffTable;
      import net.sf.l2j.gameserver.datatables.ItemTable;
+     import net.sf.l2j.gameserver.datatables.NpcTable;
      import net.sf.l2j.gameserver.datatables.SkillTable;
      import net.sf.l2j.gameserver.datatables.SpawnTable;
      import net.sf.l2j.gameserver.idfactory.IdFactory;

            html.setHtml(html1.toString());
            player.sendPacket(html);

           {
-           else if(Config.ALT_GAME_VIEWNPC)
            
+              else
+		{
+			if (Config.ALT_PLAYER_SHIFT_MOUSE && !player.isGM())
+			{
+				L2NpcTemplate npcData =     NpcTable.getInstance().getTemplate(getTemplate().npcId);
+				if (npcData == null)
+				{
+					player.sendMessage("Unknow ID:" + getTemplate().npcId);
+					return;
+				}
+				NpcHtmlMessage adminReply = new NpcHtmlMessage(5);
+				TextBuilder replyMSG = new TextBuilder("<html><title>Drop Info</title>");
+				replyMSG.append("<body>");				
+				replyMSG.append("<center><font color=\"LEVEL\">[" + npcData.name + "] ~'drop info</font><br><img src=\"L2UI.SquareWhite\" width=290 height=1></center><br>");
+				replyMSG.append("<table border=0 width=290>");
+				//final String color;
+				replyMSG.append("<tr><td width=160>ItemName</td><td +width=90 align=right>Chance</td><td width=40 align=right>Type</td></tr><tr><td></td></tr>");
+				for (L2DropCategory cat : npcData.getDropData())
+					for (L2DropData drop : cat.getAllDrops())
+						replyMSG.append("<tr><td><font color=\"EE9955\">" + ItemTable.getInstance().getTemplate(drop.getItemId()).getName() + "</font></td>"
+								+ "<td align=right><font color=\"EE9955\">" + String.valueOf((double)drop.getChance()/10000) + "%</font></td>"
+								+ "<td align=right><font color=\"EE9955\">" + (drop.isQuestDrop() ? "Quest" : cat.isSweep() ? "Sweep" : "Drop") + "</font></td></tr>");
+				replyMSG.append("</table><br>");
+				replyMSG.append("<center><img src=\"L2UI.SquareWhite\" width=290 height=1></center><br>");
+				replyMSG.append("<center><font color=\"222222\"> MXC maxcheaters.com</font></center>");
+				replyMSG.append("</body></html>");
+				adminReply.setHtml(replyMSG.toString());
+				player.sendPacket(adminReply);
+			}
+		}
           }

 

great from "mxc" here http://maxcheaters.com/forum/index.php?topic=210160.0

 

I addapt on L2JServer for help the newbies who can not do it themselves

 

if you have any problem post it here and i help you!!!

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

    • Tool that allows you to download the Lineage 2 game client directly from the official publisher CDNs. It fetches the CDN's file list and downloads every patch file, decompresses it (LZMA / Zip) and writes the finished client to disk — and can resume or repair an existing installation instead of starting over. It runs several client downloads at once through a batch queue, so you can prepare multiple regions or versions in a single session.   Supported: NCSoft CDNs (TW / KR / JP / NA) and  4game CDNs(RU / EU)   Download: https://drive.google.com/file/d/11SDcNASqO2GKOBT79LFu7mqvSRSJZvBS
    • https://l2avokado.com/ Hello everyone,   After some time of development, we've decided to open L2Avokado to the public in its current development stage. We're looking for players who enjoy Interlude and would like to help shape the project before its official release.   This isn't a "launch" announcement. Instead, we're inviting the community to log in, explore the server, test the systems we've built, and provide honest feedback. Whether it's bug reports, balance suggestions, progression ideas, or quality-of-life improvements, we'd love to hear them.   Our goal has always been to create an Interlude server that feels familiar while offering a fresh progression experience. We've intentionally avoided custom weapons, armor, and client modifications. Instead, we've focused on redesigning progression through reworked hunting grounds, quests, crafting, and gameplay systems while remaining compatible with a clean Interlude client.   At this stage, the core progression path has been implemented, including the main hunting grounds, quests, custom systems, and events. However, as the project is still under active development, there will inevitably be bugs, balance issues, and areas that require further polishing.   This is exactly why we'd like your help.   We're looking for players who are willing to: Test gameplay and progression. Report bugs and exploits. Suggest balance improvements. Share ideas for new features or quality-of-life changes. Help us build a server that the community genuinely enjoys playing.   The Client and System downloads are already available on our website, so you can jump straight into the game. We're also working on a dedicated launcher that will simplify installation and future updates.   If you're interested in helping develop a unique Interlude project and want your feedback to genuinely influence the direction of the server, we'd love to have you with us.   We look forward to seeing you in-game and hearing your thoughts on Discord. https://l2avokado.com/
  • 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..