- 0
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..
Question
VaggOne
Hello everyone!!
I find this code "captcha" u see above. I checkout latest version of l2jaCis and i apply the patch!
Everything was ok until i find that some lines are wrong for this version so i try (with my low knowledge) to adapt it correctly but i still cant fix the error in BotPreventionManager.Java and in Captcha.java. i Post you the "error" so if someone knows what i must do exactly or what i must change in order to work properly i ll be very very thankfull!
public void updatecounter(L2Character killer2, L2Character l2Character) { if ((killer2 instanceof Player) && (l2Character instanceof Monster)) { Player killer = (Player) killer2; if (_validation.get(killer.getObjectId()) != null)Player and monster cannot be resolved and is with red line under!
The code has import for instance.Player but thats doesnt exist on that rev of aCis so i change it to L2PcInstance. and has import for Character that i change to L2Character cause that also doesnt exist on this rev!
anyway maybe i was do it wrong and maybe need something else in order to adapt on the latest rev correctly! (Im new to java coding so be easy on me.)
2 answers to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now