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

    • NFT gifts on Telegram are already here! Buy Stars at SOCNET — the black background can be yours today! Purchase existing gifts in the official store using Telegram Stars, pay for subscriptions, donate to games and projects, pay for Premium, and react to messages in channels! Low prices, many payment methods, and other cool and unique features! Try it today — SOCNET STARS BOT Active links to SOCNET stores: Digital Goods Store (Website): Go Store Telegram Bot: Go – convenient access to the store via Telegram messenger. Telegram Bot for purchasing Telegram Stars: Go – fast and beneficial purchase of stars in Telegram. SMM Panel: Go – promotion of your social media accounts. We would like to present to you the current list of promotions and special offers for purchasing our products and services: 1. Promo code OCTOBER2025 (8% discount) for purchases in our store (Website, bot) in September! You can also use the first-purchase promo code: SOCNET (15% discount) 2. Get $1 credited to your store balance or a 10–20% discount — simply write your username after registration on our website in the following format: "SEND ME BONUS, MY USERNAME IS..." — you need to post it in our forum thread! 3. Get $1 for your first SMM Panel trial: just open a ticket titled “Get Trial Bonus” on our website (Support). 4. Weekly Telegram Stars giveaways in our Telegram channel and in our Stars purchasing bot! News: ➡ Telegram Channel: https://t.me/accsforyou_shop ➡ WhatsApp Channel: https://chat.whatsapp.com/K8rBy500nA73z27PxgaJUw?mode=ems_copy_t ➡ Discord Server: https://discord.gg/y9AStFFsrh Contacts & Support: ➡ Telegram: https://t.me/socnet_support ➡ WhatsApp: https://wa.me/79051904467 ➡ Discord: socnet_support ➡ ✉ Email: solomonbog@socnet.store
    • NFT gifts on Telegram are already here! Buy Stars at SOCNET — the black background can be yours today! Purchase existing gifts in the official store using Telegram Stars, pay for subscriptions, donate to games and projects, pay for Premium, and react to messages in channels! Low prices, many payment methods, and other cool and unique features! Try it today — SOCNET STARS BOT Active links to SOCNET stores: Digital Goods Store (Website): Go Store Telegram Bot: Go – convenient access to the store via Telegram messenger. Telegram Bot for purchasing Telegram Stars: Go – fast and beneficial purchase of stars in Telegram. SMM Panel: Go – promotion of your social media accounts. We would like to present to you the current list of promotions and special offers for purchasing our products and services: 1. Promo code OCTOBER2025 (8% discount) for purchases in our store (Website, bot) in September! You can also use the first-purchase promo code: SOCNET (15% discount) 2. Get $1 credited to your store balance or a 10–20% discount — simply write your username after registration on our website in the following format: "SEND ME BONUS, MY USERNAME IS..." — you need to post it in our forum thread! 3. Get $1 for your first SMM Panel trial: just open a ticket titled “Get Trial Bonus” on our website (Support). 4. Weekly Telegram Stars giveaways in our Telegram channel and in our Stars purchasing bot! News: ➡ Telegram Channel: https://t.me/accsforyou_shop ➡ WhatsApp Channel: https://chat.whatsapp.com/K8rBy500nA73z27PxgaJUw?mode=ems_copy_t ➡ Discord Server: https://discord.gg/y9AStFFsrh Contacts & Support: ➡ Telegram: https://t.me/socnet_support ➡ WhatsApp: https://wa.me/79051904467 ➡ Discord: socnet_support ➡ ✉ Email: solomonbog@socnet.store
    • NFT gifts on Telegram are already here! Buy Stars at SOCNET — the black background can be yours today! Purchase existing gifts in the official store using Telegram Stars, pay for subscriptions, donate to games and projects, pay for Premium, and react to messages in channels! Low prices, many payment methods, and other cool and unique features! Try it today — SOCNET STARS BOT Active links to SOCNET stores: Digital Goods Store (Website): Go Store Telegram Bot: Go – convenient access to the store via Telegram messenger. Telegram Bot for purchasing Telegram Stars: Go – fast and beneficial purchase of stars in Telegram. SMM Panel: Go – promotion of your social media accounts. We would like to present to you the current list of promotions and special offers for purchasing our products and services: 1. Promo code OCTOBER2025 (8% discount) for purchases in our store (Website, bot) in September! You can also use the first-purchase promo code: SOCNET (15% discount) 2. Get $1 credited to your store balance or a 10–20% discount — simply write your username after registration on our website in the following format: "SEND ME BONUS, MY USERNAME IS..." — you need to post it in our forum thread! 3. Get $1 for your first SMM Panel trial: just open a ticket titled “Get Trial Bonus” on our website (Support). 4. Weekly Telegram Stars giveaways in our Telegram channel and in our Stars purchasing bot! News: ➡ Telegram Channel: https://t.me/accsforyou_shop ➡ WhatsApp Channel: https://chat.whatsapp.com/K8rBy500nA73z27PxgaJUw?mode=ems_copy_t ➡ Discord Server: https://discord.gg/y9AStFFsrh Contacts & Support: ➡ Telegram: https://t.me/socnet_support ➡ WhatsApp: https://wa.me/79051904467 ➡ Discord: socnet_support ➡ ✉ Email: solomonbog@socnet.store
    • Wts adena 1kk = 10$  discord - GODDARDSHOP 
    • Thanks for the feedback! We’ve actually rented their infrastructure to ensure a high-quality gaming experience (We couldn't find any better files out there). Developer @FixerRay will also be there to assist us 🙂
  • Topics

×
×
  • 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