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.)
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.
DISCORD :
utchiha_market
telegram :
https://t.me/utchiha_market
SELLIX STORE :
https://utchihamkt.mysellix.io/
Join our server for more products :
https://discord.gg/bDVQYKMUb3
https://campsite.bio/utchihaamkt
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
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.