Jump to content

[Share]OverEnchant Fix! (Anti-Hacker)


Nefer

Recommended Posts

Other one solution  is with sql query which will be exec every x mins or hours. This query may be added with other like ban char or kick char or sent him to jail or everything you want. This coz between revs may be, there are differenses in the cod and dont need to compile again and again after new update.

Link to comment
Share on other sites

... i have one question for all who sey "thx" do you read or test that code?

if (!activeChar.isGM() && item.getEnchantLevel() > Config.ENCHANT_MAX_WEAPON || item.getEnchantLevel() > Config.ENCHANT_MAX_ARMOR || item.getEnchantLevel() > Config.ENCHANT_MAX_JEWELRY)

and what that code do:

you have max enchant armor 20 weapon 30 and jawel 10, if you will use that script all who get enchant weapon or armor bigger then 10 get lost that becouse that script look on encahnt and if he is bigger then max enchang weapon OR armor OR jawels then delete item

 

endriu23 he spam like you just he write that faster ;]

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.



×
×
  • Create New...