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

    • 流量套利 + SMM 面板 — 强大的增长组合. 通过社交信号加强推广活动,提高信任度和转化率,加速扩张。 为套利专员和 SMM 提供的所有工具 — 在一个地方. 有效链接: SMM 面板: 前往 – 推广您的社交媒体账户。 其他服务和产品: 数字商品商店(网站): 前往 商店 Telegram 机器人: 前往 – 通过 Telegram 信使方便访问商店。 虚拟号码服务: 前往 用于购买 Telegram Stars 的 Telegram 机器人: 前往 – 在 Telegram 中快速且优惠地购买 Stars。 SMM 面板: 前往 – 推广您的社交媒体账户。 我们想向您展示当前促销和特别优惠列表,用于购买我们服务的产品和服务: 1. 您可以在首次购买时使用促销代码:SOCNET(15% 折扣) 2. 获取 $1 商店余额或 10–20% 折扣——只需在我们网站注册后按以下模板填写您的用户名:"SEND ME BONUS, MY USERNAME IS..." ——您需要在我们的论坛主题中发布! 3. SMM 面板首次试用可获得 $1:只需在我们的网站(Support)提交主题为 “Get Trial Bonus” 的工单。 4. 我们的 Telegram 频道和 Stars 购买机器人中每周都会赠送 Telegram Stars! 新闻: ➡ Telegram 频道: https://t.me/accsforyou_shop ➡ WhatsApp 频道: https://chat.whatsapp.com/K8rBy500nA73z27PxgaJUw?mode=ems_copy_t ➡ Discord 服务器: https://discord.gg/y9AStFFsrh 联系方式和支持: ➡ Telegram: https://t.me/socnet_support ➡ WhatsApp: https://wa.me/79051904467 ➡ Discord: socnet_support ➡ ✉ Email: solomonbog@socnet.store
    • 流量套利 + SMM 面板 — 强大的增长组合. 通过社交信号加强推广活动,提高信任度和转化率,加速扩张。 为套利专员和 SMM 提供的所有工具 — 在一个地方. 有效链接: SMM 面板: 前往 – 推广您的社交媒体账户。 其他服务和产品: 数字商品商店(网站): 前往 商店 Telegram 机器人: 前往 – 通过 Telegram 信使方便访问商店。 虚拟号码服务: 前往 用于购买 Telegram Stars 的 Telegram 机器人: 前往 – 在 Telegram 中快速且优惠地购买 Stars。 SMM 面板: 前往 – 推广您的社交媒体账户。 我们想向您展示当前促销和特别优惠列表,用于购买我们服务的产品和服务: 1. 您可以在首次购买时使用促销代码:SOCNET(15% 折扣) 2. 获取 $1 商店余额或 10–20% 折扣——只需在我们网站注册后按以下模板填写您的用户名:"SEND ME BONUS, MY USERNAME IS..." ——您需要在我们的论坛主题中发布! 3. SMM 面板首次试用可获得 $1:只需在我们的网站(Support)提交主题为 “Get Trial Bonus” 的工单。 4. 我们的 Telegram 频道和 Stars 购买机器人中每周都会赠送 Telegram Stars! 新闻: ➡ Telegram 频道: https://t.me/accsforyou_shop ➡ WhatsApp 频道: https://chat.whatsapp.com/K8rBy500nA73z27PxgaJUw?mode=ems_copy_t ➡ Discord 服务器: https://discord.gg/y9AStFFsrh 联系方式和支持: ➡ Telegram: https://t.me/socnet_support ➡ WhatsApp: https://wa.me/79051904467 ➡ Discord: socnet_support ➡ ✉ Email: solomonbog@socnet.store
    • Traffic arbitrage + SMM panel — a powerful combination for growth. Strengthen campaigns with social signals, increase trust and conversion, scale faster. All tools for arbitrage specialists and SMM — in one place. Active links: SMM Panel: Go to – promotion of your social media accounts. Other services and products: Digital goods store (Website): Go to Store Telegram bot: Go to – convenient access to the store via the Telegram messenger. Virtual numbers service: Go to Telegram bot for purchasing Telegram Stars: Go to – fast and profitable purchase of Stars in Telegram. SMM Panel: Go to – promotion of your social media accounts. We want to present to you the current list of promotions and special offers for purchasing products and services of our service: 1. You can use a promo code for your first purchase: SOCNET (15% discount) 2. Get $1 on your store balance or a 10–20% discount — just write your username after registering on our website using the following template: "SEND ME BONUS, MY USERNAME IS..." – you need to post this in our forum thread! 3. Get $1 for the first trial launch of the SMM Panel: just open a ticket with the subject “Get Trial Bonus” on our website (Support). 4. Weekly Telegram Stars giveaways in our Telegram channel and in our bot for purchasing stars! News: ➡ Telegram channel: https://t.me/accsforyou_shop ➡ WhatsApp channel: https://chat.whatsapp.com/K8rBy500nA73z27PxgaJUw?mode=ems_copy_t ➡ Discord server: https://discord.gg/y9AStFFsrh Contacts and support: ➡ Telegram: https://t.me/socnet_support ➡ WhatsApp: https://wa.me/79051904467 ➡ Discord: socnet_support ➡ ✉ Email: solomonbog@socnet.store
    • Traffic arbitrage + SMM panel — a powerful combination for growth. Strengthen campaigns with social signals, increase trust and conversion, scale faster. All tools for arbitrage specialists and SMM — in one place. Active links: SMM Panel: Go to – promotion of your social media accounts. Other services and products: Digital goods store (Website): Go to Store Telegram bot: Go to – convenient access to the store via the Telegram messenger. Virtual numbers service: Go to Telegram bot for purchasing Telegram Stars: Go to – fast and profitable purchase of Stars in Telegram. SMM Panel: Go to – promotion of your social media accounts. We want to present to you the current list of promotions and special offers for purchasing products and services of our service: 1. You can use a promo code for your first purchase: SOCNET (15% discount) 2. Get $1 on your store balance or a 10–20% discount — just write your username after registering on our website using the following template: "SEND ME BONUS, MY USERNAME IS..." – you need to post this in our forum thread! 3. Get $1 for the first trial launch of the SMM Panel: just open a ticket with the subject “Get Trial Bonus” on our website (Support). 4. Weekly Telegram Stars giveaways in our Telegram channel and in our bot for purchasing stars! News: ➡ Telegram channel: https://t.me/accsforyou_shop ➡ WhatsApp channel: https://chat.whatsapp.com/K8rBy500nA73z27PxgaJUw?mode=ems_copy_t ➡ Discord server: https://discord.gg/y9AStFFsrh Contacts and support: ➡ Telegram: https://t.me/socnet_support ➡ WhatsApp: https://wa.me/79051904467 ➡ Discord: socnet_support ➡ ✉ Email: solomonbog@socnet.store
    • Traffic arbitrage + SMM panel — a powerful combination for growth. Strengthen campaigns with social signals, increase trust and conversion, scale faster. All tools for arbitrage specialists and SMM — in one place. Active links: SMM Panel: Go to – promotion of your social media accounts. Other services and products: Digital goods store (Website): Go to Store Telegram bot: Go to – convenient access to the store via the Telegram messenger. Virtual numbers service: Go to Telegram bot for purchasing Telegram Stars: Go to – fast and profitable purchase of Stars in Telegram. SMM Panel: Go to – promotion of your social media accounts. We want to present to you the current list of promotions and special offers for purchasing products and services of our service: 1. You can use a promo code for your first purchase: SOCNET (15% discount) 2. Get $1 on your store balance or a 10–20% discount — just write your username after registering on our website using the following template: "SEND ME BONUS, MY USERNAME IS..." – you need to post this in our forum thread! 3. Get $1 for the first trial launch of the SMM Panel: just open a ticket with the subject “Get Trial Bonus” on our website (Support). 4. Weekly Telegram Stars giveaways in our Telegram channel and in our bot for purchasing stars! News: ➡ Telegram channel: https://t.me/accsforyou_shop ➡ WhatsApp channel: https://chat.whatsapp.com/K8rBy500nA73z27PxgaJUw?mode=ems_copy_t ➡ Discord server: https://discord.gg/y9AStFFsrh Contacts and support: ➡ Telegram: https://t.me/socnet_support ➡ WhatsApp: https://wa.me/79051904467 ➡ Discord: socnet_support ➡ ✉ Email: solomonbog@socnet.store
  • 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