Jump to content

Itemsquish Alpha Version


Recommended Posts

Guest Elfocrash
Posted (edited)

So World of Warcraft is doing this thing in it's future expansion.

 

On "sub class change the gear will keep their attributes but will turn into the gear needed from the class"

 

To make thing simple what this will do is that If i am a Archer and i wanna play mage then

my gear when i change subclass will turn from Bow and draconic to arana mace and dark crystal.

 

Here is a very first version of the system. For now only archer and mage class changes work but it looks to work 

pretty fine.

 

 

Enchant will stay the same so if AM is +25 then DB will be +25

 

 

How to install? Add the ElfoArmor.jar file into the lib folder and then open L2VillageMasterInstance.java and do this.

 

Find:

player.setActiveClass(paramOne);
player.sendPacket(SystemMessageId.SUBCLASS_TRANSFER_COMPLETED); // Transfer completed.

and make it look like:

if(paramOne == 0)
{
	ItemSquish.changeSet(player, player.getBaseClass());
}
else
    ItemSquish.changeSet(player, player.getSubClasses().get(paramOne).getClassId());
	player.setActiveClass(paramOne);
	player.sendPacket(SystemMessageId.SUBCLASS_TRANSFER_COMPLETED); // Transfer completed.

And this is it. 

 

This share is actually a test. I wanna see both interest for the idea and interest of the new share model where you just add a jar and a couple of lines.

 

This is coded ONLY for acis.

 

THE FEATURE IS INCOMPLETE. WILL BE COMPLETED IF YOU ARE INTERESTED IN IT.

elfoarmor.zip

Edited by Elfocrash
Posted

doesnt fit with L2, also would be cool to give an armor only for the same armor family, DC heavy -> DC Robe but still it doesnt fit

Guest Elfocrash
Posted

doesnt fit with L2, also would be cool to give an armor only for the same armor family, DC heavy -> DC Robe but still it doesnt fit

If the economy of a server is built around this it would save tons of time of enchanting and shit for players. I know i'd play on a server with such a feature at least.

Guest Elfocrash
Posted

Nice one, but what about of the ability that weapon has ??

Mana up, cheap shot

Focus, Acumen

The other crappy with the other shitty.

 

only one matters either way.

Guest Elfocrash
Posted

Added video to show how it works.

Posted (edited)

I 've read your code and imo it should work by reading the data from xmls

 

java side L2Item:

L2Item LightSubstitute = null; //if the items ts already light stays null

L2Item RobeSubstitute = null;

L2Item HeavySubstitute = null;

 

xml side:

 

<item id= lighsub= HeavySubstitute = > //didnt used robesub block cause obviously this item is robe item

 

ItemManager side

 

if (class.isLight && item.getLightSub != null)

    //replace the item with its substitute

Edited by xdem
Guest Elfocrash
Posted (edited)

I 've read your code and imo it should work by reading the data from xmls

 

java side L2Item:

L2Item LightSubstitute = null; //if the items ts already light stays null

L2Item RobeSubstitute = null;

L2Item HeavySubstitute = null;

 

xml side:

 

<item id= lighsub= HeavySubstitute = > //didnt used robesub block cause obviously this item is light item

 

ItemManager side

 

if (class.isLight && item.getLightSub != null)

    //replace the item with its substitute

I though of making all of this getting parsed from a file to a map, however there are way too many things to check.

For example what if the hierophant wants to play with duals ? What if the Spectral Master want to use bow?

Shit like that make it impossible to have static items for every change so i could add an ingame menu where the player can choose in what he wan't his items to turn into apart from the normal choices.

Also all these checks are the reason that the code has this statement repeatance pattern.

 

However i wouldn't do it exactly as you proposed tho is a think i considered.

Edited by Elfocrash
Posted (edited)

I though of making all of this getting parsed from a file to a map, however there are way too many things to check.

For example what if the hierophant wants to play with duals ? What if the Spectral Master want to use bow?

Shit like that make it impossible to have static items for every change so i could add an ingame menu where the player can choose in what he wan't his items to turn into apart from the normal choices.

Also all these checks are the reason that the code has this statement repeatance pattern.

 

However i wouldn't do it exactly as you proposed tho is a think i considered.

 

 

fix the quote plz int RobeSubstitute = null;

 

i made a misatke there xD it should be L2Item but I was confused it with its id

Edited by xdem
Guest Elfocrash
Posted (edited)

fix the quote plz int RobeSubstitute = null;

 

i made a misatke there xD it should be L2Item but I was confused it with its id

It actually should be ItemInstance as you get the instance of the item equipped. You don't change anything no matter what item. You get the item equiped instance then the item itself and you pass on the ench and change the type with a new instance.

Edited by Elfocrash
Posted

It actually should be ItemInstance as you get the instance of the item equipped. You don't change anything no matter what item. You get the item equiped instance then the item itself and you pass on the ench and change the type with a new instance.

 

 

L2Item is the template of all L2ItemInstances so if you store it on L2Item witch is kinda a static class of L2ItemInstance its better

 

15600 dragonic bows on a server is ONE L2Item with dragonic bow data while it is 15600 L2ItemInstance with dragonic bow data. Tho you dont need to store the same data 15600 times. logic

Guest Elfocrash
Posted

L2Item is the template of all L2ItemInstances so if you store it on L2Item witch is kinda a static class of L2ItemInstance its better

 

15600 dragonic bows on a server is ONE L2Item with dragonic bow data while it is 15600 L2ItemInstance with dragonic bow data. Tho you dont need to store the same data 15600 times. logic

Yeah but you can get the enchantment value only from the instance.

Posted

Interesting idea tho i would find it necessary to dont let it apply special features heres an example. I have a +16 angel slayer and im destroying the server than my adventurer for example is about to get nerfed to fuck so what i do? I just switch to a subclass thats OP in the current enviroment and i have my fully maxed equipment. That makes the game boring, for me atleast.

What i would do is i would allow equipment trade in a midrate enviroment so if i want to have a heavy but i have a light set i can trade it in for whatever currency and get my desired heavy with the same enchant level and the SA of my choice in case of a weapon.

Posted

Nc feature  ;D

Im happy that some people actually bring something constructive and unique from time to time on this forum.

Keep coding. :good sir:

Posted (edited)

Interesting idea tho i would find it necessary to dont let it apply special features heres an example. I have a +16 angel slayer and im destroying the server than my adventurer for example is about to get nerfed to fuck so what i do? I just switch to a subclass thats OP in the current enviroment and i have my fully maxed equipment. That makes the game boring, for me atleast.

 

What i would do is i would allow equipment trade in a midrate enviroment so if i want to have a heavy but i have a light set i can trade it in for whatever currency and get my desired heavy with the same enchant level and the SA of my choice in case of a weapon.

 

 

trading is a main activity in any type of Lineage2 server, costum pvp low or whatever. Thats why I said it doesnt fit Lineage2, wow is wow and Lineage is Lineage. This method ruins trading

Edited by xdem

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

    • Gaining attention on Instagram today is more competitive than ever. Whether you're a content creator, entrepreneur, or influencer, building a loyal audience is essential—but often slow. That’s why many users turn to free Instagram followers to kickstart their growth and establish credibility early. With services like GoupSocial, you no longer have to wait months to build traction. By using tools such as instagram followers panel free and free smm panels, you can gain real followers and reach your goals faster. Why Free Instagram Followers Make a Difference Let’s face it—numbers matter. A higher follower count directly affects how others see your brand or profile. When people visit your account and see a big audience, they’re more likely to trust you, follow you, and engage with your content. Here’s how free Instagram followers impact your account: ✅ Boosted credibility: People associate large followings with trust and value. ✅ Greater reach: The Instagram algorithm favors high-engagement accounts. ✅ Brand appeal: Businesses want to collaborate with profiles that already have visibility. ✅ Faster momentum: Platforms like instagram free followers panel eliminate slow, organic-only growth paths. Add tools like free ig likes every 24 hours, and you're not just growing—you’re staying active and visible across the platform. Top Benefits of Using Free Instagram Followers 1. Gain Social Proof Instantly When visitors see a high follower count, it validates your profile. Tools like idigic Instagram followers allow you to generate this social proof fast—without compromising on quality. 2. Consistent Engagement With Likes and Views Pairing followers with tools like free ig likes every 24 hours ensures your content gets seen and interacted with. The algorithm loves engagement, and this keeps your posts fresh and prioritized. 3. Easier Entry Into Explore Page Profiles with high engagement have a better shot at being featured on trending pages. Platforms like igtools followers can help drive those early signals Instagram uses to recommend content. 4. Save Time While Looking Organic Building your presence takes time—unless you have help. With instagram free followers 100 real services, your account grows quickly and still looks natural, without spammy or fake-looking numbers. 5. Attract Collaborations With Brands Businesses look for influencers who can amplify their message. When your profile has strong numbers—boosted via instagram free followers like and free smm panels—you’re more likely to land partnerships and deals. Is It Safe to Get Free Instagram Followers? Yes, if done correctly. The key is using trusted sources. Some platforms fill your profile with bots, which can get your account flagged or banned. That’s why services like GoupSocial are essential—they deliver real, safe engagement through tools like instagram followers panel free. With idigic Instagram followers or igtools followers, the goal isn’t just more numbers—it’s smart, consistent growth that Instagram’s algorithm can respect. How to Use GoupSocial to Get Free Instagram Followers Getting started is simple: 🖊️ Enter your Instagram username 🎯 Choose the number of followers you want 🚀 Click "submit" and watch your count increase in real time Whether you want to test the waters with a few followers or boost engagement with free ig likes every 24 hours, GoupSocial has the tools to help. The Power of Using Growth Tools Strategically Gaining traction with free Instagram followers isn’t about cheating the system—it’s about working smarter. Using platforms that offer instagram free followers 100 real ensures you don’t just inflate numbers, but also increase your influence. Tools like instagram free followers like, free smm panels, and instagram followers panel free create a foundation of trust, engagement, and visibility. It’s the perfect launchpad for creators who want to focus on content—not on chasing every new follower manually. Start Strong, Grow Smarter Instagram success is no longer reserved for those with large budgets. With the right tools, anyone can build influence. Free Instagram followers from reputable services like GoupSocial help you achieve fast, safe, and impactful growth. Use features like free ig likes every 24 hours, explore tools like idigic Instagram followers, and make use of instagram free followers like strategies to grow with confidence. The power to scale is in your hands—start now and watch your audience thrive.
    • Buying & Selling FFXIV FFXI Horizon Eden and other server
    • Buying & Selling Torn City Cash
    • Added: payment method MidTrans - for Indonesia MercadoPago - for Brazil and etc.
  • 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