Jump to content

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


Recommended Posts

Posted

can you show what changes you have made to make it work? :)

 

It works as it is.... Im using it on my own pack... Its high five l2jserver almost last rev ....!

Posted

I get this error, and im using Latest revision of High Five... :(

compile:
    [javac] Compiling 1585 source files to C:\Workspace_L2server\L2J_Server_BETA\build\classes
    [javac] C:\Workspace_L2server\L2J_Server_BETA\java\com\l2jserver\gameserver\model\actor\instance\L2PcInstance.java:15274: code is already defined in com.l2jserver.gameserver.model.actor.instance.L2PcInstance
    [javac] 		           String code;
    [javac] 		                  ^
    [javac] C:\Workspace_L2server\L2J_Server_BETA\java\com\l2jserver\gameserver\model\actor\instance\L2PcInstance.java:15278: setCode(java.lang.StringBuilder) is already defined in com.l2jserver.gameserver.model.actor.instance.L2PcInstance
    [javac] 		               public void setCode(StringBuilder finalString)
    [javac] 		                           ^
    [javac] C:\Workspace_L2server\L2J_Server_BETA\java\com\l2jserver\gameserver\model\actor\instance\L2PcInstance.java:15282: getCode() is already defined in com.l2jserver.gameserver.model.actor.instance.L2PcInstance
    [javac] 		               public String getCode()
    [javac] 		                             ^
    [javac] C:\Workspace_L2server\L2J_Server_BETA\java\com\l2jserver\gameserver\model\actor\instance\L2PcInstance.java:15286: codeRight is already defined in com.l2jserver.gameserver.model.actor.instance.L2PcInstance
    [javac] 		               private boolean codeRight = true;
    [javac] 		                               ^
    [javac] C:\Workspace_L2server\L2J_Server_BETA\java\com\l2jserver\gameserver\model\actor\instance\L2PcInstance.java:15287: setCodeRight(boolean) is already defined in com.l2jserver.gameserver.model.actor.instance.L2PcInstance
    [javac] 		               public void setCodeRight(boolean code){
    [javac] 		                           ^
    [javac] C:\Workspace_L2server\L2J_Server_BETA\java\com\l2jserver\gameserver\model\actor\instance\L2PcInstance.java:15290: isCodeRight() is already defined in com.l2jserver.gameserver.model.actor.instance.L2PcInstance
    [javac] 		               public boolean isCodeRight()
    [javac] 		                              ^
    [javac] C:\Workspace_L2server\L2J_Server_BETA\java\com\l2jserver\gameserver\model\actor\instance\L2PcInstance.java:15294: Kills is already defined in com.l2jserver.gameserver.model.actor.instance.L2PcInstance
    [javac] 		               private int Kills = -1;
    [javac] 		                           ^
    [javac] C:\Workspace_L2server\L2J_Server_BETA\java\com\l2jserver\gameserver\model\actor\instance\L2PcInstance.java:15295: setKills(int) is already defined in com.l2jserver.gameserver.model.actor.instance.L2PcInstance
    [javac] 		               public void setKills(int AntiBotKills)
    [javac] 		                           ^
    [javac] C:\Workspace_L2server\L2J_Server_BETA\java\com\l2jserver\gameserver\model\actor\instance\L2PcInstance.java:15299: getKills() is already defined in com.l2jserver.gameserver.model.actor.instance.L2PcInstance
    [javac] 		               public int getKills()
    [javac] 		                          ^
    [javac] C:\Workspace_L2server\L2J_Server_BETA\java\com\l2jserver\gameserver\model\actor\instance\L2PcInstance.java:15303: Tries is already defined in com.l2jserver.gameserver.model.actor.instance.L2PcInstance
    [javac] 		               private int Tries = 3;
    [javac] 		                           ^
    [javac] C:\Workspace_L2server\L2J_Server_BETA\java\com\l2jserver\gameserver\model\actor\instance\L2PcInstance.java:15304: setTries(int) is already defined in com.l2jserver.gameserver.model.actor.instance.L2PcInstance
    [javac] 		               public void setTries(int AntiBotTries)
    [javac] 		                           ^
    [javac] C:\Workspace_L2server\L2J_Server_BETA\java\com\l2jserver\gameserver\model\actor\instance\L2PcInstance.java:15308: getTries() is already defined in com.l2jserver.gameserver.model.actor.instance.L2PcInstance
    [javac] 		               public int getTries()
    [javac] 		                          ^
    [javac] 12 errors

BUILD FAILED
C:\Workspace_L2server\L2J_Server_BETA\build.xml:72: Compile failed; see the compiler error output for details.

Total time: 6 seconds

Posted

I get this error, and im using Latest revision of High Five... :(

compile:
    [javac] Compiling 1585 source files to C:\Workspace_L2server\L2J_Server_BETA\build\classes
    [javac] C:\Workspace_L2server\L2J_Server_BETA\java\com\l2jserver\gameserver\model\actor\instance\L2PcInstance.java:15274: code is already defined in com.l2jserver.gameserver.model.actor.instance.L2PcInstance
    [javac] 		           String code;
    [javac] 		                  ^
    [javac] C:\Workspace_L2server\L2J_Server_BETA\java\com\l2jserver\gameserver\model\actor\instance\L2PcInstance.java:15278: setCode(java.lang.StringBuilder) is already defined in com.l2jserver.gameserver.model.actor.instance.L2PcInstance
    [javac] 		               public void setCode(StringBuilder finalString)
    [javac] 		                           ^
    [javac] C:\Workspace_L2server\L2J_Server_BETA\java\com\l2jserver\gameserver\model\actor\instance\L2PcInstance.java:15282: getCode() is already defined in com.l2jserver.gameserver.model.actor.instance.L2PcInstance
    [javac] 		               public String getCode()
    [javac] 		                             ^
    [javac] C:\Workspace_L2server\L2J_Server_BETA\java\com\l2jserver\gameserver\model\actor\instance\L2PcInstance.java:15286: codeRight is already defined in com.l2jserver.gameserver.model.actor.instance.L2PcInstance
    [javac] 		               private boolean codeRight = true;
    [javac] 		                               ^
    [javac] C:\Workspace_L2server\L2J_Server_BETA\java\com\l2jserver\gameserver\model\actor\instance\L2PcInstance.java:15287: setCodeRight(boolean) is already defined in com.l2jserver.gameserver.model.actor.instance.L2PcInstance
    [javac] 		               public void setCodeRight(boolean code){
    [javac] 		                           ^
    [javac] C:\Workspace_L2server\L2J_Server_BETA\java\com\l2jserver\gameserver\model\actor\instance\L2PcInstance.java:15290: isCodeRight() is already defined in com.l2jserver.gameserver.model.actor.instance.L2PcInstance
    [javac] 		               public boolean isCodeRight()
    [javac] 		                              ^
    [javac] C:\Workspace_L2server\L2J_Server_BETA\java\com\l2jserver\gameserver\model\actor\instance\L2PcInstance.java:15294: Kills is already defined in com.l2jserver.gameserver.model.actor.instance.L2PcInstance
    [javac] 		               private int Kills = -1;
    [javac] 		                           ^
    [javac] C:\Workspace_L2server\L2J_Server_BETA\java\com\l2jserver\gameserver\model\actor\instance\L2PcInstance.java:15295: setKills(int) is already defined in com.l2jserver.gameserver.model.actor.instance.L2PcInstance
    [javac] 		               public void setKills(int AntiBotKills)
    [javac] 		                           ^
    [javac] C:\Workspace_L2server\L2J_Server_BETA\java\com\l2jserver\gameserver\model\actor\instance\L2PcInstance.java:15299: getKills() is already defined in com.l2jserver.gameserver.model.actor.instance.L2PcInstance
    [javac] 		               public int getKills()
    [javac] 		                          ^
    [javac] C:\Workspace_L2server\L2J_Server_BETA\java\com\l2jserver\gameserver\model\actor\instance\L2PcInstance.java:15303: Tries is already defined in com.l2jserver.gameserver.model.actor.instance.L2PcInstance
    [javac] 		               private int Tries = 3;
    [javac] 		                           ^
    [javac] C:\Workspace_L2server\L2J_Server_BETA\java\com\l2jserver\gameserver\model\actor\instance\L2PcInstance.java:15304: setTries(int) is already defined in com.l2jserver.gameserver.model.actor.instance.L2PcInstance
    [javac] 		               public void setTries(int AntiBotTries)
    [javac] 		                           ^
    [javac] C:\Workspace_L2server\L2J_Server_BETA\java\com\l2jserver\gameserver\model\actor\instance\L2PcInstance.java:15308: getTries() is already defined in com.l2jserver.gameserver.model.actor.instance.L2PcInstance
    [javac] 		               public int getTries()
    [javac] 		                          ^
    [javac] 12 errors

BUILD FAILED
C:\Workspace_L2server\L2J_Server_BETA\build.xml:72: Compile failed; see the compiler error output for details.

Total time: 6 seconds

 

code is already defined in blablabla errors

You have already added the code and you are trying to re-add? X) X)

Posted

No, i did not add it multiple times ;)

 

...So you would recommend me to delete it all and try again?

Yes, try first of all add it on a clean L2JServer last rev project ... Im almost sure that it will be added without errors. Good luck.

Posted

btw, you updated with Disorder25's fixes? or they are not needed? :)

 

 

EDIT: Ok, i made it work with Disorder25's fixes (it was some codes in L2PcInstance witch was allready there) and then i had to make a little change on an import.. Ty for share!! :D

  • 2 weeks later...
Posted

I cant seem to make it work and i dont get any error on console any help guys? i still see a black image

ps: on console i only get a "0" no matter what i type or dont type in the box...not sure if it suppose to be that way

  • 4 weeks later...
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

 

To resolved this problem go to ai group_template and search DenofEvil.java

in this java search the line:

 

destroyZone(); and make it  //destroyZone();

 

than search the line:

 

private void destroyZone() and make it  //private void destroyZone()

 

and last but not least search the line:

 

if (character.doDie(null)) // mobs die  and make it 

//if (character.doDie(null)) // mobs die

 

by me its working and i dont have problems.

 

But my Server is PvP Server and i dont need the Quest!!!!

 

P.S. Sorry for my English :)

Posted

im getting this error?

 

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

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

        at com.l2jserver.gameserver.model.actor.L2Attackable.doDie(L2Attackable.

java:534)

        at com.l2jserver.gameserver.model.actor.instance.L2MonsterInstance.doDie

(L2MonsterInstance.java:161)

        at ai.group_template.DenOfEvil$KashaDestruction.destroyZone(DenOfEvil.ja

va:221)

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

        at com.l2jserver.gameserver.ThreadPoolManager$RunnableWrapper.run(Thread

PoolManager.java:86)

        at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)

        at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)

        at java.util.concurrent.FutureTask.run(Unknown Source)

        at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.

access$201(Unknown Source)

        at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.

run(Unknown Source)

        at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)

        at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)

        at java.lang.Thread.run(Unknown Source)

 

 

using freya , without H5

Posted

 

 

When you have a PvP Server you dont need this Quest!!

 

Try this,by me its working fine.

 

To resolved this problem go to ai group_template and search DenofEvil.java

in this java search the line:

 

destroyZone(); and make it  //destroyZone();

 

than search the line:

 

private void destroyZone() and make it  //private void destroyZone()

 

and last but not least search the line:

 

if (character.doDie(null)) // mobs die  and make it

//if (character.doDie(null)) // mobs die

 

by me its working and i dont have problems.

 

But my Server is PvP Server and i dont need the Quest!!!!

 

P.S. Sorry for my English :)

 

 

Posted

i found anther bug, if a player doesnt enter anything, its suppose to jail as-well, and the timer is set to 3 minutes, but noting happens after 3 minutes, i noticed there is no variable to designate hour, min, sec..

 

NVM i see in threadpoolmanager is variable

 

ok the bug must be were i placed the code in L2Npc.java, the last part of the code does not match up with the current version of l2j, the working copy number 183 must be from another project, and is not lining up, the bug, is that it wont jail the player after 3 minutes with no response...

 

i have tried moving the code around:

//3 Mins Counter and the event that happens

class CaptchaTimer implements Runnable{

L2PcInstance activeChar;

public CaptchaTimer(L2PcInstance player){

activeChar = player;

}

public void run(){

//here will be code that will run after 1 min

if(!activeChar.isCodeRight()){

activeChar.setTries(3);

//here will run method with jailing player after 1 min

activeChar.stopAbnormalEffect(AbnormalEffect.REAL_TARGET);

NpcHtmlMessage npcHtmlMessage = new NpcHtmlMessage(0);

npcHtmlMessage.setHtml("<html><title>Captcha Antibot System</title><body><center><font color=\"FF0000\">3 minutes passed.<br><br></font><font color=\"66FF00\"><center></font><font color=\"FF0000\">You will be jailed.</font><br><button value=\"Exit\" action=\"bypass -h npc_%objectId%_Quest\" width=45 height=25 back=\"L2UI_CT1.Button_DF_Down\" fore=\"L2UI_ct1.button_df\"></center></body></html>");

if (activeChar.isFlyingMounted())

activeChar.untransform();

activeChar.setPunishLevel(L2PcInstance.PunishLevel.JAIL, 180);

activeChar.setIsInvul(false);

activeChar.setIsParalyzed(false);

activeChar.sendPacket(npcHtmlMessage);

activeChar.setCodeRight(true);

}

}

}

 

i cannot find:

193.        {

194.                return this._hidedName;

195.        }

 

 

only thing i have similiar to this is:

 

public void setHideName(boolean val)

{

_isHideName = val;

}

 

public boolean isHideName()

{

return _isHideName;

}

 

Guest
This topic is now closed to further replies.



  • Posts

    • hello everyone! I am wanting to save the files (Ini. - Data - ) of the EP5 Client: Salvation... But they generate the error "corrupt files"... I tried several versions of L2FileEditor without good results. I need help! Thank you!
    • Opening December 6th at 19:00 (GMT +3)! Open Beta Test from November 30th!   https://l2soe.com/   🌟 Introducing L2 Saga of Eternia: A Revolution in Lineage 2 High Five! 🌟   Dear Lineage 2 enthusiasts, Prepare to witness the future of private servers! L2 Saga of Eternia is not just another High Five project—it’s a game-changing experience designed to compete with the giants of the Lineage 2 private server scene. Built for the community, by the community, we’re here to raise the bar in quality, innovation, and longevity. What Sets Us Apart? 💎 No Wipes, Ever Say goodbye to the fear of losing your progress. Our server is built to last and will never close. Stability and consistency are our promises to you. ⚔️ Weekly New Content Our dedicated development team ensures fresh challenges, events, and updates every week. From custom quests to exclusive features, there will always be something exciting to explore. 💰 No Pay-to-Win Skill and strategy matter most here. Enjoy a balanced gameplay environment where your achievements come from effort, not your wallet. 🌍 A Massive Community With 2000+ players expected, join a vibrant and active community of like-minded adventurers ready to conquer the world of Aden. 🏆 Fair and Competitive Gameplay Our systems are designed to promote healthy competition while avoiding abusive mechanics and exploits. 🔧 Professional Development From advanced bug fixes to carefully curated content, we pride ourselves on smooth performance, no lag, and unparalleled server quality. Key Features Chronicle: High Five with unique interface Rate: Dynamic x10 rates Class Balance: Carefully fine-tuned for a fair experience PvP Focused: PvP Ranking & aura display effect for 3 Top PvPers every week Custom Events: Seasonal and permanent events to keep you engaged Additional Features:   Custom Endgame Content: Introduce unique dungeons, raids, or zones unavailable in other servers. Player-Driven Economy: Implement a strong market system and avoid overinflated drops or rewards. Epic Siege Battles: Announce special large-scale sieges and PvP events. Incentives for Streamers and Clans: Attract influencers and big clans to boost server publicity. Roadmap Transparency: Share a public roadmap of planned updates to build trust and excitemen   Here you can read all the features: https://l2soe.com/features   Video preview: Join the Revolution! This is your chance to be part of something legendary. L2 Saga of Eternia is not just a server; it’s a movement to redefine what Lineage 2 can be. Whether you’re a seasoned veteran or a newcomer to the world of Aden, we invite you to experience Lineage 2 at its finest.   Official Launch Date: December 6th 2024 Website: https://l2soe.com/ Facebook: https://www.facebook.com/l2soe Discord: https://discord.com/invite/l2eternia   Let’s build the ultimate Lineage 2 experience together. See you in-game! 🎮
    • That's like a tutorial on how to run l2 on MacOS Xd but good job for the investigation. 
    • small update: dc robe set sold   wts adena 1kk = 1.5$ 
    • DISCORD : utchiha_market telegram : https://t.me/utchiha_market SELLIX STORE : https://utchihamkt.mysellix.io/ Join our server for more products : https://discord.gg/hood-services https://campsite.bio/utchihaamkt
  • Topics

×
×
  • Create New...