Jump to content

Recommended Posts

Posted

Hello,i present new scrolls, Scroll Of Mages and Scroll Of Fighters for interlude.

What they do?

They give you Mages Full Buff and Fighters Full Buff.

I have not Eclipse and i have not patch sorry.

So Let's Start

 

Go To \net\sf\l2j\gameserver\handler\itemhandlers\Scrolls.java

 

Find

 

9152, 9153, 9154, 9155

 

Change to this

 

9152, 9153, 9154, 9155, 9998, 9999

 

 

Find this

 

         	case 9155: // Scroll of Shield - For Event XML:2059
         		activeChar.broadcastPacket(new MagicSkillUser(playable, activeChar, 2059, 1, 1, 0));
         		useScroll(activeChar, 2059, 1);
         		break;

 

Add After:

 

         	case 9998: // Scroll of Mage
			activeChar.sendMessage("You get Mage-buff complect.");
			L2Skill mbuff01 = SkillTable.getInstance().getInfo(276, 1);
			mbuff01.getEffects(activeChar, activeChar);
			L2Skill mbuff02 = SkillTable.getInstance().getInfo(273, 1);
			mbuff02.getEffects(activeChar, activeChar);
			L2Skill mbuff03 = SkillTable.getInstance().getInfo(264, 1);
			mbuff03.getEffects(activeChar, activeChar);
			L2Skill mbuff04 = SkillTable.getInstance().getInfo(304, 1);
			mbuff04.getEffects(activeChar, activeChar);
			L2Skill mbuff05 = SkillTable.getInstance().getInfo(267, 1);
			mbuff05.getEffects(activeChar, activeChar);
			L2Skill mbuff06 = SkillTable.getInstance().getInfo(1085, 3);
			mbuff06.getEffects(activeChar, activeChar);
			L2Skill mbuff07 = SkillTable.getInstance().getInfo(1062, 2);
			mbuff07.getEffects(activeChar, activeChar);
			L2Skill mbuff08 = SkillTable.getInstance().getInfo(1078, 6);
			mbuff08.getEffects(activeChar, activeChar);
			L2Skill mbuff09 = SkillTable.getInstance().getInfo(1059, 3);
			mbuff09.getEffects(activeChar, activeChar);
			L2Skill mbuff10 = SkillTable.getInstance().getInfo(1303, 2);
			mbuff10.getEffects(activeChar, activeChar);
			L2Skill mbuff11 = SkillTable.getInstance().getInfo(1204, 2);
			mbuff11.getEffects(activeChar, activeChar);
			L2Skill mbuff12 = SkillTable.getInstance().getInfo(1036, 2);
			mbuff12.getEffects(activeChar, activeChar);
			L2Skill mbuff13 = SkillTable.getInstance().getInfo(1040, 3);
			mbuff13.getEffects(activeChar, activeChar);
			L2Skill mbuff14 = SkillTable.getInstance().getInfo(1389, 3);
			mbuff14.getEffects(activeChar, activeChar);
			L2Skill mbuff15 = SkillTable.getInstance().getInfo(1045, 6);
			mbuff15.getEffects(activeChar, activeChar);
			L2Skill mbuff16 = SkillTable.getInstance().getInfo(1048, 6);
			mbuff16.getEffects(activeChar, activeChar);
			L2Skill mbuff17 = SkillTable.getInstance().getInfo(1397, 3);
			mbuff17.getEffects(activeChar, activeChar);
			L2Skill mbuff18 = SkillTable.getInstance().getInfo(349, 1);
			mbuff18.getEffects(activeChar, activeChar);
			L2Skill mbuff19 = SkillTable.getInstance().getInfo(363, 1);
			mbuff19.getEffects(activeChar, activeChar);
			activeChar.broadcastUserInfo();
         		break;
         	case 9999: // Scroll of Fighter
			activeChar.sendMessage("You get Fighter-buff complect.");
			L2Skill fbuff01 = SkillTable.getInstance().getInfo(275, 1);
			fbuff01.getEffects(activeChar, activeChar);
			L2Skill fbuff02 = SkillTable.getInstance().getInfo(271, 1);
			fbuff02.getEffects(activeChar, activeChar);
			L2Skill fbuff03 = SkillTable.getInstance().getInfo(274, 1);
			fbuff03.getEffects(activeChar, activeChar);
			L2Skill fbuff04 = SkillTable.getInstance().getInfo(264, 1);
			fbuff04.getEffects(activeChar, activeChar);
			L2Skill fbuff05 = SkillTable.getInstance().getInfo(304, 1);
			fbuff05.getEffects(activeChar, activeChar);
			L2Skill fbuff06 = SkillTable.getInstance().getInfo(267, 1);
			fbuff06.getEffects(activeChar, activeChar);
			L2Skill fbuff07 = SkillTable.getInstance().getInfo(1240, 3);
			fbuff07.getEffects(activeChar, activeChar);
			L2Skill fbuff08 = SkillTable.getInstance().getInfo(1035, 4);
			fbuff08.getEffects(activeChar, activeChar);
			L2Skill fbuff09 = SkillTable.getInstance().getInfo(1068, 3);
			fbuff09.getEffects(activeChar, activeChar);
			L2Skill fbuff10 = SkillTable.getInstance().getInfo(1045, 6);
			fbuff10.getEffects(activeChar, activeChar);
			L2Skill fbuff11 = SkillTable.getInstance().getInfo(1048, 6);
			fbuff11.getEffects(activeChar, activeChar);
			L2Skill fbuff12 = SkillTable.getInstance().getInfo(1077, 3);
			fbuff12.getEffects(activeChar, activeChar);
			L2Skill fbuff13 = SkillTable.getInstance().getInfo(1086, 2);
			fbuff13.getEffects(activeChar, activeChar);
			L2Skill fbuff14 = SkillTable.getInstance().getInfo(1036, 2);
			fbuff14.getEffects(activeChar, activeChar);
			L2Skill fbuff15 = SkillTable.getInstance().getInfo(1040, 3);
			fbuff15.getEffects(activeChar, activeChar);
			L2Skill fbuff16 = SkillTable.getInstance().getInfo(1242, 3);
			fbuff16.getEffects(activeChar, activeChar);
			L2Skill fbuff17 = SkillTable.getInstance().getInfo(1062, 2);
			fbuff17.getEffects(activeChar, activeChar);
			L2Skill fbuff18 = SkillTable.getInstance().getInfo(1388, 3);
			fbuff18.getEffects(activeChar, activeChar);
			L2Skill fbuff19 = SkillTable.getInstance().getInfo(1268, 4);
			fbuff19.getEffects(activeChar, activeChar);
			L2Skill fbuff20 = SkillTable.getInstance().getInfo(1259, 4);
			fbuff20.getEffects(activeChar, activeChar);
			L2Skill fbuff21 = SkillTable.getInstance().getInfo(1243, 6);
			fbuff21.getEffects(activeChar, activeChar);
			L2Skill fbuff22 = SkillTable.getInstance().getInfo(1087, 3);
			fbuff22.getEffects(activeChar, activeChar);
			L2Skill fbuff23 = SkillTable.getInstance().getInfo(1204, 2);
			fbuff23.getEffects(activeChar, activeChar);
			L2Skill fbuff24 = SkillTable.getInstance().getInfo(349, 1);
			fbuff24.getEffects(activeChar, activeChar);
			L2Skill fbuff25 = SkillTable.getInstance().getInfo(364, 1);
			fbuff25.getEffects(activeChar, activeChar);
			activeChar.broadcastUserInfo();
         		break;

 

Save And Close. Core side adding complete now let's add in datapack.

 

Open Navicat Right Click on l2jdb and select Console

write there

 

INSERT INTO etcitem
   (`item_id`, `name`, `crystallizable`, `item_type`, `weight`, `consume_type`, `material`, `crystal_type`, `duration`, `price`, `crystal_count`, `sellable`, `dropable`, `destroyable`, `tradeable`, `oldname`, `oldtype`)
VALUES
   (9998, 'Scroll of Mages', 'false', 'scroll', 0, 'stackable', 'paper', 'none', -1, 0, 0, 'true', 'true', 'true', 'true', 'InterludeItem', 'none'),
   (9999, 'Scroll of Fighters', 'false', 'scroll', 0, 'stackable', 'paper', 'none', -1, 0, 0, 'true', 'true', 'true', 'true', 'InterludeItem', 'none');

 

Press Enter.

 

Now Server side adding is complete.

 

Now Download this L2 FileEdit

 

Open etcitemgrp.dat

 

2	9998	0	3	6	3	0	dropitems.drop_scroll_m00			dropitemstex.drop_scroll_t00			icon.etc_scroll_white_i00					0	120	18	0	0	1		1		ItemSound.itemdrop_scroll		2	1	0
2	9999	0	3	6	3	0	dropitems.drop_scroll_m00			dropitemstex.drop_scroll_t00			icon.etc_scroll_white_i00					0	120	18	0	0	1		1		ItemSound.itemdrop_scroll		2	1	0

 

Add this to end.

 

Save and close.

 

now open itemname-e.dat

 

9998	Scroll of Mage		Puts Mage's Full Buff."	-1					0	0	0	
9999	Scroll of Fighter		Puts Fighter's Full Buff."	-1					0	0	0	

 

and add this to end.

 

Save and close.

 

*Warning If in your client id 9999 and 9998 etcitem is busy delete them!

 

That all!

 

Credits for Share & Guide to me

Posted

You should explain what the things modified in core do,some ppl may not be able to understand.Also you do not give the benefit of choice to the users of these scrolls so they are forced to be buffed under the same buffs.

Posted
You should explain what the things modified in core do,some ppl may not be able to understand

Go To \net\sf\l2j\gameserver\handler\itemhandlers\Scrolls.java

 

Also you do not give the benefit of choice to the users of these scrolls so they are forced to be buffed under the same buffs

i'm buffed normally i can't understand what you mean

Posted

Why dont you do it like this:

 SkillTable.getInstance().getInfo(364, 1).getEffects(activeChar, activeChar);

Instead of any of these?

				L2Skill fbuff25 = SkillTable.getInstance().getInfo(364, 1);
			fbuff25.getEffects(activeChar, activeChar);

Theres no need to define ne l2skill all the time

Posted

Why dont you do it like this:

 SkillTable.getInstance().getInfo(364, 1).getEffects(activeChar, activeChar);

Instead of any of these?

				L2Skill fbuff25 = SkillTable.getInstance().getInfo(364, 1);
			fbuff25.getEffects(activeChar, activeChar);

Theres no need to define ne l2skill all the time

i have no java skills so it's just copy of .fbuff voice command...

Posted

i have no java skills so it's just copy of .fbuff voice command...

 

lol..... like everything else...

Posted

i'm not copying everything and please stop spam...

stop spam?? haha your the one trashing the community full of useless shares and c/p codes. so shut the fuck up

Posted

stop spam?? haha your the one trashing the community full of useless shares and c/p codes. so shut the -beep- up

i shareing that i can and that i find.so shut the -beep- up

Posted

you think he shares useless codes like me? :D

 

No, I just detected irony.

Both your shares are either non-working or kinda useless c/ps, so don't worry.

The only good thing is that you started making 'your own' stuff, instead of copy/pasting l2jlive crappy codes.

  • 2 weeks later...

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

    • Purchase Telegram Stars at a favorable price with minimal markup. New auctions from Telegram are expected, and our bot will help you prepare in advance. Active links: Telegram bot for purchasing Telegram Stars: Go to – fast and profitable purchase of Stars in Telegram. Other services: Digital goods store (Website): Go to Store Telegram bot: Go to – convenient access to the store via the Telegram messenger. Virtual numbers service: Go to SMM Panel: Go to – promotion of your social media accounts. We want to present to you the current list of promotions and special offers for purchasing products and services of our service: 1. You can use a promo code for your first purchase: SOCNET (15% discount) 2. Get $1 on 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 launch 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
    • Purchase Telegram Stars at a favorable price with minimal markup. New auctions from Telegram are expected, and our bot will help you prepare in advance. Active links: Telegram bot for purchasing Telegram Stars: Go to – fast and profitable purchase of Stars in Telegram. Other services: Digital goods store (Website): Go to Store Telegram bot: Go to – convenient access to the store via the Telegram messenger. Virtual numbers service: Go to SMM Panel: Go to – promotion of your social media accounts. We want to present to you the current list of promotions and special offers for purchasing products and services of our service: 1. You can use a promo code for your first purchase: SOCNET (15% discount) 2. Get $1 on 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 launch 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
    • Purchase Telegram Stars at a favorable price with minimal markup. New auctions from Telegram are expected, and our bot will help you prepare in advance. Active links: Telegram bot for purchasing Telegram Stars: Go to – fast and profitable purchase of Stars in Telegram. Other services: Digital goods store (Website): Go to Store Telegram bot: Go to – convenient access to the store via the Telegram messenger. Virtual numbers service: Go to SMM Panel: Go to – promotion of your social media accounts. We want to present to you the current list of promotions and special offers for purchasing products and services of our service: 1. You can use a promo code for your first purchase: SOCNET (15% discount) 2. Get $1 on 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 launch 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
    • 亲爱的合作伙伴! 目前我们非常需要以下项目: ➡ WhatsApp 老账户 ➡ Twitter 带粉丝和帖子账户(老账户) 请通过以下联系方式与我们联系。我们很高兴与您合作! 我们项目的有效链接: 数字商品商店(网站): 前往 商店 Telegram 机器人: 前往 – 通过 Telegram 信使方便访问商店。 虚拟号码服务: 前往 用于购买 Telegram Stars 的 Telegram 机器人: 前往 – 在 Telegram 中快速且优惠地购买 Stars。 SMM 面板: 前往 – 推广您的社交媒体账户。 联系方式和支持: ➡ Telegram: https://t.me/socnet_support ➡ WhatsApp: https://wa.me/79051904467 ➡ Discord: socnet_support ➡ ✉ Email: solomonbog@socnet.store
    • Dear partners! At the moment we are in great need of the following positions: ➡ WhatsApp OLD Accounts ➡ Twitter accounts with followers and posts (old accounts) Contact us via the details below. We will be glad to cooperate! Active links to our projects: Digital goods store (Website): Go to Store Telegram bot: Go to – convenient access to the store via the Telegram messenger. Virtual numbers service: Go to Telegram bot for purchasing Telegram Stars: Go to – fast and profitable purchase of Stars in Telegram. SMM Panel: Go to – promotion of your social media accounts. Contacts and support: ➡ Telegram: https://t.me/socnet_support ➡ WhatsApp: https://wa.me/79051904467 ➡ Discord: socnet_support ➡ ✉ Email: solomonbog@socnet.store
  • 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