Jump to content

Recommended Posts

Posted (edited)

Hi,

 

I coded this npc due to high demand so, since i have took some npc's from the community i give you guys this one:

 

NPC Safe Enchant Manager. (Download V2)

 

ScreenShots:

FirstTalk.jpgEnchantItem.jpgEnchantArmor.jpgEnchantWeapon.jpgEnchantWeapon+1.jpgEnchantWeaponAttribute.jpg

 

Installation:

The installation instructions is included in the pack.

 

You want to test it? The NPc is Live here : L2Mondial Server

 

You want to improve it? Post here! :D

Edited by HappyLDE
Posted (edited)

If you could make a simple patch and upload it to pastebin it would be way more usefull than uploading a zip/rar and adding "install instructions".

//inside code
You could avoid to create .htmls and send it via java, or use %example% and "replace" from the script, then you could have the rewards not as plain text and depending on the item id it could change. Queststates are useless here.
Overall I think that there are too many lines of code. I personally disagree with the checks of PvP, Karma, Olympiads and so, why shouldn't players be able to enchant items while being in those states? :P If you want I can take it and modify with the tips that I just wrote here.
But nice that you decided to share something, keep sharing O0

Edited by ^Wyatt
Posted
    int npcId = 9994;

 

    // Item required to enchant armor +1

    int itemRequiredArmor = 6393;

    int itemRequiredArmorCount = 50;

 

    // Item required to enchant jewels +1

    int itemRequiredJewels = 6393;

    int itemRequiredJewelsCount = 50;

 

    // Item required to enchant weapon +1

    int itemRequiredWeapon = 6393;

    int itemRequiredWeaponCount = 150;

 

    // Item required to enchant belt/shirt +1

    int itemRequiredBeltShirt = 6393;

    int itemRequiredBeltShirtCount = 100;

 

all should be private final static

 

Overall a cool code, but imo its very poor

Posted

 

    int npcId = 9994;
 
    // Item required to enchant armor +1
    int itemRequiredArmor = 6393;
    int itemRequiredArmorCount = 50;
 
    // Item required to enchant jewels +1
    int itemRequiredJewels = 6393;
    int itemRequiredJewelsCount = 50;
 
    // Item required to enchant weapon +1
    int itemRequiredWeapon = 6393;
    int itemRequiredWeaponCount = 150;
 
    // Item required to enchant belt/shirt +1
    int itemRequiredBeltShirt = 6393;
    int itemRequiredBeltShirtCount = 100;
 
all should be private final static
 
Overall a cool code, but imo its very poor

 

 

Thx i will change those. Explain the very poor :)

Posted

Thx i will change those. Explain the very poor :)

 

 

private because u dont need them outside of the class

final because they won't ever change

static because it affects all the instances of the class simutaniusly

Posted

private because u dont need them outside of the class

final because they won't ever change

static because it affects all the instances of the class simutaniusly

Thanks bro. It's always good to reread that, i will pay attention with these kind of variables and their use.

Posted
Error on: ServerFreya\gameserver\data\scripts\custom\Enchant\Enchant.java.error.log

Line: -1 - Column: -1

 

compilation failed

That say. Can you help ?

Posted

 

Error on: ServerFreya\gameserver\data\scripts\custom\Enchant\Enchant.java.error.log
Line: -1 - Column: -1
 
compilation failed
That say. Can you help ?

 

 

Show the error, not the log.

Guest
This topic is now closed to further replies.



  • 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