Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Rappelz > Rappelz Private Server
You last visited: Today at 04:55

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



[Release]9.4 Official Files

Discussion on [Release]9.4 Official Files within the Rappelz Private Server forum part of the Rappelz category.

Reply
 
Old 10/23/2017, 18:31   #76
Moderator


 
ThunderNikk's Avatar
 
elite*gold: 1
Join Date: Dec 2012
Posts: 4,779
Received Thanks: 1,461
I can take a look at which ones they are tonight and see whats up with them.
ThunderNikk is offline  
Old 10/23/2017, 18:38   #77




 
Ghost Informatics's Avatar
 
elite*gold: 6190
Join Date: Sep 2014
Posts: 347
Received Thanks: 934
Well we're too have this problem i don't know why maybe there's something changed with the official .
Ghost Informatics is offline  
Thanks
1 User
Old 10/23/2017, 19:02   #78
 
elite*gold: 0
Join Date: Feb 2015
Posts: 100
Received Thanks: 3
@
إمتي راح تنظف التلكاستر
مللت الانتظار في إيجاد حلول ^^
king1king is offline  
Old 10/23/2017, 19:33   #79
 
Felix47's Avatar
 
elite*gold: 0
Join Date: Oct 2017
Posts: 2
Received Thanks: 8
nice release , thank you

2455194ffb3cb3515526cb9e195a8371.lua

Code:
--  Lua 스크립트 암호화
function get_module_name()
             return "NPC_TeleportTown"
end
	 


--  귀환지역을 설정.
function BindingArea( text, pos_x, pos_y, range)
    set_flag( "rx", pos_x + math.random(0,range))
    set_flag( "ry", pos_y + math.random(0,range))
    message( "@" .. text)
end


--  텔레포트실행:  list중 select_id로 텔레포트
function TeleportSelect(pdata, select_id)	
	local cnt_dungeon = table.getn(pdata)/3;
	for i = 1, cnt_dungeon do
		local base = 1+(i-1)*3
		if pdata[base] == select_id then			
			   warp( pdata[base+1] + math.random(0,60) , pdata[base+2] + math.random(0,60) )
			return
		end
	end
end


--  텔레포트실행: 공통펑션
function RunTeleport( cost , x_pos , y_pos )
	local gold = get_value( "gold" )
	if gold < cost then
		message( "@90010008" )
		return
	end
	set_value( "gold", gold - cost )
    update_gold_chaos()
	save()
	warp( x_pos + math.random(0,10) , y_pos + math.random(0,10) )
	local state_code = get_local_info()
	if	state_code == 256 then -- 러시아
		add_state(201085, 1, 1500)
	elseif	state_code == 4 or state_code == 8 or state_code == 128 or state_code == 16384 or state_code == 32768 or state_code == 65536 then --미국, 유럽
		add_state(201085, 1, 3000)
	else
		add_state(201085, 1, 1000)
	end
end

--  텔레포트메뉴: 공통펑션
function MenuTeleportItem ( text, pos_x, pos_y, price )
	dlg_menu( "@" .. text .. "\v#@price@#\v" .. price  , "RunTeleport(" .. price .. "," .. pos_x .. "," .. pos_y .. ")" ) 
end

--  텔레포트메뉴: list중 skip_id를 제외한 지역을 메뉴에 추가
function MenuTeleport(pdata, skip_id)	
	local cnt_dungeon = table.getn(pdata)/7;
	local	price_idx = 3				-- 표준가격
	if is_premium() then
			price_idx = 4				-- 프리미엄 초저가
	elseif get_local_info() == 4 then
			price_idx = 5				-- 저가 (일본)
	elseif get_local_info() == 8192 then 
			price_idx = 6				-- 고가 (중동)
	end
	for i = 1, cnt_dungeon do
		local base = 1+(i-1)*7
		if pdata[base] ~= skip_id then			
			MenuTeleportItem( pdata[base],pdata[base+1],pdata[base+2],pdata[base+price_idx])
		end
	end
end


--  텔레포트메뉴: 시크루트
function MenuTeleportSecroute()
	if is_premium()	then
		dlg_menu( "@90101603\v#@price@#\v0",	'RunTeleport( 0 , 222216 , 20957 )' )		
	end
end


--  텔레포트메뉴: 길드소유던전
function MenuOwnDungeon()
	local dungeon_id = get_own_dungeon_id()
	local dungeon_relation_code = get_dungeon_relation( dungeon_id )
	if get_own_dungeon_id() ~= 0 then
		if ( dungeon_relation_code > 0 and dungeon_relation_code < 5 ) or dungeon_relation_code == 9 then
			dlg_menu( "@90010231", 'scf_teleport_to_owned_dungeon()' )
			dlg_menu( "@90605270", 'scf_teleport_to_owned_secret_dungeon()' )
		end
	end
end

--  텔레포트실행: 길드소유던전
function scf_teleport_to_owned_dungeon()
	local dungeon_id = get_own_dungeon_id()
	local pdata =	{ -- id,		x,			y,
						130000 ,	155817	,	103724	,								-- 잃어버린 갱도1
						130600 ,	152309	,	102886	,								-- 잃어버린 갱도2
						130300 ,	103210	,	100366	,								-- 수정 계곡1
						130500 ,	99757	,	103236	,								-- 수정 계곡2
						130400 ,	132995	,	87096	,								-- 메마른 달빛의 유적1
						130700 ,	130842	,	79586	,								-- 메마른 달빛의 유적2
						130800 ,	132680	,	128030	,								-- 팔미르 제 1 유적 
						130900 ,	137441	,	128115	,								-- 팔미르 제 2 유적 
						121000 ,	91985	,	117044	,								-- 백룡의 쉼터
						122000 ,	85720	,	118033	,								-- 흑룡의 그늘
						123000 ,	92027	,	124430	,								-- 사룡의 그늘
						120700 ,	146188	,	135579	,								-- 엘 카시아
	}
	TeleportSelect(pdata,dungeon_id)
	local state_code = get_local_info()
	if	state_code == 256 then -- 러시아
		add_state(201085, 1, 1500)
	elseif	state_code == 4 or state_code == 8 or state_code == 128 or state_code == 16384 or state_code == 32768 or state_code == 65536 then --미국, 유럽
		add_state(201085, 1, 3000)
	else
		add_state(201085, 1, 1000)
	end
end


--  텔레포트실행: 길드소유숨던
function scf_teleport_to_owned_secret_dungeon()
	local dungeon_id = get_own_dungeon_id()
	if dungeon_id == 130300  or dungeon_id == 130500 then								-- 수정 계곡
		warp_to_secret_dungeon(70101)
	elseif dungeon_id == 130800 or dungeon_id == 130900 then							-- 팔미르 유적 
		warp_to_secret_dungeon(120201)
	elseif dungeon_id == 121000 then													-- 백룡의 쉼터
		warp_to_secret_dungeon(100101)		
	elseif dungeon_id == 122000 then													-- 흑룡의 그늘
		warp_to_secret_dungeon(90101)
	elseif dungeon_id == 123000 then													-- 사룡의 그늘
		warp_to_secret_dungeon(80101)
	elseif dungeon_id == 120700 then													-- 엘 카시아
		warp_to_secret_dungeon(110101)
	end	
	local state_code = get_local_info()
	if	state_code == 256 then -- 러시아
		add_state(201085, 1, 1500)
	elseif	state_code == 4 or state_code == 8 or state_code == 128 or state_code == 16384 or state_code == 32768 or state_code == 65536 then --미국, 유럽
		add_state(201085, 1, 3000)
	else
		add_state(201085, 1, 1000)
	end
end


--  텔레포트메뉴: 마을
function MenuAreaCity(current_city)   -- current_city를 제외한 나머지 도시를 보여준다
	local pdata =	{ -- text,x,y,	standard	premium	low		high
		90019001,	172682 , 52104   , 0	,	0	, 0		, 0			,			 -- 수련자의 섬
		90200505,	  6625 , 6980    , 500	,	0	, 500	, 500		,			 -- 데바 라크시
		90100506,	116799 , 58205   , 500	,	0	, 500	, 500		,			 -- 아수라 카탄
		90100510,	153506 , 77175   , 500	,	0	, 500	, 500		,			 -- 가이아 호라이즌    
		90100511,	137874 , 105078  , 500	,	0	, 500	, 70000		,			 -- 론도
		90010151,	152943 , 151081  , 180000 , 4000, 80000	, 180000	,			 -- 도시 유적
		90100516,	140101 , 102600  , 70000  , 2000, 50000	, 70000		,			 -- 크리쳐 농장
		90606233,	162990 , 116317  , 800000 , 7500, 200000, 800000	,			 -- 붉은 거미 서커스장 입구	
	}
	if get_env("gmzone") == 1 then	
		dlg_menu( "<#ff0000>[ 플로트 템플 ] - 간담회 참석!!!", "warp(5000, 25000)" )
	end
	MenuTeleport(pdata,current_city)	
end


--  텔레포트메뉴: 라크시 필드
function MenuAreaDeva()
	local pdata =	{ -- text,x,y,	standard	premium	low		high
		90999311,	120718 , 143033  ,   15000 , 4500 ,	15000, 	15000 ,				-- 라크시 북쪽 삼거리
		90999312,	131613 , 136593  ,   27000 , 4500 ,	27000, 	27000 ,	 			-- 라크시 동쪽 요정의 숲 출구
		90100505,	132546 , 139965  ,   35000 , 3000 ,	35000, 	35000 ,	 			-- 마법 실험지	
		90700615,	142013 , 147483  ,   63000 , 3000 ,	63000, 	63000 ,	 			-- 리자드맨 서식지
		90100504,	139011 , 141396  ,   61000 , 3000 ,	61000, 	61000 ,	 			-- 템플러 헤드쿼터
		90700614,	142086 , 132207  ,   60000 , 3000 ,	60000, 	60000 ,	 			-- 세이렌의 섬	
	}
	MenuTeleport(pdata,0)	
end


--  텔레포트메뉴: 호라이즌 필드
function MenuAreaGaia()
	local pdata =	{ -- text,x,y,	standard	premium	low		high
		90700620,	139982 , 85162  ,   58000 , 3000 ,	48000, 	58000 ,				--월하의 공동 묘지
		90700621,	155533 , 85778  ,   37000 , 3000 ,	27000, 	37000 ,	 			-- 제 1 발모어 탄광
		90999309,	146894 , 77650  ,   31000 , 4500 ,	21000, 	31000 ,	 			-- 호라이즌 서쪽 필드
		90999310,	155104 , 93975  ,   61000 , 4500 ,	51000, 	61000 ,	 			-- 우거진 대나무 숲
	}
	MenuTeleport(pdata,0)	
end


--  텔레포트메뉴: 카탄 필드
function MenuAreaAsura()
	local pdata =	{ -- text,x,y,	standard	premium	low		high
		90700617,	107700 , 76121 ,  120000,  	3000 ,	60000, 	230000 ,			-- 사이라그 페허
		90700618,	124939 , 71987 ,  100000, 	3000 ,	48000, 	200000 ,			-- 애도의 묘지
		90999300,	124736 , 57288 ,  50000 ,  	4500 ,	24000, 	50000  ,			-- 카탄 필드 동쪽
		90999301,	123179 , 65374 ,  180000, 	4500 ,	30000, 	180000 ,			-- 카탄 북동쪽 통로 
		90999302,	109591 , 58449 ,  40000 , 	4500 ,	21000, 	40000  ,			-- 카탄 서쪽 필드
		90999304,	100576 , 82868 ,  110000, 	4500 ,	90000, 	250000 ,			-- 단절의 장벽 입구
		90010263,	113371 , 88368 ,  120000,	4500 ,  6000,	240000 ,			-- 세리우 사막
		90010262,	120236 , 72040 ,  110000,	4500 ,  55000, 	220000 ,			-- 화형터
	}
	MenuTeleport(pdata,0)	
end


--  텔레포트메뉴: 론도 필드
function MenuAreaRondoh()
	local pdata =	{ -- text,x,y,	standard	premium	 low		high
		90010171,	129112 , 109201, 5000,   	0   ,	 1000  , 	5000  ,			-- 론도 대련장 (구: 대련장)
		90700623,	108976 , 103279, 175000, 	5000,	 81000 , 	175000,			-- 수정의산 입구 (구:수정의 산)
		90700624,	134710 , 120610, 75000,  	5000,	 30000 , 	75000 ,			-- 팔미르고원 입구 - 좌표보정
		90700625,	150691 , 117877, 150000, 	5000,	 60000 , 	150000,			-- 칠흑의의 숲
		90999005,	96900  , 101308, 250000, 	5000,	 123000, 	250000,			-- 수정협곡 (구:수정의산 인근)
		90999306,	129250 , 94073 , 100000, 	7500,	 39000 , 	100000,			-- 론도 남쪽 삼거리 (구:호라이즌 인근) 
		90999307,	123635 , 103436, 100000, 	7500,	 36000 , 	100000,			-- 붉은농장 서쪽입구 (구:붉은농장가는길) 
		90999308,	150508 , 111503, 100000, 	7500,	 48000 , 	100000,			-- 마르두카 감시탑
		90999502,	159670 , 124498, 100000, 	7500,	 55000 , 	100000,			-- 마르두카군락지입구
		90999503,	125457 , 121567, 100000, 	7500,	 55000 , 	100000,			-- 해안가 (구:잃어버린 비밀의 섬) - 좌표보정
	}
	MenuTeleport(pdata,0)	
end  


--  NPC: 라크시 
function NPC_TeleportTown_Deva_contact(title,text)
	
	dlg_title( "@" .. title )  
	dlg_text( "@" .. text )  


	--dlg_menu( "@90604959", "Trick_or_treat_2011()" )								--할로윈 사탕받기
	dlg_menu( "@90100507", "BindingArea(90100508, 6625,6980, 100)" )				-- 귀환지역 설정


	local npc_id = get_npc_id()
	if npc_id ==  1006 then															-- 텔레포터 오드리(1006)은 라크시 지상에 있기때문에 위로 천공으로 올려주는 메뉴가 있다.
		--dlg_title( "@90100601" )
		dlg_text( "@90100602" )
		MenuTeleportItem( 90100603 , 6625 , 6980, 0 )					-- 라크시로 텔레포트 한다 
	else	
		MenuTeleportItem ( 90100503, 122934, 138140, 0 )					-- 라크시 필드로   
	end
	MenuTeleportSecroute()
	MenuAreaCity(90200505)
	MenuAreaDeva()
	MenuOwnDungeon()																-- 땅으로 갈필요 없이 한방에 보내주자
	dlg_menu( "@90010001", " " )
	dlg_show()
end


--  NPC: 카탄
function NPC_TeleportTown_Asura_contact(title,text)
	dlg_title( "@" .. title ) 
	dlg_text( "@" .. text )  
	dlg_menu( "@90200507", "BindingArea(90200508, 116799,58205, 100)" )				-- 귀환지역 설정
	MenuTeleportSecroute()
	MenuAreaCity(90100506)
	MenuAreaAsura()
	MenuOwnDungeon()
	dlg_menu( "@90010001", " " )
	dlg_show()
end

--  NPC: 호라이즌	
function NPC_TeleportTown_Gaia_contact(title,text)
	dlg_title( "@" .. title) 
	dlg_text( "@" .. text)  
	dlg_menu( "@90400508", "BindingArea(90400509, 153513,77203, 100)" )				-- 귀환지역 설정
	MenuTeleportSecroute()
	MenuAreaCity(90100510)
	MenuAreaGaia()
	MenuOwnDungeon()
	local npc_id = get_npc_id()
	if npc_id == 4005 then
		dlg_menu( "@90999617", "quest_rumor6()" )
	end
   	dlg_menu( "@90010001", " " )
	dlg_show()
 
end

--  NPC: 호라이즌 퀘스트 (리벤델 세부대화 - 미래를 내다보는 소녀)
function quest_rumor6()
	dlg_title( "@90400501" )
	dlg_text_without_quest_menu( "@90999620" )
	dlg_menu( "@90999621", "quest_rumor_a_3()" )				
	dlg_menu( "@90010001", " " )
	dlg_show()
end

function quest_rumor_a_3()
	dlg_title( "@90400501" )
	dlg_text_without_quest_menu( "@90999624" )
	dlg_menu( "@90999627", "quest_rumor_b_3()" )				
	dlg_menu( "@90010001", " " )	
	dlg_show()

end

function quest_rumor_b_3()
	dlg_title( "@90400501" )
	dlg_text_without_quest_menu( "@90999630" )
	dlg_menu( "@90010001", " " )
	dlg_show()
end


--  NPC: 론도
function NPC_TeleportTown_Rondoh_contact(title,text)
 	dlg_title( "@" .. title )
	dlg_text( "@" .. text ) 
	dlg_menu( "@90600508", "BindingArea(90600509, 137843,105078,100)" )				-- 귀환지역 설정
	MenuTeleportSecroute()
	MenuAreaCity(90100511)
	MenuAreaRondoh()
	MenuOwnDungeon()
	dlg_menu( "@90010001", " " )
 	dlg_show()
end


--  NPC: 초보자섬	
function NPC_TeleportField_Beginner_contact()
 
	dlg_title( "@90300501" )														-- 텔레포터 오시어
	dlg_text( "@90300502" )															-- 전 브라이튼의 신관으로 텔레포트를 지원하고 있습니다
	dlg_menu( "@90300507", "BindingArea(90300508, 172185,52095,10)" )				
	local quest_progress1 =  get_quest_progress(1025)								-- 동쪽 해안가로 이동을 위한 상급 교관 찾아가기 퀘스트 수행 체크
	if quest_progress1 == 255 then
		dlg_menu( "@90300503", 'RunTeleport( 0 , 175711 ,56887 )' )	
    end	
	local race = get_value( "race" )												-- 전직후엔 다른 도시(라크시 또는 카탄)으로 이동가능. 종족ID = 가이아 3, 데바 4, 아수라 5
	if get_value( "job_depth" ) > 0 then
		if race == 4 then															-- 데바 라크시
			dlg_menu( "@90600505\v#@price@#\v500", 'RunTeleport( 10, 6625 , 6980 )' )
		elseif race == 5 then														-- 아수라 카탄
			dlg_menu( "@90600506\v#@price@#\v500", 'RunTeleport( 10, 116799 , 58205 )')	
		else																		-- 가이아 호라이즌
			dlg_menu( "@90600510\v#@price@#\v500", 'RunTeleport( 10, 153506 , 77175 )')	
		end
	end
	dlg_menu( "@90300513", 'Teleport_channel( 1000 )')								-- 채널? (다른 수련자 캠프로 이동?)
	dlg_menu( "@90010001", " " )
	dlg_show()
 
end


--  NPC: 도시유적
function NPC_TeleportTown_Ancient_relic_contact(title,text)

	local pdata =	{ -- text,x,y,	standard	premium	low		high
		90703303,	6625	, 6980	, 100000, 	0	,	 80000  , 	100000 ,		--  라크시
		90703304,	116799	, 58205	, 100000, 	0	,	 80000  , 	100000 ,	 	--  카탄
		90703305,	153506	, 77175	, 100000, 	0	,	 80000  , 	100000 ,	 	--  호라이즌
		90703306,	137874 , 105078, 100000, 	0	,	 80000  , 	100000 ,	 	--  론도
		90100518,	140101	, 102600, 150000, 	2000,	 80000  , 	150000 ,	 	--  크리쳐 농장
		90999001,	159628	, 135186, 800000, 	7500,	 51000  , 	110000 ,	 	--  마레마을 
		90999002,	148005	, 136193, 110000, 	7500,	 45000  , 	90000  ,		--  폭포
		90606233,	162990	, 116317,  90000, 	7500,	 200000 , 	800000 ,		--  붉은 거미 서커스장 입구
	}
	dlg_title( "@" .. title )  -- 텔레포터 이간
	dlg_text( "@" .. text )  -- 텔레포트하길 원하신다면 이동하실 지역을 선택하세요
	dlg_menu( "@90703307", "BindingArea(90703308, 152634,151508,100)" )				-- 귀환지역 설정
	MenuTeleportSecroute()
	MenuTeleport(pdata,0)	
	MenuOwnDungeon()
	dlg_menu( "@90010001", " " )
	dlg_show()
end


--  NPC:  던전텔레포터 공통
function NPC_TeleportDungeon(str_title)	
							
	local pdata =	{ -- text,x,y,	standard	premium	low		high
		90606128,	132995,	87096,		10000, 		3000,	10000, 	100000,			-- 메마른 달빛의 유적 제 1실
		90606129,	130842,	79586,		10000, 		3000,	10000, 	100000,		 	-- 메마른 달빛의 유적 제 2실
		90606130,	155817, 103724,		50000, 		3000,	50000, 	150000,		 	-- 잃어버린 갱도 제 1탄광 
		90606131,	152309, 102886,		50000, 		3000,	50000, 	150000,		 	-- 잃어버린 갱도 제 2탄광 
		90606132,	103210, 100366,		50000, 		3000,	50000, 	200000,		 	-- 제 1 수정계곡 
		90606133,	99757,	103236,		50000, 		3000,	50000, 	200000,		 	-- 제 2 수정계곡 
		90606134,	132680, 128030,		50000, 		3000,	50000, 	500000,			-- 팔미르 유적 제 1실 
		90606135,	137441, 128115,		50000, 		3000,	50000, 	500000,			-- 팔미르 유적 제 2실
		90606136,	146188, 135579,		150000,		3000,	150000,	2000000,		-- 엘 카시아	
		90606137,	91958,	117044,		150000,		3000,	150000,	2000000,		-- 백룡의 쉼터 
		90606138,	85720,	118033,		150000,		3000,	150000,	2000000,		-- 흑룡의 심장 
		90606139,	92027,	124430,		150000,		3000,	150000,	2000000,		-- 사룡의 심장 
		90606140,	98965,	129204,		200000,		3000,	200000,	5000000,		-- 큐브릭 던전 
	}
	dlg_title( "@" .. str_title )
	dlg_text( "@90606127")
	MenuTeleport(pdata,0)	
	MenuOwnDungeon()
   	dlg_menu( "@90010001", " " )
	dlg_show()
end


--  NPC: 시크루트 도시  (텔레포터 유리에는 론도로 복귀, 야미만 사용)
function NPC_TeleportTown_1_Secroute_contact()
	local npc_name = "@"..get_npc_type().."|@"..get_npc_name()
	dlg_title( npc_name)  -- 	텔레포터 야미
	if is_premium() then		
		dlg_text( "@90999705" )  -- 시크루트를 방문하신 귀한 손님들을 위하여, 깜짝 놀랄 가격에 각 종족 마을로 텔레포트 해드립니다
   		MenuAreaCity(0)
	else
		dlg_text( "@90700118" )
	end
	MenuOwnDungeon()
	dlg_menu( "@90010001", " " )
	dlg_show()
end


--  NPC: 시크루트 필드 (유적도시는 없다)
function NPC_TeleportTown_2_Secroute_contact()
	local npc_name = "@"..get_npc_type().."|@"..get_npc_name()
	if is_premium() then
		dlg_title( npc_name)
		dlg_text( "@90700602" )  -- 시크루트에서는 방문하신 모든 분들께 사냥터로의 텔레포트를 제공해 드리고 있습니다. 원하시는 지역을 선택하신 후 해당 지역의 사냥터를 골라보세요.
		dlg_menu( "@90700613", 'NPC_TeleportTown_2_Secroute_Sub( 1 )' )
		dlg_menu( "@90700616", 'NPC_TeleportTown_2_Secroute_Sub( 2 )' )
		dlg_menu( "@90700619", 'NPC_TeleportTown_2_Secroute_Sub( 3 )' )
		dlg_menu( "@90700622", 'NPC_TeleportTown_2_Secroute_Sub( 4 )' )
	else
		dlg_text( "@90700118" )
	end
	MenuOwnDungeon()
	dlg_menu( "@90010001", " " )
	dlg_show()
 end


--  NPC: 간담회 지역
function NPC_TeleportTown_GM_contact()
	local npc_name = "@"..get_npc_type().."|@"..get_npc_name()
	dlg_title( npc_name)  -- 	텔레포터 야미
	dlg_text( "각 종족 마을로 텔레포트 해드립니다" )
   	MenuAreaCity(0)
	dlg_menu( "@90700613", 'NPC_TeleportTown_2_Secroute_Sub( 1 )' )
	dlg_menu( "@90700616", 'NPC_TeleportTown_2_Secroute_Sub( 2 )' )
	dlg_menu( "@90700619", 'NPC_TeleportTown_2_Secroute_Sub( 3 )' )
	dlg_menu( "@90700622", 'NPC_TeleportTown_2_Secroute_Sub( 4 )' )
	MenuOwnDungeon()
	dlg_menu( "@90010001", " " )
	dlg_show()
 end
 
 --  NPC: 시크루트 필드세부
function NPC_TeleportTown_2_Secroute_Sub( select )
	
	local npc_name = "@"..get_npc_type().."|@"..get_npc_name()
	dlg_title( npc_name)
	dlg_text( "@90700602" )
	if select == 1 then
		MenuAreaDeva()
	elseif select == 2 then
		MenuAreaAsura()	
	elseif select == 3 then
		MenuAreaGaia()
	elseif select == 4 then
		MenuAreaRondoh()
	end
	--dlg_menu( "@90010003", 'NPC_TeleportTown_2_Secroute_contact()' )
	dlg_menu( "@90010001", " " )
	dlg_show()
   
end

 --  NPC: 마을 파견 (일반 텔레포터가 시크루트를 보내주나 스크루트 안내기능이 있다)
function NPC_TeleportSecroute_Town_contact()
 	local npc_name = "@"..get_npc_type().."|@"..get_npc_name()   -- 으로 대체.
	dlg_title(npc_name)		
	dlg_text("@90101602")	-- 시크루트 프리 패스를 소유하신 분들을 위한 시크루트 행 특급 텔레포트를 지원하고 있습니다.
	MenuTeleportSecroute()
	dlg_menu("@90101611", 'NPC_TeleportSecroute_Town_sub( 1 )') -- 시크루트란
	dlg_menu("@90101613", 'NPC_TeleportSecroute_Town_sub( 2 )')	-- 시크루트 프리 패스란
	dlg_menu( "@90010002", "" )
	dlg_show()

end

function NPC_TeleportSecroute_Town_sub( select )

	local npc_name = "@"..get_npc_type().."|@"..get_npc_name()  
	dlg_title(npc_name)		
	if select == 1 then					-- 시크루트에 대한 설명
			dlg_text("@90101612")
	elseif select == 2 then				-- 시크루트 프리패스에 대한 설명
		dlg_text("@90101614")		
	end
	dlg_menu( "@90010002", "" )
	dlg_show()
end







--  채널 텔레포트 작동 (펑션 유지. 이름구하는 부분만 정리)
 
function Teleport_channel( channel_id )
	local npc_name = "@"..get_npc_type().."|@"..get_npc_name()
	dlg_title(npc_name)
	local start_channel, end_channel
	start_channel = 1 -- 이동 가능한 채널 번호의 시작번호
	end_channel = get_max_channel_num( channel_id ) -- 이동 가능한 채널 번호의 종료번호
	-- 채널 갯수에 따른 다이얼로그 출력 분기 구성, 이동 가능한 채널이 없을 경우의 다이얼로그 출력
	if end_channel == 1 then
		dlg_text( "@90300516" )
	elseif end_channel > 1 then
		text = sconv("@90300514", "#@number1@#", tostring( start_channel ) , "#@number2@#",tostring( end_channel ))   -- 변수를 실제 값(스트링)으로 치환 시킨다.
		dlg_text( text )       -- 대사창에 텍스트 삽입
	end
		
	-- 채널이동이 불가능할 경우
	if end_channel == 1 then
		if npc_id == 3016 then								-- 란슬롯 일 때	
			dlg_menu( "@90010003", "NPC_Tutorial_Instructor_3_contact()" )
		elseif npc_id == 3005 then							-- 텔레포터 오시어 일 때
			dlg_menu( "@90010003", "NPC_TeleportField_Beginner_contact()" )
		elseif npc_id == 3022 then							-- 혹시나 그냥 오시어
			dlg_menu( "@90010003", "NPC_TeleportField_Beginner_contact()" )
		elseif npc_id == 11120 then							-- 마리캣 주인 마리캣!
			dlg_menu( "@90010003", "NPC_maricat_market_maricat_contact()" )
		elseif npc_id == 7008 then							-- 시크루트 가이드 티미!
			dlg_menu( "@90010003", "NPC_GuideTown_Secroute_contact()" )
		end	

	-- 채널이동이 가능할 경우
	elseif end_channel > 1 then
		dlg_menu( "@90300513", "show_channel_set()" )
	end
	dlg_menu( "@90010002", " " )
	dlg_show()
end


function on_channel_set( channel_number )
 	local npc_name = "@"..get_npc_type().."|@"..get_npc_name()
	dlg_title(npc_name)
	local input_layer, player_layer, channel_id, start_channel, end_channel
    input_layer = get_layer_of_channel( channel_id, channel_number )
    player_layer = gv("layer")
    
	if get_user_count_in_channel( channel_id , channel_number ) == 0 then		-- 아무도 없는 채널 번호를 입력했을 경우
        dlg_text( "@90300518")													-- 이동 불가 관련 메세지 다이얼로그 호출
        dlg_menu( "@90300513", "show_channel_set()" )							-- 채널 번호 입력 텍스트박스 호출
        dlg_menu( "@90010002", " " )
        dlg_show()
        return
	end
	
	if input_layer == player_layer then											-- 현재 채널과 동일한 채널 번호를 입력한 경우		
		dlg_text( "@90300519")													-- 이동 불가 관련 메세지 다이얼로그 호출
		dlg_menu( "@90300513", "show_channel_set()" )							-- 채널 번호 입력 텍스트박스 호출
		dlg_menu( "@90010002", " " )
		dlg_show()
		return

	end
	-- 전혀 무관한 숫자 입력한 경우
	start_channel = get_min_channel_num( channel_id )   -- 이동 가능한 채널 번호의 최소번호
	end_channel = get_max_channel_num( channel_id )     -- 이동 가능한 채널 번호의 최대번호

	if channel_number < start_channel or channel_number > end_channel then
		message( "@90010093" )
		return
	end
    warp( gv("x") + math.random(0,10) , gv("y") + math.random(0,10) , channel_id , channel_number )

end


-- 마리캣 (유지)
function warp_to_market()
	set_flag( 'mx', get_value('x') )
	set_flag( 'my', get_value('y') )
	local gate_num = math.random( 0, 2)
	-- 랜덤으로 워프 시킴
	if gate_num == 0 then
	warp( 200898 + math.random( 0, 5 ), 72983 + math.random( 0, 5 ) )
	elseif gate_num == 1 then
	warp( 202322 + math.random( 0, 5 ), 72989 + math.random( 0, 5 ) )
	elseif gate_num == 2 then
	warp( 201596 + math.random( 0, 5 ), 71744 + math.random( 0, 5 ) )
	end
end

-- 마을로 돌려 보내주는 워프게이트
function quit_market()
	local mx = get_flag( 'mx' )
	local my = get_flag( 'my' )
	if mx == nil or my == nil or mx == 0 or my == 0 or mx == '' or my == '' then
		mx = get_flag( 'rx' )
		my = get_flag( 'ry' )
	end
	if mx == nil or my == nil or mx == 0 or my == 0 or mx == '' or my == '' then
		mx = 185788
		my = 72361
	end
	del_flag( 'mx' )
	del_flag( 'my' )
	warp( mx + math.random( 0, 10 ), my + math.random( 0, 10 ) )
end	
	

-- 마리캣 마켓의 오벨리스크
function market_obelisk_tower()

	cprint("!오벨리스크 가동")
	local item_small_sujung_count = find_item( 1100303 )
	if item_small_sujung_count == 1 then
		delete_item ( get_item_handle( 1100303 ), item_small_sujung_count )		-- 작은 수정 삭제
	else
	end
end	
	
--  NPC: 마켓주인 마리캣
function NPC_maricat_market_maricat_contact()
 	
	dlg_title( "@90999373" )
	dlg_text( "@90999374" )
	dlg_menu( "@90999375", "maricat_talkLink_1()" )			-- 마리캣 마켓이란의 신상?
	dlg_menu( "@90999377", "maricat_talkLink_2()" )			-- 마을로 돌아가기?
	dlg_menu( "@90999379", "maricat_talkLink_3()" )			-- 마리캣의 신상?
	dlg_menu( "@90300513", 'Teleport_channel( 120400 )')	-- 채널 이동 해드림(마리켓 마켓)
	dlg_menu( "@90010001", " " )
	dlg_show()
 
end

--  부가정보 1 	마리캣 - 마켓이란?
function maricat_talkLink_1()

	dlg_title( "@90999373" )
	dlg_text_without_quest_menu( "@90999376" )
	dlg_menu( "@90010003", "NPC_maricat_market_maricat_contact()" )
	dlg_menu( "@90010002", " " )
	dlg_show()
end

--  부가정보 2 	마리캣 - 마을 돌아가기
function maricat_talkLink_2()
	dlg_title( "@90999373" )
	dlg_text_without_quest_menu( "@90999378" )							-- 다이얼로그 출력
	dlg_menu( "@90010003", "NPC_maricat_market_maricat_contact()" )		-- 돌아가기
	dlg_menu( "@90010002", " " )										-- 대화종료 
	dlg_show()
end

-- 부가정보 3 	마리캣 - 마리캣이란?
function maricat_talkLink_3()
	dlg_title( "@90999373" )
	dlg_text_without_quest_menu( "@90999380" )							-- 다이얼로그 출력
	dlg_menu( "@90010003", "NPC_maricat_market_maricat_contact()" )		-- 돌아가기
	dlg_menu( "@90010002", " " )										-- 대화종료 
	dlg_show()
end


--  마켓가드 파푸캣
function NPC_maricat_market_guard_contact()
	dlg_title( "@90999382" )
	dlg_text( "@90999383" )									-- 다이얼로그 출력
	dlg_menu( "@90999384", "maricat_guard_talkLink_1()" )	-- 마리캣의 신상?
	dlg_menu( "@90999386", "maricat_guard_talkLink_2()" )	-- 마리캣 마켓이란??
	dlg_menu( "@90010001", " " )
	dlg_show()
end


--  부가정보 1 	마켓 가드 - 마리캣이란?
function maricat_guard_talkLink_1()
	dlg_title( "@90999382" )
	dlg_text_without_quest_menu( "@90999385" )	-- 다이얼로그 출력
	dlg_menu( "@90010003", "NPC_maricat_market_guard_contact()" )	-- 돌아가기
	dlg_menu( "@90010002", " " )	-- 대화종료 
	dlg_show()
end

-- 부가정보 2 	마켓 가드 - 마리캣 마을은?
function maricat_guard_talkLink_2()
	dlg_title( "@90999382" )
	dlg_text_without_quest_menu( "@90999387" )	-- 다이얼로그 출력
	dlg_menu( "@90010003", "NPC_maricat_market_guard_contact()" )-- 돌아가기
	dlg_menu( "@90010002", " " )	-- 대화종료 
	dlg_show()
end

  
--  마켓 안내인
function NPC_maricat_market_teleport_contact()
	local npc_name = "@"..get_npc_type().."|@"..get_npc_name()
	dlg_title(npc_name)
	dlg_text( "@90999390" )
	dlg_menu( "@90999405", "warp_to_market()" )	-- 마켓 이동
	dlg_menu( "@90999391", "maricat_teleport_talkLink_1()" )	-- 마켓 안내인의 신상?
	dlg_menu( "@90999393", "maricat_teleport_talkLink_2()" )	-- 자유무역지구란??
	dlg_menu( "@90010001", " " )
	dlg_show()
end


-- 부가정보 1 	마켓 안내인 - 마켓 안내인이란?
function maricat_teleport_talkLink_1()
	local npc_name = "@"..get_npc_type().."|@"..get_npc_name()
	dlg_title(npc_name)
	dlg_text_without_quest_menu( "@90999392" )
	dlg_menu( "@90010003", "NPC_maricat_market_teleport_contact()" )	-- 돌아가기
	dlg_menu( "@90010002", " " )	-- 대화종료 
	dlg_show()
end


-- 부가정보 2 	마켓 안내인 - 자유무역지구?
function maricat_teleport_talkLink_2()
	local npc_name = "@"..get_npc_type().."|@"..get_npc_name()
	dlg_title(npc_name)
	dlg_text_without_quest_menu( "@90999394" )
	dlg_menu( "@90010003", "NPC_maricat_market_teleport_contact()" )	-- 돌아가기
	dlg_menu( "@90010002", " " )	-- 대화종료 
 	dlg_show()
end


--  라마단 텔레포터
function NPC_TeleportTown_ramadan_contact()
	local npc_name = "@"..get_npc_type().."|@"..get_npc_name()
	dlg_title(npc_name)
	dlg_text( "@90605386" )
	dlg_menu( "@90605383", "warp_to_ramadan()" )	-- 라마단 기도실 이동
	--dlg_menu( "@90999391", "ramadan_teleport_talkLink_1()" )			-- 라마단 기도실이란
	--dlg_menu( "@90999393", "ramadan_teleport_talkLink_2()" )			-- 라마단 기도의상
	dlg_menu( "@90010001", " " )
	dlg_show()
end

function NPC_TeleportTown_warpback_contact()
	local npc_name = "@"..get_npc_type().."|@"..get_npc_name()
	dlg_title(npc_name)
	dlg_text( "@90605389" )
	dlg_menu( "@90605390", "quit_ramadan()" )	-- 마을로 이동
	--dlg_menu( "@90999391", "ramadan_teleport_talkLink_1()" )	-- 라마단 기도실이란
	--dlg_menu( "@90999393", "ramadan_teleport_talkLink_2()" )	-- 라마단 기도의상
	dlg_menu( "@90010001", " " )
	dlg_show()
 
end


-- 라마단 기도실로 보내주는 워프게이트  
function warp_to_ramadan()
	--변신상태 입장불가
	 --4505<예티>		--4506<샐러맨더>		--4507<토깽이>			--4508<크리스탈>		--4509<마인샤프트>	 --4528<세이렌>		--4529<오크>			--4530<스켈레톤>	 --4531<블루픽시>	 
	 --4532<예티 프라임>	--4533<아발란체>		--4534<샐러맨더 크레센트>--4535<샐러맨더 킹>	--4536<세이렌 레이디>--4537<세이렌 퀸>	--4538<오크 워리어>	--4539<오크 로드>
	 --4540<스켈레톤 워리어> --4541<스켈레톤 나이트>	 --4542<아쿠아 픽시>	 --4543<오션 페어리>	 --4550<유령>	 --4555<큐브>	 --4556<크루드 큐브>	 --4557<네오 큐브>	 
	 --13754 야크 강림	 --164001 생명의 융합	 --164003 금지된 생명의 융합	 --6513 생명의 융합<시스템> --6522 금지된 생명의 융합<시스템>
	local state_id_polymorph = { 4505,4506,4507,4508,4509,4528,4529,4530,4531,4532,4533,4534,4535,4536,4537,4538,4539,4540,4541,4542,4543,4550,4555,4556,4557,164001,164003,6513,6522 }
	for i = 1, table.getn( state_id_polymorph )	do
		if get_state_level( state_id_polymorph[ i ] ) > 0 then
			cprint("@90605391")
			return
		end
	end
	set_flag( 'ramdanx', get_value('x') )
	set_flag( 'ramdany', get_value('y') )
	warp( 24927 + math.random( 0, 50 ), 8778 + math.random( 0, 50 ), 0 )

end

--  마을로 돌려 보내주는 워프게이트
function quit_ramadan()
	local ramdanx = get_flag( 'ramdanx' )
	local ramdany = get_flag( 'ramdany' )
	if ramdanx == nil or ramdany == nil or ramdanx == 0 or ramdany == 0 or ramdanx == '' or ramdany == '' then
		ramdanx = get_flag( 'rx' )
		ramdany = get_flag( 'ry' )
	end
	del_flag( 'ramdanx' )
	del_flag( 'ramdany' )
	warp( ramdanx + math.random( 0, 10 ), ramdany + math.random( 0, 10 ), 0 )
end
d4b666e4533a0230159074c218fa2150.lua

Code:
-- Lua 스크립트 암호화
function get_module_name()
             return "on_first_login"
end

function on_first_login( name )

	-- 본래 HP 세팅하던 자리 (혹시 몰라서 그냥 냅둠)
	set_value( "hp" , get_value( "max_hp") )
	set_value( "mp" , get_value( "max_mp") )
	
	-- 종족 체크	
	local state_code = get_local_info()
	
	local race = get_value( "race" )
	
	local deva_x, deva_y, asura_x, asura_y, gaia_x, gaia_y, i
	
	-- 각 수련자의 섬 시작 지점 위치
	deva_x = 164474
	deva_y = 52932
	asura_x = 168356
	asura_y = 55399
	gaia_x = 164335
	gaia_y = 49510

	local start_x, start_y, start_layer, start_channel_no
	
	if state_code == 64 then
		insert_item( 2000294, 1 )	
	end

	-- 데바 시작지점 체크
	if race == 4 then
		
		--시작 위치 설정
		start_x = deva_x
		start_y = deva_y

	-- 아수라 시작지점 체크
	elseif race == 5 then
		
		--시작 위치 설정
		start_x = asura_x
		start_y = asura_y

	-- 그외(가이아 3) 시작지점 체크
	else
		
		--시작 위치 설정
		start_x = gaia_x
		start_y = gaia_y

	end
	
	-- 수련자의 섬(채널ID 1000)에서 가장 적절한 채널을 골라 레이어를 세팅한다.
	start_channel_no = get_proper_channel_num( 1000 )
	start_layer = get_layer_of_channel( 1000, start_channel_no )
	

	-- 귀환지역 설정
	set_flag( "rx", start_x + math.random(0,60) - 30)
	set_flag( "ry", start_y + math.random(0,60) - 30)
	
	local text
	
	text = sconv("@90010092", "#@number@#", tostring( start_channel_no ) )   -- 변수를 실제 값(스트링)으로 치환 시킨다.
	message( text ) -- 시스템 메세지로 해당 채널ID 출력.


	------=========== ** 시작아이템 설정해주는 부분은 서버에서 구현 ** ============------		
	-- 아수라(5)면 더크(단검), 데바면 스몰메이스, 가이아는 밀림도를 준다. 
	-- 디폴트 직업을 넣어준다. (데바:가이드, 아수라:스테퍼, 그외:파이터(가이아) )
	
	local race = get_value( "race" )

	if race == 4 then

		-- 초기직업을 가이드(200)로 설정한다.
		set_value( "job" , 200 )
		
	elseif race == 5 then
		
		set_value( "job" , 300 )
		
	else

		set_value( "job" , 100 )

	end

	
	-- 직업 설정 후 세팅된 스탯에 맞는 HP로 다시 채워줌
	set_value( "hp" , get_value( "max_hp") )
	set_value( "mp" , get_value( "max_mp") )

	
	-- 국가 코드 읽어오기
		-- get_local_info()의 반환값들
		--LOCAL_INFO_KOREA                      = 1
		--LOCAL_INFO_HONGKONG                   = 2
		--LOCAL_INFO_AMERICA                    = 4
		--LOCAL_INFO_EUROPE                     = 8
		--LOCAL_INFO_JAPAN                      = 16
		--LOCAL_INFO_TAIWAN                     = 32
		--LOCAL_INFO_CHINA                      = 64
	
	--전국가 공통
	local state_code = get_local_info() 	
	--if state_code = 32 then
		if race == 4 then
			if get_env("game.use_auto_trap") == 1 then
			open_popup("game.caution_url", "game.newbiehelp_deva_url", 0,1)
			else
			open_popup("game.newbiehelp_deva_url", 0,1)
			end
		elseif race == 5 then
			if get_env("game.use_auto_trap") == 1 then
			open_popup("game.caution_url", "game.newbiehelp_asura_url", 0,1)
			else
			open_popup("game.newbiehelp_asura_url", 0,1)
			end
		else 
			if get_env("game.use_auto_trap") == 1 then
			open_popup("game.caution_url", "game.newbiehelp_gaia_url", 0,1)
			else
			open_popup("game.newbiehelp_gaia_url", 0,1)
		end
	--	end
	--else
	
	--기존 대만 제거
	--local state_code = get_local_info() 	
	--if state_code ~= 32 then
	--	--if race == 4 then
	--		--if get_env("game.use_auto_trap") == 1 then
	--		open_popup("game.caution_url", "game.newbiehelp_deva_url", 0,1)
	--		else
	--		open_popup("game.newbiehelp_deva_url", 0,1)
	--		end
	--	elseif race == 5 then
	--		if get_env("game.use_auto_trap") == 1 then
	--		open_popup("game.caution_url", "game.newbiehelp_asura_url", 0,1)
	--		else
	--		open_popup("game.newbiehelp_asura_url", 0,1)
	--		end
	--	else 
	--		if get_env("game.use_auto_trap") == 1 then
	--		open_popup("game.caution_url", "game.newbiehelp_gaia_url", 0,1)
	--		else
	--		open_popup("game.newbiehelp_gaia_url", 0,1)
	--		end
	--	end
	
	
	end
	
	-- 시작좌표 설정 캐릭터 생성이 한번에 많이 발생하면 문제가 생겨서 아래로 이동
	
	set_value( "x" , start_x)
	set_value( "y" , start_y)
	set_value( "layer", start_layer )
		
end
f900b84491e3344ccaeefed6bfca7a3e.lua


Code:
-- Lua 스크립트 암호화
function get_module_name()
             return "BattleArena"
end


function on_enter_battle_arena( arena_id, instance_no, is_reconnect )

end

function on_leave_battle_arena( arena_id, instance_no, is_disconnect )

end

function on_battle_arena_bingo( arena_id, instance_no, team_no, line_count )

	-- 빙고 시 처리 내용
	-- 팀 버프 부여
	-- 배틀 포인트 추가
	-- 실시간 ap 추가
	
	--5113빙고 버프:물리, 마법 공격력 증가1<20%><(version:8.1)>
	--5114빙고 버프:물리, 마법 공격력 증가2<30%><(version:8.1)>


	--5119빙고 버프:물리, 마법 방어력 증가1<20%><(version:8.1)>
	--5120빙고 버프:물리, 마법 방어력 증가2<30%><(version:8.1)>


	--5125빙고 버프:공격, 시전 속도 증가1<20%><(version:8.1)>
	--5126빙고 버프:물리, 마법 방어력 증가2<30%><(version:8.1)>

	--5127빙고 버프:이동속도 증가1<20%><(version:8.1)>
	--5128빙고 버프:이동속도 증가2<30%><(version:8.1)>
	--5129빙고 버프:회피 증가1<20%><(version:8.1)>
	--5130빙고 버프:회피 증가2<30%><(version:8.1)>

	--5135빙고 버프:물리, 마법 명중 증가1<20%><(version:8.1)>
	--5136빙고 버프:물리, 마법 명중 증가2<30%><(version:8.1)>

	--5137빙고 버프:마법 저항 증가1<20%><(version:8.1)>
	--5138빙고 버프:마법 저항 증가2<30%><(version:8.1)>
	--5139빙고 버프:크리티컬 확률 증가1<20%><(version:8.1)>
	--5140빙고 버프:크리티컬 확률 증가2<30%><(version:8.1)>
	--5141빙고 버프:크리티컬 위력 증가1<20%><(version:8.1)>
	--5142빙고 버프:크리티컬 위력 증가2<30%><(version:8.1)>
	--5143빙고 버프:HP 회복1<20%><(version:8.1)>
	--5144빙고 버프:HP 회복2<30%><(version:8.1)>
	--5145빙고 버프:MAX HP/MP 증가1<20%><(version:8.1)>
	--5146빙고 버프:MAX HP/MP 증가2<30%><(version:8.1)>
	
	local bingo_buff = 0
	local buff_id = 0
	
	if line_count == 1 then
	
		buff_id = math.random( 1, 4)
		
		if buff_id == 1 then
			bingo_buff = 5113 --5113빙고 버프:물리, 마법 공격력 증가1<20%><(version:8.1)>
		elseif buff_id == 2 then
			bingo_buff = 5119 --5119빙고 버프:물리, 마법 방어력 증가1<20%><(version:8.1)>
		elseif buff_id == 3 then
			bingo_buff = 5125 --5125빙고 버프:공격, 시전 속도 증가1<20%><(version:8.1)>
		elseif buff_id == 4 then
			bingo_buff = 5135 --5135빙고 버프:물리, 마법 명중 증가1<20%><(version:8.1)>
		end
	
		-- add_state(6006, 1, 100)
		do_each_player_in_battle_arena_team( arena_id, instance_no, team_no, "add_state(" .. bingo_buff .. " ,1 , 10000)" )

	
	elseif  line_count == 2 then
	
		buff_id = math.random( 1, 4)
		
		if buff_id == 1 then
			bingo_buff = 5114 --5114빙고 버프:물리, 마법 공격력 증가2<30%><(version:8.1)>
		elseif buff_id == 2 then
			bingo_buff = 5120 --5120빙고 버프:물리, 마법 방어력 증가2<30%><(version:8.1)>
		elseif buff_id == 3 then
			bingo_buff = 5126 --5126빙고 버프:물리, 마법 방어력 증가2<30%><(version:8.1)>
		elseif buff_id == 4 then
			bingo_buff = 5136 --5136빙고 버프:물리, 마법 명중 증가2<30%><(version:8.1)>
		end
		
		
		do_each_player_in_battle_arena_team( arena_id, instance_no, team_no, "add_state(" .. bingo_buff .. " ,1 , 15000)" )

	
	elseif  line_count == 3 then
	
		do_each_player_in_battle_arena_team( arena_id, instance_no, team_no,
			"add_state(5113 ,1 , 18000);add_state(5119 ,1 , 18000);add_state(5125 ,1 , 18000);add_state(5135 ,1 , 18000);add_state(5143 ,1 , 18000);add_state(5146 ,1 , 18000)" )
	
	end
	

end

function arena_slaughter_prop()

	local arena_id = get_value( "arena_id" )
	local team_no = get_battle_arena_team_no()
	local prop_id = 0
	
	-- 연합군 or 마녀군
	if team_no == 0 then
	
		prop_id = 30217
	
	elseif team_no == 1 then
	
		prop_id = 30216
	
	end
	
	if arena_id == 2001 then
	
		activate_battle_arena_prop( 1 )
			
		add_field_prop( prop_id, 3, 67610, 83352, gv('layer'), 0, 0, 0, 0, 3, 3, 3 )
				
	elseif arena_id == 2002 then
	
		activate_battle_arena_prop( 1 )
	
		add_field_prop( prop_id, 3, 51482, 83352, gv('layer'), 0, 0, 0, 0, 3, 3, 3 )
	
	elseif arena_id == 2003 then
	
		activate_battle_arena_prop( 1 )
	
		add_field_prop( prop_id, 3, 35354, 83352, gv('layer'), 0, 0, 0, 0, 3, 3, 3 )
		
	elseif arena_id == 2004 then
	
		activate_battle_arena_prop( 1 )
	
		add_field_prop( prop_id, 3, 67610, 67224, gv('layer'), 0, 0, 0, 0, 3, 3, 3 )
		
	elseif arena_id == 2501 then
	
		activate_battle_arena_prop( 1 )
	
		add_field_prop( prop_id, 3, 35354, 51096, gv('layer'), 0, 0, 0, 0, 3, 3, 3 )

	end
		
end






-----------------------------------------------------------------------------------------
---------------------------------		ap 상점	    -------------------------------------
-----------------------------------------------------------------------------------------


function NPC_arena_point_contact()

--웅담 말시켰을 때 인사말
	dlg_title( "@90996953" )
	dlg_text( "@90996954" )

				
	-- L베어로드 전용 물품
	dlg_menu( "@91000264", "open_market( 'bearload_shop_onlybear' )" )		
			
	-- 대화종료 
	dlg_menu( "@90010002", " " )
 
	dlg_show()
 
end


function bosspet()

	--insert_item(690501, 1)
	insert_item(690502, 1)
	insert_item(690503, 1)
	--insert_item(690504, 1)
	insert_item(690505, 1)
	insert_item(690506, 1)
	insert_item(690507, 1)
	insert_item(690508, 1)
	insert_item(690509, 1)
	insert_item(690510, 1)
	insert_item(690511, 1)
	insert_item(690512, 1)
	insert_item(690513, 1)
	insert_item(690514, 1)
	insert_item(690515, 1)
	insert_item(690516, 1)
	insert_item(690517, 1)
	insert_item(690518, 1)
	insert_item(690519, 1)
	insert_item(690520, 1)
	--insert_item(690501, 1)
	insert_item(690502, 1)
	insert_item(690503, 1)
	--insert_item(690504, 1)
	insert_item(690505, 1)
	insert_item(690506, 1)
	insert_item(690507, 1)
	insert_item(690508, 1)
	insert_item(690509, 1)
	insert_item(690510, 1)
	insert_item(690511, 1)
	insert_item(690512, 1)
	insert_item(690513, 1)
	insert_item(690514, 1)
	insert_item(690515, 1)
	insert_item(690516, 1)
	insert_item(690517, 1)
	insert_item(690518, 1)
	insert_item(690519, 1)
	insert_item(690520, 1)

end
Felix47 is offline  
Thanks
6 Users
Old 10/23/2017, 20:35   #80
Moderator


 
ThunderNikk's Avatar
 
elite*gold: 1
Join Date: Dec 2012
Posts: 4,779
Received Thanks: 1,461
Are those the 3 from the 9.4 files.

If you don't mind someone asking how did you get them to decrypt?

Did you use the old compression tool?
ThunderNikk is offline  
Old 10/23/2017, 21:43   #81
 
elite*gold: 0
Join Date: Nov 2016
Posts: 141
Received Thanks: 10
i didn't look yet, but are the Arabic strings in there ?
toyfarm is offline  
Old 10/23/2017, 22:03   #82

 
アルカード's Avatar
 
elite*gold: 0
Join Date: Mar 2012
Posts: 990
Received Thanks: 391
Quote:
Originally Posted by toyfarm View Post
i didn't look yet, but are the Arabic strings in there ?
I don't think they are arabic strings
アルカード is offline  
Old 10/23/2017, 22:36   #83
Moderator


 
ThunderNikk's Avatar
 
elite*gold: 1
Join Date: Dec 2012
Posts: 4,779
Received Thanks: 1,461
Yes the Arabic string resource table is in the server tables.
ThunderNikk is offline  
Old 10/23/2017, 22:47   #84
 
elite*gold: 0
Join Date: Nov 2011
Posts: 124
Received Thanks: 10
user name or password is wrong ..

i used 7.4 auth and i made accounts in it .. still not logging me in ?
asddom is offline  
Old 10/23/2017, 23:32   #85
Moderator


 
ThunderNikk's Avatar
 
elite*gold: 1
Join Date: Dec 2012
Posts: 4,779
Received Thanks: 1,461
This is something someone else did back a bunch of epics ago and I have used it and it helps me out so I figured it may help you guys out.

I updated it for 9.4

Code:
BattleArena (f900b84491e3344ccaeefed6bfca7a3e).lua
ETC Dungeon Prop (3e4d6704e4e128bacd554318bb2e78cf).lua
ETC Run Monster Skill (b8cc3ff6320d2159aa5fae32d4fe7fce).lua
ETC Script Function (c403d1bd9f1aff14710688c4358b34c2).lua
ETC_huntaholicprop (094f737cc4b9f60ed741f95758fb974f).lua
monster_respawn (df26b8de23d54dab0fceedacc447c5dc).lua
NPC Adventure Guide (7e412cf77fe6aa4647eb2dedaf3f93c7).lua
NPC Auction (67af264290f4689ff0e77f3144c7b805).lua
NPC Buff (9436be3b0987ccc10977e838ae234d88).lua
NPC ChipExchane (0e490f9f0047333244db8fa7d25c2133).lua
NPC CreateGuild (d9f2547c64852b373dea196ff8b0f1b6).lua
NPC_CreatureEnchanter (7b5ea539dff22082971d9dd3769f1d34).lua
NPC_Creature_farm (c701231434e0e3a1cbe526b3ccffa2bb).lua
NPC Creature Setup (130fdb6e0cb96a4703c6dfa9c9348d67).lua
NPC Dark Market (80933040d7a00cae7af112d81dbf7cf9).lua
NPC Dungeon (eaa1c5f42b6075387cd67d101894e751).lua
NPC Event (e7ecc752d285797d9f2378b26f5f70b0).lua
NPC First Summon (5baa0203475cd90a3ba0323f3e8b17ba).lua
NPC Food Shop (fca4679b7e7c1645c0187425d9212c64).lua
NPC Guide Town (2b03183a291eb143db54365ebf024e97).lua
NPC Hell (6d6a0d88333be0e9eee079856da3986e).lua
NPC Hunaholic (e807c2c918077a79cbf683aa80edc6e9).lua
NPC ItemUp (1e8d78911f3a6a5a7ce0af62a4983423).lua
NPC Jewerly (789932c2f5ae5bc71948990b258505f6).lua
NPC Job Change (adb89b86e1722f9d89c7dfdedd7ddcb7).lua
NPC Merchant Equip (e2bf0c83bf0577eecf9e6ed919857f3c).lua
NPC Merchant Weapon (5ee4fda28122fb2b957825596ba9e242).lua
NPC Merchant_Etc (e711e712dccb2680b678e4496717677d).lua
NPC Monster Roaming (6562d6f41debb916bb47e7537b425142).lua
NPC Quest Client (69265cd796febbf026b9af2704bef870).lua
NPC Storage (ab50b0c7da53bb411c7ccc58b3fce580).lua
NPC Teleport Field (d5f1388ed8a34834bbda10f4fef4a5d5).lua
NPC Teleport Town (2455194ffb3cb3515526cb9e195a8371).lua
NPC Tutorial (322c13f35528055713bf855142aa75e7).lua
on_first_login (d4b666e4533a0230159074c218fa2150).lua
on_login (92aaf4ae4ee42eb41693728da93f301a).lua
on_player_dead (fbb40e7b1e08235efffbf2e0ea2019a6).lua
on_player_level_up (8b0855e9894fa1eaf12608dedc541c5e).lua
random_respawn (5808a126a1166972b2af1908b8f41572).lua
server_init (b4e51c7c6f9cd671cf2bb33b2aa2d263).lua
@

Did you try the user name and pass Ghost gave as an example and still get that message?



Quote:
use this Query to add new account .. md5 key :2011

Code:
    use Auth
    INSERT INTO "Account" ("account_id", "account", "password", "email", "pk_", "creationDate_", "updateDate_", "creatorId_", "updatorId_", "portId_", "type_", "accessDate_", "password2", "block", "Time", "last_login_server_idx", "IP_user", "null_pass", "Admin") VALUES
    (2964, 'testaccount', '03f15425fdb1a114c125ace5939e4b83', '', 1, NULL, NULL, NULL, NULL, NULL, 'com.elixir.billing.impl.ImmAccount', NULL, NULL, 0, NULL, '1', NULL, NULL, NULL);
username:testaccount
password:testpassword
ThunderNikk is offline  
Thanks
1 User
Old 10/23/2017, 23:39   #86
 
elite*gold: 0
Join Date: Nov 2011
Posts: 124
Received Thanks: 10
Quote:
Originally Posted by ThunderNikk View Post

@

Did you try the user name and pass Ghost gave as an example and still get that message?

i tried but it says there is no columns named as "block" bla bla bla ..

so i guessed that there is messing parts in this auth db i'm now searching for new one .. can you give me yours ? i use sql 2012




i used another auth and it worked .. lol thanks btw

do really i have to do masterclass quests ?
asddom is offline  
Old 10/24/2017, 02:12   #87
 
Audric123's Avatar
 
elite*gold: 0
Join Date: Sep 2011
Posts: 219
Received Thanks: 74
Quote:
Originally Posted by asddom View Post
do really i have to do masterclass quests ?
Yes but you can use command like this (change 222 for Job id you want)

Or edit the JobChange.lua for have Master Class without quest at NPC
Audric123 is offline  
Old 10/24/2017, 05:46   #88
 
Felix47's Avatar
 
elite*gold: 0
Join Date: Oct 2017
Posts: 2
Received Thanks: 8
Quote:
Originally Posted by ThunderNikk View Post
Are those the 3 from the 9.4 files.

If you don't mind someone asking how did you get them to decrypt?

Did you use the old compression tool?
yes its for 9.4

by using compression tool , Literally had to add 2 lines of code to fix it
Felix47 is offline  
Thanks
2 Users
Old 10/24/2017, 12:16   #89
 
elite*gold: 0
Join Date: Sep 2012
Posts: 17
Received Thanks: 1
how to enable use of lua files ?

when i try to use any lua file or even encrypt it to ela captinherlock dive me an error with something like all lua function is disabled
omar0alaa is offline  
Old 10/24/2017, 12:48   #90
Moderator


 
ThunderNikk's Avatar
 
elite*gold: 1
Join Date: Dec 2012
Posts: 4,779
Received Thanks: 1,461
Did you try the following?

Quote:
Originally Posted by Ghost Informatics View Post
if you want to allow your GS to work with lua not ela just delete this line from your GameServer.opt (N:game.ela_count:40).
ThunderNikk is offline  
Thanks
1 User
Reply

Tags
files, galalab, rappelz 9.4, revolution, royal


Similar Threads Similar Threads
[Release]Files 9.1 official with Tools and website Rappelz official
10/26/2014 - Rappelz Private Server - 24 Replies
Hello EveryBody I will Share This Files i Hacked Official Rappelz Korean and steel this files It's esay to Steel and Website Full WebSite i will Share This Soon Or i will create PS :mofo::mofo: Skype : dark.das Sorry For my bad English



All times are GMT +2. The time now is 04:55.


Powered by vBulletin®
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2024 elitepvpers All Rights Reserved.