AwakenDemon Posted December 24, 2009 Posted December 24, 2009 ty it works.man you should better post and where u put this for newbies :) i mean e.t.c after this blablabla
FrouFrou~ Posted January 11, 2010 Posted January 11, 2010 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...!
DnR Posted January 13, 2010 Posted January 13, 2010 Very good share,but please take a look at pets like Versus said.
albatron Posted February 18, 2010 Posted February 18, 2010 after what line i need to put first code? thx
Matim Posted February 20, 2010 Posted February 20, 2010 after what line i need to put first code? thx Everything is explained in 1st post by author of this thread.
varens Posted March 3, 2010 Posted March 3, 2010 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
Recommended Posts