Jump to content

[Share] Captcha Antibot System [Updated 17.6.2011, Version 2] [Please LOCK IT .]


Recommended Posts

Posted

ok also for me it dont pop up i changed the 50 to Config.CaptchaCheck

 

and did it in config to 5 so donno what happend

 

errormq.png

 

this error i get everytime if i install in l2attackable or l2npc.java

 

Ah, its the common error with den of evil, you will have to open DevOfEvil.java (check your datapack, i dont remember if is this the right file) and check it.... I haven't found a solution and i have disabled this Quest to avoid the errors coz my server was pvp so i dont need it, you will have to search a bit to find a solution...

Posted

I tried to compile the Version 2 but I got an error on L2Npc.java on this part on 2 lines.

 

!(killer instanceof L2GuardInstance) && !(killer instanceof L2SummonInstance))

 

Also I didn't like it too much the npc version of it, because I got too many custom farm areas and custom npcs but anyway still the same thing, I got the same errors as before when using a summon.

The 3 tries didn't work and I got the antibot window after I killed every mob.

 

Posted

I tried to compile the Version 2 but I got an error on L2Npc.java on this part on 2 lines.

 

!(killer instanceof L2GuardInstance) && !(killer instanceof L2SummonInstance))

 

Also I didn't like it too much the npc version of it, because I got too many custom farm areas and custom npcs but anyway still the same thing, I got the same errors as before when using a summon.

The 3 tries didn't work and I got the antibot window after I killed every mob.

 

 

Really strange, you know how to read a code? Don't you? Well, if yes, then check whats going on about the every-mob-kill-html thing.... About the errors, i'll have to search a little bit, i'll use this bug at about 5 hours on my own pack, i'll find a standard solution and i'll post it, about my updated share, i'll also test what i have posted coz maybe smthing is missing (But i really dont think so that there is smthing that i haven't added).... Anyway... Report any other bugs you will find here, and i'll check them..... For now, im going to (try) fix denofevil, that bug with guards that are not spawning or smthing and that bug with summons.

 

Edit: About the NPC thing, just remove "getnpcid() == blablabla" from everywhere, but in my opinion, its better to define the npcs to avoid errors.... Who knows what errors are going to appear? :) Anyway...

 

 

Edit (17/6/2011): Everything is done exept GuardInstance that is not tested yet, (well im 99% sure that its also fixed).... I have cleaned the code and now its ready to use, I'm not also sure if DenOfEvil bug is fixed, please check and tell me!

Posted

All compile right but I got one thing not right on L2Npc.java

 

if((killer != null) && ((killer instanceof L2PcInstance) || (killer instanceof L2PetInstance) || (killer instanceof L2SummonInstance)))

 

error

Redundant null check: The variable killer cannot be null at this location
1 Quick fix Available
@ Add @SuppressWarnings("null") to 'doDie()'

 

So I add the SuppressWarning to it but I don't know if it was the right way to fix it>

 

EDIT 1:00 AM:

 

Then I change it to this:

if((killer instanceof L2PcInstance) || (killer instanceof L2PetInstance) || (killer instanceof L2SummonInstance))

 

Is that the right way to do it?

 

EDIT 1:30 AM

Run some tests with the summon pet and no errors. Also no errors with fortress unspawn of the guards.

Thank you m8.

 

You missed 2 imports on L2Npc.java:

+import com.l2jserver.gameserver.model.actor.instance.L2PetInstance;
+import com.l2jserver.gameserver.model.actor.instance.L2SummonInstance;

 

and an import on MasterHandler.java

+import handlers.voicedcommandhandlers.Captcha;

 

And there is some extra imports on L2Npc.java, just to let you know.

 

 

Posted

realy nice share, great job !

i have just one problem, when send captcha the window is black but it generate the captcha...

mybe something is wrong with the permissions of the captcha.png ?

anyone have the same problem ?

i will continue search for the fix ;)

Posted

All compile right but I got one thing not right on L2Npc.java

 

if((killer != null) && ((killer instanceof L2PcInstance) || (killer instanceof L2PetInstance) || (killer instanceof L2SummonInstance)))

 

error

Redundant null check: The variable killer cannot be null at this location
1 Quick fix Available
@ Add @SuppressWarnings("null") to 'doDie()'

 

So I add the SuppressWarning to it but I don't know if it was the right way to fix it>

 

EDIT 1:00 AM:

 

Then I change it to this:

if((killer instanceof L2PcInstance) || (killer instanceof L2PetInstance) || (killer instanceof L2SummonInstance))

 

Is that the right way to do it?

 

EDIT 1:30 AM

Run some tests with the summon pet and no errors. Also no errors with fortress unspawn of the guards.

Thank you m8.

 

You missed 2 imports on L2Npc.java:

+import com.l2jserver.gameserver.model.actor.instance.L2PetInstance;
+import com.l2jserver.gameserver.model.actor.instance.L2SummonInstance;

 

and an import on MasterHandler.java

+import handlers.voicedcommandhandlers.Captcha;

 

And there is some extra imports on L2Npc.java, just to let you know.

 

 

 

About killer != null, forget it, it was possible fix for spawning Guards, but its not needed, im going to also remove it.

 

About the Imports, im going to add them, thanks :)... Well i dont got errors coz im using

 

+import com.l2jserver.gameserver.model.actor.instance.*; (All instances there) :P... Btw, im going to fix the patches...

 

Again thanks for the feedback.

 

(Edit: I also forgot L2Spartan pack's imports, gonna change them :P)

Posted

Hey guys well first of all thanks for the share I add it to my files to try it out but I only get a black screen no errors any ideas how to fix this? thanks

Ps: Im using l2j h5

Posted

put data files in gameserver

I did (gameserver/data) i put in the folder of captcha and i still get a black box with nothing else I am missing something?
Posted

I did (gameserver/data) i put in the folder of captcha and i still get a black box with nothing else I am missing something?

Same problem here... I tested on the latest revision of H5 and didnt work :(
Posted

Same problem here... I tested on the latest revision of H5 and didnt work :(

 

Im using this on last high five revision and it works perfect as well as on freya....

 

By the way, there are 2 possibilities

First: For an unknown reason server does not send the packet with the image

Second: Smthing is wrong with your gameserver/data/captcha folder

Guest
This topic is now closed to further replies.



  • Posts

    • LIVE VERIFICATION? SUMSUB? “IMPOSSIBLE”? ▪ Spoiler: it is possible — if you know who to work with. A client came in with a task to pass **live verification** on **WantToPay**, a Telegram virtual card service. On the platform side — **Sumsub**: liveness check, SMS, manual review. “Fast” and “by eye” simply don’t work here. › What was done: → analyzed the verification scenario and Sumsub requirements → built the correct flow: phone number, email, timing → **completed live verification remotely, without account handover** → handled SMS and confirmation codes → brought the process to final approval ▪ Result: → verification passed → access granted → no flags or repeat requests ▪ Live verification is not luck. It’s scenario-based preparation — not hope. › TG: @mustang_service ( https:// t.me/ mustang_service ) › Channel: Mustang Service ( https:// t.me/ +6RAKokIn5ItmYjEx ) *All data is published with the client’s consent.* #verification #sumsub #livecheck #kyc #case
    • IMPORTANT INFO: In a few days, I will switch to completely new code, written from scratch with a new download system, patch building and management system. The Updater will become true 2026 code with "foolproof systems". I'm going to create a Discord server for customers to request new ideas and features. FIRST CUSTOMERS ARE ALREADY USING THE NEW UPDATER ON LIVE SERVERS! Watch this topic for upcoming info because the new updater is around the corner! Yes, you can still use self-update on the previous updater! No, the new updater won't be compatible with the old patch system! A new build is required, but players who already have game files won't have to download the entire patch again! New templates and updates to existing templates are coming soon! Sneak peek:  
    • i used guytis IL project and source. i found in his project there are 3 Client version source... 1,CliExt_H5   --->this one cant be compiled in VS2005,i did know why..is it for H5 client? 2,CliExtNew  --->this one is IL version ,but when i compiled it and use it.player cant login game,MD5Checksum wrong.i check the source code,but not found any hints. 3,L2Server    --->this one for HB client?im not sure...   so my question is what are the differences between these three versions of cliext.dll?how can i fix the issue of the MD5Checksum not matching problem?   01/29/2026 21:04:11.366, [CCliExt::HandleCheckSum] Invalid Checksum[1130415144] vs [-721420287] packet[dd] len[29] sum[2698] key[30] HWID[] Account[]! 01/29/2026 21:04:11.366, SocketLimiter::UserSocketBadunknownprotocol 11111111111 01/29/2026 21:04:11.366, [usersocket]unknown protocol from ip[113.137.149.115]!      
  • Topics

×
×
  • Create New...

Important Information

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