Jump to content
  • 0

[request]java code


Question

Posted

iparxei kana java code pou ta blessed na sou pigenoun to + px sto +10??? anti na to pigenoun apo tn arxi??? i an 3erete genika pws tha mporousa na to alla3o afto monos m... plzz help me..

11 answers to this question

Recommended Posts

  • 0
Posted

Δέν είμαι σίγουρος αλλά δοκίμασε αυτό

 

if (activeChar.enchantwithblessed())

        {

        activeChar.enchanted +10();

        }

  • 0
Posted

Anoikse auto to java arxeio

RequestEnchantItem.java

 

to opio 8a to breis edo

\java\net\sf\l2j\gameserver\clientpackets

 

Psakse gia autes edo tis grammes

 

            	else
           	{
           		sm = new SystemMessage(SystemMessageId.S1_S2_SUCCESSFULLY_ENCHANTED);
           		sm.addNumber(item.getEnchantLevel());
           		sm.addItemName(item.getItemId());
           		activeChar.sendPacket(sm);
           	}
           	item.setEnchantLevel(item.getEnchantLevel()+1);
           	item.updateDatabase();
           }
       }

 

Allakse to noumero stin grammi authn k eisai etoimos, afou to kaneis compile meta ennoeite...

 

item.setEnchantLevel(item.getEnchantLevel()+1);

 

Elpizo na se boi8isa...

 

PS: Auto 8a allaksei k to normal enchant sou tora gia ta blessed psaxto ligo k esy , ego aplos sou edosa tin bash ;)...

  • 0
Posted

mporeis na to kaneis apo ta xml kai messo java sto scrolls.java

apo poia xml akrivws???

Δέν είμαι σίγουρος αλλά δοκίμασε αυτό

 

tha to dokimaso k tha sou pw...

Anoikse auto to java arxeio

RequestEnchantItem.java

 

to opio 8a to breis edo

\java\net\sf\l2j\gameserver\clientpackets

 

Psakse gia autes edo tis grammes

 

            	else
            	{
            		sm = new SystemMessage(SystemMessageId.S1_S2_SUCCESSFULLY_ENCHANTED);
            		sm.addNumber(item.getEnchantLevel());
            		sm.addItemName(item.getItemId());
            		activeChar.sendPacket(sm);
            	}
            	item.setEnchantLevel(item.getEnchantLevel()+1);
            	item.updateDatabase();
            }
        }

 

Allakse to noumero stin grammi authn k eisai etoimos, afou to kaneis compile meta ennoeite...

 

Elpizo na se boi8isa...

 

PS: Auto 8a allaksei k to normal enchant sou tora gia ta blessed psaxto ligo k esy , ego aplos sou edosa tin bash ;)...

nai ama deis omos ama alla3eis to +1 se +10 tha sou kanei enchant 10 10 oxi 1 1 k meta otan spasei na sto paei 10 :P ..
  • 0
Posted
file m dn me katalaves ti thelw na kanw... dn thelw na fixaro anti phx enchant.... aplws thelw me ta blessed otan spaei ena weap na to pigeni sto +10 anti na to pigeni sto +0 .. elpizo na me katalaves twra...!!
  • 0
Posted

file m dn me katalaves ti thelw na kanw... dn thelw na fixaro anti phx enchant.... aplws thelw me ta blessed otan spaei ena weap na to pigeni sto +10 anti na to pigeni sto +0 .. elpizo na me katalaves twra...!!

to ksero oti den 8es gia na ftiaxeis to phx-enchant alla sto guide auto leei pos na pareis ta opla ktlp apo to shop kateu8eian sto +10 p.x. , tora gia na kaneis auto akribos pou 8es esy den ksero, 8a to psakso ligo k 8a sou po

 

 

Edit:  RequestEnchantItem.java

 

  if (!blessedScroll)

            {

                if (item.getEnchantLevel() > 0)

                {

                    sm = new SystemMessage(SystemMessageId.ENCHANTMENT_FAILED_S1_S2_EVAPORATED);

                    sm.addNumber(item.getEnchantLevel()+10); <--------

                    sm.addItemName(item.getItemId());

                    activeChar.sendPacket(sm);

                }

8a to breis stis Line 244 -252 , logika 8a leitourgisei etc alla den to dokimasa...

  • 0
Posted

to ksero oti den 8es gia na ftiaxeis to phx-enchant alla sto guide auto leei pos na pareis ta opla ktlp apo to shop kateu8eian sto +10 p.x. , tora gia na kaneis auto akribos pou 8es esy den ksero, 8a to psakso ligo k 8a sou po

 

 

Edit:  RequestEnchantItem.java

8a to breis stis Line 244 -252 , logika 8a leitourgisei etc alla den to dokimasa...

egw eixa alla3ei to pio panw :P ... paw na to dokimaso k tha sou pw file m...!!
Guest
This topic is now closed to further replies.


  • Posts

    • Grand Opening: April 11, 2026 Website: https://l2strive.com Discord: https://discord.gg/SsUARZpbkG   🛡️ Server Rates Strive is a High Five Mid-PvP/Craft Server  Experience (XP): x15 Skill Points (SP): x15 Adena: x10 Drop: x15 Spoil: x3 Safe Enchant: +3 Max Enchant: +16 ⚔️ Enhanced Boss Jewelry     ⚔️ Making Bosses Useful Again Let’s be real: usually, Core, Orfen, and Baylor are just placeholder bosses that nobody cares about. We’ve overhauled their jewelry to make them legit end-game gear. We’ve turned these into high-value targets for PvP—if you want these massive percentage boosts, you’re going to have to fight for them.   ⚔️ Enhanced Boss Jewelry   💍 Improved Ring of Core Base Stats: M.Def 48 | HP +445 | MP +21 Offensive: P. Atk +12% | M. Atk +12% Critical: Physical Critical Rate +14 | Magic Critical Rate +2 Utility: Skill Reuse Delay -10% | MP Consumption -5% 🛡️ Improved Earring of Orfen Base Stats: M.Def 71 | MP +31 Defensive: P. Def +15% | M. Def +15% Recovery: Vampiric Rage +4% | Healing Received +6% Resistances: Bleed / Poison / Root / Sleep +20% (Chance & Resistance) 💎 Baylor's Earring Base Stats: M.Def 71 | MP +31 Speed: Atk. Spd +5% | Casting Spd +5% Combat: MP Regeneration +5% Resistances: Stun / Paralyze +30% (Chance & Resistance) 🚀 Core Features Full & Enchanted Buffs: Enjoy 6-hour durations on all standard and enchanted buffs. Premium Buffs: Premium users benefit from extended 9-hour buff durations. 100% Free AutoFarm: Built-in system for seamless progression while away from your PC. Custom Shop: Professional and intuitive UI for all essential equipment and consumables. NPC Buffer: Full scheme support to get you battle-ready instantly. Stability: Dedicated high-performance hardware with professional Anti-DDoS protection.  
    • Hello,   im looking for c4 client developer that can fix some issues, missing icons etc. if you are l2off developer then even better.   its easy ones, fix few skill icons, item icon, easy money if someone has time. I guess its lack of files in my patch, but might be smth other   contact with me on discord: endART_#6190 @DumanisT @SkyLord @XManton @Fr3DBr @mjst @Sighed any ideas who could help me XD
  • 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..