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'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

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...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



  • Posts

    • From Salvation onwards I think you need a patched nwindow.dll that allows such modifications, try to see if you get what you need here: https://drive.google.com/drive/u/1/folders/1LLbQFGf8KlR-O0Iv5umfF-pwZgrDh9bd
    • hello everyone! I am wanting to save the files (Ini. - Data - ) of the EP5 Client: Salvation... But they generate the error "corrupt files"... I tried several versions of L2FileEditor without good results. I need help! Thank you!
    • Opening December 6th at 19:00 (GMT +3)! Open Beta Test from November 30th!   https://l2soe.com/   🌟 Introducing L2 Saga of Eternia: A Revolution in Lineage 2 High Five! 🌟   Dear Lineage 2 enthusiasts, Prepare to witness the future of private servers! L2 Saga of Eternia is not just another High Five project—it’s a game-changing experience designed to compete with the giants of the Lineage 2 private server scene. Built for the community, by the community, we’re here to raise the bar in quality, innovation, and longevity. What Sets Us Apart? 💎 No Wipes, Ever Say goodbye to the fear of losing your progress. Our server is built to last and will never close. Stability and consistency are our promises to you. ⚔️ Weekly New Content Our dedicated development team ensures fresh challenges, events, and updates every week. From custom quests to exclusive features, there will always be something exciting to explore. 💰 No Pay-to-Win Skill and strategy matter most here. Enjoy a balanced gameplay environment where your achievements come from effort, not your wallet. 🌍 A Massive Community With 2000+ players expected, join a vibrant and active community of like-minded adventurers ready to conquer the world of Aden. 🏆 Fair and Competitive Gameplay Our systems are designed to promote healthy competition while avoiding abusive mechanics and exploits. 🔧 Professional Development From advanced bug fixes to carefully curated content, we pride ourselves on smooth performance, no lag, and unparalleled server quality. Key Features Chronicle: High Five with unique interface Rate: Dynamic x10 rates Class Balance: Carefully fine-tuned for a fair experience PvP Focused: PvP Ranking & aura display effect for 3 Top PvPers every week Custom Events: Seasonal and permanent events to keep you engaged Additional Features:   Custom Endgame Content: Introduce unique dungeons, raids, or zones unavailable in other servers. Player-Driven Economy: Implement a strong market system and avoid overinflated drops or rewards. Epic Siege Battles: Announce special large-scale sieges and PvP events. Incentives for Streamers and Clans: Attract influencers and big clans to boost server publicity. Roadmap Transparency: Share a public roadmap of planned updates to build trust and excitemen   Here you can read all the features: https://l2soe.com/features   Video preview: Join the Revolution! This is your chance to be part of something legendary. L2 Saga of Eternia is not just a server; it’s a movement to redefine what Lineage 2 can be. Whether you’re a seasoned veteran or a newcomer to the world of Aden, we invite you to experience Lineage 2 at its finest.   Official Launch Date: December 6th 2024 Website: https://l2soe.com/ Facebook: https://www.facebook.com/l2soe Discord: https://discord.com/invite/l2eternia   Let’s build the ultimate Lineage 2 experience together. See you in-game! 🎮
    • That's like a tutorial on how to run l2 on MacOS Xd but good job for the investigation. 
  • Topics

×
×
  • Create New...