Jump to content

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


Recommended Posts

Posted

I'm happy to announce that with the help of janiii and his informations on l2jserver forum, vampir's help from MxC, and my little work, here is an captcha antibot system... Lets give you the files and then i'll tell you some more information about how it works :)!

 

Chronicles: Last L2JServer Freya Rev. (it can be used on any chronicle with some small changes)

 

Bugs: Every bug found till 20/6/2011 is fixed.

 

* Core Side Patches:

L2Npc.java (starts the captcha system when a monster dies) (V2 Update: Changed to L2Npc.java instead of L2Attackable.java to add the specific NPC feature, gonna tell some words about this later ^^)

L2PcInstance.java (If you cant add this one, just add everything at the last line of l2pcinstance) (V2 Update: I dont remember and im bored to check :P)

build.xml (This one will add on your build/compile 2 required files i will give you below) (V2 Update: Nothing Changed)

.classpath (This will allow you list those files on Eclipse, add it manual please ^^) (V2 Update: Nothing Changed)

- If you have an error that have to do with PledgeCrest.java file, you will also need the 2 following patches!

RequestPledgeCrest.java (Just a small change in order to use the .dds converter, its the last updated one, nothing changed by me, as i remember :P)

PledgeCrest.java (Just a small change in order to use the .dds converter, its the last updated one, nothing changed by me. as i remember :P)

 

* DP Side Patches:

Antibot.java (Its the script/voicedhandler that uses the html about the answer you give) (V2 Update: Adds Tries system, gonna give you picture bellow)

Captcha.java (V2 Update: Adds .captcha feature, check the preview picture bellow)

MasterHandler.java (Simply registers the voicedcommandhandler) (V2 Update: Added one more handler that adds .captcha feature ^^)

 

* Files That Are Required:

Library Files (You should add those 2 .jar files on your libs folder (on your workspace/gameserver))

Data File(s) (Just a simple 256x64 .png file to start generating captchas based on this file, add it on gameserver)

 

By the way, thats all, the only thing i have to say is that you have to change the mob-counter that the html popups,

//L2Npc.java

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

Change that "50" to the number that you want to popup the message, for example this one will make the html popup every 50 monster-kills (Do not edit this -> "player.getKills() == 0", its there in order to avoid botting, can't explain it but its for your server's protection ^^)

                                      ------------------------------------------------------

 

And you will have to also change the ID of the NPC that is the Farming mob.**

 

//L2Npc.java

if(getNpcId() == 10012 && (killer instanceof L2PcInstance) || (killer instanceof L2PetInstance) || (killer instanceof L2SummonInstance))

 

To do this you will have to change that "10012" to your NPC id....!

 

**If you want to remove that specific NPC feature, simply delete this "getNpcId() == 10012 &&" and make it looks like this -->

//L2Npc.java

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

                                      ------------------------------------------------------

Preview of the HTML:

shot00227m.png

 

The image you can see on the HTML review is generated server side and sent to user as Crest image in .dds format with random name.

 

Waiting for feedback!

 

Credits: vampir (he helped me, i had a problem coz of my limited knowledge of java), janiii (gave us on l2jserver forum the method that we have to use to

make that random generated image) and me ( pipiou21/Pipiou211/ElaYes ) coz i have created it ^_^!

Posted

Nice work bro...I like it!!

I like that you like it, please add, test and tell me if everything its ok, you have to know that if a second html of captcha will appear during the 1 minute of the previous one, some sync problems are going to happen, better do it to see the little <<problem>> and solve it if you need to, but anyway you are not going to spam players more than 1 captcha htmls in one minute, so no reason to care about this little "bug".

Posted

Nice Share, I will test.

[Hidden post: You need 150 posts or become a VIP or Donator member to see it. You currently have 62.]

You have 6 posts and will test? Funnyboy..

Posted

I think is the better anti-bot system ;) nC work!

 

 

IT is the Best ...! TEsted allready and L2Net cannot bypass it ;) ..! THanks for share ..!

Posted

pipiou21 i apply patchsome manually ok,but at compile got 2 errors plz help me fix it

C:\workspace\L2J_Server_BETA\java\com\l2jserver\gameserver\model\actor\L2Attackable.java:17: package gov.nasa.worldwind.formats.dds does not exist

    [javac] import gov.nasa.worldwind.formats.dds.DDSConverter;

    [javac]                                      ^

    [javac] C:\workspace\L2J_Server_BETA\java\com\l2jserver\gameserver\model\actor\L2Attackable.java:654: cannot find symbol

    [javac] symbol  : variable DDSConverter

    [javac] location: class com.l2jserver.gameserver.model.actor.L2Attackable

    [javac] PledgeCrest packet = new PledgeCrest(imgId, DDSConverter.convertToDDS(captcha).array()); //Convertion to DDS where is antybot

    [javac]                                             ^

    [javac] 2 errors

 

BUILD FAILED

Posted

//package gov.nasa.worldwind.formats.dds

 

 

You dont did it right, add libs folder and edit .classpath and build.xml files!

Also add the pledgecrest and request (blablabla) patches (that i gave on first post) on your pack.

Posted

It is very nice anti-bot, but i am a little newbies at developimg, and i don't understand what i must do with those files...

can you be more specific? or some photo will help too.. thnxs

Posted

It is very nice anti-bot, but i am a little newbies at developimg, and i don't understand what i must do with those files...

can you be more specific? or some photo will help too.. thnxs

 

Well, add those 2 files (libs, the 2 .jar files) on your folder "libs" on your workspace/l2j_gameserver/libs, and then open your file named "build.xml", and if you scroll down or search "libs" you will see some files listed like "libs/blablabla.jar", list like the the 2 files i gave you, do this also on a file named "(nofilename).classpath", those 2 files are both on "workspace/l2j_gamerserver" folder.... When you do this open your eclipse, choose your project (l2j_gameserver) and then press F5 (to refresh and list the 2 files, worldwind.jar etc.).

 

 

PS: if you dont know how to add a patch please search for a guide :).... I'm not that good at expaining that good :)... There are more guides on maxcheaters

Guest
This topic is now closed to further replies.



  • Posts

    • ⭐⭐⭐⭐⭐L2Lusty 50x [Essence - High Five] Start 08 February⭐⭐⭐⭐⭐  L2Lusty Essence - High Five 50x Website: https://l2lusty.online/ Starts on 08/02/2025 16:00 London Time Rates: XP 50X, Adena 20X, Spoil 20X, Drop 20X, Max enchant +16 with 50% normal and 60% blessed, Chaos Event whit 3x Lcoins Drop 24h Website:  https://l2lusty.online/
    • Hi, I inviting you to join L2Einhovant server, lets give them chanse. It's x1 Classic with some bonus futures, no duals box, no wipes, buffs stores and etc. Grow up by litle steps together with the server population.   🔥 Why L2Einhovant? ✅ Authentic Classic Gameplay – No dual box, all classes inportant, no auto farm. ✅ Hardcore x1 Rates – A true test of your gameplay skill, level up stages. ✅ Active Community & Fair Administration – A server built for passionate players. ✅ Long-Term Stability – Grow your character in a world that lasts.   Gather your allies, sharpen your weapons, and prepare for an unforgettable journey. Join to our comunity now and prepare for start.   Open beta: 1th February. Grand opening: 7th February, 20:00 UTC+2.   🔗 Discord: https://discord.gg/zfKd4tU9N2
    • ElmoreLab Harbor - Eternal C1 x1: ✅ https://harbor.elmorelab.com ElmoreLab Harbor - Eternal C1 x1 - is an exclusive server of the Eternal C1 chronicles from the top project ElmoreLab Harbor.   A unique server of its kind, on which everyone will have maximum pleasure, such as oldschool players who dream of nostalgia and to feel the warmest and classic C1 chronicles, as well as experienced players who are tired of thousands unbalanced servers of late chronicles. Due to the professional corrections of the balance system and the HONEST gameplay system - on this server, EVERY player will feel like in their own, warm and cozy Harbor C1. Let's return to the origins of L2 - back to 2004 in C1! ❤️   ⭐ Server characteristics:   STRICTLY 1 window, NO BOXES Bans for RMT and bots/cheats No donations with benefits Unique and high-quality PTS-build from Master Toma Professional corrections and full class-balance Reworked economy and closed all abuses Improved animations and all aspects of the game Exclusive HD-client with high-quality textures Experienced administration and management Fixed all bugs, geodata, exploits and holes Maximum sociality due to the 1-box system Discovering, exploring and researching Big online International server Nostalgia and oldschool-feelings   Rates: x1 Server start: 14.02.2025   The server is at the final stages of development and preparation for release. Information on the server will be updated, soon the patchnotes and changes/edits will be posted. Don't miss the legendary and epic experience on the best server in the last 20 years! ❤️ Join our C1-forum with a lot of information about server and active discussions.   ⭐ Website: https://harbor.elmorelab.com   ✅ Forum: https://forum-harbor.elmorelab.com   💥 Telegram: https://t.me/l2harbor https://t.me/l2harbor_chat   ⚡ Discord: https://discord.gg/harborelmorelab
    • yeah ok, if you say what is fuctional 100% i can't say something different 😛  but if someone find hard to compile it or get vs and all that things i have here one more simple way here to put overlay in your own server or to change your window name with few money.
  • Topics

×
×
  • Create New...