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.


×
×
  • 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