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

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

    • ## [1.5.5] - 2026-02-02   ### ✨ New Features - **Discord Login**: You can now sign in with your Discord account. Admins enable and configure Discord login in **cpadmin → Users** (Discord auth settings: Client ID, Client Secret, Redirect URI). If you already have an account with the same email (e.g. forum, Google, or legacy), signing in with Discord links to that account so you keep one profile. Discord login is available on Add Server, My Servers, Vote page, and Premium Ads booking. - **Setup Links**: In **cpadmin → Users**, both Google and Discord login settings now include direct links to their official developer portals (Google Cloud Console and Discord Developer Portal) for easier OAuth app setup.   ### 🔒 Security - **Email Required for Registration**: New user registration via OAuth (Forum, Google, Discord) now requires a valid email address. If the OAuth provider doesn't provide an email (e.g. unverified Discord email), registration is rejected with a clear message. This prevents anonymous accounts and ensures all users can receive important notifications.   ### 🔄 Improvements - **User Auth Badges**: In **cpadmin → Users**, the Registered Members table now shows auth method badges: **Forum**, **Google**, **Discord**, or **Legacy**. Users can have multiple badges if they've linked multiple login methods. - **Server Info Labels**: Translated server info labels (Owner Name, Language, Server Location) are now properly localized in all 5 languages (English, Spanish, Portuguese, Greek, Russian).   ---   ## [1.5.4] - 2026-02-01   ### ✨ New Features - **Google Login**: You can now sign in with your Google account. Admins enable and configure Google login in **cpadmin → Users** (Google auth settings: Client ID, Client Secret, Redirect URI). If you already have an account with the same email (e.g. forum or legacy), signing in with Google links to that account so you keep one profile. The login menu (navbar and login prompts) offers **Login with Forum Account**, **Login with Google** (when enabled), and **Create Forum Account**. Google login is available on Add Server, My Servers, Profile Settings, Vote page, and Premium Ads booking. - **Ban/Unban Members**: In **cpadmin → Users**, admins can ban or unban registered members. Banned users see a full-page message: "Sorry, you are banned from using this site." When a user is banned, all their servers are set to inactive. - **Moderator Activity Log**: **cpadmin → Moderators** now records when a moderator or admin enters the CPAdmin panel (e.g. "Moderator X entered CPAdmin panel at <time>") and when they change any cpadmin settings (only write actions are logged; read-only use is not). - **Clear Moderator Logs**: Admins can clear all moderator activity log entries via a **Clear logs** button with confirmation. Logs are shown at 100 per page with pagination. - **Filter by Moderator**: In the Moderator Activity Log, a **Filter by moderator** dropdown lets you view activity for a specific moderator or "All moderators." - **cpadmin → Users Tab**: New **Users** tab in the admin panel with Registered Members list (paginated), Google auth settings card, and per-user Ban/Unban and server links.   ### 🔄 Improvements - **cpadmin → Servers**: Each server name in the servers table is now clickable and opens that server’s info page. - **cpadmin → Users – Servers column**: The servers count/list is clickable and opens a small modal listing that user’s servers; each server name in the modal links to the server info page. - **cpadmin → Users – Search**: A search bar above the Registered Members table lets you search by **username**, **email**, or **server name**. Results are filtered on the server (paginated); clearing the search resets the list. - **Moderator Activity Log**: Pagination shows "Showing X–Y of Z" and "Page N of M" with Previous/Next when there are more than 100 entries. - **Login UI**: Login options (Forum, Google, Create account) are shown in a consistent dropdown and in modals (Add Server, My Servers, Vote, Premium Ads) for a clearer sign-in experience. - **Vote Page – Unauthenticated**: When you must log in to vote, the page now shows "Vote for [Server Name]" as the main heading and presents login options in a compact section.   ---   ## [1.5.3] - 2026-01-30   ### ✨ New Features - **File Logs in Admin Panel**: Admins can now view CodeIgniter PHP logs (api/writable/logs) directly in **cpadmin → Logs**. Select a date to view the log file, refresh to reload, or delete all log files to free up space.   ### 🔄 Improvements - **Cache System**: Full cache audit and improvements — when you clear cache in cpadmin, both backend and frontend caches are cleared. Server listings, My Servers, pricing, ad config, and chronicles all refresh with fresh data. New paid servers now appear in listings and My Servers immediately. - **Admin Panel – Server Rates**: Server rates in the admin servers table now display in compact format (e.g. x10000 → x10k, x100000 → x100k, x1000000 → x1m) for easier scanning. Hover to see the full value.
    • WTB High Five source running on Salvation/Fafurion client
    • MoMoProxy has updated more static residential proxies for USA location, anyone interested in can view: https://momoproxy.com/static-residential-proxies
    • Hello, i am selling a project that was going to open but at the end i have not the time to do it Its a c4 server ( scripts) with all the c5 changes played from Interlude Client    the server is 1:1 copy of the legendary 2007 L2Revenge server with some bits like events and some more sync stuff There is a lot of retail fixes included  , extender is vanganth and has a lot of mods but mostly fixes on the retail stuff.   Test server is available through discord , i offer client/patch/server/sources The price is 300 Euro and for testing the server you have to pm me at discord banshee1019 , dont really wanna let anybody log because some people are "bad"   Once you buy you also have free support for 1 year , that doesnt mean i will code all your ideas but support you if something comes up , and guide you to do simple edits
  • 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..