Jump to content

Recommended Posts

Posted

w0w, hello MxC. Today while i was searching in L2J Forums i found something freaking cool.

 

- I am not sure if is working - I haven't tested it.

 

That's how it works:

<a action="bypass -h npc_%objectId%_GiveBuffs SkilldId SkillLvl PriceItemId Priceammount">get buff XXXX</a>

See ?? You write after GiveBuffs(space)SkillId(space)SkillLvl(space)PriceItemId(space)Priceammount.

 

Here is a real Example.

<a action="bypass -h npc_%objectId%_GiveBuffs 1204 2 57 5000000">get buff XXXX</a>

1204 ( The id of the skill ), 2 ( Skill level or buff level ), 57 ( Is adena, id of adena ), 500000 ( The ammount of adena, for this buff )

 

^^ is windwalk Buff, level 2. And you get this for xxxxx adena.

 

This is the simple diff, for this function:

Index: D:/Workspace/L2_GameServer/java/net/sf/l2j/gameserver/model/actor/instance/L2NpcInstance.java
===================================================================
--- /java/net/sf/l2j/gameserver/model/actor/instance/L2NpcInstance.java	(revision 2501)
+++ /java/net/sf/l2j/gameserver/model/actor/instance/L2NpcInstance.java	(working copy)
@@ -890,6 +891,27 @@
                html.replace("%playername%", player.getName());
                player.sendPacket(html);
            }
+            else if(command.startsWith("GiveBuff")){
+            	String[] params = command.split(" ");
+            	int SkillId 	= Integer.parseInt(params[1]);
+            	int SkillLvl 	= Integer.parseInt(params[2]);
+            	int ItemId 	= Integer.parseInt(params[3]);
+            	int ItemAmmount = Integer.parseInt(params[4]);
+            	int Ammount 	= player.getInventory().getItemByItemId(ItemId).getCount();
+            	L2Item item = ItemTable.getInstance().getTemplate(ItemId);
+
+            	if(Ammount < ItemAmmount)
+            	{
+            		player.sendMessage("You don't have enough " + item.getName() + " to get this buff." );
+            		player.sendMessage("You need " + ItemAmmount + " " + item.getName() + " to be able to get this buff.");
+            	}
+            	else
+            	{
+            		player.getInventory().destroyItemByItemId("getting buffs", ItemId, ItemAmmount, player, null);
+            		L2Skill skill = SkillTable.getInstance().getInfo(SkillId, SkillLvl);
+            		skill.getEffects(this, L2Character.class.cast(player));
+            	}
+            }
            else if (command.equalsIgnoreCase("TerritoryStatus"))
            {
            	NpcHtmlMessage html = new NpcHtmlMessage(getObjectId()); 

 

Credits: L2JForum

Posted

Easier : Make a phyton and change ITEM_ID and price of bufs xD

Python sucks, and always STUCKS.

 

man no make double post...!!:S btw this can be hacked?

For now yes..

 

wait wait, is this for a buffer .. or? i didnt understand.

Also if its not protected why do you share it?

Because i want.

Posted

I am not wrong at all ! I Have bypass protection ( Advanced ), and still stucking some times !

Explain me why in Azshara you could not stuck ?

Posted

Note: This function is not reccomended !, Hackers may send packets ! Although with some protections :D It can be useful. I will try to protect it.

idiot..

you can always make a check if the player is in peace zone or not >.<

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

    • BLACK FRIDAY — PREMIUM BENEFITS FOR YOUR TRAFFIC Only on November 28 our special promo code gives you a 13% discount in the store. PROMO CODE: BLACKFRIDAY (13% Discount) Shop in our store on the website or via the Telegram bot! Active links: Digital goods store (Website): Go Store Telegram bot: Go – convenient access to the store via Telegram messenger. Other services: Virtual numbers service: Go Telegram bot for purchasing Telegram Stars: Go – fast and profitable purchase of stars in Telegram. SMM Panel: Go – promotion of your social media accounts. We want to present you the current list of promotions and special offers for purchasing our service's products and services: 1. You can use a promo code for your first purchase: SOCNET (15% discount) 2. Get $1 to your store balance or a 10–20% discount — just send your username after registering on our website using the following template: "SEND ME BONUS, MY USERNAME IS..." — you need to write this in our forum thread! 3. Get $1 for the first trial start of the SMM Panel: just open a ticket with the subject "Get Trial Bonus" on our website (Support). 4. Weekly Telegram Stars giveaways in our Telegram channel and in our bot for purchasing stars! 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 and Support: ➡ Telegram: https://t.me/socnet_support ➡ WhatsApp: https://wa.me/79051904467 ➡ Discord: socnet_support ➡ ✉ Email: solomonbog@socnet.store
    • Usually, I work alone on my projects, but sometimes the work is much more than I've expected. Could you provide a price list? It would be good if we knew your price before contacting you. 
    • BLACK FRIDAY — PREMIUM BENEFITS FOR YOUR TRAFFIC Only on November 28 our special promo code gives you a 13% discount in the store. PROMO CODE: BLACKFRIDAY (13% Discount) Shop in our store on the website or via the Telegram bot! Active links: Digital goods store (Website): Go Store Telegram bot: Go – convenient access to the store via Telegram messenger. Other services: Virtual numbers service: Go Telegram bot for purchasing Telegram Stars: Go – fast and profitable purchase of stars in Telegram. SMM Panel: Go – promotion of your social media accounts. We want to present you the current list of promotions and special offers for purchasing our service's products and services: 1. You can use a promo code for your first purchase: SOCNET (15% discount) 2. Get $1 to your store balance or a 10–20% discount — just send your username after registering on our website using the following template: "SEND ME BONUS, MY USERNAME IS..." — you need to write this in our forum thread! 3. Get $1 for the first trial start of the SMM Panel: just open a ticket with the subject "Get Trial Bonus" on our website (Support). 4. Weekly Telegram Stars giveaways in our Telegram channel and in our bot for purchasing stars! 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 and Support: ➡ Telegram: https://t.me/socnet_support ➡ WhatsApp: https://wa.me/79051904467 ➡ Discord: socnet_support ➡ ✉ Email: solomonbog@socnet.store
    • wtf are you talking about
    • We have the best price! L2Reborn.org Signature x1 Franz NEW!! 1KK = $18 HURRY TO BUY AT THE TOP PRICE discord - adver745645
  • 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