Jump to content

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


Recommended Posts

Posted

i reworked the code, made features to suit my server

 

Changes:

kicks player from game if answering incorrectly, fixed the L2gaurd,L2 summon problem

 

before summon could still attack while character paralyzed...i fixed to make summon freeze aswell

but yes very good foundation to create something nice

Posted

i reworked the code, made features to suit my server

 

Changes:

kicks player from game if answering incorrectly, fixed the L2gaurd,L2 summon problem

 

before summon could still attack while character paralyzed...i fixed to make summon freeze aswell

but yes very good foundation to create something nice

 

Its possible to make a bot that answers worng all the time.... So they will simply get kicked?

About the summon you are right, i have done it also the same way i was paralyzing the player with the only difference that i have used the method "player.getPet()"..

Anyway.... Its your server and you know how to do things on your pack... Good luck.

  • 3 weeks later...
  • 2 weeks later...
Posted

hele me. runtime error.

Exception in thread "AISTPool-3" java.lang.NullPointerException

at com.l2jserver.gameserver.model.actor.L2Npc.doDie(L2Npc.java:1522)

at com.l2jserver.gameserver.model.actor.L2Attackable.doDie(L2Attackable.java:524)

at com.l2jserver.gameserver.model.actor.instance.L2MonsterInstance.doDie(L2MonsterInstance.java:161)

at ai.group_template.DenOfEvil$KashaDestruction.destroyZone(DenOfEvil.java:221)

at ai.group_template.DenOfEvil$KashaDestruction.run(DenOfEvil.java:202)

at com.l2jserver.gameserver.ThreadPoolManager$RunnableWrapper.run(ThreadPoolManager.java:86)

at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)

at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)

at java.util.concurrent.FutureTask.run(FutureTask.java:166)

at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:178)

at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:292)

at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)

at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)

at java.lang.Thread.run(Thread.java:722)

GlobalVariablesManager: Database updated.

 

Line : com.l2jserver.gameserver.model.actor.L2Npc.doDie(L2Npc.java:1522)

if(player.getKills() == 20 || player.getKills() == 0)

 

 

You should disable DenOfEvil script (check data/scripts.cfg file) ... This error is not fixxed yet and its the only solution.

Posted

did any1 managed to adapt it to interlude? after i get the captcha for the first time and press Confirm nothing happens (i remain paralyzed)

 

also why is there a 1-2 sec lag after killing a mob (when a captcha is supposed to pop-up)

Posted

did any1 managed to adapt it to interlude? after i get the captcha for the first time and press Confirm nothing happens (i remain paralyzed)

 

also why is there a 1-2 sec lag after killing a mob (when a captcha is supposed to pop-up)

 

 

About the paralyze, Antibot.java and Captcha.java are the files that unparalyze the character

(also after the timer ends it unparalyzes the character) . You should check them ...

 

About the 1-2 second(s) lag, server is using some "methods" or something to make the captcha picture, convert it to .dds file and send it as crest (worldwide.jar and jogl.jar files contains some of those "methods"). So that "1-2 second(s) lag" is common if your internet connection is low or your pc is kind of crappy (Ofc im talking about the computer server is hosted.) ...

 

Thats the only way i can explain this problem.

Guest
This topic is now closed to further replies.



  • Posts

    • And Discord: https://discord.gg/3aYqWNqb
    • Ofc: https://discord.gg/3aYqWNqb
    • You can find some H5 skins shared in old L2 modding Discords, but most of the higher‑quality ones are either paid or come bundled with full client edits. I usually mix in commissioned work and whatever I can patch myself. On a side note, I fund a lot of these commissions by selling off game items through instant sell cs2 skins, which has been a quick way for me to get some cash for projects.
    • There is no need for gRPC in this case, even tho originally it was gRPC based but since we don't need it to be bi-directional, we switched to simple http requests for the web calls and SSEs for the data streamed from the server. There are distributed locks in place to precent race conditions between actions that can happen between multiple web instances and the server.   Local models can also be slow depending on the model, and most external models can actually be faster than local ones if you use Flash 2.5 or something along those lines. I am running on 512GB of Unified Memory on my Mac Studio M3 Ultra so the speed of the local model for a small model is pretty good but I tested it with Gemini too and it works equally as fast and in some cases faster. The way it works is that I'm using pgvector (one of the benefits of moving to Postgres) to search the data and see what the player can see etc and there is some batching of the next few actions for 2-4 seconds for the user until the next LLM request fires. The batching also includes branching on logic so if they for example fall under some HP they will move to kiting instead of attacking or maybe they heal etc.   Everything is authed and permission-based. The server and the backend of the frontend have secure communication between them, either with a symmetric key (not recommended for production) or a certificate (the recommended way), so there is no worry. It's all tied to the account's access level, etc., so nobody can make an action that they normally wouldn't be allowed to do. Even the MCP is token-based, and there are prompt injection protections in place. The MCP is audited, and every mutation needs confirmation. The admin area is only accessible to the admin account anyway so normal users can't access it.  
  • 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..