Jump to content

Recommended Posts

Posted

does it works on l2j epilogue pack?

Everything fits in evrything ,but you must change some imports to make it work properly...
Posted

man i have problem with this . I think the problem is with the word Config /Blessed/Crystal

 

 

  if (Config.ENCHANT_SCROLL_CRYSTAL_SYSTEM)

 

                {

 

                        if (item.getItem().getType2() == L2Item.TYPE2_WEAPON)

 

                        {

 

                                maxEnchantLevel = Config.ENCHANT_MAX_WEAPON_CRYSTAL;

 

                                for (int scrollId : ENCHANT_SCROLLS)

 

                                {

 

                                        if (scroll.getItemId() == scrollId)

 

                                        {

 

                                                chance = Config.ENCHANT_CHANCE_WEAPON;

 

                                                break;

 

                                        }

 

                                }

 

                                for (int scrollId : CRYSTAL_SCROLLS)

 

                                {

 

                                        if (scroll.getItemId() == scrollId)

 

                                        {

 

                                                chance = Config.ENCHANT_CHANCE_WEAPON_CRYSTAL;

 

                                                ;

 

                                                break;

 

                                        }

 

                                }

 

                                for (int scrollId : BLESSED_SCROLLS)

 

                                {

 

                                        if (scroll.getItemId() == scrollId)

 

                                        {

 

                                                chance = Config.ENCHANT_CHANCE_WEAPON_BLESSED;

 

                                                break;

 

                                        }

 

                                }

 

                        }

 

                        else if (item.getItem().getType2() == L2Item.TYPE2_SHIELD_ARMOR)

 

                        {

 

                                maxEnchantLevel = Config.ENCHANT_MAX_ARMOR_CRYSTAL;

 

                                for (int scrollId : ENCHANT_SCROLLS)

 

                                {

 

                                        if (scroll.getItemId() == scrollId)

 

                                        {

 

                                                chance = Config.ENCHANT_CHANCE_ARMOR;

 

                                                break;

 

                                        }

 

                                }

 

                                for (int scrollId : CRYSTAL_SCROLLS)

 

                                {

 

                                        if (scroll.getItemId() == scrollId)

 

                                        {

 

                                                chance = Config.ENCHANT_CHANCE_ARMOR_CRYSTAL;

 

                                                break;

 

                                        }

 

                                }

 

                                for (int scrollId : BLESSED_SCROLLS)

 

                                {

 

                                        if (scroll.getItemId() == scrollId)

 

                                        {

 

                                                chance = Config.ENCHANT_CHANCE_ARMOR_BLESSED;

 

                                                break;

 

                                        }

 

                                }

 

                        }

 

                        else if (item.getItem().getType2() == L2Item.TYPE2_ACCESSORY)

 

                        {

 

                                maxEnchantLevel = Config.ENCHANT_MAX_JЕWELRY_CRYSTAL;

 

                                for (int scrollId : ENCHANT_SCROLLS)

 

                                {

 

                                        if (scroll.getItemId() == scrollId)

 

                                        {

 

                                                chance = Config.ENCHANT_CHANCE_JEWELRY;

 

                                                break;

 

                                        }

 

                                }

 

                                for (int scrollId : CRYSTAL_SCROLLS)

 

                                {

 

                                        if (scroll.getItemId() == scrollId)

 

                                        {

 

                                                chance = Config.ENCHANT_CHANCE_JEWELRY_CRYSTAL;

 

                                                break;

 

                                        }

 

                                }

 

                                for (int scrollId : BLESSED_SCROLLS)

 

                                {

 

                                        if (scroll.getItemId() == scrollId)

 

                                        {

 

                                                chance = Config.ENCHANT_CHANCE_JEWELRY_BLESSED;

 

                                                break;

 

                                        }

 

                                }

 

                        }

 

                }

 

             

 

                if (Config.ENCHANT_SCROLL_BLESSED_SYSTEM)

 

                {

 

                        if (item.getItem().getType2() == L2Item.TYPE2_WEAPON)

 

                        {

 

                                maxEnchantLevel = Config.ENCHANT_MAX_WEAPON_BLESSED;

 

                                for (int scrollId : ENCHANT_SCROLLS)

 

                                {

 

                                        if (scroll.getItemId() == scrollId)

 

                                        {

 

                                                chance = Config.ENCHANT_CHANCE_WEAPON;

 

                                                break;

 

                                        }

 

                                }

 

                                for (int scrollId : CRYSTAL_SCROLLS)

 

                                {

 

                                        if (scroll.getItemId() == scrollId)

 

                                        {

 

                                                chance = Config.ENCHANT_CHANCE_WEAPON_CRYSTAL;

 

                                                ;

 

                                                break;

 

                                        }

 

                                }

 

                                for (int scrollId : BLESSED_SCROLLS)

 

                                {

 

                                        if (scroll.getItemId() == scrollId)

 

                                        {

 

                                                chance = Config.ENCHANT_CHANCE_WEAPON_BLESSED;

 

                                                break;

 

                                        }

 

                                }

 

                        }

 

                        else if (item.getItem().getType2() == L2Item.TYPE2_SHIELD_ARMOR)

 

                        {

 

                                maxEnchantLevel = Config.ENCHANT_MAX_ARMOR_BLESSED;

 

                                for (int scrollId : ENCHANT_SCROLLS)

 

                                {

 

                                        if (scroll.getItemId() == scrollId)

 

                                        {

 

                                                chance = Config.ENCHANT_CHANCE_ARMOR;

 

                                                break;

 

                                        }

 

                                }

 

                                for (int scrollId : CRYSTAL_SCROLLS)

 

                                {

 

                                        if (scroll.getItemId() == scrollId)

 

                                        {

 

                                                chance = Config.ENCHANT_CHANCE_ARMOR_CRYSTAL;

 

                                                break;

 

                                        }

 

                                }

 

                                for (int scrollId : BLESSED_SCROLLS)

 

                                {

 

                                        if (scroll.getItemId() == scrollId)

 

                                        {

 

                                                chance = Config.ENCHANT_CHANCE_ARMOR_BLESSED;

 

                                                break;

 

                                        }

 

                                }

 

                        }

 

                        else if (item.getItem().getType2() == L2Item.TYPE2_ACCESSORY)

 

                        {

 

                                maxEnchantLevel = Config.ENCHANT_MAX_JЕWELRY_BLESSED;

 

                                for (int scrollId : ENCHANT_SCROLLS)

 

                                {

 

                                        if (scroll.getItemId() == scrollId)

 

                                        {

 

                                                chance = Config.ENCHANT_CHANCE_JEWELRY;

 

                                                break;

 

                                        }

 

                                }

 

                                for (int scrollId : CRYSTAL_SCROLLS)

 

                                {

 

                                        if (scroll.getItemId() == scrollId)

 

                                        {

 

                                                chance = Config.ENCHANT_CHANCE_JEWELRY_CRYSTAL;

 

                                                break;

 

                                        }

 

                                }

 

                                for (int scrollId : BLESSED_SCROLLS)

 

                                {

 

                                        if (scroll.getItemId() == scrollId)

 

                                        {

 

                                                chance = Config.ENCHANT_CHANCE_JEWELRY_BLESSED;

 

                                                break;

 

                                        }

 

                                }

 

                        }

 

                }

Posted

kas23 - You had errors only with configs.. so simply roll over it and it should show You description about whats wrong.

  • 2 weeks later...
Posted

I work on L2J-Infinity and i insterted the code right.. but no working ... Dont know why:S

No errors .. General/Other.Properties Config is ok..

I set to true but nothing:S

 

(Edited):@

Ohhh shit ... i had forgoten that i posted before...

Dont de-karma me for this mistake plz.. :S

plz smbdy remove the previous post

  • 1 month later...
Guest
This topic is now closed to further replies.


  • Posts

    • Both are in-game bots. I'm looking for an out-of-game bot ((one that doesn’t require the L2 client).     Hmm, never heard about this bot. Will check, thank you
    • 🎉 L2Mid is back! After a 3-year pause, we’re launching a new Interlude server based on the original Interlude client (old school 😉).   What to expect • The classic Interlude spirit • Old friends, rival clans, and returning legends • A season focused on pure nostalgia   This may be our final Interlude server. (maybe 😉) 🗓️ Opening: December 5, 2025 at 20:00 (GMT+2)   https://l2mid.com
    • Hello, i was wondering if there's a guide on how to add the enchanting armor glow system from  Ertheia or Lindvior to hi5?
    • I imported this file using Unreal Engine 2 Runtime, modified it, saved it back, and then placed it on the client. When I run the game and wear this back accessory, the client crashes!     2025.10.28 03:52:59 OS : Windows XP 5.1 (Build: 2600) CPU : GenuineIntel  Intel(R) Core(TM) i3-6100 CPU @ 3.70GHz @ 3697 MHz 1023MB RAM Video : NVIDIA GeForce GT 730 (3064) PosCode : TS4(273) -119:-62:-1474 4/1 [0] SkeletalMesh MFighter_Fuckl2jangel.MFighter_Fuckl2jangel: Serial size mismatch: Got 383399, Expected 383403 History: LoadObject <- (SkeletalMesh MFighter_Fuckl2jangel.MFighter_Fuckl2jangel 8376427==8376427/8376498 7993028 383403) <- ULinkerLoad::Preload <- PreLoadObjects <- UObject::EndLoad <- UObject::StaticLoadObject <- (Engine.Mesh MFighter_Fuckl2jangel.MFighter_Fuckl2jangel NULL) <- UMeshComponent::LoadMeshComponent <- UMeshContainer::UpdateMeshComponents <- APawn::UpdateMeshComponents <- User::UpdatePawnMeshContainerByItem <- User::UpdatePawnMeshContainer <- User::SetPawnResource <- NCPawnView_InvenItemWnd::OnRButtonDown <- NCVirtualWndMain::SetFocusingWindow <- NCVirtualWndMain::DispatchWndMsg <- NConsoleWnd::DispatchWndMsg <- NConsoleWnd::MasterConsoleEventProcess <- UEngine::InputEvent <- UWindowsViewport::CauseInputEvent <- UWindowsViewport::UpdateInput <- UViewport::ReadInput <- APlayerController::Tick <- ALineagePlayerController::Tick <- TickAllActors <- ULevel::Tick <- (NetMode=0) <- UMasterLevel::Tick <- TickLevel <- UGameEngine::Tick <- UpdateWorld <- MainLoop   I don't know what the reason is. Can you help me?
  • 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