//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
My initial plan was to port the Homunculus system from Live 502 to ClassicAden 502. But, when the interface for Homunculus is enabled, it has some hardcoded function that tries to load the dat files which leads to a crash since those files dont exist in ClassicAden. I was hoping to do some injection hoping, forcing the client to load the files.
Question
Guarder
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