Jump to content
  • 0

Help Anti bot


KIDutz
 Share

Question

i'm trying to add this :

 

 

but...i can't figure out where to put this:

	    		//Captcha Antibot
	    		public static boolean SHOW_CAPTCHA;
	    		public static String ALT_CAPTCHA_ANTIBOT;
	    		public static int[] ALT_CAPTCHA_ANTIBOT_LIST;
	    		public static int ALT_CAPTCHA_MOBS_KILLS;
	    		public static int ALT_CAPTCHA_ANTIBOT_X;
	    		public static int ALT_CAPTCHA_ANTIBOT_Y;
	    		public static int ALT_CAPTCHA_ANTIBOT_Z;


			SHOW_CAPTCHA = Boolean.parseBoolean(L2JFrozenSettings.getProperty("CaptchaEnabled", "true"));
			ALT_CAPTCHA_ANTIBOT = L2JFrozenSettings.getProperty("CaptchaNpcId", "2375,3500,3501");
			String[] array1 = ALT_CAPTCHA_ANTIBOT.split(",");
			ALT_CAPTCHA_ANTIBOT_LIST = new int[array1.length];
			for (int i = 0; i < array1.length; i++)
			ALT_CAPTCHA_ANTIBOT_LIST[i] = Integer.parseInt(array1[i]);
			ALT_CAPTCHA_MOBS_KILLS = Integer.parseInt(L2JFrozenSettings.getProperty("CaptchaMobsKills", "1"));
			ALT_CAPTCHA_ANTIBOT_X = Integer.parseInt(L2JFrozenSettings.getProperty("CaptchaSpawnX", ""));
			ALT_CAPTCHA_ANTIBOT_Y = Integer.parseInt(L2JFrozenSettings.getProperty("CaptchaSpawnY", ""));
			ALT_CAPTCHA_ANTIBOT_Z = Integer.parseInt(L2JFrozenSettings.getProperty("CaptchaSpawnZ", ""));

 

i know that something in Config.java but i dont know exactly where

Link to comment
Share on other sites

7 answers to this question

Recommended Posts

  • 0
9 hours ago, SweeTs said:

First part, anywhere basically. Near other similar configs. More your head.

Swxojd part, under L2JfrozenSettings, search for it inside file.

 

It's nothing hard, just think.

 

fuck it..33 errors 1 warrning

Link to comment
Share on other sites

  • 0

First part, anywhere basically. Near other similar configs. More your head.

Swxojd part, under L2JfrozenSettings, search for it inside file.

 

It's nothing hard, just think.

Link to comment
Share on other sites

  • 0

Is it so hard to press ctrl + f and search for (L2JFrozenSettings.getProperty(

Now, inside the method you are in paste your part 2 of the code.

 

First one, near the other configs which starts with public static int/boolean/String WHATEVER name. Hint, before the godamn method you pasted previous configs.

 

If you fail adding easiest config, then you should stop. Serious, stop or at least use your brain, it's not hard. Just understand what you see...

Link to comment
Share on other sites

  • 0
33 minutes ago, SweeTs said:

Is it so hard to press ctrl + f and search for (L2JFrozenSettings.getProperty(

Now, inside the method you are in paste your part 2 of the code.

 

First one, near the other configs which starts with public static int/boolean/String WHATEVER name. Hint, before the godamn method you pasted previous configs.

 

If you fail adding easiest config, then you should stop. Serious, stop or at least use your brain, it's not hard. Just understand what you see...

 

why u insult me bro? what if i did all what u said from the first try?

you always reply at my topics like im the biggest idiot.

you think i was born to know all this?you are talking like u was born with all this in ur brain. i just started 2 weeks ago...im trying to learn and you'r telling me to stop....as a global moderator...what kind of support is this? if you dont wanna help just dont reply. maybe others are wiling to add a reply/show me a clue,in a respectable way,just like my questions

 

Edited by KIDutz
Link to comment
Share on other sites

  • 0

If you would do that in first try, then there would be no error. But what do I know. You didn't even bother to post a screen of the code and errors. Dunno what you expect.

 

Insult? There is no insult.

 

Truth being said.

Link to comment
Share on other sites

  • 0

Your answers be like :

OMG YOU DONT KNOW

OMG IT'S SO EASY

OMG YOU USE FROZEN

DONT DO IF YOU DONT KNOW

 

no shit...pro

well there is a difference between me and you...you started 15 years ago i started 2 weeks ago and u're telling me "use ur brain". what we're u doing at 2 weeks old in developing? i bet you we're changing your name color,making earhquakes and shits.

 

gtfo and dont watch my topics anymore.

mad? ban me...."use ur brain"

Edited by KIDutz
  • Like 1
Link to comment
Share on other sites

  • 0

Lmao what a pussy cat rage. Grow up, you act like a little girl. I just said to use your bran, if you take it as an insult that means you don't have one or you barely use it.

 

I see you fixed it. Yet, you won't admit you failed hard cuz you wasn't using your brain and paste it in wrong place.

 

Watch your mouth. I was polite and you act like kid which you are. Ofc. I will ban you for a while.

 

Because I can.

  • Haha 1
Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
 Share



  • Posts

    • Hello everyone,   Does anyone know how to turn off "proxy'? I'm trying to connect on server and i get error in Login server:   ========================================================== Error in Login Server ========================================================== "[15:01:53]  INFO IP: 84.126.108.137 Login: test Assigned to Proxy: 127.0.0.1" ==========================================================   And in proxies.xml say something about .properties file, but i cant find that file.     ========================================================== proxies.xml ========================================================== <?xml version='1.0' encoding='utf-8'?> <!DOCTYPE list SYSTEM "proxies.dtd"> <!-- In order to make this file be in use, EnableProxies in server.properties MUST be set to true --> <!-- This list should contain GameServer IPs. IP of the GameServer will be chosen for Player during Server Selection, based on Mask of his IP --> <!-- For example, if IP of the player is 153.4.138.226, all of the masks below will be checked if IP matches range of mask --> <!-- Mask 0.0.0.0/3 covers IPs from 0.0.0.0 to 31.255.255.255. Mask 32.0.0.0/3 covers IPs from 32.0.0.0 to 63.255.255.255 and so on --> <!-- So if IP of the player matches below mask, value in "ip" will be given to him, to connect with GameServer --> <!-- If player IP will not match any mask, Error in LoginServer logs will be printed --> <list>     <level min="40" max="86" ip="127.0.0.1"/>     <minChatMessages party="3" clan="5" ip="127.0.0.1"/>     <minChatMessages shout="5" ip="127.0.0.1"/>     <minChatMessages all="15" trade="5" ip="127.0.0.1"/>     <minChatMessages pm="3" clan="5" ip="127.0.0.1"/>     <mask mask="0.0.0.0/4" ip="127.0.0.1"/>     <mask mask="16.0.0.0/4" ip="127.0.0.1"/>     <mask mask="32.0.0.0/4" ip="127.0.0.1"/>     <mask mask="48.0.0.0/4" ip="127.0.0.1"/>     <mask mask="64.0.0.0/4" ip="127.0.0.1"/>     <mask mask="80.0.0.0/4" ip="127.0.0.1"/>     <mask mask="96.0.0.0/4" ip="127.0.0.1"/>     <mask mask="112.0.0.0/4" ip="127.0.0.1"/>     <mask mask="128.0.0.0/4" ip="127.0.0.1"/>     <mask mask="144.0.0.0/4" ip="127.0.0.1"/>     <mask mask="160.0.0.0/4" ip="127.0.0.1"/>     <mask mask="176.0.0.0/4" ip="127.0.0.1"/>     <mask mask="192.0.0.0/4" ip="127.0.0.1"/>     <mask mask="208.0.0.0/4" ip="127.0.0.1"/>     <mask mask="224.0.0.0/4" ip="127.0.0.1"/> </list> ========================================================== ==========================================================   If anyone could help it would be great.  
    • @Celestinewasnt this guy banned for selling shared stuff? 😄
    • I know xD ... please clean the topic. It's okay!
    • link off    anyone can share it ?   thks
  • 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 Disbaled AdBlock