kampias Posted July 16, 2011 Posted July 16, 2011 Hello. To my server for example you have 50 cp right? you press one time cp and pap pap pap pap pap :D my problem is that is use cp handreds of times with no stop. how i can fix it this? can someone help me because is emergency situation to my server Quote
0 kampias Posted July 17, 2011 Author Posted July 17, 2011 Good morning. Well any solution for my problem? Quote
0 vagos123 Posted July 17, 2011 Posted July 17, 2011 maybe you could add a flood protector specially for cp potions Quote
0 UnixCode Posted July 17, 2011 Posted July 17, 2011 maybe you could add a flood protector specially for cp potions yea he can, he just puts a check: if (item.getId() == CPPOTiD) { //MAIN CODE } Quote
0 vagos123 Posted July 17, 2011 Posted July 17, 2011 yea he can, he just puts a check: if (item.getId() == CPPOTiD) { //MAIN CODE } well that's the only thing he can do. He can add this in the Potions.java itemhandler : if (item.getId() == CPPOTiD) && (!FloodProtector.getInstance().tryPerformAction(activeChar.getObjectId(), FloodProtector.PROTECTED_CP_POTION)) { activeChar.sendMessage("Chill Out! You Can't Use CP Pots so fast!"); return; } and then just go to the FloodProtector.java file and create the field PROTECTED_CP_POTION and add the reuse time And you are //done Quote
0 Tryskell Posted July 17, 2011 Posted July 17, 2011 Come on guys and floodprotector lolfix. fPs aren't supposed to work like/for that. From what I understand, when you push once the CP potion, you got constant use of them instead of only 1. So here are some questions : - does it work for any potion type ? You know as me HPs pot got a cooldown of some seconds, but do mana potion, or any potion with instant effect, do the same effect ? - does it consumes really a potion to each "pam pam pam" (as you described them), or is it only the skill effect ? - does it spam only when you push F1-12 buttons, or does it spam aswell when you double click from inventory ? Quote
Question
kampias
Hello. To my server for example you have 50 cp right? you press one time cp and pap pap pap pap pap :D
my problem is that is use cp handreds of times with no stop. how i can fix it this? can someone help me because is emergency situation to my server
5 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.