Jump to content

An4rchy

Legendary Member
  • Posts

    2,656
  • Credits

  • Joined

  • Last visited

  • Days Won

    26
  • Feedback

    100%

Everything posted by An4rchy

  1. Yeah, you were kicked because you leaked. Anyway.
  2. Like i said, fofas couldn't have created that. He was even begging me to sell him aCis, lol. But i expected it to be saving the jackpot.. Anyway, good job and thanks ;)
  3. Index: java/net/sf/l2j/gameserver/handler/itemhandlers/EnchantScrolls.java =================================================================== --- java/net/sf/l2j/gameserver/handler/itemhandlers/EnchantScrolls.java (revision 5343) +++ java/net/sf/l2j/gameserver/handler/itemhandlers/EnchantScrolls.java (working copy) @@ -35,6 +35,7 @@ 951, 952, 953, 954, 6573, 6574, // c grade 955, 956, 957, 958, 6575, 6576, // d grade 959, 960, 961, 962, 6577, 6578 // s grade + , 65535 }; Index: java/net/sf/l2j/gameserver/clientpackets/RequestEnchantItem.java =================================================================== --- java/net/sf/l2j/gameserver/clientpackets/RequestEnchantItem.java (revision 5343) +++ java/net/sf/l2j/gameserver/clientpackets/RequestEnchantItem.java (working copy) @@ -206,6 +206,34 @@ || (item.getItem().getBodyPart() == L2Item.SLOT_FULL_ARMOR && item.getEnchantLevel() < Config.ENCHANT_SAFE_MAX_FULL)) chance = 100; + + if (scroll.getItemId() == 65535) + { + int NEEDED_ENCHANT_LEVEL = 10, + MAX_ENCHANT_LEVEL = 16, + CHANCE_WEAPON = 80, + CHANCE_ARMOR = 80, + CHANCE_JEWEL = 80; + + if (item.getEnchantLevel() < NEEDED_ENCHANT_LEVEL || item.getEnchantLevel() > MAX_ENCHANT_LEVEL) + { + activeChar.sendMessage("You can only enchant with this scroll from +"+NEEDED_ENCHANT_LEVEL+" to +"+MAX_ENCHANT_LEVEL+"."); + return; + } + + if (item.getItem().getType2() == L2Item.TYPE2_WEAPON) + { + chance = CHANCE_WEAPON; + } + if (item.getItem().getType2() == L2Item.TYPE2_SHIELD_ARMOR) + { + chance = CHANCE_ARMOR; + } + if (item.getItem().getType2() == L2Item.TYPE2_ACCESSORY) + { + chance = CHANCE_JEWEL; + } + } if (Rnd.get(100) < chance) { Prepei na work. Opou 65535 antikatestise to me to item id apo to custom scroll sou.
  4. Are you trying to say that fofas coded this?
  5. Lol. Casino is shared. And this jackpot is done by saving a variable to database, or even a txt file. 10 euros are too much, even 5.
  6. GJ kalos ;) Btw, to Rnd.get(x) sou dinei enan arithmo apo to 0 mexri to x-1... Checkare to ligo..
  7. This code needs php. I don't think it can be done only with Java.
  8. Definitely skilled and trusted member. Good luck bro ;)
  9. To 3 den tha sto protina, kathws gia na diorthoseis ta bugs sto interlude l2j tha sou parei kairo, idietera an den exeis gnoseis java. Gia mena, i plirose kapion(des to marketplace, o Rain^ einai diathesimos apoti nomizw), i katse na asxolitheis o idios kai anoikse ton se ligo kairo(basika mporei na einai kai polis kairos, giati den einai kai eukolo na matheis ti pezei trigiro ;)). To l2jfrozen apoti kserw dn exei bugs pou na douleuoun, dld dn exei stuck skills kai teties -beep-ies.
  10. Poli kalo guide, ekseretika xrisimo gia kapion pou mathenei na douleuei se java mesw l2j(dld xoris na diabasei kapio biblio i na kanei mathimata). An to katalabete, tha mporeite na kanete polla perissotera pragmata, opos events etc ;)
  11. About the 14 events.. If it's Rizel event engine, my opinion is not to add this. Also it would be better to remove completely the blessed scrolls. Enchanting is really missed on l2 servers nowadays. Where's the excitement from enchanting weapons to the last scroll before max enchant. Old good days. Good luck though.
  12. Seriously, think what you are about to post, before you do it. It's only a modified code on higher chronicles. Why would it be impossible to do it on il too? :S
  13. What about events? Are there any? And try to add something unique, these are the most common high rate pvp server features nowadays.
  14. Server is online guys, i can log in. Btw server is awesome.
  15. Oh please. If you want to code something so simple and share it, at least do it in the best way possible.
  16. Trusted and definitely skilled. GL bro.
  17. What about augmentations? Also think about some weekly/monthly events, with rewards for example an AIO character(with buffs) or whatever. It got nice features, but i don't like the fact that you need to craft/farm for weapons/armors... GL though!
  18. Since a getInstance() method exists in Donate.java, you don't need to set the methods to static. You get a new object of the class with the getInstance() method...
×
×
  • Create New...