Jump to content

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

Recommended Posts

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,


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



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


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


Preview of the HTML:



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 ^_^!

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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



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

Link to comment
Share on other sites

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



Link to comment
Share on other sites

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

Link to comment
Share on other sites

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

Link to comment
Share on other sites

This topic is now closed to further replies.

  • Posts

    • https://maxcheaters.com/topic/223806-driver-service-for-all-servers-reborndionclub-and-more/
    • L2RAPTOR continues to grow!! We have players and clans from Europe, South America, Russia, and Ukraine. Come join us! Server will stay open minimum 1 year!
    • Greetings, dear friends Today, I’d like to tell you a little story. It’s a story of how we constantly innovate, while other admins are just copying what we do without any inspiration. It’s a desperate cry from others to stay relevant when we put our on the table (you read that, I didn’t say it). You will see this happening again with our new server. You will start seeing lots of servers start working on implementing their own version AI players when our server starts getting attention. It’s not that we are ahead of our times, it’s that other servers don’t give a shit, they just want your wallet. Why are you still playing on scam servers? I’ve said it 10k times already. We do the work we believe is best instead of scrambling up random average features to bait people into joining a boring but profitable server. We want an extremely transparent, fair, and fun server because it’s also going to be extremely profitable and satisfying. Reject scam servers, join legit servers. Here’s a list of legit servers: L2Aqua If you want your server added to the list, let me know. If you want me to create a new voting site where we only accept legit servers, let me know. Here’s a list of everything servers have copied from us over the years Our old friend nuked our database and made his own server, web, and client from our own effort. We’ve reworked our client, web, and server since - while it seems that this other project is stuck in the past. Servers are using our old clients with all our skins, armors, animations, etc. They won’t fix the very obvious client bugs we’ve long fixed Servers ripped up Hubris interface which he made from 0 and copied and shared components even when he has released a public code for the interface Some servers even had the audacity to ask us for help on how to adapt it for their own server Lots of Skins stuff, like Twitch Cloak (I made it myself back when there were only a few L2 streamers around), Pandemonium armor, Paragon armor, Phase armor, Vesper Noble Weapons, Lava Weapons, Devil Weapons , basically everything… Can you imagine how lame you have to be to be using Devil weapons on a server that’s not L2Devil and not even renaming them? Basically our whole work which we did from 0 over all these years is shared around the internet. Have fun if you find it, go on and use it! Just… don’t ask us for support? If you gave credit I’d actually respect you more. Now, these are kind of easy to see. You make a cool weapon, I copypaste the weapon into my own client, and I now have the weapon too, yay! Thank you for your hard work! What’s not so easy to see is how we set the standards in the scene and later people adapt to us. We created the standard: Buffs amount, Buffs in the NPC Buffer, Item prices, Items in the GM Shop, Steal not overbuffing, Cancel returning buffs, automatic potions, you think about it, there’s a chance we did it first and people adapted. Get ready because it’s coming. Once the server starts skyrocketing in population, scam admins are going to scramble for their own barely functional version of AI Players! I’m calling it now because it’s fun to brag about later Even the description isn’t safe One of the things that I never understood is why are other servers copying our server description? Like, is it our server too? It first started happening with L2Aeron a long time ago, when I standardized how server descriptions should be formatted, and people copied the format. But this is on another level.           Can you be less imaginative and creative than that? We’ve already even changed our web, your web is outdated! Let’s see how much time before they adapt to our web’s changes. I don’t mind, do whatever, I just think it’s sad that you have no original thoughts to offer to your community. How many days before admins start posting daily with cool images? We’re flattered by the imitation, but remember that copying us can never replicate the heart and soul of our server. Our community is unique, and it’s built on the trust we share. Good luck creating trust copying others. So, when you see imitations, take pride in the fact that they’re inspired by the best. We’ll keep innovating and leading the way, setting standards for others to follow. Soon there will be more legit servers than scam servers. Watch us closely transform the Lineage 2 Scene with our success. We want everyone to copy our values. We want a better Lineage 2 Private Servers scene. Thank you for being a part of our extraordinary community.
    • Greetings, dear friends   Just passing by to show you this gem.   I've written these words on my webpage. Scam servers are using it as their server description.   It's not just ONE server! It's more and more servers copying.   Can we please stop supporting scam servers? Thank you!  
    • i dont understand the part with skill 7030 as the skill in config is 2046 why we put the parameter isagathion in 7030 skill id?  
  • Topics

  • Create New...

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disabled AdBlock