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

    • leave only Npcpos the gremlins (for testing).
    • 🚀 New numbers for GMAIL are now available!   We’ve added fresh, stable numbers  perfect for activations and quick code delivery. Join in while they’re still available 👇 Category: GMAIL   Website: https://vibe-sms.net/ 📱 Telegram channel: https://t.me/vibe_sms
    • using Guytis pack....but missed lin_LoadHWIDS & lin_PvpEventLoadEvent sql procedures..maybe any1 know how to fixed it? rly thx...
    • This post originally appeared on MmoGah. Welcome to Borderlands 4, the latest installment in Gearbox Software's beloved looter-shooter franchise. Set in the sprawling world of Kairos, this game introduces new mechanics, characters, and a vast open-world experience. Whether you're a series veteran or a newcomer, this guide will walk you through everything you need to know to get started and succeed.       Choosing Your Vault Hunter Borderlands 4 offers four unique Vault Hunters, each with distinct abilities and playstyles: Amon: A close-quarters tank who excels with shotguns and melee attacks. Ideal for aggressive players who like to be in the thick of battle. Vex: A stealthy clone master who can duplicate herself to confuse enemies and amplify damage. Great for tactical players. Rafa: A long-range specialist with sniper skills and elemental traps. Perfect for precision shooters. Harlowe: A support-oriented character with healing and crowd-control abilities. Best for team players or solo survivalists. Tip: Read each character's affinity and skill tree before committing. You can respec later, but starting with a character that matches your playstyle makes the early game smoother.   What to Do First After completing the prologue, you'll land in Kairos with your first mission: Recruitment Drive. Here's what you should prioritize: Complete "Down and Outbound" This unlocks the Digi-Runner, your summonable vehicle. It's essential for fast travel and early combat support. Secure a Safehouse Safehouses offer fast travel, contracts, and gear storage. Claim one early to make exploration easier. Upgrade Your Backpack Inventory space is limited at first. Upgrading your backpack lets you carry more loot and ammo. Unlock the Glidepack This mobility tool allows you to traverse vertical terrain and reach hidden areas. Return Lost Capsules These collectibles offer XP and gear. They're scattered across Kairos and are worth hunting down.   Navigating Kairos Borderlands 4 removes the traditional minimap. Instead, you'll rely on: ECHO-4 Drone: Your personal navigator. It highlights paths, climbable walls, and grapple points. Radar Display: Enable this in the settings (Gameplay → Toggle Radar Display) for better orientation. Custom Waypoints: Use these to mark objectives or loot spots on your map.   Combat Tips Combat in Borderlands 4 is fast, chaotic, and rewarding. Here's how to stay alive and dominate: Use Cover and Movement Kairos is filled with vertical terrain. Use walls, ledges, and grapple points to dodge enemy fire. Elemental Matchups Matter Match your weapon's element to enemy weaknesses: Fire: Best against flesh Shock: Effective on shields Cryo: Slows and freezes Corrosive: Destroys armor Test Action Skills Each character has three skill trees with unique capstones. Don't hesitate to respec if a skill doesn't suit you—Borderlands 4 money is easy to earn. Use Vehicle Weapons The Digi-Runner comes equipped with basic weapons. Use it to soften up enemies before engaging on foot.   Leveling Up Efficiently XP is crucial for unlocking skills and gear. Here are the best ways to level up: Main Missions: Progress the story to unlock key tools and areas. Side Missions (Contracts): These are found in Safehouses, which offer quick XP and gear. Farm Bosses: Some bosses drop legendary loot and give decent XP. Replay Vault Missions: These are harder but offer large XP rewards. Prospects Drill Site: A top-tier farming location with high XP and legendary gear chances.   Looting and Gear Loot is the heart of Borderlands. Here's how to maximize your haul: Color Rarity Guide: White: Common Green: Uncommon Blue: Rare Purple: Epic Orange: Legendary Don't Just Chase DPS Look at weapon stats like reload speed, magazine size, and elemental effects. A lower-DPS gun with better utility might outperform a high-DPS one. Legendary Drops Bosses and elite enemies have a chance to drop legendary weapons. Keep farming if you're after something specific. Black Market Vendor Hidden in Kairos, this vendor sells rare gear. Check back often for rotating stock.   Advanced Tips Once you've got the basics down, here are some pro-level strategies: Drive Recklessly Vehicles explode easily, but you can summon a new one instantly. Use them aggressively. Fishing Minigame Yes, Borderlands 4 has fishing! Look for bubbling water spots. Fish can be traded for gear or used in crafting. Accessibility Settings Reduce screen shake and head-bob if you're prone to motion sickness. It makes long sessions more comfortable. Explore After Getting Vehicle The map is massive. Wait until you have the Digi-Runner before venturing far from mission hubs. Collect Vault Symbols These unlock lore, XP, and sometimes gear. They're hidden throughout the world.   Final Thoughts Borderlands 4 is a wild ride full of loot, laughs, and laser fire. As a beginner, focus on: Picking the right character Unlocking your vehicle early Using ECHO-4 for navigation Farming XP through missions and bosses Matching elemental weapons to enemies Respeccing your skills to suit your playstyle With these tips, you'll be well on your way to becoming a legendary Vault Hunter in Kairos.
  • 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