public final class Configtype
/* */ {
/* */ public static int weaponbroadfail;
/* */ public static int armorbroadfail;
/* */ public static int weaponbroadtrue;
/* */ public static int armorbroadtrue;
/* */ public static int Accessoryfalse;
/* */ public static int Accessorytrue;
/* 31 */ public static int weapon_savebroad = 0;
/* 32 */ public static int armor_savebroad = 0;
/* 33 */ public static int Accessory_savebroad = 0;
/* */
/* */ public static void load() throws ConfigErrorException {
/* 37 */ Properties set = new Properties();
/* */ try {
/* 39 */ InputStream is = new FileInputStream(new File("./config/其他控制端/武卷防捲設定表.properties"));
/* 40 */ InputStreamReader isr = new InputStreamReader(is, "utf-8");
/* 41 */ set.load(isr);
/* 42 */ is.close();
/* 43 */ Accessoryfalse = Integer.parseInt(set.getProperty("Accessoryfalse", "0"));
/* 44 */ Accessorytrue = Integer.parseInt(set.getProperty("Accessorytrue", "0"));
/* 45 */ weaponbroadfail = Integer.parseInt(set.getProperty("weaponbroadfail", "0"));
/* 46 */ armorbroadfail = Integer.parseInt(set.getProperty("armorbroadfail", "0"));
/* 47 */ weaponbroadtrue = Integer.parseInt(set.getProperty("weaponbroadtrue", "0"));
/* 48 */ armorbroadtrue = Integer.parseInt(set.getProperty("armorbroadtrue", "0"));
/* 49 */ weapon_savebroad = Integer.parseInt(set.getProperty("weapon_savebroad", ""));
/* 50 */ armor_savebroad = Integer.parseInt(set.getProperty("armor_savebroad", ""));
/* 51 */ Accessory_savebroad = Integer.parseInt(set.getProperty("Accessory_savebroad", ""));
/* 52 */ msg1_fail = set.getProperty("msg1_fail", "");
/* 53 */ msg1_true = set.getProperty("msg1_true", "");
/* 54 */ msg4_fail = set.getProperty("msg4_fail", "");
/* 55 */ msg4_true = set.getProperty("msg4_true", "");
/* 56 */ armorlv = Integer.parseInt(set.getProperty("armorlv", "10"));
/* 57 */ weaponlv = Integer.parseInt(set.getProperty("weaponlv", "10"));
/* */ }
/* 59 */ catch (Exception e) {
/* 60 */ throw new ConfigErrorException("設置檔案遺失: ./config/其他控制端/武卷防捲設定表.properties");
/* */ } finally {
/* */
/* 63 */ set.clear();
/* */ }
/* */ }
/* */
/* */ public static String msg1_fail;
/* */ public static String msg1_true;
/* */ public static String msg4_fail;
/* */ public static String msg4_true;
/* */ public static int armorlv;
/* */ public static int weaponlv;
/* */ private static Log _log;
/* */ private static final String OTHER_SETTINGS_FILE = "./config/其他控制端/武卷防捲設定表.properties";
核心裡面沒問題..properties也沒問題...找不到 0.0
嘗試改核心條件也不行..不知道問題點 得找大神了..