Jump to content

Question

Posted

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

7 answers to this question

Recommended Posts

  • 0
Posted
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

  • 0
Posted

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.

  • 0
Posted

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

  • 0
Posted (edited)
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
  • 0
Posted

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.

  • 0
Posted (edited)

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
  • 0
Posted

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
Guest
This topic is now closed to further replies.


×
×
  • Create New...