cubric and does not work the other dungeons

10/08/2012 23:24 rilik26#1
1-)cubric and does not work the other dungeons

[Only registered and activated users can see links. Click Here To Register...]

cubric.sql
Code:
use arcadia
update fieldpropresource
set script_text = 'cubric_tele()'
where terrain_check = 0 or terrain_check = 1
3e4d6704e4e128bacd554318bb2e78cf.lua
Code:
--- Lua 스크립트 암호�*
function get_module_name()
             return "ETC_dungeon_prop"
end


--	제어장치 및 코어 점령시 호출될 함수. 
-- 내부적으로 �*버에�* 제공하는 소유권 변경 함수 및 주변 몹 리젠 함수( respawn_near_mob( range ) )가 사용됨.
function casting_tactical_position( dungeon_id, position_id )

	-- 호출된 지점의 (제어장치 혹은 던전 코어) 소유권을 변경시키는 부�Ğ
	change_tactical_position_owner( dungeon_id, position_id )
	
	-- 변경된 지점 주변의 가�ğ�ğ을 리젠
	respawn_guardian_object( dungeon_id, position_id )

	
end

--	던전 출구 클릭시 필드로 텔레포트 시켜 주는 일�İ 함수.
function exit_dungeon( dungeon_id )

	-- 잃어버린 던전1
	if dungeon_id == 130000 then
		-- TO DO : 던전 입구 쪽의 텔레포트 좌표 넣어야 함
		warp( 155817 + math.random(0,60) , 103724 + math.random(0,60) )
	
	-- 잃어버린 던전2
	elseif dungeon_id == 130600 then
		-- TO DO : 던전 입구 쪽의 텔레포트 좌표 넣어야 함
		warp( 152309 + math.random(0,60) , 102886 + math.random(0,60) )
	
	-- 수정 계곡1
	elseif dungeon_id == 130300 then
		-- TO DO : 던전 입구 쪽의 텔레포트 좌표 넣어야 함
		warp( 103210 + math.random(0,60) , 100366 + math.random(0,60) )

	-- 수정 계곡2
	elseif dungeon_id == 130500 then
		-- TO DO : 던전 입구 쪽의 텔레포트 좌표 넣어야 함
		warp( 99757 + math.random(0,60) , 103236 + math.random(0,60) )

	-- �Ş마른 �Ş빛의 유적1
	elseif dungeon_id == 130400 then
	    -- TO DO : 던전 입구 쪽의 텔레포트 좌표 넣어야 함
		warp( 132995 + math.random(0,60) , 87096 + math.random(0,60) )
	 
	-- �Ş마른 �Ş빛의 유적2
	elseif dungeon_id == 130700 then
	    -- TO DO : 던전 입구 쪽의 텔레포트 좌표 넣어야 함
		warp( 130842 + math.random(0,60) , 79586 + math.random(0,60) )
	
    -- 팔미르 제 1 유적 
	elseif dungeon_id == 130800 then
	    -- TO DO : 던전 입구 쪽의 텔레포트 좌표 넣어야 함
		warp( 132680 + math.random(0,60) , 128030 + math.random(0,60) )	

    -- 팔미르 제 2 유적 
	elseif dungeon_id == 130900 then
	    -- TO DO : 던전 입구 쪽의 텔레포트 좌표 넣어야 함
		warp( 137441 + math.random(0,60) , 128115 + math.random(0,60) )		

    -- 잃어버린 비�Ğ의 섬(백룡의 쉼터) 
	elseif dungeon_id == 121000 then
	    -- TO DO : 던전 입구 쪽의 텔레포트 좌표 넣어야 함
		warp( 91942 + math.random(0,60) , 117103 + math.random(0,60) )			

    -- 잃어버린 비�Ğ의 섬(흑룡의 그늘) 
	elseif dungeon_id == 122000 then
	    -- TO DO : 던전 입구 쪽의 텔레포트 좌표 넣어야 함
		warp( 85752 + math.random(0,60) , 118062 + math.random(0,60) )
		
	-- 잃어버린 비�Ğ의 섬(사룡의 심장) 
	elseif dungeon_id == 123000 then
	    -- TO DO : 던전 입구 쪽의 텔레포트 좌표 넣어야 함
		warp( 91998 + math.random(0,60) , 124400 + math.random(0,60) )
			
	-- 엘 카시아 워프 프랍 (엘 카시아 -> 마르두카 폭포 필드)
	elseif dungeon_id == 120700 then
		-- TO DO : 던전 입구 쪽의 텔레포트 좌표 넣어야 함
		warp( 146015 + math.random(0,61) , 135591+ math.random(0,10) )

	-- 숨겨진 팔미르 던전 워프 프랍 (숨겨진 팔미르 입구 -> 팔미르 제 1 실 입구 필드)
	elseif dungeon_id == 120292 then
		-- TO DO : 던전 입구 쪽의 텔레포트 좌표 넣어야 함
		warp( 132680 + math.random(0,60) , 128030 + math.random(0,60) )
	
	-- 숨겨진 수정 계곡 던전 워프 프랍 (숨겨진 수정 계곡 입구 -> 수정 계곡 입구 필드)
	elseif dungeon_id == 70192 then
		-- TO DO : 던전 입구 쪽의 텔레포트 좌표 넣어야 함
		warp( 103234+ math.random(0,60) , 100310 + math.random(0,60) )

	end	
			
end



function warp_gate( prop_id )
		
		
	-- 퀘스트 상태 체크 	get_quest_progress(ID)  
	-- �İ환값 -1 : 아무것도 아님  /  0 : 수락가  /  1 : 수행중  /  2 : 종료가능  /  255 : 이미종료
	local quest_progress1 =  get_quest_progress(1244) -- 유령선 나비스라미아: 진행 1
	local quest_progress2 =  get_quest_progress(1245) -- 유령선 나비스라미아: 진행 2
	local quest_progress3 =  get_quest_progress(1247) -- 유령선 나비스라미아: 진행 3
	
	-- 고리수정
	local item_lamia_sujung_1 = find_item ( 1000077 )
	local item_lamia_sujung_handle = get_item_handle ( 1000077 )
   	
		
	-- 나비스 라미아 갑판  
	if prop_id == 130881 then
		
		if item_lamia_sujung_1 == 1 then
		
		-- 퀘스트 도중 다시 처음부터 시작 할때 진행 불가
		--if quest_progress1 == 2 then	
	
		-- 첫번째 퀘스트 시작전이면(수행중이면)
		--if quest_progress2 == 1 then
		
		-- 텔레포트 좌표
		warp( 190072 + math.random(0,10) , 34171+ math.random(0,10), gv("layer") )
					
		else 
		cprint( "@1233" ) -- '워프게이트 사용을 위한 허가를 �Ş지 못했습니다.'
		end
	end
	
	-- 나비스 라미아 조타실  
	if prop_id == 130882 then
		
		-- 퀘스트 도중 다시 처음부터 시작 할때 진행 불가
		--if quest_progress2 == 2 then	
	
		-- 첫번째 퀘스트 시작전이면(수행중이면)
		--if quest_progress2 == 1 then
		
		-- 텔레포트 좌표
		warp( 189645 + math.random(0,10) , 36119+ math.random(0,10), gv("layer") )
					
		--else 
		--cprint( "@1233" )
		--end
	end
		
	-- 나비스 라미아 주방  
	if prop_id == 130883 then
		
		-- 퀘스트 도중 다시 처음부터 시작 할때 진행 불가
		if quest_progress3 == 2 or quest_progress3 == 255 then	
	
		-- 첫번째 퀘스트 시작전이면(수행중이면)
		--if quest_progress3 == 1 then
		
		-- 텔레포트 좌표
		warp( 190018 + math.random(0,10) , 37865+ math.random(0,10), gv("layer") )
					
		else 
		cprint( "@1233" )
		end
	end
			
	-- 수련자의 섬 선착장 
	if prop_id == 130880 then	
		-- 텔레포트 좌표
		warp(175274 + math.random(0,10) , 62743+ math.random(0,10), gv("layer") )
					
	-- 나비스 라미아 노선실 
	elseif prop_id == 130884 then	
		-- 텔레포트 좌표
		warp( 190008 + math.random(0,10) , 40519+ math.random(0,10), gv("layer") )
		
	-- 나비스 라미아 노선실 
	elseif prop_id == 130885 then	
		-- 텔레포트 좌표
		warp( 187541 + math.random(0,10) , 36391+ math.random(0,10), gv("layer") )
		
	-- 나비스 라미아 노선실  
	elseif prop_id == 130886 then	
		-- 텔레포트 좌표
		warp( 187541 + math.random(0,10) , 37946+ math.random(0,10), gv("layer") )
		
	-- 나비스 라미아 노선실  
	elseif prop_id == 130887 then	
		-- 텔레포트 좌표
		warp( 187541 + math.random(0,10) , 39622+ math.random(0,10), gv("layer") )
		
	-- 나비스 라미아 노선실 
	elseif prop_id == 130888 then	
		-- 텔레포트 좌표
		warp( 192531 + math.random(0,10) , 39596+ math.random(0,10), gv("layer") )
		
	-- 나비스 라미아 노선실 
	elseif prop_id == 130889 then	
		-- 텔레포트 좌표
		warp( 192531 + math.random(0,10) , 37943+ math.random(0,10), gv("layer") )
		
	-- 나비스 라미아 노선실 
	elseif prop_id == 130890 then	
		-- 텔레포트 좌표
		warp( 192531 + math.random(0,10) , 36385+ math.random(0,10), gv("layer") )
		
	-- 나비스 라미아 식료품창고 
	elseif prop_id == 130874 then	
		-- 텔레포트 좌표
		warp( 189811 + math.random(0,10) , 37968+ math.random(0,10), gv("layer") )
		
	-- 나비스 라미아 객실1 
	elseif prop_id == 130875 then	
		-- 텔레포트 좌표
		warp( 189811 + math.random(0,10) , 38128+ math.random(0,10), gv("layer") )
		
	-- 나비스 라미아 잡�*창고 
	elseif prop_id == 130876 then	
		-- 텔레포트 좌표
		warp( 189811 + math.random(0,10) , 38323+ math.random(0,10), gv("layer") )
		
	-- 나비스 라미아 라미아의 눈물 
	elseif prop_id == 130877 then	
		-- 텔레포트 좌표
		warp( 190232 + math.random(0,10) , 38325+ math.random(0,10), gv("layer") )
		
	-- 나비스 라미아 객실2 
	elseif prop_id == 130878 then	
		-- 텔레포트 좌표
		warp( 190232 + math.random(0,10) , 38127+ math.random(0,10), gv("layer") )
		
	-- 나비스 라미아 �ı체실험 준비실 
	elseif prop_id == 130879 then	
		-- 텔레포트 좌표
		warp( 190232 + math.random(0,10) , 37967+ math.random(0,10), gv("layer") )
		
	-- 나비스 라미아 선장실 
	elseif prop_id == 130974 then	
		-- 텔레포트 좌표
		warp( 175249 + math.random(0,10) , 60932+ math.random(0,10), gv("layer") )
	
	-------------------------------------------------------------------------------
								--	팔미르 유적 --
	-------------------------------------------------------------------------------
	
	-- 팔미르 제 1 유적 워프 프랍 1 번	
	elseif prop_id == 130801 then	
		-- 텔레포트 좌표
		warp( 210380 + math.random(0,10) , 136234+ math.random(0,10), gv("layer") )
		
	-- 팔미르 제 1 유적 워프 프랍 2 번	
	elseif prop_id == 130802 then	
		-- 텔레포트 좌표
		warp( 219449 + math.random(0,10) , 129851+ math.random(0,10), gv("layer") )
		
	-- 팔미르 제 1 유적 워프 프랍 3 번	
	elseif prop_id == 130803 then	
		-- 텔레포트 좌표
		warp( 219913 + math.random(0,10) , 133705+ math.random(0,10), gv("layer") )
		
	-- 팔미르 제 1 유적 워프 프랍 4 번	
	elseif prop_id == 130804 then	
		-- 텔레포트 좌표
		warp( 219712 + math.random(0,10) , 133084+ math.random(0,10), gv("layer") )
		
	-- 팔미르 제 1 유적 워프 프랍 5 번	
	elseif prop_id == 130805 then	
		-- 텔레포트 좌표
		warp( 214456 + math.random(0,10) , 136681+ math.random(0,10), gv("layer") )
		
	-- 팔미르 제 1 유적 워프 프랍 6 번	
	elseif prop_id == 130806 then	
		-- 텔레포트 좌표
		warp( 213631 + math.random(0,10) , 136637+ math.random(0,10), gv("layer") )
		
	-- 팔미르 제 1 유적 워프 프랍 7 번	
	elseif prop_id == 130807 then	
		-- 텔레포트 좌표
		warp( 214263 + math.random(0,10) , 137450+ math.random(0,10), gv("layer") )
		
	-- 팔미르 제 1 유적 워프 프랍 8 번	
	elseif prop_id == 130808 then	
		-- 텔레포트 좌표
		warp( 220659 + math.random(0,10) , 133638+ math.random(0,10), gv("layer") )
		
	-- 팔미르 제 1 유적 워프 프랍 9 번	
	elseif prop_id == 130809 then	
		-- 텔레포트 좌표
		warp( 210201 + math.random(0,10) , 139440+ math.random(0,10), gv("layer") )
		
	-- 팔미르 제 1 유적 워프 프랍 10 번	
	elseif prop_id == 130810 then	
		-- 텔레포트 좌표
		warp( 218003 + math.random(0,10) , 129314+ math.random(0,10), gv("layer") )
		
	-- 팔미르 제 1 유적 워프 프랍 11 번	
	elseif prop_id == 130811 then	
		-- 텔레포트 좌표
		warp( 217804 + math.random(0,10) , 133780+ math.random(0,10), gv("layer") )
		
	-- 팔미르 제 1 유적 워프 프랍 12 번	
	elseif prop_id == 130812 then	
		-- 텔레포트 좌표
		warp( 218185 + math.random(0,10) , 134275+ math.random(0,10), gv("layer") )
		
	-- 팔미르 제 1 유적 워프 프랍 13 번	
	elseif prop_id == 130813 then	
		-- 텔레포트 좌표
		warp( 213922 + math.random(0,10) , 134885+ math.random(0,10), gv("layer") )
		
	-- 팔미르 제 1 유적 워프 프랍 14 번	
	elseif prop_id == 130814 then	
		-- 텔레포트 좌표
		warp( 214533 + math.random(0,10) , 135565+ math.random(0,10), gv("layer") )
		
	-- 팔미르 제 1 유적 워프 프랍 15 번	
	elseif prop_id == 130815 then	
		-- 텔레포트 좌표
		warp( 224491 + math.random(0,10) , 134710+ math.random(0,10), gv("layer") )
		
	-- 팔미르 제 1 유적 워프 프랍 16 번	
	elseif prop_id == 130816 then	
		-- 텔레포트 좌표
		warp( 223407 + math.random(0,10) , 134701+ math.random(0,10), gv("layer") )
		
	-- 팔미르 제 1 유적 워프 프랍 17 번	
	elseif prop_id == 130817 then	
		-- 텔레포트 좌표
		warp( 217010 + math.random(0,10) , 140208+ math.random(0,10), gv("layer") )
		
	-- 팔미르 제 1 유적 워프 프랍 18 번	
	elseif prop_id == 130818 then	
		-- 텔레포트 좌표
		warp( 216860 + math.random(0,10) , 139575+ math.random(0,10), gv("layer") )
		
	-- 팔미르 제 1 유적 워프 프랍 19 번	
	elseif prop_id == 130819 then	
		-- 텔레포트 좌표
		warp( 216533 + math.random(0,10) , 140560+ math.random(0,10), gv("layer") )
		
	-- 팔미르 제 1 유적 워프 프랍 20 번	
	elseif prop_id == 130820 then	
		-- 텔레포트 좌표
		warp( 223831 + math.random(0,10) , 134943+ math.random(0,10), gv("layer") )
		
	-- 팔미르 제 1 유적 워프 프랍 21 번	
	elseif prop_id == 130821 then	
		-- 텔레포트 좌표
		warp( 224101 + math.random(0,10) , 142035+ math.random(0,10), gv("layer") )
		
	-- 팔미르 제 1 유적 워프 프랍 22 번	
	elseif prop_id == 130822 then	
		-- 텔레포트 좌표
		warp( 224474 + math.random(0,10) , 141600+ math.random(0,10), gv("layer") )
		
	-- 팔미르 제 1 유적 워프 프랍 23 번	
	elseif prop_id == 130823 then	
		-- 텔레포트 좌표
		warp( 223466 + math.random(0,10) , 141318+ math.random(0,10), gv("layer") )
		
	-- 팔미르 제 1 유적 워프 프랍 24 번	
	elseif prop_id == 130824 then	
		-- 텔레포트 좌표
		warp( 221410 + math.random(0,10) , 144106+ math.random(0,10), gv("layer") )
		
	-- 팔미르 제 1 유적 워프 프랍 25 번	
	elseif prop_id == 130825 then	
		-- 텔레포트 좌표
		warp( 220847 + math.random(0,10) , 143458+ math.random(0,10), gv("layer") )
		
	-- 팔미르 제 1 유적 워프 프랍 26 번	
	elseif prop_id == 130826 then	
		-- 텔레포트 좌표
		warp( 220942 + math.random(0,10) , 144434+ math.random(0,10), gv("layer") )
		
	-- 팔미르 제 1 유적 워프 프랍 27 번	
	elseif prop_id == 130827 then	
		-- 텔레포트 좌표
		warp( 219150 + math.random(0,10) , 139636+ math.random(0,10), gv("layer") )
		
	-- 팔미르 제 1 유적 워프 프랍 28 번	
	elseif prop_id == 130828 then	
		-- 텔레포트 좌표
		warp( 219520 + math.random(0,10) , 140193+ math.random(0,10), gv("layer") )
		
	-- 팔미르 제 1 유적 워프 프랍 29 번	
	elseif prop_id == 130829 then	
		-- 텔레포트 좌표
		warp( 220115 + math.random(0,10) , 139207+ math.random(0,10), gv("layer") )
		
	-- 팔미르 제 1 유적 워프 프랍 30 번	
	elseif prop_id == 130830 then	
		-- 텔레포트 좌표
		warp( 219486 + math.random(0,10) , 139264+ math.random(0,10), gv("layer") )
		
	-- 팔미르 제 1 유적 워프 프랍 31 번	
	elseif prop_id == 130831 then	
		-- 텔레포트 좌표
		warp( 213211 + math.random(0,10) , 142969+ math.random(0,10), gv("layer") )
		
	-- 팔미르 제 1 유적 워프 프랍 32 번	
	elseif prop_id == 130832 then	
		-- 텔레포트 좌표
		warp( 217128 + math.random(0,10) , 136129+ math.random(0,10), gv("layer") )
		
	-- 팔미르 제 1 유적 워프 프랍 33 번	
	elseif prop_id == 130833 then	
		-- 텔레포트 좌표
		warp( 218883 + math.random(0,10) , 137899+ math.random(0,10), gv("layer") )
		
	-- 팔미르 제 1 유적 워프 프랍 3-1 번	
	elseif prop_id == 130836 then	
		-- 텔레포트 좌표
		warp( 219973 + math.random(0,10) , 133090+ math.random(0,10), gv("layer") )
		
	-- 팔미르 제 1 유적 워프 프랍 4-1 번	
	elseif prop_id == 130837 then	
		-- 텔레포트 좌표
		warp( 220079 + math.random(0,10) , 133531+ math.random(0,10), gv("layer") )
		
	-- 팔미르 제 1 유적 워프 프랍 6-1 번	
	elseif prop_id == 130839 then	
		-- 텔레포트 좌표
		warp( 214272 + math.random(0,10) , 137193+ math.random(0,10), gv("layer") )
		
	-- 팔미르 제 1 유적 워프 프랍 7-1 번	
	elseif prop_id == 130840 then	
		-- 텔레포트 좌표
		warp( 213847 + math.random(0,10) , 136674+ math.random(0,10), gv("layer") )
		
	-- 팔미르 제 1 유적 워프 프랍 11-1 번	
	elseif prop_id == 130844 then	
		-- 텔레포트 좌표
		warp( 217946 + math.random(0,10) , 134270+ math.random(0,10), gv("layer") )
		
	-- 팔미르 제 1 유적 워프 프랍 12-1 번	
	elseif prop_id == 130845 then	
		-- 텔레포트 좌표
		warp( 217667 + math.random(0,10) , 133968+ math.random(0,10), gv("layer") )
		
	-- 팔미르 제 1 유적 워프 프랍 13-1 번	
	elseif prop_id == 130846 then	
		-- 텔레포트 좌표
		warp( 214559 + math.random(0,10) , 135314+ math.random(0,10), gv("layer") )
		
	-- 팔미르 제 1 유적 워프 프랍 14-1 번	
	elseif prop_id == 130847 then	
		-- 텔레포트 좌표
		warp( 214191 + math.random(0,10) , 134901+ math.random(0,10), gv("layer") )
		
	-- 팔미르 제 1 유적 워프 프랍 15-1 번	
	elseif prop_id == 130848 then	
		-- 텔레포트 좌표
		warp( 223595 + math.random(0,10) , 134708+ math.random(0,10), gv("layer") )
		
	-- 팔미르 제 1 유적 워프 프랍 16-1 번	
	elseif prop_id == 130849 then	
		-- 텔레포트 좌표
		warp( 224289 + math.random(0,10) , 134749+ math.random(0,10), gv("layer") )
		
	-- 팔미르 제 1 유적 워프 프랍 18-1 번	
	elseif prop_id == 130858 then	
		-- 텔레포트 좌표
		warp( 216570 + math.random(0,10) , 140372+ math.random(0,10), gv("layer") )
		
	-- 팔미르 제 1 유적 워프 프랍 19-1 번	
	elseif prop_id == 130859 then	
		-- 텔레포트 좌표
		warp( 216838 + math.random(0,10) , 139733+ math.random(0,10), gv("layer") )
		
	-- 팔미르 제 1 유적 워프 프랍 20-1 번	
	elseif prop_id == 130860 then	
		-- 텔레포트 좌표
		warp( 217010 + math.random(0,10) , 140208+ math.random(0,10), gv("layer") )
		
	-- 팔미르 제 1 유적 워프 프랍 21-1 번	
	elseif prop_id == 130861 then	
		-- 텔레포트 좌표
		warp( 223629 + math.random(0,10) , 141357+ math.random(0,10), gv("layer") )
		
	-- 팔미르 제 1 유적 워프 프랍 22-1 번	
	elseif prop_id == 130862 then	
		-- 텔레포트 좌표
		warp( 224048 + math.random(0,10) , 141882+ math.random(0,10), gv("layer") )
		
	-- 팔미르 제 1 유적 워프 프랍 23-1 번	
	elseif prop_id == 130863 then	
		-- 텔레포트 좌표
		warp( 224313 + math.random(0,10) , 141529+ math.random(0,10), gv("layer") )
		
	-- 팔미르 제 1 유적 워프 프랍 24-1 번	
	elseif prop_id == 130864 then	
		-- 텔레포트 좌표
		warp( 220995 + math.random(0,10) , 144279+ math.random(0,10), gv("layer") )
		
	-- 팔미르 제 1 유적 워프 프랍 25-1 번	
	elseif prop_id == 130865 then	
		-- 텔레포트 좌표
		warp( 221241 + math.random(0,10) , 144075+ math.random(0,10), gv("layer") )
		
	-- 팔미르 제 1 유적 워프 프랍 26-1 번	
	elseif prop_id == 130866 then	
		-- 텔레포트 좌표
		warp( 220867 + math.random(0,10) , 143631+ math.random(0,10), gv("layer") )
		
	-- 팔미르 제 1 유적 워프 프랍 33-1 번	
	elseif prop_id == 130873 then	
		-- 텔레포트 좌표
		warp( 220001 + math.random(0,10) , 138279+ math.random(0,10), gv("layer") )
		
		
	-- 팔미르 제 2 유적 워프 프랍 1 번	
	elseif prop_id == 130901 then	
		-- 텔레포트 좌표
		warp( 210380 + math.random(0,10) , 152362+ math.random(0,10), gv("layer") )
		
	-- 팔미르 제 2 유적 워프 프랍 2 번	
	elseif prop_id == 130902 then	
		-- 텔레포트 좌표
		warp( 219449 + math.random(0,10) , 145979+ math.random(0,10), gv("layer") )
		
	-- 팔미르 제 2 유적 워프 프랍 3 번	
	elseif prop_id == 130903 then	
		-- 텔레포트 좌표
		warp( 219913 + math.random(0,10) , 149833+ math.random(0,10), gv("layer") )
		
	-- 팔미르 제 2 유적 워프 프랍 4 번	
	elseif prop_id == 130904 then	
		-- 텔레포트 좌표
		warp( 219712 + math.random(0,10) , 149212+ math.random(0,10), gv("layer") )
		
	-- 팔미르 제 2 유적 워프 프랍 5 번	
	elseif prop_id == 130905 then	
		-- 텔레포트 좌표
		warp( 214456 + math.random(0,10) , 152809+ math.random(0,10), gv("layer") )
		
	-- 팔미르 제 2 유적 워프 프랍 6 번	
	elseif prop_id == 130906 then	
		-- 텔레포트 좌표
		warp( 213631 + math.random(0,10) , 152765+ math.random(0,10), gv("layer") )
		
	-- 팔미르 제 2 유적 워프 프랍 7 번	
	elseif prop_id == 130907 then	
		-- 텔레포트 좌표
		warp( 214263 + math.random(0,10) , 153578+ math.random(0,10), gv("layer") )
		
	-- 팔미르 제 2 유적 워프 프랍 8 번	
	elseif prop_id == 130908 then	
		-- 텔레포트 좌표
		warp( 220659 + math.random(0,10) , 149766+ math.random(0,10), gv("layer") )
		
	-- 팔미르 제 2 유적 워프 프랍 9 번	
	elseif prop_id == 130909 then	
		-- 텔레포트 좌표
		warp( 210201 + math.random(0,10) , 155568+ math.random(0,10), gv("layer") )
		
	-- 팔미르 제 2 유적 워프 프랍 10 번	
	elseif prop_id == 130910 then	
		-- 텔레포트 좌표
		warp( 218003 + math.random(0,10) , 145442+ math.random(0,10), gv("layer") )
		
	-- 팔미르 제 2 유적 워프 프랍 11 번	
	elseif prop_id == 130911 then	
		-- 텔레포트 좌표
		warp( 217803 + math.random(0,10) , 149850+ math.random(0,10), gv("layer") )
		
	-- 팔미르 제 2 유적 워프 프랍 12 번	
	elseif prop_id == 130912 then	
		-- 텔레포트 좌표
		warp( 218185 + math.random(0,10) , 150403+ math.random(0,10), gv("layer") )
		
	-- 팔미르 제 2 유적 워프 프랍 13 번	
	elseif prop_id == 130913 then	
		-- 텔레포트 좌표
		warp( 213922 + math.random(0,10) , 151013+ math.random(0,10), gv("layer") )
		
	-- 팔미르 제 2 유적 워프 프랍 14 번	
	elseif prop_id == 130914 then	
		-- 텔레포트 좌표
		warp( 214533 + math.random(0,10) , 151693+ math.random(0,10), gv("layer") )
		
	-- 팔미르 제 2 유적 워프 프랍 15 번	
	elseif prop_id == 130915 then	
		-- 텔레포트 좌표
		warp( 224491 + math.random(0,10) , 150838+ math.random(0,10), gv("layer") )
		
	-- 팔미르 제 2 유적 워프 프랍 16 번	
	elseif prop_id == 130916 then	
		-- 텔레포트 좌표
		warp( 223407 + math.random(0,10) , 150829+ math.random(0,10), gv("layer") )
		
	-- 팔미르 제 2 유적 워프 프랍 17 번	
	elseif prop_id == 130917 then	
		-- 텔레포트 좌표
		warp( 217010 + math.random(0,10) , 156336+ math.random(0,10), gv("layer") )
		
	-- 팔미르 제 2 유적 워프 프랍 18 번	
	elseif prop_id == 130918 then	
		-- 텔레포트 좌표
		warp( 216860 + math.random(0,10) , 155703+ math.random(0,10), gv("layer") )
		
	-- 팔미르 제 2 유적 워프 프랍 19 번	
	elseif prop_id == 130919 then	
		-- 텔레포트 좌표
		warp( 216533 + math.random(0,10) , 156688+ math.random(0,10), gv("layer") )
		
	-- 팔미르 제 2 유적 워프 프랍 20 번	
	elseif prop_id == 130920 then	
		-- 텔레포트 좌표
		warp( 223831 + math.random(0,10) , 151071+ math.random(0,10), gv("layer") )
		
	-- 팔미르 제 2 유적 워프 프랍 21 번	
	elseif prop_id == 130921 then	
		-- 텔레포트 좌표
		warp( 224101 + math.random(0,10) , 158163+ math.random(0,10), gv("layer") )
		
	-- 팔미르 제 2 유적 워프 프랍 22 번	
	elseif prop_id == 130922 then	
		-- 텔레포트 좌표
		warp( 224474 + math.random(0,10) , 157728+ math.random(0,10), gv("layer") )
		
	-- 팔미르 제 2 유적 워프 프랍 23 번	
	elseif prop_id == 130923 then	
		-- 텔레포트 좌표
		warp( 223466 + math.random(0,10) , 157446+ math.random(0,10), gv("layer") )
		
	-- 팔미르 제 2 유적 워프 프랍 24 번	
	elseif prop_id == 130924 then	
		-- 텔레포트 좌표
		warp( 221410 + math.random(0,10) , 160234+ math.random(0,10), gv("layer") )
		
	-- 팔미르 제 2 유적 워프 프랍 25 번	
	elseif prop_id == 130925 then	
		-- 텔레포트 좌표
		warp( 220847 + math.random(0,10) , 159586+ math.random(0,10), gv("layer") )
		
	-- 팔미르 제 2 유적 워프 프랍 26 번	
	elseif prop_id == 130926 then	
		-- 텔레포트 좌표
		warp( 220942 + math.random(0,10) , 160562+ math.random(0,10), gv("layer") )
		
	-- 팔미르 제 2 유적 워프 프랍 27 번	
	elseif prop_id == 130927 then	
		-- 텔레포트 좌표
		warp( 219150 + math.random(0,10) , 155764+ math.random(0,10), gv("layer") )
		
	-- 팔미르 제 2 유적 워프 프랍 28 번	
	elseif prop_id == 130928 then	
		-- 텔레포트 좌표
		warp( 219520 + math.random(0,10) , 156321+ math.random(0,10), gv("layer") )
		
	-- 팔미르 제 2 유적 워프 프랍 29 번	
	elseif prop_id == 130929 then	
		-- 텔레포트 좌표
		warp( 220115 + math.random(0,10) , 155335+ math.random(0,10), gv("layer") )
		
	-- 팔미르 제 2 유적 워프 프랍 30 번	
	elseif prop_id == 130930 then	
		-- 텔레포트 좌표
		warp( 219486 + math.random(0,10) , 155392+ math.random(0,10), gv("layer") )
		
	-- 팔미르 제 2 유적 워프 프랍 31 번	
	elseif prop_id == 130931 then	
		-- 텔레포트 좌표
		warp( 213211 + math.random(0,10) , 159097+ math.random(0,10), gv("layer") )
		
	-- 팔미르 제 2 유적 워프 프랍 32 번	
	elseif prop_id == 130932 then	
		-- 텔레포트 좌표
		warp( 217128 + math.random(0,10) , 152257+ math.random(0,10), gv("layer") )
		
	-- 팔미르 제 2 유적 워프 프랍 33 번	
	elseif prop_id == 130933 then	
		-- 텔레포트 좌표
		warp( 218883 + math.random(0,10) , 154027+ math.random(0,10), gv("layer") )
		
	-- 팔미르 제 2 유적 워프 프랍 3-1 번	
	elseif prop_id == 130936 then	
		-- 텔레포트 좌표
		warp( 219973 + math.random(0,10) , 149218+ math.random(0,10), gv("layer") )
		
	-- 팔미르 제 2 유적 워프 프랍 4-1 번	
	elseif prop_id == 130937 then	
		-- 텔레포트 좌표
		warp( 220079 + math.random(0,10) , 149659+ math.random(0,10), gv("layer") )
		
	-- 팔미르 제 2 유적 워프 프랍 6-1 번	
	elseif prop_id == 130939 then	
		-- 텔레포트 좌표
		warp( 214272 + math.random(0,10) , 153321+ math.random(0,10), gv("layer") )
		
	-- 팔미르 제 2 유적 워프 프랍 7-1 번	
	elseif prop_id == 130940 then	
		-- 텔레포트 좌표
		warp( 213847 + math.random(0,10) , 152802+ math.random(0,10), gv("layer") )
		
	-- 팔미르 제 2 유적 워프 프랍 11-1 번	
	elseif prop_id == 130944 then	
		-- 텔레포트 좌표
		warp( 217946 + math.random(0,10) , 150398+ math.random(0,10), gv("layer") )
		
	-- 팔미르 제 2 유적 워프 프랍 12-1 번	
	elseif prop_id == 130945 then	
		-- 텔레포트 좌표
		warp( 217725 + math.random(0,10) , 150104+ math.random(0,10), gv("layer") )
		
	-- 팔미르 제 2 유적 워프 프랍 13-1 번	
	elseif prop_id == 130946 then	
		-- 텔레포트 좌표
		warp( 214559 + math.random(0,10) , 151442+ math.random(0,10), gv("layer") )
		
	-- 팔미르 제 2 유적 워프 프랍 14-1 번	
	elseif prop_id == 130947 then	
		-- 텔레포트 좌표
		warp( 214191 + math.random(0,10) , 151029+ math.random(0,10), gv("layer") )
		
	-- 팔미르 제 2 유적 워프 프랍 15-1 번	
	elseif prop_id == 130948 then	
		-- 텔레포트 좌표
		warp( 223595 + math.random(0,10) , 150836+ math.random(0,10), gv("layer") )
		
	-- 팔미르 제 2 유적 워프 프랍 16-1 번	
	elseif prop_id == 130949 then	
		-- 텔레포트 좌표
		warp( 224289 + math.random(0,10) , 150877+ math.random(0,10), gv("layer") )
		
	-- 팔미르 제 2 유적 워프 프랍 18-1 번	
	elseif prop_id == 130958 then	
		-- 텔레포트 좌표
		warp( 216570 + math.random(0,10) , 156500+ math.random(0,10), gv("layer") )
		
	-- 팔미르 제 2 유적 워프 프랍 19-1 번	
	elseif prop_id == 130959 then	
		-- 텔레포트 좌표
		warp( 216838 + math.random(0,10) , 155861+ math.random(0,10), gv("layer") )
		
	-- 팔미르 제 2 유적 워프 프랍 20-1 번	
	elseif prop_id == 130960 then	
		-- 텔레포트 좌표
		warp( 217010 + math.random(0,10) , 156336+ math.random(0,10), gv("layer") )
		
	-- 팔미르 제 2 유적 워프 프랍 21-1 번	
	elseif prop_id == 130961 then	
		-- 텔레포트 좌표
		warp( 223629 + math.random(0,10) , 157485+ math.random(0,10), gv("layer") )
		
	-- 팔미르 제 2 유적 워프 프랍 22-1 번	
	elseif prop_id == 130962 then	
		-- 텔레포트 좌표
		warp( 224048 + math.random(0,10) , 158010+ math.random(0,10), gv("layer") )
		
	-- 팔미르 제 2 유적 워프 프랍 23-1 번	
	elseif prop_id == 130963 then	
		-- 텔레포트 좌표
		warp( 224313 + math.random(0,10) , 157657+ math.random(0,10), gv("layer") )
		
	-- 팔미르 제 2 유적 워프 프랍 24-1 번	
	elseif prop_id == 130964 then	
		-- 텔레포트 좌표
		warp( 220995 + math.random(0,10) , 160407+ math.random(0,10), gv("layer") )
		
	-- 팔미르 제 2 유적 워프 프랍 25-1 번	
	elseif prop_id == 130965 then	
		-- 텔레포트 좌표
		warp( 221241 + math.random(0,10) , 160203+ math.random(0,10), gv("layer") )
		
	-- 팔미르 제 2 유적 워프 프랍 26-1 번	
	elseif prop_id == 130966 then	
		-- 텔레포트 좌표
		warp( 220867 + math.random(0,10) , 159759+ math.random(0,10), gv("layer") )
		
	-- 팔미르 제 2 유적 워프 프랍 33-1 번	
	elseif prop_id == 130973 then	
		-- 텔레포트 좌표
		warp( 220001 + math.random(0,10) , 154407+ math.random(0,10), gv("layer") )

	-- 잃어버린 비�Ğ의 섬 워프 프랍 1-1 번(설원�Ğ지 -> 잃어버린 비�Ğ의 섬 갈림길)
	-- [에픽 7 파트 1 잃어버린 섬 확장] '설원�Ğ지 출구' -> '드래곤의 둥지 입구'로 수정
	elseif prop_id == 50750 then	
		-- 텔레포트 좌표
		--warp( 84828 + math.random(0,10) , 117225+ math.random(0,10), gv("layer") )
		
		-- 드래곤의 둥지로 
		warp( 105093 + math.random(0,10) , 137583+ math.random(0,10), gv("layer") )

	-- 백룡의 쉼터 워프 프랍 2-1 번(해안가 -> 잃어버린 비�Ğ의 섬)
	elseif prop_id == 50752 then	
		-- 텔레포트 좌표
		warp( 83286 + math.random(0,10) , 115722+ math.random(0,10), gv("layer") )

	-- 백룡의 쉼터 워프 프랍 3-1 번(잃어버린 비�Ğ의 섬 -> 해안가)
	elseif prop_id == 50753 then	
		-- 텔레포트 좌표
		warp( 122759 + math.random(0,10) , 121596+ math.random(0,10), gv("layer") )

	-- 백룡의 쉼터 1-1 번(백색마력의 방 -> 설원�Ğ지)
	elseif prop_id == 121052 then	
		-- 텔레포트 좌표
		warp( 88817 + math.random(0,10) , 119671+ math.random(0,10), gv("layer") )
	
	-------------------------------------------------------------------------------
								--숨겨진 팔미르 유적 --
	-------------------------------------------------------------------------------

	-- 숨겨진 팔미르 제 2 유적 워프 프랍 1 번			
	elseif prop_id == 120201 then	
		-- 텔레포트 좌표
		warp( 194248 + math.random(0,10) , 39475+ math.random(0,10), gv("layer") )
		
	-- 숨겨진 팔미르 제 2 유적 워프 프랍 2 번	
	elseif prop_id == 120202 then	
		-- 텔레포트 좌표
		warp( 203311 + math.random(0,10) , 33102+ math.random(0,10), gv("layer") )
		
	-- 숨겨진 팔미르 제 2 유적 워프 프랍 3 번(4-1로)	
	elseif prop_id == 120203 then	
		-- 텔레포트 좌표
		warp( 203764 + math.random(0,10) , 36956+ math.random(0,10), gv("layer") )
		
	-- 숨겨진 팔미르 제 2 유적 워프 프랍 4 번(3-1로)	
	elseif prop_id == 120204 then	
		-- 텔레포트 좌표
		warp( 203595 + math.random(0,10) , 36319+ math.random(0,10), gv("layer") )
		
	-- 숨겨진 팔미르 제 2 유적 워프 프랍 5 번(8로)		
	elseif prop_id == 120205 then	
		-- 텔레포트 좌표
		warp( 198345 + math.random(0,10) , 39913+ math.random(0,10), gv("layer") )
		
	-- 숨겨진 팔미르 제 2 유적 워프 프랍 6 번(7-1로)	
	elseif prop_id == 120206 then	
		-- 텔레포트 좌표
		warp( 197500 + math.random(0,10) , 39866+ math.random(0,10), gv("layer") )
		
	-- 숨겨진 팔미르 제 2 유적 워프 프랍 7 번(6-1로)		
	elseif prop_id == 120207 then	
		-- 텔레포트 좌표
		warp( 198129 + math.random(0,10) , 40672+ math.random(0,10), gv("layer") )
		
	-- 숨겨진 팔미르 제 2 유적 워프 프랍 8 번(5로)	
	elseif prop_id == 120208 then	
		-- 텔레포트 좌표
		warp( 204551 + math.random(0,10) , 36884+ math.random(0,10), gv("layer") )
		
	-- 숨겨진 팔미르 제 2 유적 워프 프랍 9 번(x)	
	elseif prop_id == 120209 then	
		-- 텔레포트 좌표
		warp( 206586 + math.random(0,10) , 37253+ math.random(0,10), gv("layer") )
		
	-- 숨겨진 팔미르 제 2 유적 워프 프랍 10 번(x)	
	elseif prop_id == 120210 then	
		-- 텔레포트 좌표
		warp( 201030 + math.random(0,10) , 43533+ math.random(0,10), gv("layer") )
		
	-- 숨겨진 팔미르 제 2 유적 워프 프랍 11 번(12-1로)	
	elseif prop_id == 120211 then	
		-- 텔레포트 좌표
		warp( 201646 + math.random(0,10) , 37038+ math.random(0,10), gv("layer") )
		
	-- 숨겨진 팔미르 제 2 유적 워프 프랍 12 번(11-1로)	
	elseif prop_id == 120212 then	
		-- 텔레포트 좌표
		warp( 202047 + math.random(0,10) , 37505+ math.random(0,10), gv("layer") )
		
	-- 숨겨진 팔미르 제 2 유적 워프 프랍 13 번(14-1로)	
	elseif prop_id == 120213 then	
		-- 텔레포트 좌표
		warp( 197827 + math.random(0,10) , 38102+ math.random(0,10), gv("layer") )
		
	-- 숨겨진 팔미르 제 2 유적 워프 프랍 14 번(13-1로)	
	elseif prop_id == 120214 then	
		-- 텔레포트 좌표
		warp( 198409 + math.random(0,10) , 38745+ math.random(0,10), gv("layer") )
		
	-- 숨겨진 팔미르 제 2 유적 워프 프랍 15 번(16-1로)	
	elseif prop_id == 120215 then	
		-- 텔레포트 좌표
		warp( 208402 + math.random(0,10) , 37935+ math.random(0,10), gv("layer") )
		
	-- 숨겨진 팔미르 제 2 유적 워프 프랍 16 번(15-1로)	
	elseif prop_id == 120216 then	
		-- 텔레포트 좌표
		warp( 207232 + math.random(0,10) , 37941+ math.random(0,10), gv("layer") )
		
	-- 숨겨진 팔미르 제 2 유적 워프 프랍 17 번(20로)	
	elseif prop_id == 120217 then	
		-- 텔레포트 좌표
		warp( 200869 + math.random(0,10) , 43459+ math.random(0,10), gv("layer") )
		
	-- 숨겨진 팔미르 제 2 유적 워프 프랍 18 번(19-1로)	
	elseif prop_id == 120218 then	
		-- 텔레포트 좌표
		warp( 200732 + math.random(0,10) , 42791+ math.random(0,10), gv("layer") )
		
	-- 숨겨진 팔미르 제 2 유적 워프 프랍 19 번(18-1로)	
	elseif prop_id == 120219 then	
		-- 텔레포트 좌표
		warp( 200396 + math.random(0,10) , 43797+ math.random(0,10), gv("layer") )
		
	-- 숨겨진 팔미르 제 2 유적 워프 프랍 20 번(17로) 	
	elseif prop_id == 120220 then	
		-- 텔레포트 좌표
		warp( 207712 + math.random(0,10) , 38200+ math.random(0,10), gv("layer") )
		
	-- 숨겨진 팔미르 제 2 유적 워프 프랍 21 번(22-1로)		
	elseif prop_id == 120221 then	
		-- 텔레포트 좌표
		warp( 208041 + math.random(0,10) , 45458+ math.random(0,10), gv("layer") )
		
	-- 숨겨진 팔미르 제 2 유적 워프 프랍 22 번(23-1로)	
	elseif prop_id == 120222 then	
		-- 텔레포트 좌표
		warp( 208358 + math.random(0,10) , 44855+ math.random(0,10), gv("layer") )
		
	-- 숨겨진 팔미르 제 2 유적 워프 프랍 23 번(21-1로)	
	elseif prop_id == 120223 then	
		-- 텔레포트 좌표
		warp( 207265 + math.random(0,10) , 44540+ math.random(0,10), gv("layer") )
		
	-- 숨겨진 팔미르 제 2 유적 워프 프랍 24 번(25-1로)	

	elseif prop_id == 120224 then	
		-- 텔레포트 좌표
		warp( 205305 + math.random(0,10) , 47347+ math.random(0,10), gv("layer") )
		
	-- 숨겨진 팔미르 제 2 유적 워프 프랍 25 번(26-1로)		
	elseif prop_id == 120225 then	
		-- 텔레포트 좌표
		warp( 204730 + math.random(0,10) ,  46691+ math.random(0,10), gv("layer") )
		
	-- 숨겨진 팔미르 제 2 유적 워프 프랍 26 번(24-1로)	
	elseif prop_id == 120226 then	
		-- 텔레포트 좌표
		warp( 204780 + math.random(0,10) , 47705+ math.random(0,10), gv("layer") )
		
	-- 숨겨진 팔미르 제 2 유적 워프 프랍 27 번(29로)	
	elseif prop_id == 120227 then	
		-- 텔레포트 좌표
		warp( 203033 + math.random(0,10) , 42943+ math.random(0,10), gv("layer") )
		
	-- 숨겨진 팔미르 제 2 유적 워프 프랍 28 번(27로)	
	elseif prop_id == 120228 then	
		-- 텔레포트 좌표
		warp( 203371 + math.random(0,10) , 43424+ math.random(0,10), gv("layer") )
		
	-- 숨겨진 팔미르 제 2 유적 워프 프랍 29 번(30로)	
	elseif prop_id == 120229 then	
		-- 텔레포트 좌표
		warp( 203974 + math.random(0,10) , 42449+ math.random(0,10), gv("layer") )
		
	-- 숨겨진 팔미르 제 2 유적 워프 프랍 30 번(28로)	
	elseif prop_id == 120230 then	
		-- 텔레포트 좌표
		warp( 203422 + math.random(0,10) , 42484+ math.random(0,10), gv("layer") )
		
	-- 숨겨진 팔미르 제 2 유적 워프 프랍 31 번(32로)	
	elseif prop_id == 120231 then	
		-- 텔레포트 좌표
		warp( 197086 + math.random(0,10) , 46169+ math.random(0,10), gv("layer") )
		
	-- 숨겨진 팔미르 제 2 유적 워프 프랍 32 번(31로)	
	elseif prop_id == 120232 then	
		-- 텔레포트 좌표
		warp( 201015 + math.random(0,10) , 39371+ math.random(0,10), gv("layer") )
		
	-- 숨겨진 팔미르 제 2 유적 워프 프랍 33 번(33-1로)	
	elseif prop_id == 120233 then	
		-- 텔레포트 좌표
		warp( 202800 + math.random(0,10) , 41174+ math.random(0,10), gv("layer") )
		
	-- 숨겨진 팔미르 제 2 유적 워프 프랍 3-1 번(3로)	
	elseif prop_id == 120236 then	
		-- 텔레포트 좌표
		warp( 203845+ math.random(0,10) , 36344+ math.random(0,10), gv("layer") )
		
	-- 숨겨진 팔미르 제 2 유적 워프 프랍 4-1 번(4로)	
	elseif prop_id == 120237 then	
		-- 텔레포트 좌표
		warp( 203936 + math.random(0,10) , 36797+ math.random(0,10), gv("layer") )
		
	-- 숨겨진 팔미르 제 2 유적 워프 프랍 6-1 번(6로)	
	elseif prop_id == 120239 then	
		-- 텔레포트 좌표
		warp( 198151 + math.random(0,10) , 40464+ math.random(0,10), gv("layer") )
		
	-- 숨겨진 팔미르 제 2 유적 워프 프랍 7-1 번(7로)	
	elseif prop_id == 120240 then	
		-- 텔레포트 좌표
		warp( 197719 + math.random(0,10) , 39907+ math.random(0,10), gv("layer") )
		
	-- 숨겨진 팔미르 제 2 유적 워프 프랍 11-1 번(11로)	
	elseif prop_id == 120244 then	
		-- 텔레포트 좌표
		warp( 201871 + math.random(0,10) , 37498+ math.random(0,10), gv("layer") )
		
	-- 숨겨진 팔미르 제 2 유적 워프 프랍 12-1 번(12로)	
	elseif prop_id == 120245 then	
		-- 텔레포트 좌표
		warp( 201541 + math.random(0,10) , 37193+ math.random(0,10), gv("layer") )
		
	-- 숨겨진 팔미르 제 2 유적 워프 프랍 13-1 번(13로)	
	elseif prop_id == 120246 then	
		-- 텔레포트 좌표
		warp( 198436 + math.random(0,10) , 38550+ math.random(0,10), gv("layer") )
		
	-- 숨겨진 팔미르 제 2 유적 워프 프랍 14-1 번(14로)	
	elseif prop_id == 120247 then	
		-- 텔레포트 좌표
		warp( 198050 + math.random(0,10) , 38129+ math.random(0,10), gv("layer") )
		
	-- 숨겨진 팔미르 제 2 유적 워프 프랍 15-1 번(15로)	
	elseif prop_id == 120248 then	
		-- 텔레포트 좌표
		warp( 207457 + math.random(0,10) , 37948+ math.random(0,10), gv("layer") )
		
	-- 숨겨진 팔미르 제 2 유적 워프 프랍 16-1 번(16로)	
	elseif prop_id == 120249 then	
		-- 텔레포트 좌표
		warp( 208166 + math.random(0,10) , 37970+ math.random(0,10), gv("layer") )
		
	-- 숨겨진 팔미르 제 2 유적 워프 프랍 18-1 번(18로)	
	elseif prop_id == 120258 then	
		-- 텔레포트 좌표
		warp( 200446 + math.random(0,10) , 43608+ math.random(0,10), gv("layer") )
		
	-- 숨겨진 팔미르 제 2 유적 워프 프랍 19-1 번(19로)	
	elseif prop_id == 120259 then	
		-- 텔레포트 좌표
		warp( 200703 + math.random(0,10) , 42984+ math.random(0,10), gv("layer") )
		
	-- 숨겨진 팔미르 제 1 유적 워프 프랍 20-1 번 xxxxx	
	elseif prop_id == 120260 then	
		-- 텔레포트 좌표
		warp( 217010 + math.random(0,10) , 156336+ math.random(0,10), gv("layer") )
		
	-- 숨겨진 팔미르 제 1 유적 워프 프랍 21-1 번(21로)
	elseif prop_id == 120261 then	
		-- 텔레포트 좌표
		warp( 207498 + math.random(0,10) , 44595+ math.random(0,10), gv("layer") )
		
	-- 숨겨진 팔미르 제 1 유적 워프 프랍 22-1 번(22로)	
	elseif prop_id == 120262 then	
		-- 텔레포트 좌표
		warp( 207910 + math.random(0,10) , 45102+ math.random(0,10), gv("layer") )
		
	-- 숨겨진 팔미르 제 1 유적 워프 프랍 23-1 번(23로)	
	elseif prop_id == 120263 then	
		-- 텔레포트 좌표
		warp( 208177 + math.random(0,10) , 44755+ math.random(0,10), gv("layer") )
		
	-- 숨겨진 팔미르 제 1 유적 워프 프랍 24-1 번(24로)	
	elseif prop_id == 120264 then	
		-- 텔레포트 좌표
		warp( 204864 + math.random(0,10) , 47496+ math.random(0,10), gv("layer") )
		
	-- 숨겨진 팔미르 제 1 유적 워프 프랍 25-1 번(25로)	
	elseif prop_id == 120265 then	
		-- 텔레포트 좌표
		warp( 205107 + math.random(0,10) , 47309+ math.random(0,10), gv("layer") )
		
	-- 숨겨진 팔미르 제 1 유적 워프 프랍 26-1 번(26로)	
	elseif prop_id == 120266 then	
		-- 텔레포트 좌표
		warp( 204732 + math.random(0,10) , 46881+ math.random(0,10), gv("layer") )
		
	-- 숨겨진 팔미르 제 1 유적 워프 프랍 33-1 번(33로)	
	elseif prop_id == 120273 then	
		-- 텔레포트 좌표
		warp( 203883 + math.random(0,10) , 41510+ math.random(0,10), gv("layer") )

	-- 숨겨진 팔미르 제 1 유적 입구 워프 프랍 
	elseif prop_id == 120291 then	
		-- 텔레포트 좌표
		warp( 195147 + math.random(0,10) , 33220+ math.random(0,10), gv("layer") )

	-- 숨겨진 수정계곡 입구 워프 프랍 
	elseif prop_id == 70191 then	
		-- 텔레포트 좌표
		warp( 121934 + math.random(0,10) , 24410+ math.random(0,10), gv("layer") )

	-- 숨겨진 엘카시아 입구 워프 프랍 
	elseif prop_id == 110191 then	
		-- 텔레포트 좌표
		warp( 189968 + math.random(0,10) , 23636+ math.random(0,10), gv("layer") )

	-- 숨겨진 백룡의 쉼터 입구 워프 프랍 
	elseif prop_id == 100191 then	
		-- 텔레포트 좌표
		warp( 169145 + math.random(0,10) , 22619+ math.random(0,10), gv("layer") )

	-- 숨겨진 흑룡의 그늘 입구 워프 프랍 
	elseif prop_id == 90191 then	
		-- 텔레포트 좌표
		warp( 153016 + math.random(0,10) , 22621+ math.random(0,10), gv("layer") )

	-- 숨겨진 사룡의 심장 입구 워프 프랍 
	elseif prop_id == 80191 then	
		-- 텔레포트 좌표
		warp( 136890 + math.random(0,10) , 22626+ math.random(0,10), gv("layer") )

	end
	
end


function show_portal( quest_id )

	--local currentposition = get_value('layer')
	
	local x = get_value( "x" )
	local y = get_value( "y" )
	local layer = get_value( "layer" )
	
	if quest_id >= 3384 and quest_id < 3566 then
		-- �ğ든 몬스터를 쓰러뜨렸습니다. 
		cprint( "@9813" )
		
		if quest_id >= 3384 and quest_id < 3440 then
			--1�ş 불카누스 프랍
			if x > 193687 and x < 209549 and y > 21982 and y < 32172 then
				add_field_prop(126024,0, x, y, layer, 10)
				
				--불카누스 지하 입구를 더블 클릭하면 다음 던전으로 입장할 수 있는 �Ş뉴가 나타납니다.
				cprint( "@9250" )
			end

		elseif quest_id >= 3440 and quest_id < 3496 then
			--2�ş 불카누스 프랍
			if x > 193687 and x < 209549 and y > 21982 and y < 32172 then
				add_field_prop(126025,0, x, y, layer, 10)
				
				--불카누스 지하 입구를 더블 클릭하면 다음 던전으로 입장할 수 있는 �Ş뉴가 나타납니다.
				cprint( "@9250" )
			end

		elseif quest_id >= 3496 and quest_id < 3552 then
			--3�ş 불카누스 프랍
			if x > 193687 and x < 209549 and y > 21982 and y < 32172 then
				add_field_prop(126026,0, x, y, layer, 10)
				
				--불카누스 지하 입구를 더블 클릭하면 다음 던전으로 입장할 수 있는 �Ş뉴가 나타납니다.
				cprint( "@9250" )
			end

		elseif quest_id >= 3552 and quest_id < 3566 then
			--4�ş 불카누스 프랍
			if x > 193687 and x < 209549 and y > 21982 and y < 32172 then
				add_field_prop(126027,0, x, y, layer, 35)
			end
	
		end
	end

end

function enter_vulcanus()

	local level = get_value( 'level' )
	local count = find_item( 1000401 )
	local party_id = get_value('party_id')
	
	-- 퀘스트 상태 체크 	get_quest_progress(ID)  
	-- �İ환값 -1 : 아무것도 아님  /  0 : 수락가  /  1 : 수행중  /  2 : 종료가능   / 100 : 실�Ğ  /  255 : 이미종료
	local quest_progress_3367 = get_quest_progress(3367)

	if level >= 30 then

		if count == 0 then

			--�*쇠가 없어 입장할 수 없습니다
			cprint( "@9811" )

		elseif count >= 20 then
		
			if party_id == 0 then
				-- 던전 보상이 캐릭터의 한도를 초과할 경우 게임 진행이 원활하지 않을 수 있습니다. 
				cprint( "@9812" )

				enter_instance_dungeon(20000)
				
				if quest_progress_3367 == 1 then
					set_quest_status( 3367, 1, 1 )
					cprint( "@90604746" ) -- <(version:8.1)><#6DD66D>새로운 게이트를 발견하였습니다.
				end
				
			else 
				--파티 상태에�*는 입장 불가함
				cprint( "@9247" )
				return
			end

		elseif count >= 1 and count < 20 then
			--�*쇠가 충�Ğ하지 않아 입장할 수 없습니다
			cprint( "@9810" )
			return
		else
			cprint("에러")
		end

	else

	--30레벨 이상부터 입장 가능합니다.
	cprint( "@9251" )

	end

end



-- 인스턴스 던전 : 불카누스 프랍 호출 시 다이얼로그 �ı성
function enter_other_indun( dungeon_id, current_floor, next_floor, current_item_count, next_item_count )
	if dungeon_id == 20000 then

		local floor = current_floor
		local flag = 'Vul' .. tostring( current_floor )
		local floor_flag = get_flag( flag )
		
			if floor_flag == 15 then
				floor = -1
			end

		-- 던전 보상이 캐릭터의 한도를 초과할 경우 게임 진행이 원활하지 않을 수 있습니다. 
		cprint( "@9812" )
		
		enter_other_instance_dungeon( dungeon_id, floor, next_floor, current_item_count, next_item_count )

	end
end

function warp_indun( instance_dungeon, floor )

	if instance_dungeon == 20000 then

		local flag = 'Vul' .. tostring( floor )
		local floor_flag  = get_flag( flag )
		local gate_num = 1
		local room_list = {}
		local room_count = 0

		if floor_flag == 15 then
			return
		end
		
		if floor == 4 then

			warp_floor( floor, gate_num )

		else
		
			-- 이전의 while문을 통하여 �*수를 �İ복�ı성하여 �*버다운 문제가 발�ı하였던 문제를 수정
			-- 현재 방의 입장 상태를 확인하여 들어간 방과 들어가지 않은 방을 구�Ğ하여 들어가지 않은 방의 테이블을 �ı성
			-- 후에 들어가지 않은 방의 테이블의 수 만�* �*수를 �ı성하여 �ı성된 �*수로 방을 입장 시키는 방식으로 �İ복문을 제거한 방식으로 수정
			-- 각 방에 들어가지 않았을 때 테이블을 늘려주고 테이블에 해당 방 번호를 넣어줌으로써 해당 루프를 한번 거치게 되면 
			-- 들어가지 않은 방의 수 만�* 테이블이 �ı성되고 테이블에 방 번호가 순차적으로 작성됩니다.
			
			if floor_flag ~= nil and floor_flag ~= "" then
				-- 1번 방에 안 들어갔을 때
				if floor_flag == 0 or floor_flag == 2 or floor_flag == 4 or floor_flag == 8 or floor_flag == 6 or floor_flag == 10 or floor_flag == 12 or floor_flag == 14 then
					room_list[ room_count + 1 ] = 1
					room_count = room_count + 1
				end
					
				-- 2번 방에 안 들어갔을 때
				if floor_flag == 0 or floor_flag == 1 or floor_flag == 4 or floor_flag == 8 or floor_flag == 5 or floor_flag == 9 or floor_flag == 12 or floor_flag == 13 then
					room_list[ room_count + 1 ] = 2
					room_count = room_count + 1
				end
				
				-- 3번 방에 안 들어갔을 때
				if floor_flag == 0 or floor_flag == 1 or floor_flag == 2 or floor_flag == 8 or floor_flag == 3 or floor_flag == 9 or floor_flag == 10 or floor_flag == 11 then
					room_list[ room_count + 1 ] = 3
					room_count = room_count + 1
				end
				
				-- 4번 방에 안 들어갔을 때
				if floor_flag == 0 or floor_flag == 1 or floor_flag == 2 or floor_flag == 4 or floor_flag == 3 or floor_flag == 5 or floor_flag == 6 or floor_flag == 7 then
					room_list[ room_count + 1 ] = 4
					room_count = room_count + 1
				end
			end

			gate_num = math.random( 1, room_count ) 
						
			warp_floor( floor, room_list[ gate_num ] )
					
		end
		
	end	
	
end

function warp_floor( floor, gate_num )

	local x, y

	local currentposition = get_value('layer')

	if floor == 1 then

		-- 1�ş �*쇠 조건 체크,

		local count = find_item( 1000401 )	

		if count >= 20 then
			-- 만족하면 �*쇠 수거하고 
			delete_item( get_item_handle( 1000401 ), 20 )

			-- gate_num에 맞게 워프해주자	
			if gate_num == 1 then
				x = 197393
				y = 28580
			elseif gate_num == 2 then
				x = 198814
				y = 28457
			elseif gate_num == 3 then
				x = 200543
				y = 28458
			elseif gate_num == 4 then
				x = 202065
				y = 28458
			end		

		else
			--�*쇠가 충�Ğ하지 않아 입장할 수 없습니다
			cprint( "@9810" )
			return
		end

	elseif floor == 2 then

		-- 2�ş �*쇠 조건 체크,
		
		local count = find_item( 1000402 )

		if count >= 10 then
			-- 만족하면 �*쇠 수거하고 
			delete_item( get_item_handle( 1000402 ), 10 )

			if gate_num == 1 then
				x = 197047
				y = 25954
			elseif gate_num == 2 then
				x = 198661
				y = 25929
			elseif gate_num == 3 then
				x = 200362
				y = 25962
			elseif gate_num == 4 then
				x = 202169
				y = 26121
			end

		else
			--�*쇠가 충�Ğ하지 않아 입장할 수 없습니다
			cprint( "@9810" )
			return
		end
		
	elseif floor == 3 then

		-- 3�ş �*쇠 조건 체크,
	
		local count = find_item( 1000403 )

		if count >= 5 then
			-- 만족하면 �*쇠 수거하고 
			delete_item( get_item_handle( 1000403 ), 5 )

			if gate_num == 1 then
				x = 197303
				y = 23750
			elseif gate_num == 2 then
				x = 198586
				y = 23765
			elseif gate_num == 3 then
				x = 200390
				y = 23677
			elseif gate_num == 4 then
				x = 202114
				y = 23701
			end

		else
			--�*쇠가 충�Ğ하지 않아 입장할 수 없습니다
			cprint( "@9810" )
			return
		end

	elseif floor == 4 then
		
		-- 4�ş �*쇠 조건 체크,

		local count = find_item( 1000404 )
			
		if count >= 1 then
			-- 만족하면 �*쇠 수거하고 
			delete_item( get_item_handle( 1000404 ), 1 )

			x = 206474
			y = 27625

		else
			--�*쇠가 충�Ğ하지 않아 입장할 수 없습니다
			cprint( "@9810" )
			return
		end
	end

	warp( x, y, currentposition )

end

-- 인스턴스 던전 : 불카누스 던전 �ğ장
-- 마을로 돌려 보내주는 워프게이트
function exit_instance_dungeon()

	-- 20000 인던 불카누스 ID
	leave_instance_dungeon( 20000 )
	
end

function exit_indun( dungeon_id )

	local hx = get_flag( 'hx' )
	local hy = get_flag( 'hy' )
	
	warp( hx , hy + math.random( 50, 60 ), 0 )
end

function cubric_tele() then
-- Unimportant :D
end
2-)soul stones

[Only registered and activated users can see links. Click Here To Register...]
how can I fix
10/09/2012 14:46 khshe#2
2012-10-09 16:41:02 .\Resource\Scripts\3e4d6704e4e128bacd554318bb2e78c f.lua:1430: unexpected symbol near `then'
10/09/2012 15:17 c1ph3r#3
Quote:
Originally Posted by rilik26 View Post
1-)cubric and does not work the other dungeons

[Only registered and activated users can see links. Click Here To Register...]

cubric.sql
Code:
use arcadia
update fieldpropresource
set script_text = 'cubric_tele()'
where terrain_check = 0 or terrain_check = 1
3e4d6704e4e128bacd554318bb2e78cf.lua
Code:
--- Lua 스크립트 암호�*
function get_module_name()
             return "ETC_dungeon_prop"
end


--	제어장치 및 코어 점령시 호출될 함수. 
-- 내부적으로 �*버에�* 제공하는 소유권 변경 함수 및 주변 몹 리젠 함수( respawn_near_mob( range ) )가 사용됨.
function casting_tactical_position( dungeon_id, position_id )

	-- 호출된 지점의 (제어장치 혹은 던전 코어) 소유권을 변경시키는 부�Ğ
	change_tactical_position_owner( dungeon_id, position_id )
	
	-- 변경된 지점 주변의 가�ğ�ğ을 리젠
	respawn_guardian_object( dungeon_id, position_id )

	
end

--	던전 출구 클릭시 필드로 텔레포트 시켜 주는 일�İ 함수.
function exit_dungeon( dungeon_id )

	-- 잃어버린 던전1
	if dungeon_id == 130000 then
		-- TO DO : 던전 입구 쪽의 텔레포트 좌표 넣어야 함
		warp( 155817 + math.random(0,60) , 103724 + math.random(0,60) )
	
	-- 잃어버린 던전2
	elseif dungeon_id == 130600 then
		-- TO DO : 던전 입구 쪽의 텔레포트 좌표 넣어야 함
		warp( 152309 + math.random(0,60) , 102886 + math.random(0,60) )
	
	-- 수정 계곡1
	elseif dungeon_id == 130300 then
		-- TO DO : 던전 입구 쪽의 텔레포트 좌표 넣어야 함
		warp( 103210 + math.random(0,60) , 100366 + math.random(0,60) )

	-- 수정 계곡2
	elseif dungeon_id == 130500 then
		-- TO DO : 던전 입구 쪽의 텔레포트 좌표 넣어야 함
		warp( 99757 + math.random(0,60) , 103236 + math.random(0,60) )

	-- �Ş마른 �Ş빛의 유적1
	elseif dungeon_id == 130400 then
	    -- TO DO : 던전 입구 쪽의 텔레포트 좌표 넣어야 함
		warp( 132995 + math.random(0,60) , 87096 + math.random(0,60) )
	 
	-- �Ş마른 �Ş빛의 유적2
	elseif dungeon_id == 130700 then
	    -- TO DO : 던전 입구 쪽의 텔레포트 좌표 넣어야 함
		warp( 130842 + math.random(0,60) , 79586 + math.random(0,60) )
	
    -- 팔미르 제 1 유적 
	elseif dungeon_id == 130800 then
	    -- TO DO : 던전 입구 쪽의 텔레포트 좌표 넣어야 함
		warp( 132680 + math.random(0,60) , 128030 + math.random(0,60) )	

    -- 팔미르 제 2 유적 
	elseif dungeon_id == 130900 then
	    -- TO DO : 던전 입구 쪽의 텔레포트 좌표 넣어야 함
		warp( 137441 + math.random(0,60) , 128115 + math.random(0,60) )		

    -- 잃어버린 비�Ğ의 섬(백룡의 쉼터) 
	elseif dungeon_id == 121000 then
	    -- TO DO : 던전 입구 쪽의 텔레포트 좌표 넣어야 함
		warp( 91942 + math.random(0,60) , 117103 + math.random(0,60) )			

    -- 잃어버린 비�Ğ의 섬(흑룡의 그늘) 
	elseif dungeon_id == 122000 then
	    -- TO DO : 던전 입구 쪽의 텔레포트 좌표 넣어야 함
		warp( 85752 + math.random(0,60) , 118062 + math.random(0,60) )
		
	-- 잃어버린 비�Ğ의 섬(사룡의 심장) 
	elseif dungeon_id == 123000 then
	    -- TO DO : 던전 입구 쪽의 텔레포트 좌표 넣어야 함
		warp( 91998 + math.random(0,60) , 124400 + math.random(0,60) )
			
	-- 엘 카시아 워프 프랍 (엘 카시아 -> 마르두카 폭포 필드)
	elseif dungeon_id == 120700 then
		-- TO DO : 던전 입구 쪽의 텔레포트 좌표 넣어야 함
		warp( 146015 + math.random(0,61) , 135591+ math.random(0,10) )

	-- 숨겨진 팔미르 던전 워프 프랍 (숨겨진 팔미르 입구 -> 팔미르 제 1 실 입구 필드)
	elseif dungeon_id == 120292 then
		-- TO DO : 던전 입구 쪽의 텔레포트 좌표 넣어야 함
		warp( 132680 + math.random(0,60) , 128030 + math.random(0,60) )
	
	-- 숨겨진 수정 계곡 던전 워프 프랍 (숨겨진 수정 계곡 입구 -> 수정 계곡 입구 필드)
	elseif dungeon_id == 70192 then
		-- TO DO : 던전 입구 쪽의 텔레포트 좌표 넣어야 함
		warp( 103234+ math.random(0,60) , 100310 + math.random(0,60) )

	end	
			
end



function warp_gate( prop_id )
		
		
	-- 퀘스트 상태 체크 	get_quest_progress(ID)  
	-- �İ환값 -1 : 아무것도 아님  /  0 : 수락가  /  1 : 수행중  /  2 : 종료가능  /  255 : 이미종료
	local quest_progress1 =  get_quest_progress(1244) -- 유령선 나비스라미아: 진행 1
	local quest_progress2 =  get_quest_progress(1245) -- 유령선 나비스라미아: 진행 2
	local quest_progress3 =  get_quest_progress(1247) -- 유령선 나비스라미아: 진행 3
	
	-- 고리수정
	local item_lamia_sujung_1 = find_item ( 1000077 )
	local item_lamia_sujung_handle = get_item_handle ( 1000077 )
   	
		
	-- 나비스 라미아 갑판  
	if prop_id == 130881 then
		
		if item_lamia_sujung_1 == 1 then
		
		-- 퀘스트 도중 다시 처음부터 시작 할때 진행 불가
		--if quest_progress1 == 2 then	
	
		-- 첫번째 퀘스트 시작전이면(수행중이면)
		--if quest_progress2 == 1 then
		
		-- 텔레포트 좌표
		warp( 190072 + math.random(0,10) , 34171+ math.random(0,10), gv("layer") )
					
		else 
		cprint( "@1233" ) -- '워프게이트 사용을 위한 허가를 �Ş지 못했습니다.'
		end
	end
	
	-- 나비스 라미아 조타실  
	if prop_id == 130882 then
		
		-- 퀘스트 도중 다시 처음부터 시작 할때 진행 불가
		--if quest_progress2 == 2 then	
	
		-- 첫번째 퀘스트 시작전이면(수행중이면)
		--if quest_progress2 == 1 then
		
		-- 텔레포트 좌표
		warp( 189645 + math.random(0,10) , 36119+ math.random(0,10), gv("layer") )
					
		--else 
		--cprint( "@1233" )
		--end
	end
		
	-- 나비스 라미아 주방  
	if prop_id == 130883 then
		
		-- 퀘스트 도중 다시 처음부터 시작 할때 진행 불가
		if quest_progress3 == 2 or quest_progress3 == 255 then	
	
		-- 첫번째 퀘스트 시작전이면(수행중이면)
		--if quest_progress3 == 1 then
		
		-- 텔레포트 좌표
		warp( 190018 + math.random(0,10) , 37865+ math.random(0,10), gv("layer") )
					
		else 
		cprint( "@1233" )
		end
	end
			
	-- 수련자의 섬 선착장 
	if prop_id == 130880 then	
		-- 텔레포트 좌표
		warp(175274 + math.random(0,10) , 62743+ math.random(0,10), gv("layer") )
					
	-- 나비스 라미아 노선실 
	elseif prop_id == 130884 then	
		-- 텔레포트 좌표
		warp( 190008 + math.random(0,10) , 40519+ math.random(0,10), gv("layer") )
		
	-- 나비스 라미아 노선실 
	elseif prop_id == 130885 then	
		-- 텔레포트 좌표
		warp( 187541 + math.random(0,10) , 36391+ math.random(0,10), gv("layer") )
		
	-- 나비스 라미아 노선실  
	elseif prop_id == 130886 then	
		-- 텔레포트 좌표
		warp( 187541 + math.random(0,10) , 37946+ math.random(0,10), gv("layer") )
		
	-- 나비스 라미아 노선실  
	elseif prop_id == 130887 then	
		-- 텔레포트 좌표
		warp( 187541 + math.random(0,10) , 39622+ math.random(0,10), gv("layer") )
		
	-- 나비스 라미아 노선실 
	elseif prop_id == 130888 then	
		-- 텔레포트 좌표
		warp( 192531 + math.random(0,10) , 39596+ math.random(0,10), gv("layer") )
		
	-- 나비스 라미아 노선실 
	elseif prop_id == 130889 then	
		-- 텔레포트 좌표
		warp( 192531 + math.random(0,10) , 37943+ math.random(0,10), gv("layer") )
		
	-- 나비스 라미아 노선실 
	elseif prop_id == 130890 then	
		-- 텔레포트 좌표
		warp( 192531 + math.random(0,10) , 36385+ math.random(0,10), gv("layer") )
		
	-- 나비스 라미아 식료품창고 
	elseif prop_id == 130874 then	
		-- 텔레포트 좌표
		warp( 189811 + math.random(0,10) , 37968+ math.random(0,10), gv("layer") )
		
	-- 나비스 라미아 객실1 
	elseif prop_id == 130875 then	
		-- 텔레포트 좌표
		warp( 189811 + math.random(0,10) , 38128+ math.random(0,10), gv("layer") )
		
	-- 나비스 라미아 잡�*창고 
	elseif prop_id == 130876 then	
		-- 텔레포트 좌표
		warp( 189811 + math.random(0,10) , 38323+ math.random(0,10), gv("layer") )
		
	-- 나비스 라미아 라미아의 눈물 
	elseif prop_id == 130877 then	
		-- 텔레포트 좌표
		warp( 190232 + math.random(0,10) , 38325+ math.random(0,10), gv("layer") )
		
	-- 나비스 라미아 객실2 
	elseif prop_id == 130878 then	
		-- 텔레포트 좌표
		warp( 190232 + math.random(0,10) , 38127+ math.random(0,10), gv("layer") )
		
	-- 나비스 라미아 �ı체실험 준비실 
	elseif prop_id == 130879 then	
		-- 텔레포트 좌표
		warp( 190232 + math.random(0,10) , 37967+ math.random(0,10), gv("layer") )
		
	-- 나비스 라미아 선장실 
	elseif prop_id == 130974 then	
		-- 텔레포트 좌표
		warp( 175249 + math.random(0,10) , 60932+ math.random(0,10), gv("layer") )
	
	-------------------------------------------------------------------------------
								--	팔미르 유적 --
	-------------------------------------------------------------------------------
	
	-- 팔미르 제 1 유적 워프 프랍 1 번	
	elseif prop_id == 130801 then	
		-- 텔레포트 좌표
		warp( 210380 + math.random(0,10) , 136234+ math.random(0,10), gv("layer") )
		
	-- 팔미르 제 1 유적 워프 프랍 2 번	
	elseif prop_id == 130802 then	
		-- 텔레포트 좌표
		warp( 219449 + math.random(0,10) , 129851+ math.random(0,10), gv("layer") )
		
	-- 팔미르 제 1 유적 워프 프랍 3 번	
	elseif prop_id == 130803 then	
		-- 텔레포트 좌표
		warp( 219913 + math.random(0,10) , 133705+ math.random(0,10), gv("layer") )
		
	-- 팔미르 제 1 유적 워프 프랍 4 번	
	elseif prop_id == 130804 then	
		-- 텔레포트 좌표
		warp( 219712 + math.random(0,10) , 133084+ math.random(0,10), gv("layer") )
		
	-- 팔미르 제 1 유적 워프 프랍 5 번	
	elseif prop_id == 130805 then	
		-- 텔레포트 좌표
		warp( 214456 + math.random(0,10) , 136681+ math.random(0,10), gv("layer") )
		
	-- 팔미르 제 1 유적 워프 프랍 6 번	
	elseif prop_id == 130806 then	
		-- 텔레포트 좌표
		warp( 213631 + math.random(0,10) , 136637+ math.random(0,10), gv("layer") )
		
	-- 팔미르 제 1 유적 워프 프랍 7 번	
	elseif prop_id == 130807 then	
		-- 텔레포트 좌표
		warp( 214263 + math.random(0,10) , 137450+ math.random(0,10), gv("layer") )
		
	-- 팔미르 제 1 유적 워프 프랍 8 번	
	elseif prop_id == 130808 then	
		-- 텔레포트 좌표
		warp( 220659 + math.random(0,10) , 133638+ math.random(0,10), gv("layer") )
		
	-- 팔미르 제 1 유적 워프 프랍 9 번	
	elseif prop_id == 130809 then	
		-- 텔레포트 좌표
		warp( 210201 + math.random(0,10) , 139440+ math.random(0,10), gv("layer") )
		
	-- 팔미르 제 1 유적 워프 프랍 10 번	
	elseif prop_id == 130810 then	
		-- 텔레포트 좌표
		warp( 218003 + math.random(0,10) , 129314+ math.random(0,10), gv("layer") )
		
	-- 팔미르 제 1 유적 워프 프랍 11 번	
	elseif prop_id == 130811 then	
		-- 텔레포트 좌표
		warp( 217804 + math.random(0,10) , 133780+ math.random(0,10), gv("layer") )
		
	-- 팔미르 제 1 유적 워프 프랍 12 번	
	elseif prop_id == 130812 then	
		-- 텔레포트 좌표
		warp( 218185 + math.random(0,10) , 134275+ math.random(0,10), gv("layer") )
		
	-- 팔미르 제 1 유적 워프 프랍 13 번	
	elseif prop_id == 130813 then	
		-- 텔레포트 좌표
		warp( 213922 + math.random(0,10) , 134885+ math.random(0,10), gv("layer") )
		
	-- 팔미르 제 1 유적 워프 프랍 14 번	
	elseif prop_id == 130814 then	
		-- 텔레포트 좌표
		warp( 214533 + math.random(0,10) , 135565+ math.random(0,10), gv("layer") )
		
	-- 팔미르 제 1 유적 워프 프랍 15 번	
	elseif prop_id == 130815 then	
		-- 텔레포트 좌표
		warp( 224491 + math.random(0,10) , 134710+ math.random(0,10), gv("layer") )
		
	-- 팔미르 제 1 유적 워프 프랍 16 번	
	elseif prop_id == 130816 then	
		-- 텔레포트 좌표
		warp( 223407 + math.random(0,10) , 134701+ math.random(0,10), gv("layer") )
		
	-- 팔미르 제 1 유적 워프 프랍 17 번	
	elseif prop_id == 130817 then	
		-- 텔레포트 좌표
		warp( 217010 + math.random(0,10) , 140208+ math.random(0,10), gv("layer") )
		
	-- 팔미르 제 1 유적 워프 프랍 18 번	
	elseif prop_id == 130818 then	
		-- 텔레포트 좌표
		warp( 216860 + math.random(0,10) , 139575+ math.random(0,10), gv("layer") )
		
	-- 팔미르 제 1 유적 워프 프랍 19 번	
	elseif prop_id == 130819 then	
		-- 텔레포트 좌표
		warp( 216533 + math.random(0,10) , 140560+ math.random(0,10), gv("layer") )
		
	-- 팔미르 제 1 유적 워프 프랍 20 번	
	elseif prop_id == 130820 then	
		-- 텔레포트 좌표
		warp( 223831 + math.random(0,10) , 134943+ math.random(0,10), gv("layer") )
		
	-- 팔미르 제 1 유적 워프 프랍 21 번	
	elseif prop_id == 130821 then	
		-- 텔레포트 좌표
		warp( 224101 + math.random(0,10) , 142035+ math.random(0,10), gv("layer") )
		
	-- 팔미르 제 1 유적 워프 프랍 22 번	
	elseif prop_id == 130822 then	
		-- 텔레포트 좌표
		warp( 224474 + math.random(0,10) , 141600+ math.random(0,10), gv("layer") )
		
	-- 팔미르 제 1 유적 워프 프랍 23 번	
	elseif prop_id == 130823 then	
		-- 텔레포트 좌표
		warp( 223466 + math.random(0,10) , 141318+ math.random(0,10), gv("layer") )
		
	-- 팔미르 제 1 유적 워프 프랍 24 번	
	elseif prop_id == 130824 then	
		-- 텔레포트 좌표
		warp( 221410 + math.random(0,10) , 144106+ math.random(0,10), gv("layer") )
		
	-- 팔미르 제 1 유적 워프 프랍 25 번	
	elseif prop_id == 130825 then	
		-- 텔레포트 좌표
		warp( 220847 + math.random(0,10) , 143458+ math.random(0,10), gv("layer") )
		
	-- 팔미르 제 1 유적 워프 프랍 26 번	
	elseif prop_id == 130826 then	
		-- 텔레포트 좌표
		warp( 220942 + math.random(0,10) , 144434+ math.random(0,10), gv("layer") )
		
	-- 팔미르 제 1 유적 워프 프랍 27 번	
	elseif prop_id == 130827 then	
		-- 텔레포트 좌표
		warp( 219150 + math.random(0,10) , 139636+ math.random(0,10), gv("layer") )
		
	-- 팔미르 제 1 유적 워프 프랍 28 번	
	elseif prop_id == 130828 then	
		-- 텔레포트 좌표
		warp( 219520 + math.random(0,10) , 140193+ math.random(0,10), gv("layer") )
		
	-- 팔미르 제 1 유적 워프 프랍 29 번	
	elseif prop_id == 130829 then	
		-- 텔레포트 좌표
		warp( 220115 + math.random(0,10) , 139207+ math.random(0,10), gv("layer") )
		
	-- 팔미르 제 1 유적 워프 프랍 30 번	
	elseif prop_id == 130830 then	
		-- 텔레포트 좌표
		warp( 219486 + math.random(0,10) , 139264+ math.random(0,10), gv("layer") )
		
	-- 팔미르 제 1 유적 워프 프랍 31 번	
	elseif prop_id == 130831 then	
		-- 텔레포트 좌표
		warp( 213211 + math.random(0,10) , 142969+ math.random(0,10), gv("layer") )
		
	-- 팔미르 제 1 유적 워프 프랍 32 번	
	elseif prop_id == 130832 then	
		-- 텔레포트 좌표
		warp( 217128 + math.random(0,10) , 136129+ math.random(0,10), gv("layer") )
		
	-- 팔미르 제 1 유적 워프 프랍 33 번	
	elseif prop_id == 130833 then	
		-- 텔레포트 좌표
		warp( 218883 + math.random(0,10) , 137899+ math.random(0,10), gv("layer") )
		
	-- 팔미르 제 1 유적 워프 프랍 3-1 번	
	elseif prop_id == 130836 then	
		-- 텔레포트 좌표
		warp( 219973 + math.random(0,10) , 133090+ math.random(0,10), gv("layer") )
		
	-- 팔미르 제 1 유적 워프 프랍 4-1 번	
	elseif prop_id == 130837 then	
		-- 텔레포트 좌표
		warp( 220079 + math.random(0,10) , 133531+ math.random(0,10), gv("layer") )
		
	-- 팔미르 제 1 유적 워프 프랍 6-1 번	
	elseif prop_id == 130839 then	
		-- 텔레포트 좌표
		warp( 214272 + math.random(0,10) , 137193+ math.random(0,10), gv("layer") )
		
	-- 팔미르 제 1 유적 워프 프랍 7-1 번	
	elseif prop_id == 130840 then	
		-- 텔레포트 좌표
		warp( 213847 + math.random(0,10) , 136674+ math.random(0,10), gv("layer") )
		
	-- 팔미르 제 1 유적 워프 프랍 11-1 번	
	elseif prop_id == 130844 then	
		-- 텔레포트 좌표
		warp( 217946 + math.random(0,10) , 134270+ math.random(0,10), gv("layer") )
		
	-- 팔미르 제 1 유적 워프 프랍 12-1 번	
	elseif prop_id == 130845 then	
		-- 텔레포트 좌표
		warp( 217667 + math.random(0,10) , 133968+ math.random(0,10), gv("layer") )
		
	-- 팔미르 제 1 유적 워프 프랍 13-1 번	
	elseif prop_id == 130846 then	
		-- 텔레포트 좌표
		warp( 214559 + math.random(0,10) , 135314+ math.random(0,10), gv("layer") )
		
	-- 팔미르 제 1 유적 워프 프랍 14-1 번	
	elseif prop_id == 130847 then	
		-- 텔레포트 좌표
		warp( 214191 + math.random(0,10) , 134901+ math.random(0,10), gv("layer") )
		
	-- 팔미르 제 1 유적 워프 프랍 15-1 번	
	elseif prop_id == 130848 then	
		-- 텔레포트 좌표
		warp( 223595 + math.random(0,10) , 134708+ math.random(0,10), gv("layer") )
		
	-- 팔미르 제 1 유적 워프 프랍 16-1 번	
	elseif prop_id == 130849 then	
		-- 텔레포트 좌표
		warp( 224289 + math.random(0,10) , 134749+ math.random(0,10), gv("layer") )
		
	-- 팔미르 제 1 유적 워프 프랍 18-1 번	
	elseif prop_id == 130858 then	
		-- 텔레포트 좌표
		warp( 216570 + math.random(0,10) , 140372+ math.random(0,10), gv("layer") )
		
	-- 팔미르 제 1 유적 워프 프랍 19-1 번	
	elseif prop_id == 130859 then	
		-- 텔레포트 좌표
		warp( 216838 + math.random(0,10) , 139733+ math.random(0,10), gv("layer") )
		
	-- 팔미르 제 1 유적 워프 프랍 20-1 번	
	elseif prop_id == 130860 then	
		-- 텔레포트 좌표
		warp( 217010 + math.random(0,10) , 140208+ math.random(0,10), gv("layer") )
		
	-- 팔미르 제 1 유적 워프 프랍 21-1 번	
	elseif prop_id == 130861 then	
		-- 텔레포트 좌표
		warp( 223629 + math.random(0,10) , 141357+ math.random(0,10), gv("layer") )
		
	-- 팔미르 제 1 유적 워프 프랍 22-1 번	
	elseif prop_id == 130862 then	
		-- 텔레포트 좌표
		warp( 224048 + math.random(0,10) , 141882+ math.random(0,10), gv("layer") )
		
	-- 팔미르 제 1 유적 워프 프랍 23-1 번	
	elseif prop_id == 130863 then	
		-- 텔레포트 좌표
		warp( 224313 + math.random(0,10) , 141529+ math.random(0,10), gv("layer") )
		
	-- 팔미르 제 1 유적 워프 프랍 24-1 번	
	elseif prop_id == 130864 then	
		-- 텔레포트 좌표
		warp( 220995 + math.random(0,10) , 144279+ math.random(0,10), gv("layer") )
		
	-- 팔미르 제 1 유적 워프 프랍 25-1 번	
	elseif prop_id == 130865 then	
		-- 텔레포트 좌표
		warp( 221241 + math.random(0,10) , 144075+ math.random(0,10), gv("layer") )
		
	-- 팔미르 제 1 유적 워프 프랍 26-1 번	
	elseif prop_id == 130866 then	
		-- 텔레포트 좌표
		warp( 220867 + math.random(0,10) , 143631+ math.random(0,10), gv("layer") )
		
	-- 팔미르 제 1 유적 워프 프랍 33-1 번	
	elseif prop_id == 130873 then	
		-- 텔레포트 좌표
		warp( 220001 + math.random(0,10) , 138279+ math.random(0,10), gv("layer") )
		
		
	-- 팔미르 제 2 유적 워프 프랍 1 번	
	elseif prop_id == 130901 then	
		-- 텔레포트 좌표
		warp( 210380 + math.random(0,10) , 152362+ math.random(0,10), gv("layer") )
		
	-- 팔미르 제 2 유적 워프 프랍 2 번	
	elseif prop_id == 130902 then	
		-- 텔레포트 좌표
		warp( 219449 + math.random(0,10) , 145979+ math.random(0,10), gv("layer") )
		
	-- 팔미르 제 2 유적 워프 프랍 3 번	
	elseif prop_id == 130903 then	
		-- 텔레포트 좌표
		warp( 219913 + math.random(0,10) , 149833+ math.random(0,10), gv("layer") )
		
	-- 팔미르 제 2 유적 워프 프랍 4 번	
	elseif prop_id == 130904 then	
		-- 텔레포트 좌표
		warp( 219712 + math.random(0,10) , 149212+ math.random(0,10), gv("layer") )
		
	-- 팔미르 제 2 유적 워프 프랍 5 번	
	elseif prop_id == 130905 then	
		-- 텔레포트 좌표
		warp( 214456 + math.random(0,10) , 152809+ math.random(0,10), gv("layer") )
		
	-- 팔미르 제 2 유적 워프 프랍 6 번	
	elseif prop_id == 130906 then	
		-- 텔레포트 좌표
		warp( 213631 + math.random(0,10) , 152765+ math.random(0,10), gv("layer") )
		
	-- 팔미르 제 2 유적 워프 프랍 7 번	
	elseif prop_id == 130907 then	
		-- 텔레포트 좌표
		warp( 214263 + math.random(0,10) , 153578+ math.random(0,10), gv("layer") )
		
	-- 팔미르 제 2 유적 워프 프랍 8 번	
	elseif prop_id == 130908 then	
		-- 텔레포트 좌표
		warp( 220659 + math.random(0,10) , 149766+ math.random(0,10), gv("layer") )
		
	-- 팔미르 제 2 유적 워프 프랍 9 번	
	elseif prop_id == 130909 then	
		-- 텔레포트 좌표
		warp( 210201 + math.random(0,10) , 155568+ math.random(0,10), gv("layer") )
		
	-- 팔미르 제 2 유적 워프 프랍 10 번	
	elseif prop_id == 130910 then	
		-- 텔레포트 좌표
		warp( 218003 + math.random(0,10) , 145442+ math.random(0,10), gv("layer") )
		
	-- 팔미르 제 2 유적 워프 프랍 11 번	
	elseif prop_id == 130911 then	
		-- 텔레포트 좌표
		warp( 217803 + math.random(0,10) , 149850+ math.random(0,10), gv("layer") )
		
	-- 팔미르 제 2 유적 워프 프랍 12 번	
	elseif prop_id == 130912 then	
		-- 텔레포트 좌표
		warp( 218185 + math.random(0,10) , 150403+ math.random(0,10), gv("layer") )
		
	-- 팔미르 제 2 유적 워프 프랍 13 번	
	elseif prop_id == 130913 then	
		-- 텔레포트 좌표
		warp( 213922 + math.random(0,10) , 151013+ math.random(0,10), gv("layer") )
		
	-- 팔미르 제 2 유적 워프 프랍 14 번	
	elseif prop_id == 130914 then	
		-- 텔레포트 좌표
		warp( 214533 + math.random(0,10) , 151693+ math.random(0,10), gv("layer") )
		
	-- 팔미르 제 2 유적 워프 프랍 15 번	
	elseif prop_id == 130915 then	
		-- 텔레포트 좌표
		warp( 224491 + math.random(0,10) , 150838+ math.random(0,10), gv("layer") )
		
	-- 팔미르 제 2 유적 워프 프랍 16 번	
	elseif prop_id == 130916 then	
		-- 텔레포트 좌표
		warp( 223407 + math.random(0,10) , 150829+ math.random(0,10), gv("layer") )
		
	-- 팔미르 제 2 유적 워프 프랍 17 번	
	elseif prop_id == 130917 then	
		-- 텔레포트 좌표
		warp( 217010 + math.random(0,10) , 156336+ math.random(0,10), gv("layer") )
		
	-- 팔미르 제 2 유적 워프 프랍 18 번	
	elseif prop_id == 130918 then	
		-- 텔레포트 좌표
		warp( 216860 + math.random(0,10) , 155703+ math.random(0,10), gv("layer") )
		
	-- 팔미르 제 2 유적 워프 프랍 19 번	
	elseif prop_id == 130919 then	
		-- 텔레포트 좌표
		warp( 216533 + math.random(0,10) , 156688+ math.random(0,10), gv("layer") )
		
	-- 팔미르 제 2 유적 워프 프랍 20 번	
	elseif prop_id == 130920 then	
		-- 텔레포트 좌표
		warp( 223831 + math.random(0,10) , 151071+ math.random(0,10), gv("layer") )
		
	-- 팔미르 제 2 유적 워프 프랍 21 번	
	elseif prop_id == 130921 then	
		-- 텔레포트 좌표
		warp( 224101 + math.random(0,10) , 158163+ math.random(0,10), gv("layer") )
		
	-- 팔미르 제 2 유적 워프 프랍 22 번	
	elseif prop_id == 130922 then	
		-- 텔레포트 좌표
		warp( 224474 + math.random(0,10) , 157728+ math.random(0,10), gv("layer") )
		
	-- 팔미르 제 2 유적 워프 프랍 23 번	
	elseif prop_id == 130923 then	
		-- 텔레포트 좌표
		warp( 223466 + math.random(0,10) , 157446+ math.random(0,10), gv("layer") )
		
	-- 팔미르 제 2 유적 워프 프랍 24 번	
	elseif prop_id == 130924 then	
		-- 텔레포트 좌표
		warp( 221410 + math.random(0,10) , 160234+ math.random(0,10), gv("layer") )
		
	-- 팔미르 제 2 유적 워프 프랍 25 번	
	elseif prop_id == 130925 then	
		-- 텔레포트 좌표
		warp( 220847 + math.random(0,10) , 159586+ math.random(0,10), gv("layer") )
		
	-- 팔미르 제 2 유적 워프 프랍 26 번	
	elseif prop_id == 130926 then	
		-- 텔레포트 좌표
		warp( 220942 + math.random(0,10) , 160562+ math.random(0,10), gv("layer") )
		
	-- 팔미르 제 2 유적 워프 프랍 27 번	
	elseif prop_id == 130927 then	
		-- 텔레포트 좌표
		warp( 219150 + math.random(0,10) , 155764+ math.random(0,10), gv("layer") )
		
	-- 팔미르 제 2 유적 워프 프랍 28 번	
	elseif prop_id == 130928 then	
		-- 텔레포트 좌표
		warp( 219520 + math.random(0,10) , 156321+ math.random(0,10), gv("layer") )
		
	-- 팔미르 제 2 유적 워프 프랍 29 번	
	elseif prop_id == 130929 then	
		-- 텔레포트 좌표
		warp( 220115 + math.random(0,10) , 155335+ math.random(0,10), gv("layer") )
		
	-- 팔미르 제 2 유적 워프 프랍 30 번	
	elseif prop_id == 130930 then	
		-- 텔레포트 좌표
		warp( 219486 + math.random(0,10) , 155392+ math.random(0,10), gv("layer") )
		
	-- 팔미르 제 2 유적 워프 프랍 31 번	
	elseif prop_id == 130931 then	
		-- 텔레포트 좌표
		warp( 213211 + math.random(0,10) , 159097+ math.random(0,10), gv("layer") )
		
	-- 팔미르 제 2 유적 워프 프랍 32 번	
	elseif prop_id == 130932 then	
		-- 텔레포트 좌표
		warp( 217128 + math.random(0,10) , 152257+ math.random(0,10), gv("layer") )
		
	-- 팔미르 제 2 유적 워프 프랍 33 번	
	elseif prop_id == 130933 then	
		-- 텔레포트 좌표
		warp( 218883 + math.random(0,10) , 154027+ math.random(0,10), gv("layer") )
		
	-- 팔미르 제 2 유적 워프 프랍 3-1 번	
	elseif prop_id == 130936 then	
		-- 텔레포트 좌표
		warp( 219973 + math.random(0,10) , 149218+ math.random(0,10), gv("layer") )
		
	-- 팔미르 제 2 유적 워프 프랍 4-1 번	
	elseif prop_id == 130937 then	
		-- 텔레포트 좌표
		warp( 220079 + math.random(0,10) , 149659+ math.random(0,10), gv("layer") )
		
	-- 팔미르 제 2 유적 워프 프랍 6-1 번	
	elseif prop_id == 130939 then	
		-- 텔레포트 좌표
		warp( 214272 + math.random(0,10) , 153321+ math.random(0,10), gv("layer") )
		
	-- 팔미르 제 2 유적 워프 프랍 7-1 번	
	elseif prop_id == 130940 then	
		-- 텔레포트 좌표
		warp( 213847 + math.random(0,10) , 152802+ math.random(0,10), gv("layer") )
		
	-- 팔미르 제 2 유적 워프 프랍 11-1 번	
	elseif prop_id == 130944 then	
		-- 텔레포트 좌표
		warp( 217946 + math.random(0,10) , 150398+ math.random(0,10), gv("layer") )
		
	-- 팔미르 제 2 유적 워프 프랍 12-1 번	
	elseif prop_id == 130945 then	
		-- 텔레포트 좌표
		warp( 217725 + math.random(0,10) , 150104+ math.random(0,10), gv("layer") )
		
	-- 팔미르 제 2 유적 워프 프랍 13-1 번	
	elseif prop_id == 130946 then	
		-- 텔레포트 좌표
		warp( 214559 + math.random(0,10) , 151442+ math.random(0,10), gv("layer") )
		
	-- 팔미르 제 2 유적 워프 프랍 14-1 번	
	elseif prop_id == 130947 then	
		-- 텔레포트 좌표
		warp( 214191 + math.random(0,10) , 151029+ math.random(0,10), gv("layer") )
		
	-- 팔미르 제 2 유적 워프 프랍 15-1 번	
	elseif prop_id == 130948 then	
		-- 텔레포트 좌표
		warp( 223595 + math.random(0,10) , 150836+ math.random(0,10), gv("layer") )
		
	-- 팔미르 제 2 유적 워프 프랍 16-1 번	
	elseif prop_id == 130949 then	
		-- 텔레포트 좌표
		warp( 224289 + math.random(0,10) , 150877+ math.random(0,10), gv("layer") )
		
	-- 팔미르 제 2 유적 워프 프랍 18-1 번	
	elseif prop_id == 130958 then	
		-- 텔레포트 좌표
		warp( 216570 + math.random(0,10) , 156500+ math.random(0,10), gv("layer") )
		
	-- 팔미르 제 2 유적 워프 프랍 19-1 번	
	elseif prop_id == 130959 then	
		-- 텔레포트 좌표
		warp( 216838 + math.random(0,10) , 155861+ math.random(0,10), gv("layer") )
		
	-- 팔미르 제 2 유적 워프 프랍 20-1 번	
	elseif prop_id == 130960 then	
		-- 텔레포트 좌표
		warp( 217010 + math.random(0,10) , 156336+ math.random(0,10), gv("layer") )
		
	-- 팔미르 제 2 유적 워프 프랍 21-1 번	
	elseif prop_id == 130961 then	
		-- 텔레포트 좌표
		warp( 223629 + math.random(0,10) , 157485+ math.random(0,10), gv("layer") )
		
	-- 팔미르 제 2 유적 워프 프랍 22-1 번	
	elseif prop_id == 130962 then	
		-- 텔레포트 좌표
		warp( 224048 + math.random(0,10) , 158010+ math.random(0,10), gv("layer") )
		
	-- 팔미르 제 2 유적 워프 프랍 23-1 번	
	elseif prop_id == 130963 then	
		-- 텔레포트 좌표
		warp( 224313 + math.random(0,10) , 157657+ math.random(0,10), gv("layer") )
		
	-- 팔미르 제 2 유적 워프 프랍 24-1 번	
	elseif prop_id == 130964 then	
		-- 텔레포트 좌표
		warp( 220995 + math.random(0,10) , 160407+ math.random(0,10), gv("layer") )
		
	-- 팔미르 제 2 유적 워프 프랍 25-1 번	
	elseif prop_id == 130965 then	
		-- 텔레포트 좌표
		warp( 221241 + math.random(0,10) , 160203+ math.random(0,10), gv("layer") )
		
	-- 팔미르 제 2 유적 워프 프랍 26-1 번	
	elseif prop_id == 130966 then	
		-- 텔레포트 좌표
		warp( 220867 + math.random(0,10) , 159759+ math.random(0,10), gv("layer") )
		
	-- 팔미르 제 2 유적 워프 프랍 33-1 번	
	elseif prop_id == 130973 then	
		-- 텔레포트 좌표
		warp( 220001 + math.random(0,10) , 154407+ math.random(0,10), gv("layer") )

	-- 잃어버린 비�Ğ의 섬 워프 프랍 1-1 번(설원�Ğ지 -> 잃어버린 비�Ğ의 섬 갈림길)
	-- [에픽 7 파트 1 잃어버린 섬 확장] '설원�Ğ지 출구' -> '드래곤의 둥지 입구'로 수정
	elseif prop_id == 50750 then	
		-- 텔레포트 좌표
		--warp( 84828 + math.random(0,10) , 117225+ math.random(0,10), gv("layer") )
		
		-- 드래곤의 둥지로 
		warp( 105093 + math.random(0,10) , 137583+ math.random(0,10), gv("layer") )

	-- 백룡의 쉼터 워프 프랍 2-1 번(해안가 -> 잃어버린 비�Ğ의 섬)
	elseif prop_id == 50752 then	
		-- 텔레포트 좌표
		warp( 83286 + math.random(0,10) , 115722+ math.random(0,10), gv("layer") )

	-- 백룡의 쉼터 워프 프랍 3-1 번(잃어버린 비�Ğ의 섬 -> 해안가)
	elseif prop_id == 50753 then	
		-- 텔레포트 좌표
		warp( 122759 + math.random(0,10) , 121596+ math.random(0,10), gv("layer") )

	-- 백룡의 쉼터 1-1 번(백색마력의 방 -> 설원�Ğ지)
	elseif prop_id == 121052 then	
		-- 텔레포트 좌표
		warp( 88817 + math.random(0,10) , 119671+ math.random(0,10), gv("layer") )
	
	-------------------------------------------------------------------------------
								--숨겨진 팔미르 유적 --
	-------------------------------------------------------------------------------

	-- 숨겨진 팔미르 제 2 유적 워프 프랍 1 번			
	elseif prop_id == 120201 then	
		-- 텔레포트 좌표
		warp( 194248 + math.random(0,10) , 39475+ math.random(0,10), gv("layer") )
		
	-- 숨겨진 팔미르 제 2 유적 워프 프랍 2 번	
	elseif prop_id == 120202 then	
		-- 텔레포트 좌표
		warp( 203311 + math.random(0,10) , 33102+ math.random(0,10), gv("layer") )
		
	-- 숨겨진 팔미르 제 2 유적 워프 프랍 3 번(4-1로)	
	elseif prop_id == 120203 then	
		-- 텔레포트 좌표
		warp( 203764 + math.random(0,10) , 36956+ math.random(0,10), gv("layer") )
		
	-- 숨겨진 팔미르 제 2 유적 워프 프랍 4 번(3-1로)	
	elseif prop_id == 120204 then	
		-- 텔레포트 좌표
		warp( 203595 + math.random(0,10) , 36319+ math.random(0,10), gv("layer") )
		
	-- 숨겨진 팔미르 제 2 유적 워프 프랍 5 번(8로)		
	elseif prop_id == 120205 then	
		-- 텔레포트 좌표
		warp( 198345 + math.random(0,10) , 39913+ math.random(0,10), gv("layer") )
		
	-- 숨겨진 팔미르 제 2 유적 워프 프랍 6 번(7-1로)	
	elseif prop_id == 120206 then	
		-- 텔레포트 좌표
		warp( 197500 + math.random(0,10) , 39866+ math.random(0,10), gv("layer") )
		
	-- 숨겨진 팔미르 제 2 유적 워프 프랍 7 번(6-1로)		
	elseif prop_id == 120207 then	
		-- 텔레포트 좌표
		warp( 198129 + math.random(0,10) , 40672+ math.random(0,10), gv("layer") )
		
	-- 숨겨진 팔미르 제 2 유적 워프 프랍 8 번(5로)	
	elseif prop_id == 120208 then	
		-- 텔레포트 좌표
		warp( 204551 + math.random(0,10) , 36884+ math.random(0,10), gv("layer") )
		
	-- 숨겨진 팔미르 제 2 유적 워프 프랍 9 번(x)	
	elseif prop_id == 120209 then	
		-- 텔레포트 좌표
		warp( 206586 + math.random(0,10) , 37253+ math.random(0,10), gv("layer") )
		
	-- 숨겨진 팔미르 제 2 유적 워프 프랍 10 번(x)	
	elseif prop_id == 120210 then	
		-- 텔레포트 좌표
		warp( 201030 + math.random(0,10) , 43533+ math.random(0,10), gv("layer") )
		
	-- 숨겨진 팔미르 제 2 유적 워프 프랍 11 번(12-1로)	
	elseif prop_id == 120211 then	
		-- 텔레포트 좌표
		warp( 201646 + math.random(0,10) , 37038+ math.random(0,10), gv("layer") )
		
	-- 숨겨진 팔미르 제 2 유적 워프 프랍 12 번(11-1로)	
	elseif prop_id == 120212 then	
		-- 텔레포트 좌표
		warp( 202047 + math.random(0,10) , 37505+ math.random(0,10), gv("layer") )
		
	-- 숨겨진 팔미르 제 2 유적 워프 프랍 13 번(14-1로)	
	elseif prop_id == 120213 then	
		-- 텔레포트 좌표
		warp( 197827 + math.random(0,10) , 38102+ math.random(0,10), gv("layer") )
		
	-- 숨겨진 팔미르 제 2 유적 워프 프랍 14 번(13-1로)	
	elseif prop_id == 120214 then	
		-- 텔레포트 좌표
		warp( 198409 + math.random(0,10) , 38745+ math.random(0,10), gv("layer") )
		
	-- 숨겨진 팔미르 제 2 유적 워프 프랍 15 번(16-1로)	
	elseif prop_id == 120215 then	
		-- 텔레포트 좌표
		warp( 208402 + math.random(0,10) , 37935+ math.random(0,10), gv("layer") )
		
	-- 숨겨진 팔미르 제 2 유적 워프 프랍 16 번(15-1로)	
	elseif prop_id == 120216 then	
		-- 텔레포트 좌표
		warp( 207232 + math.random(0,10) , 37941+ math.random(0,10), gv("layer") )
		
	-- 숨겨진 팔미르 제 2 유적 워프 프랍 17 번(20로)	
	elseif prop_id == 120217 then	
		-- 텔레포트 좌표
		warp( 200869 + math.random(0,10) , 43459+ math.random(0,10), gv("layer") )
		
	-- 숨겨진 팔미르 제 2 유적 워프 프랍 18 번(19-1로)	
	elseif prop_id == 120218 then	
		-- 텔레포트 좌표
		warp( 200732 + math.random(0,10) , 42791+ math.random(0,10), gv("layer") )
		
	-- 숨겨진 팔미르 제 2 유적 워프 프랍 19 번(18-1로)	
	elseif prop_id == 120219 then	
		-- 텔레포트 좌표
		warp( 200396 + math.random(0,10) , 43797+ math.random(0,10), gv("layer") )
		
	-- 숨겨진 팔미르 제 2 유적 워프 프랍 20 번(17로) 	
	elseif prop_id == 120220 then	
		-- 텔레포트 좌표
		warp( 207712 + math.random(0,10) , 38200+ math.random(0,10), gv("layer") )
		
	-- 숨겨진 팔미르 제 2 유적 워프 프랍 21 번(22-1로)		
	elseif prop_id == 120221 then	
		-- 텔레포트 좌표
		warp( 208041 + math.random(0,10) , 45458+ math.random(0,10), gv("layer") )
		
	-- 숨겨진 팔미르 제 2 유적 워프 프랍 22 번(23-1로)	
	elseif prop_id == 120222 then	
		-- 텔레포트 좌표
		warp( 208358 + math.random(0,10) , 44855+ math.random(0,10), gv("layer") )
		
	-- 숨겨진 팔미르 제 2 유적 워프 프랍 23 번(21-1로)	
	elseif prop_id == 120223 then	
		-- 텔레포트 좌표
		warp( 207265 + math.random(0,10) , 44540+ math.random(0,10), gv("layer") )
		
	-- 숨겨진 팔미르 제 2 유적 워프 프랍 24 번(25-1로)	

	elseif prop_id == 120224 then	
		-- 텔레포트 좌표
		warp( 205305 + math.random(0,10) , 47347+ math.random(0,10), gv("layer") )
		
	-- 숨겨진 팔미르 제 2 유적 워프 프랍 25 번(26-1로)		
	elseif prop_id == 120225 then	
		-- 텔레포트 좌표
		warp( 204730 + math.random(0,10) ,  46691+ math.random(0,10), gv("layer") )
		
	-- 숨겨진 팔미르 제 2 유적 워프 프랍 26 번(24-1로)	
	elseif prop_id == 120226 then	
		-- 텔레포트 좌표
		warp( 204780 + math.random(0,10) , 47705+ math.random(0,10), gv("layer") )
		
	-- 숨겨진 팔미르 제 2 유적 워프 프랍 27 번(29로)	
	elseif prop_id == 120227 then	
		-- 텔레포트 좌표
		warp( 203033 + math.random(0,10) , 42943+ math.random(0,10), gv("layer") )
		
	-- 숨겨진 팔미르 제 2 유적 워프 프랍 28 번(27로)	
	elseif prop_id == 120228 then	
		-- 텔레포트 좌표
		warp( 203371 + math.random(0,10) , 43424+ math.random(0,10), gv("layer") )
		
	-- 숨겨진 팔미르 제 2 유적 워프 프랍 29 번(30로)	
	elseif prop_id == 120229 then	
		-- 텔레포트 좌표
		warp( 203974 + math.random(0,10) , 42449+ math.random(0,10), gv("layer") )
		
	-- 숨겨진 팔미르 제 2 유적 워프 프랍 30 번(28로)	
	elseif prop_id == 120230 then	
		-- 텔레포트 좌표
		warp( 203422 + math.random(0,10) , 42484+ math.random(0,10), gv("layer") )
		
	-- 숨겨진 팔미르 제 2 유적 워프 프랍 31 번(32로)	
	elseif prop_id == 120231 then	
		-- 텔레포트 좌표
		warp( 197086 + math.random(0,10) , 46169+ math.random(0,10), gv("layer") )
		
	-- 숨겨진 팔미르 제 2 유적 워프 프랍 32 번(31로)	
	elseif prop_id == 120232 then	
		-- 텔레포트 좌표
		warp( 201015 + math.random(0,10) , 39371+ math.random(0,10), gv("layer") )
		
	-- 숨겨진 팔미르 제 2 유적 워프 프랍 33 번(33-1로)	
	elseif prop_id == 120233 then	
		-- 텔레포트 좌표
		warp( 202800 + math.random(0,10) , 41174+ math.random(0,10), gv("layer") )
		
	-- 숨겨진 팔미르 제 2 유적 워프 프랍 3-1 번(3로)	
	elseif prop_id == 120236 then	
		-- 텔레포트 좌표
		warp( 203845+ math.random(0,10) , 36344+ math.random(0,10), gv("layer") )
		
	-- 숨겨진 팔미르 제 2 유적 워프 프랍 4-1 번(4로)	
	elseif prop_id == 120237 then	
		-- 텔레포트 좌표
		warp( 203936 + math.random(0,10) , 36797+ math.random(0,10), gv("layer") )
		
	-- 숨겨진 팔미르 제 2 유적 워프 프랍 6-1 번(6로)	
	elseif prop_id == 120239 then	
		-- 텔레포트 좌표
		warp( 198151 + math.random(0,10) , 40464+ math.random(0,10), gv("layer") )
		
	-- 숨겨진 팔미르 제 2 유적 워프 프랍 7-1 번(7로)	
	elseif prop_id == 120240 then	
		-- 텔레포트 좌표
		warp( 197719 + math.random(0,10) , 39907+ math.random(0,10), gv("layer") )
		
	-- 숨겨진 팔미르 제 2 유적 워프 프랍 11-1 번(11로)	
	elseif prop_id == 120244 then	
		-- 텔레포트 좌표
		warp( 201871 + math.random(0,10) , 37498+ math.random(0,10), gv("layer") )
		
	-- 숨겨진 팔미르 제 2 유적 워프 프랍 12-1 번(12로)	
	elseif prop_id == 120245 then	
		-- 텔레포트 좌표
		warp( 201541 + math.random(0,10) , 37193+ math.random(0,10), gv("layer") )
		
	-- 숨겨진 팔미르 제 2 유적 워프 프랍 13-1 번(13로)	
	elseif prop_id == 120246 then	
		-- 텔레포트 좌표
		warp( 198436 + math.random(0,10) , 38550+ math.random(0,10), gv("layer") )
		
	-- 숨겨진 팔미르 제 2 유적 워프 프랍 14-1 번(14로)	
	elseif prop_id == 120247 then	
		-- 텔레포트 좌표
		warp( 198050 + math.random(0,10) , 38129+ math.random(0,10), gv("layer") )
		
	-- 숨겨진 팔미르 제 2 유적 워프 프랍 15-1 번(15로)	
	elseif prop_id == 120248 then	
		-- 텔레포트 좌표
		warp( 207457 + math.random(0,10) , 37948+ math.random(0,10), gv("layer") )
		
	-- 숨겨진 팔미르 제 2 유적 워프 프랍 16-1 번(16로)	
	elseif prop_id == 120249 then	
		-- 텔레포트 좌표
		warp( 208166 + math.random(0,10) , 37970+ math.random(0,10), gv("layer") )
		
	-- 숨겨진 팔미르 제 2 유적 워프 프랍 18-1 번(18로)	
	elseif prop_id == 120258 then	
		-- 텔레포트 좌표
		warp( 200446 + math.random(0,10) , 43608+ math.random(0,10), gv("layer") )
		
	-- 숨겨진 팔미르 제 2 유적 워프 프랍 19-1 번(19로)	
	elseif prop_id == 120259 then	
		-- 텔레포트 좌표
		warp( 200703 + math.random(0,10) , 42984+ math.random(0,10), gv("layer") )
		
	-- 숨겨진 팔미르 제 1 유적 워프 프랍 20-1 번 xxxxx	
	elseif prop_id == 120260 then	
		-- 텔레포트 좌표
		warp( 217010 + math.random(0,10) , 156336+ math.random(0,10), gv("layer") )
		
	-- 숨겨진 팔미르 제 1 유적 워프 프랍 21-1 번(21로)
	elseif prop_id == 120261 then	
		-- 텔레포트 좌표
		warp( 207498 + math.random(0,10) , 44595+ math.random(0,10), gv("layer") )
		
	-- 숨겨진 팔미르 제 1 유적 워프 프랍 22-1 번(22로)	
	elseif prop_id == 120262 then	
		-- 텔레포트 좌표
		warp( 207910 + math.random(0,10) , 45102+ math.random(0,10), gv("layer") )
		
	-- 숨겨진 팔미르 제 1 유적 워프 프랍 23-1 번(23로)	
	elseif prop_id == 120263 then	
		-- 텔레포트 좌표
		warp( 208177 + math.random(0,10) , 44755+ math.random(0,10), gv("layer") )
		
	-- 숨겨진 팔미르 제 1 유적 워프 프랍 24-1 번(24로)	
	elseif prop_id == 120264 then	
		-- 텔레포트 좌표
		warp( 204864 + math.random(0,10) , 47496+ math.random(0,10), gv("layer") )
		
	-- 숨겨진 팔미르 제 1 유적 워프 프랍 25-1 번(25로)	
	elseif prop_id == 120265 then	
		-- 텔레포트 좌표
		warp( 205107 + math.random(0,10) , 47309+ math.random(0,10), gv("layer") )
		
	-- 숨겨진 팔미르 제 1 유적 워프 프랍 26-1 번(26로)	
	elseif prop_id == 120266 then	
		-- 텔레포트 좌표
		warp( 204732 + math.random(0,10) , 46881+ math.random(0,10), gv("layer") )
		
	-- 숨겨진 팔미르 제 1 유적 워프 프랍 33-1 번(33로)	
	elseif prop_id == 120273 then	
		-- 텔레포트 좌표
		warp( 203883 + math.random(0,10) , 41510+ math.random(0,10), gv("layer") )

	-- 숨겨진 팔미르 제 1 유적 입구 워프 프랍 
	elseif prop_id == 120291 then	
		-- 텔레포트 좌표
		warp( 195147 + math.random(0,10) , 33220+ math.random(0,10), gv("layer") )

	-- 숨겨진 수정계곡 입구 워프 프랍 
	elseif prop_id == 70191 then	
		-- 텔레포트 좌표
		warp( 121934 + math.random(0,10) , 24410+ math.random(0,10), gv("layer") )

	-- 숨겨진 엘카시아 입구 워프 프랍 
	elseif prop_id == 110191 then	
		-- 텔레포트 좌표
		warp( 189968 + math.random(0,10) , 23636+ math.random(0,10), gv("layer") )

	-- 숨겨진 백룡의 쉼터 입구 워프 프랍 
	elseif prop_id == 100191 then	
		-- 텔레포트 좌표
		warp( 169145 + math.random(0,10) , 22619+ math.random(0,10), gv("layer") )

	-- 숨겨진 흑룡의 그늘 입구 워프 프랍 
	elseif prop_id == 90191 then	
		-- 텔레포트 좌표
		warp( 153016 + math.random(0,10) , 22621+ math.random(0,10), gv("layer") )

	-- 숨겨진 사룡의 심장 입구 워프 프랍 
	elseif prop_id == 80191 then	
		-- 텔레포트 좌표
		warp( 136890 + math.random(0,10) , 22626+ math.random(0,10), gv("layer") )

	end
	
end


function show_portal( quest_id )

	--local currentposition = get_value('layer')
	
	local x = get_value( "x" )
	local y = get_value( "y" )
	local layer = get_value( "layer" )
	
	if quest_id >= 3384 and quest_id < 3566 then
		-- �ğ든 몬스터를 쓰러뜨렸습니다. 
		cprint( "@9813" )
		
		if quest_id >= 3384 and quest_id < 3440 then
			--1�ş 불카누스 프랍
			if x > 193687 and x < 209549 and y > 21982 and y < 32172 then
				add_field_prop(126024,0, x, y, layer, 10)
				
				--불카누스 지하 입구를 더블 클릭하면 다음 던전으로 입장할 수 있는 �Ş뉴가 나타납니다.
				cprint( "@9250" )
			end

		elseif quest_id >= 3440 and quest_id < 3496 then
			--2�ş 불카누스 프랍
			if x > 193687 and x < 209549 and y > 21982 and y < 32172 then
				add_field_prop(126025,0, x, y, layer, 10)
				
				--불카누스 지하 입구를 더블 클릭하면 다음 던전으로 입장할 수 있는 �Ş뉴가 나타납니다.
				cprint( "@9250" )
			end

		elseif quest_id >= 3496 and quest_id < 3552 then
			--3�ş 불카누스 프랍
			if x > 193687 and x < 209549 and y > 21982 and y < 32172 then
				add_field_prop(126026,0, x, y, layer, 10)
				
				--불카누스 지하 입구를 더블 클릭하면 다음 던전으로 입장할 수 있는 �Ş뉴가 나타납니다.
				cprint( "@9250" )
			end

		elseif quest_id >= 3552 and quest_id < 3566 then
			--4�ş 불카누스 프랍
			if x > 193687 and x < 209549 and y > 21982 and y < 32172 then
				add_field_prop(126027,0, x, y, layer, 35)
			end
	
		end
	end

end

function enter_vulcanus()

	local level = get_value( 'level' )
	local count = find_item( 1000401 )
	local party_id = get_value('party_id')
	
	-- 퀘스트 상태 체크 	get_quest_progress(ID)  
	-- �İ환값 -1 : 아무것도 아님  /  0 : 수락가  /  1 : 수행중  /  2 : 종료가능   / 100 : 실�Ğ  /  255 : 이미종료
	local quest_progress_3367 = get_quest_progress(3367)

	if level >= 30 then

		if count == 0 then

			--�*쇠가 없어 입장할 수 없습니다
			cprint( "@9811" )

		elseif count >= 20 then
		
			if party_id == 0 then
				-- 던전 보상이 캐릭터의 한도를 초과할 경우 게임 진행이 원활하지 않을 수 있습니다. 
				cprint( "@9812" )

				enter_instance_dungeon(20000)
				
				if quest_progress_3367 == 1 then
					set_quest_status( 3367, 1, 1 )
					cprint( "@90604746" ) -- <(version:8.1)><#6DD66D>새로운 게이트를 발견하였습니다.
				end
				
			else 
				--파티 상태에�*는 입장 불가함
				cprint( "@9247" )
				return
			end

		elseif count >= 1 and count < 20 then
			--�*쇠가 충�Ğ하지 않아 입장할 수 없습니다
			cprint( "@9810" )
			return
		else
			cprint("에러")
		end

	else

	--30레벨 이상부터 입장 가능합니다.
	cprint( "@9251" )

	end

end



-- 인스턴스 던전 : 불카누스 프랍 호출 시 다이얼로그 �ı성
function enter_other_indun( dungeon_id, current_floor, next_floor, current_item_count, next_item_count )
	if dungeon_id == 20000 then

		local floor = current_floor
		local flag = 'Vul' .. tostring( current_floor )
		local floor_flag = get_flag( flag )
		
			if floor_flag == 15 then
				floor = -1
			end

		-- 던전 보상이 캐릭터의 한도를 초과할 경우 게임 진행이 원활하지 않을 수 있습니다. 
		cprint( "@9812" )
		
		enter_other_instance_dungeon( dungeon_id, floor, next_floor, current_item_count, next_item_count )

	end
end

function warp_indun( instance_dungeon, floor )

	if instance_dungeon == 20000 then

		local flag = 'Vul' .. tostring( floor )
		local floor_flag  = get_flag( flag )
		local gate_num = 1
		local room_list = {}
		local room_count = 0

		if floor_flag == 15 then
			return
		end
		
		if floor == 4 then

			warp_floor( floor, gate_num )

		else
		
			-- 이전의 while문을 통하여 �*수를 �İ복�ı성하여 �*버다운 문제가 발�ı하였던 문제를 수정
			-- 현재 방의 입장 상태를 확인하여 들어간 방과 들어가지 않은 방을 구�Ğ하여 들어가지 않은 방의 테이블을 �ı성
			-- 후에 들어가지 않은 방의 테이블의 수 만�* �*수를 �ı성하여 �ı성된 �*수로 방을 입장 시키는 방식으로 �İ복문을 제거한 방식으로 수정
			-- 각 방에 들어가지 않았을 때 테이블을 늘려주고 테이블에 해당 방 번호를 넣어줌으로써 해당 루프를 한번 거치게 되면 
			-- 들어가지 않은 방의 수 만�* 테이블이 �ı성되고 테이블에 방 번호가 순차적으로 작성됩니다.
			
			if floor_flag ~= nil and floor_flag ~= "" then
				-- 1번 방에 안 들어갔을 때
				if floor_flag == 0 or floor_flag == 2 or floor_flag == 4 or floor_flag == 8 or floor_flag == 6 or floor_flag == 10 or floor_flag == 12 or floor_flag == 14 then
					room_list[ room_count + 1 ] = 1
					room_count = room_count + 1
				end
					
				-- 2번 방에 안 들어갔을 때
				if floor_flag == 0 or floor_flag == 1 or floor_flag == 4 or floor_flag == 8 or floor_flag == 5 or floor_flag == 9 or floor_flag == 12 or floor_flag == 13 then
					room_list[ room_count + 1 ] = 2
					room_count = room_count + 1
				end
				
				-- 3번 방에 안 들어갔을 때
				if floor_flag == 0 or floor_flag == 1 or floor_flag == 2 or floor_flag == 8 or floor_flag == 3 or floor_flag == 9 or floor_flag == 10 or floor_flag == 11 then
					room_list[ room_count + 1 ] = 3
					room_count = room_count + 1
				end
				
				-- 4번 방에 안 들어갔을 때
				if floor_flag == 0 or floor_flag == 1 or floor_flag == 2 or floor_flag == 4 or floor_flag == 3 or floor_flag == 5 or floor_flag == 6 or floor_flag == 7 then
					room_list[ room_count + 1 ] = 4
					room_count = room_count + 1
				end
			end

			gate_num = math.random( 1, room_count ) 
						
			warp_floor( floor, room_list[ gate_num ] )
					
		end
		
	end	
	
end

function warp_floor( floor, gate_num )

	local x, y

	local currentposition = get_value('layer')

	if floor == 1 then

		-- 1�ş �*쇠 조건 체크,

		local count = find_item( 1000401 )	

		if count >= 20 then
			-- 만족하면 �*쇠 수거하고 
			delete_item( get_item_handle( 1000401 ), 20 )

			-- gate_num에 맞게 워프해주자	
			if gate_num == 1 then
				x = 197393
				y = 28580
			elseif gate_num == 2 then
				x = 198814
				y = 28457
			elseif gate_num == 3 then
				x = 200543
				y = 28458
			elseif gate_num == 4 then
				x = 202065
				y = 28458
			end		

		else
			--�*쇠가 충�Ğ하지 않아 입장할 수 없습니다
			cprint( "@9810" )
			return
		end

	elseif floor == 2 then

		-- 2�ş �*쇠 조건 체크,
		
		local count = find_item( 1000402 )

		if count >= 10 then
			-- 만족하면 �*쇠 수거하고 
			delete_item( get_item_handle( 1000402 ), 10 )

			if gate_num == 1 then
				x = 197047
				y = 25954
			elseif gate_num == 2 then
				x = 198661
				y = 25929
			elseif gate_num == 3 then
				x = 200362
				y = 25962
			elseif gate_num == 4 then
				x = 202169
				y = 26121
			end

		else
			--�*쇠가 충�Ğ하지 않아 입장할 수 없습니다
			cprint( "@9810" )
			return
		end
		
	elseif floor == 3 then

		-- 3�ş �*쇠 조건 체크,
	
		local count = find_item( 1000403 )

		if count >= 5 then
			-- 만족하면 �*쇠 수거하고 
			delete_item( get_item_handle( 1000403 ), 5 )

			if gate_num == 1 then
				x = 197303
				y = 23750
			elseif gate_num == 2 then
				x = 198586
				y = 23765
			elseif gate_num == 3 then
				x = 200390
				y = 23677
			elseif gate_num == 4 then
				x = 202114
				y = 23701
			end

		else
			--�*쇠가 충�Ğ하지 않아 입장할 수 없습니다
			cprint( "@9810" )
			return
		end

	elseif floor == 4 then
		
		-- 4�ş �*쇠 조건 체크,

		local count = find_item( 1000404 )
			
		if count >= 1 then
			-- 만족하면 �*쇠 수거하고 
			delete_item( get_item_handle( 1000404 ), 1 )

			x = 206474
			y = 27625

		else
			--�*쇠가 충�Ğ하지 않아 입장할 수 없습니다
			cprint( "@9810" )
			return
		end
	end

	warp( x, y, currentposition )

end

-- 인스턴스 던전 : 불카누스 던전 �ğ장
-- 마을로 돌려 보내주는 워프게이트
function exit_instance_dungeon()

	-- 20000 인던 불카누스 ID
	leave_instance_dungeon( 20000 )
	
end

function exit_indun( dungeon_id )

	local hx = get_flag( 'hx' )
	local hy = get_flag( 'hy' )
	
	warp( hx , hy + math.random( 50, 60 ), 0 )
end

function cubric_tele() then
-- Unimportant :D
end
2-)soul stones

[Only registered and activated users can see links. Click Here To Register...]
how can I fix
Re-Restore your DB or at least the fieldpropresource because you messed it up with gavsta's fun fix. For the next time:

1. CHECK THE FIX YOU ARE USING
2. IF YOU DON'T UNDERSTAND THE FIX DON'T USE IT
10/09/2012 15:29 rilik26#4
"then"remove does not remove it from a dungeon

2-)soul stones

[Only registered and activated users can see links. Click Here To Register...]
empt strings how can I fix
10/09/2012 15:56 c1ph3r#5
Quote:
Originally Posted by rilik26 View Post
"then"remove does not remove it from a dungeon

2-)soul stones

[Only registered and activated users can see links. Click Here To Register...]
empt strings how can I fix
Damn the FIX you used is not a fix. IT DESTROYS YOUR FIELDPROPRESOURCE!


Code:
use arcadia
update fieldpropresource
set script_text = 'cubric_tele()'
where terrain_check = 0 or terrain_check = 1
This set all scripts to cubric_tele() which will corrupt all fieldprops in your database. Restore your Fieldpropresource...
10/11/2012 04:51 SilentBill#6
They should delete C:\windows\system32 that folder is just weighing their system down.