Jump to content

[Share]OverEnchant Fix! (Anti-Hacker)


Nefer

Recommended Posts

  • 2 weeks later...

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...!

Link to comment
Share on other sites

  • 1 month later...
  • 2 weeks later...

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

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.



×
×
  • Create New...