Jump to content

Recommended Posts

  • 2 weeks later...
Posted

Dude nice share u did very good work and i tested this code..!

the results is its working BUT if you have max enchant +15 for armors and max enchant +20 for weapon then if a normal player enchant his weapon more than +15 and he equip it or unequip it then he will get ban!

why ? because you make it like this:

if (i.getEnchantLevel() > Config.ENCHANT_MAX_WEAPON || i.getEnchantLevel() > Config.ENCHANT_MAX_ARMOR || i.getEnchantLevel() > Config.ENCHANT_MAX_JEWELRY)

and the enchant matter for all enchant max possiblites !!! so or you will make all items (weapon, armor, jewelry) max enchant +20(or what ever you want) but the same max in all or dont put this code cause many people will get ban if they have +16 weapon and the max for armor or jewels are +15 max enchant...so they will get ban for nothing at all but for a stupid fault...!

  • 1 month later...
Posted

after what line i need to put first code? thx

 

Everything is explained in 1st post by author of this thread.

  • 2 weeks later...
Posted

hmm, good idea but you can make that in time when player is enchanting, and like sey one man that

if (i.getEnchantLevel() > Config.ENCHANT_MAX_WEAPON || i.getEnchantLevel() > Config.ENCHANT_MAX_ARMOR || i.getEnchantLevel() > Config.ENCHANT_MAX_JEWELRY)

have error, i dont see that

Guest
This topic is now closed to further replies.



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