린올기반 휘장 각반 견갑 장비인식 안되는거 수정함
각반 휘장 견갑 장비인식 안되는거 수정
Item Table.java
검색 후 교체
public static int parseArmorType(String s) {
if (s.equalsIgnoreCase("none")) {
return 0;
}
if (s.equalsIgnoreCase("helm")) {
return 1;
}
if (s.equalsIgnoreCase("armor")) {
return 2;
}
if (s.equalsIgnoreCase("T")) {
return 3;
}
if (s.equalsIgnoreCase("cloak")) {
return 4;
}
if (s.equalsIgnoreCase("glove")) {
return 5;
}
if (s.equalsIgnoreCase("boots")) {
return 6;
}
if (s.equalsIgnoreCase("shield")) {
return 7;
}
if (s.equalsIgnoreCase("amulet")) {
return 8;
}
if (s.equalsIgnoreCase("ring")) {
return 9;
}
if (s.equalsIgnoreCase("belt")) {
return 10;
}
if (s.equalsIgnoreCase("ring2")) {
return 11;
}
if (s.equalsIgnoreCase("earring")) {
return 12;
}
if (s.equalsIgnoreCase("garder")) {
return 13;
}
if (s.equalsIgnoreCase("ron")) {
return 14;
}
if (s.equalsIgnoreCase("pair")) {
return 15;
}
if (s.equalsIgnoreCase("sentence")) {
return 16;
}
if (s.equalsIgnoreCase("shoulder")) {
return 19;
}
if (s.equalsIgnoreCase("should")) {
return 29;
}
if (s.equalsIgnoreCase("badge")) {
return 30;
}
System.out.println(String.format("invalid item armor type %s", new Object[] { s }));
return 0;
}
검색 후 교체
public static int parseUseType(String s) {
if (s.equalsIgnoreCase("none")) {
return -1;
}
if (s.equalsIgnoreCase("normal")) {
return 0;
}
if (s.equalsIgnoreCase("weapon")) {
return 1;
}
if (s.equalsIgnoreCase("armor")) {
return 2;
}
if (s.equalsIgnoreCase("spell_long")) {
return 5;
}
if (s.equalsIgnoreCase("ntele")) {
return 6;
}
if (s.equalsIgnoreCase("identify")) {
return 7;
}
if (s.equalsIgnoreCase("res")) {
return 8;
}
if (s.equalsIgnoreCase("teleport")) {
return 9;
}
if (s.equalsIgnoreCase("letter")) {
return 12;
}
if (s.equalsIgnoreCase("letter_w")) {
return 13;
}
if (s.equalsIgnoreCase("choice")) {
return 14;
}
if (s.equalsIgnoreCase("instrument")) {
return 15;
}
if (s.equalsIgnoreCase("sosc")) {
return 16;
}
if (s.equalsIgnoreCase("spell_short")) {
return 17;
}
if (s.equalsIgnoreCase("T")) {
return 18;
}
if (s.equalsIgnoreCase("cloak")) {
return 19;
}
if (s.equalsIgnoreCase("glove")) {
return 20;
}
if (s.equalsIgnoreCase("boots")) {
return 21;
}
if (s.equalsIgnoreCase("helm")) {
return 22;
}
if (s.equalsIgnoreCase("ring")) {
return 23;
}
if (s.equalsIgnoreCase("amulet")) {
return 24;
}
if ((s.equalsIgnoreCase("shield")) || (s.equalsIgnoreCase("garder"))) {
return 25;
}
if (s.equalsIgnoreCase("dai")) {
return 26;
}
if (s.equalsIgnoreCase("zel")) {
return 27;
}
if (s.equalsIgnoreCase("blank")) {
return 28;
}
if (s.equalsIgnoreCase("btele")) {
return 29;
}
if (s.equalsIgnoreCase("spell_buff")) {
return 30;
}
if (s.equalsIgnoreCase("ccard")) {
return 31;
}
if (s.equalsIgnoreCase("ccard_w")) {
return 32;
}
if (s.equalsIgnoreCase("vcard")) {
return 33;
}
if (s.equalsIgnoreCase("vcard_w")) {
return 34;
}
if (s.equalsIgnoreCase("wcard")) {
return 35;
}
if (s.equalsIgnoreCase("wcard_w")) {
return 36;
}
if (s.equalsIgnoreCase("belt")) {
return 37;
}
if (s.equalsIgnoreCase("spell_long2")) {
return 39;
}
if (s.equalsIgnoreCase("earring")) {
return 40;
}
if (s.equalsIgnoreCase("fishing_rod")) {
return 42;
}
if (s.equalsIgnoreCase("ron")) {
return 44;
}
if (s.equalsIgnoreCase("ron2")) {
return 44;
}
if (s.equalsIgnoreCase("acczel")) {
return 46;
}
if (s.equalsIgnoreCase("petitem")) {
return 51;
}
if (s.equalsIgnoreCase("healing")) {
return 51;
}
if (s.equalsIgnoreCase("pair")) {
return 70;
}
if (s.equalsIgnoreCase("magicdoll")) {
return 73;
}
if (s.equalsIgnoreCase("sentence")) {
return 74;
}
if (s.equalsIgnoreCase("shoulder")) {
return 75;
}
if (s.equalsIgnoreCase("petpotion")) {
return 77;
}
if (s.equalsIgnoreCase("badge")) {
return 78;
}
if (s.equalsIgnoreCase("poly_controll")) {
return 79;
}
if (s.equalsIgnoreCase("poly")) { //검은 데스변신 줌서? pair 겹쳐서 임으로 변경
return 555;
}
System.out.println(String.format("invalid item use type %s", new Object[] { s }));
return -1;
}
}

댓글1
-
신화서버2020.11.17 - 04:22 #10136616
저 소스하고 다르게 되어있으면..
검색 Item Table.java
_armorTypes.put("shoulder", new Integer(17));// 견갑 <<검색 후 19번으로 바꿈
_armorTypes.put("badge", new Integer(18));// 휘장 <<검색후 30번으로 바꿈
_useTypes.put("pair", new Integer(47));// 각반 << 검색 후 70으로 바꿈
_useTypes.put("shoulder", new Integer(52));//견갑 <<검색 후 75로 바꿈
_useTypes.put("badge", new Integer(53));// //휘장 <<검색후 78로 바꿈
신화서버 님의 최근 댓글
안녕하세요. 팩 최초 배포자입니다. 팩을 무료로 배포한걸 여기저기 팔고다니는건 그렇지 않나요? 팩을 파실려면 본인이 수정을해서 재업을 하시던지하시고요 수정능력이 없으면 팩을 팔지 마시기바랍니다. 2023 01.01 안녕하세요. 팩주인입니다. 왜 무료로 팩을 올렸더니 원본을 팔고다니죠? 내려주시기 바랍니다 2023 01.01 패치 파일중 String-k ItemDesc-k 둘중 하나가 잘못되면 그런현상이 있던걸로 기억되네요. 2020 12.04 저 소스하고 다르게 되어있으면.. 검색 Item Table.java _armorTypes.put("shoulder", new Integer(17));// 견갑 <<검색 후 19번으로 바꿈 _armorTypes.put("badge", new Integer(18));// 휘장 <<검색후 30번으로 바꿈 _useTypes.put("pair", new Integer(47));// 각반 << 검색 후 70으로 바꿈 _useTypes.put("shoulder", new Integer(52));//견갑 <<검색 후 75로 바꿈 _useTypes.put("badge", new Integer(53));// //휘장 <<검색후 78로 바꿈 2020 11.17 L1PcInventory.java 이것뿐 안보이는데. 여기서 수정해도 멘트는 똑같던데.. 흠 2020 10.28