사이트 로그인
2016.05.19 21:56
해당 자바는 엔피씨액션입니다
이부분 주석처리 해주고요
} else if (s.equalsIgnoreCase("fix")) {
} else if (s.equalsIgnoreCase("room")) {
L1NpcInstance npc = (L1NpcInstance) obj;
int npcId = npc.getNpcTemplate().get_npcId();
switch(npcId){
case 70019:// 글루딘
case 70012:// 말하는 섬 16387 (4003)
case 70031:// 기란
case 70054:// 아덴
case 70065:// 오렌
case 70070:// 윈다우드
case 70075:// 은기사
case 70084:// 하이네
default:
}
이밑에 낑겨주심 댑니다!!
} else if (((L1NpcInstance) obj).getNpcTemplate().get_npcId() == 70012
|| ((L1NpcInstance) obj).getNpcTemplate().get_npcId() == 70019
|| ((L1NpcInstance) obj).getNpcTemplate().get_npcId() == 70031
|| ((L1NpcInstance) obj).getNpcTemplate().get_npcId() == 70054
|| ((L1NpcInstance) obj).getNpcTemplate().get_npcId() == 70065
|| ((L1NpcInstance) obj).getNpcTemplate().get_npcId() == 70070
|| ((L1NpcInstance) obj).getNpcTemplate().get_npcId() == 70075
|| ((L1NpcInstance) obj).getNpcTemplate().get_npcId() == 70084
|| ((L1NpcInstance) obj).getNpcTemplate().get_npcId() == 70096) {
if (s.equalsIgnoreCase("room")) {
if(pc.getInventory().checkItem(40312))
htmlid = "inn5";
else
if(pc.getInventory().findItemId(40308).getCount() >= 300) {
materials = (new int[] {
40308
});
counts = (new int[] {
300
});
createitem = (new int[] {
40312
});
createcount = (new int[] {
1
});
htmlid = "inn4";
} else {
htmlid = "inn3";
}
} else if (s.equalsIgnoreCase("room")) {
if(pc.getInventory().checkItem(40312))
htmlid = "inn5";
else
if(pc.getInventory().findItemId(40308).getCount() >= 600) {
materials = (new int[] {
40308
});
counts = (new int[] {
600
});
createitem = (new int[] {
49016
});
createcount = (new int[] {
1
});
htmlid = "inn4";
} else {
htmlid = "inn3";
}
} else if (s.equalsIgnoreCase("room")) {
int k1 = 0;
try {
k1 = pc.getLawful();
}
catch (Exception exception) { }
if(k1 >= 0) {
htmlid = "inn2";
htmldata = (new String[] {
"여관주인", "300"
});
} else {
htmlid = "inn1";
}
} else if (s.equalsIgnoreCase("hall")) {
int k1 = 0;
int c1 = 0;
try {
k1 = pc.getLawful();
c1 = pc.getClassId();
}
catch (Exception exception1) { }
if(k1 >= 0) {
if(c1 == 0 || c1 == 1)
{
htmlid = "inn4";
htmldata = (new String[] {
"여관주인", "600"
});
} else {
htmlid = "inn10";
}
} else {
htmlid = "inn11";
}
} else if (s.equalsIgnoreCase("return")) {
if(pc.getInventory().checkItem(40312)) {
int ct = pc.getInventory().findItemId(40312).getCount();
int cash = ct * 60;
materials = (new int[] {
40312
});
counts = (new int[] {
ct
});
createitem = (new int[] {
40308
});
createcount = (new int[] {
cash
});
htmlid = "inn20";
String count = Integer.toString(cash);
htmldata = (new String[] {
"여관주인", count
});
} else if (pc.getInventory().checkItem(40312)) {
int ct = pc.getInventory().findItemId(40312).getCount();
int cash = ct * 120;
materials = (new int[] {
49016
});
counts = (new int[] {
ct
});
createitem = (new int[] {
40308
});
createcount = (new int[] {
cash
});
htmlid = "inn20";
String count = Integer.toString(cash);
htmldata = (new String[] {
"여관주인", count
});
} else {
htmlid = "inn7";
}
} else if (s.equalsIgnoreCase("enter")) {
int nowX = pc.getX();
int nowY = pc.getY();
short map = pc.getMapId();
if(pc.getInventory().checkItem(40312)) {
if(map == 0)
L1Teleport.teleport(pc, 32746, 32803, (short)16384, 5, false);
else
if(map > 0)
if(nowX < 32641 && nowX > 32621 && nowY < 32770 && nowY > 32750)
L1Teleport.teleport(pc, 32744, 32803, (short)17408, 5, false); //글말
else
if(nowX < 32638 && nowX > 32618 && nowY < 33177 && nowY > 33157)
L1Teleport.teleport(pc, 32745, 32803, (short)20480, 5, false); //윈말 여관
else
if(nowX < 33995 && nowX > 33975 && nowY < 33322 && nowY > 33302)
L1Teleport.teleport(pc, 32745, 32803, (short)19456, 5, false);//아덴
else
if(nowX < 33447 && nowX > 33427 && nowY < 32799 && nowY > 32779)
L1Teleport.teleport(pc, 32745, 32803, (short)18432, 5, false);//기란
else
if(nowX < 33615 && nowX > 33595 && nowY < 33285 && nowY > 33265)
L1Teleport.teleport(pc, 32745, 32803, (short)22528, 5, false);//하이네
else
if(nowX < 33126 && nowX > 33106 && nowY < 33389 && nowY > 33369)
L1Teleport.teleport(pc, 32745, 32803, (short)21504, 5, false);//은기사
else
if(nowX < 34078 && nowX > 34058 && nowY < 32264 && nowY > 32244)
L1Teleport.teleport(pc, 32745, 32803, (short)24576, 5, false);//오렌
} else if(pc.getInventory().checkItem(40312)) {
if(map == 0)
L1Teleport.teleport(pc, 32744, 32808, (short)16896, 5, false);
else
if(map > 0)
if(nowX < 32641 && nowX > 32621 && nowY < 32760 && nowY > 32740)
L1Teleport.teleport(pc, 32745, 32807, (short)18944, 5, false);
else
if(nowX < 32638 && nowX > 32618 && nowY < 33177 && nowY > 33157)
L1Teleport.teleport(pc, 32745, 32807, (short)19968, 5, false);
else
if(nowX < 33995 && nowX > 33975 && nowY < 33322 && nowY > 33302)
L1Teleport.teleport(pc, 32745, 32807, (short)20992, 5, false);
else
if(nowX < 33447 && nowX > 33427 && nowY < 32799 && nowY > 32779)
L1Teleport.teleport(pc, 32745, 32807, (short)22016, 5, false);
else
if(nowX < 33615 && nowX > 33595 && nowY < 33285 && nowY > 33265)
L1Teleport.teleport(pc, 32745, 32807, (short)23040, 5, false);
else
if(nowX < 33126 && nowX > 33106 && nowY < 33389 && nowY > 33369)
L1Teleport.teleport(pc, 32745, 32807, (short)24064, 5, false);
else
if(nowX < 34078 && nowX > 34058 && nowY < 32264 && nowY > 32244)
L1Teleport.teleport(pc, 32745, 32807, (short)25088, 5, false);
} else {
htmlid = "inn9";
}
}
번호 | 제목 | 글쓴이 | 날짜 | 조회 수 |
---|---|---|---|---|
공지 | 소스자료는 직접 올려주세요 | 게임존 | 2017.06.06 | 550 |
159 | 통합 쓰레드(Thread) 소스!! 알고리즘? | 김닉넴 | 2016.05.20 | 102 |
158 | 보스몹 멘트 띄우기 | 김닉넴 | 2016.05.19 | 120 |
157 | 로또복권 | 김닉넴 | 2016.05.19 | 80 |
156 | 불량 채팅 검출 | 김닉넴 | 2016.05.19 | 51 |
155 | 실시간 레벨제한 | 김닉넴 | 2016.05.19 | 59 |
» | 여관 들어가기 | 김닉넴 | 2016.05.19 | 46 |
153 | 영자들끼리 대화 | 김닉넴 | 2016.05.19 | 96 |
152 | 영자 명령어 경치 복구 | 김닉넴 | 2016.05.19 | 39 |
151 | 오토루팅 | 김닉넴 | 2016.05.19 | 244 |
150 | 퀘스트템 자동 지급 소스 | 김닉넴 | 2016.05.19 | 115 |
149 | 초반 말하는 두루마리 지급 부분 본섭화 | 김닉넴 | 2016.05.19 | 59 |
148 | l1skilluse.handlecommands - null point 에러 | 야호 | 2016.05.19 | 47 |
147 | 기억창 소스 | 김닉넴 | 2016.05.18 | 127 |
146 | gm명령 메모리솔류션 | 김닉넴 | 2016.05.18 | 102 |
145 | 오림시스템 | 김닉넴 | 2016.05.18 | 80 |
144 | 너스핵쓰냐?잡아본다 [2] | 김닉넴 | 2016.05.18 | 202 |
143 | 마을경비 입구가져오는몹 죽이는법 | 김닉넴 | 2016.05.18 | 58 |
142 | 던전 타이머 소스 | 김닉넴 | 2016.05.18 | 102 |
141 | 낚시터 드랍경로 [1] | 김닉넴 | 2016.05.18 | 88 |
140 | 허수아비렙제 | 김닉넴 | 2016.05.18 | 99 |
139 | 운영자 명령어 [혈전시작] 추가방법 | 김닉넴 | 2016.05.18 | 71 |
138 | 같은혈 용병로봇들이 상대방혈의 로봇들 치게 하는방법.[초코님 점팩 기준] | 김닉넴 | 2016.05.18 | 285 |
137 | 파티원 수 늘리기 | 김닉넴 | 2016.05.18 | 36 |
136 | [아이서버] 공성주기 변경 | 김닉넴 | 2016.05.18 | 60 |
135 | 환영의 체인소드 | 김닉넴 | 2016.05.18 | 29 |
134 | 커멘드로 영자권한 주기입니다 | 김닉넴 | 2016.05.18 | 97 |
133 | 특정아이템 획득시 전체공지 | 김닉넴 | 2016.05.18 | 105 |
132 | [아이서버] 혈전종료 명령어 | 김닉넴 | 2016.05.18 | 41 |
131 | linall 유저가접하면 알아서 인사하고~ 성주가 접하면 알아서 성주인사를~합니다~ | 김닉넴 | 2016.05.18 | 139 |
130 | 축아이템 만들기 [1] | 김닉넴 | 2016.05.18 | 182 |
129 | 1억수표 | 김닉넴 | 2016.05.18 | 102 |
128 |
잊섬 2시간 텀으로 열리게 컴파일 요청합니다
![]() | 아오이와소라 | 2016.05.17 | 186 |
127 | mr에 의한 데미지 경감 소스 [1] | LoseF | 2016.05.10 | 157 |
126 | 몬스터 피틱 and 엠틱 간단하게 쓰레드 최소화? | 로스트사가 | 2016.05.05 | 84 |
125 |
매니저창 구버전 하시는분들한테 좋을거 같아서 올립니다.
![]() | 로스트사가 | 2016.05.05 | 683 |
124 | 귓말 글자수 늘려보자 | 로스트사가 | 2016.05.04 | 41 |
123 | 에메랄드 아이콘 패킷 | 로스트사가 | 2016.05.03 | 88 |
122 | 마법 방어 인첸트 적용 | 로스트사가 | 2016.05.03 | 85 |
121 |
족보&나이
[1] ![]() | 로스트사가 | 2016.05.03 | 143 |
120 |
펫관련 본섭화와 밸런스
![]() | 로스트사가 | 2016.05.03 | 198 |
119 | [본섭화]수호탑근처가면투명해제 | 로스트사가 | 2016.05.03 | 46 |
118 | 변신 레벨에따른 공속변화 | 로스트사가 | 2016.04.30 | 495 |
117 | 5분마다 자도옹지 띄우기 | 이드1 | 2016.04.27 | 103 |
116 | 공성 먹자 군주 방지 [1] | 이드1 | 2016.04.27 | 124 |
115 | 몬스터잡은만큼 버프주기 | 이드1 | 2016.04.26 | 113 |
114 | [중복] 자세히 클래스변경물약 | 이드1 | 2016.04.26 | 85 |
113 | 유저커멘드 인벤템 보여주기 | 이드1 | 2016.04.26 | 125 |
112 | 인첸별 이펙 | 이드1 | 2016.04.26 | 157 |
111 | 특정맵 경험치증가 | 이드1 | 2016.04.26 | 95 |
110 | 특정아이템 뮨효과 | 이드1 | 2016.04.26 | 135 |