Hellow, comrades.
Rappelz is constantly evolving. And our korean friends makes new things.
Some days ago i had trying to open db_item.rdb but i has got an error!
Some hours later i had open db_item.rdb and WOW instead of texture designation i had seen Natural values, and table got some changes in structure...
After this i had found new file inside data.004 whats was called db_item.ref, it contains texture names, but i have no idea, how to open it, it's fully different structure unlike RDB
So, i need your help!
Any ideas\tools for opening .ref files?
Also i need Item92Database.dll for RDB tool by Glandu2.
hi there, question time. Is there a way to change pet size by editing something in my client in particular tyrant its way to big always stands on top of my char and i just find it really annoying client in question 7.3 .7.4. Thanks
hi there, question time. Is there a way to change pet size by editing something in my client in particular tyrant its way to big always stands on top of my char and i just find it really annoying client in question 7.3 .7.4. Thanks
You didnt looked at the Database, right?
In the SummonResource there are 2 columns for your Request.
They get called size and scale.
Quote:
Originally Posted by Space()
glandu2 tools is great, but leave open a .bat
Also I wanted to use the update system of a launcher.
I looked at the source code sframe but I did not understand.
I do not know generate Sframe.exe, but I'll find out :c
Thank you for your replies
describe the Envoirment, wich the Sframe requests from the Launcher. (Well the Launcher creates it and the Sframe is reading it).
All you have to do is to start the Launcher with correct Arguments, but called from this class.
hi there, question time. Is there a way to change pet size by editing something in my client in particular tyrant its way to big always stands on top of my char and i just find it really annoying client in question 7.3 .7.4. Thanks
In 8.X and 9.1 it's the scale-column in summon/monsterresource.
If that one exists in 7.3/7.4 too, try to change that one
(can't test so fast, i don't have any epic 7 client on pc xD)
2015/12/12 10:52:26 DB COM ERROR(Thread:1, HRESULT:80004005, GUID:0C733A63-2A1C-11CE-ADE5-00AA0044773D) : DB_UpdateGlobalVariable(dbo.smp_set_global_variabl e) : Transaction (Process ID 71) was deadlocked on lock resources with another process and has been chosen as the deadlock victim. Rerun the transaction.
The process deadlocked with another and was chosen as the victim.
Means it failed over the other process that was given priority and you will need to run the process again in order for it to complete properly.
I think you just try do do too many things without shutting the server down to do them. Too many real time processes make your server actions complicated and interfere with each other which results in server crashes and data loss and all other kinds of failures.
Hello fellow Rappelzians,
I have been able to establish the 9.1 server using the guide without a hitch (well, after all of the failed attempts it went on without a hitch ).
I have been fiddling about with the server tweaking one thing and another and have come across the Master Class change process not giving the characters job_depth 3. I have looked around and the 9.1 setup thread only had one mention of this issue with no answer if it was resolved.
Whenever I set the job depth to 3 in the DB it does not reflect in the game when launched again; Hector does not offer the quests.
My question: Can somebody point me to the proper way to set up the lua, or maybe show me how one is setup. I have thought about adding something onto the end of JobChange common to set job depth 3 for every MC.
EDIT: Another thing I have noticed is that the changing from Rogue -> Fighter -> Champion does not set the job_depth above 0. I assume that is the case for any job change.
The Lua I am currently working with. Changed/added some teleports for ease of access.
-- Lua 스크립트 암호화
function get_module_name()
return "NPC_JobChange"
end
function NPC_JobChange_get_resetcount()
local reset_count = get_flag( 'reset_count' )
if reset_count == '' then
return 0
else
return reset_count
end
end
--================================================== ==========
-- <<<<<< 전직 NPC (공통) >>>>>>
--================================================== ==========
function NPC_JobChange_contact()
-- 임시 변수 선언과 동시에 NPC ID 가져오기
local npc_id = get_npc_id()
-- 가이아 일 때 (4004)
if npc_id == 4004 then
dlg_title( "@90400401" )
-- 데바 일 때 (1004)
elseif npc_id == 1004 then
dlg_title( "@90100401" )
-- 아수라 일 때 (2004)
elseif npc_id == 2004 then
dlg_title( "@90200401" )
-- 론도 일 때 (6004)
elseif npc_id == 6004 then
dlg_title( "@90600401" )
-- 도시 유적 일 때 (7032)
elseif npc_id == 7032 then
dlg_title( "@90703201" )
-- 시크루트 일 때 (7004)
elseif npc_id == 7004 then
dlg_title( "@90700401" )
end -- if 끝
-- 가이아 일 때 (4004)
if npc_id == 4004 then
dlg_text( "@90400403" )
-- 데바 일 때 (1004)
elseif npc_id == 1004 then
dlg_text( "@90100403" )
-- 아수라 일 때 (2004)
elseif npc_id == 2004 then
dlg_text( "@90200403" )
-- 론도 일 때 (6004)
elseif npc_id == 6004 then
dlg_text( "@90600403" )
-- 도시 유적 일 때 (7032)
elseif npc_id == 7032 then
dlg_text( "@90703203" )
-- 시크루트 일 때 (7004)
elseif npc_id == 7004 then
dlg_text( "@90700403" )
end -- if 끝
function NPC_JobChange_change_race()
local npc_id = get_npc_id()
-- 가이아 일 때 (4004)
if npc_id == 4004 then
dlg_title( "@90400401" )
-- 데바 일 때 (1004)
elseif npc_id == 1004 then
dlg_title( "@90100401" )
-- 아수라 일 때 (2004)
elseif npc_id == 2004 then
dlg_title( "@90200401" )
-- 론도 일 때 (6004)
elseif npc_id == 6004 then
dlg_title( "@90600401" )
-- 도시 유적 일 때 (7032)
elseif npc_id == 7032 then
dlg_title( "@90703201" )
-- 시크루트 일 때 (7004)
elseif npc_id == 7004 then
dlg_title( "@90700401" )
--수련자의 섬 일 때 (3019)
elseif npc_id == 3019 then
dlg_title( "@90300401" )
end -- if 끝
if has_item(601100284) >= 1 then
dlg_text( "@90010256" )
local race = get_value( "race" )
if race ~= 4 then
dlg_menu( "@90010253", "NPC_JobChange_set_race(4)" )
end
if race ~= 5 then
dlg_menu( "@90010254", "NPC_JobChange_set_race(5)" )
end
if race ~= 3 then
dlg_menu( "@90010255", "NPC_JobChange_set_race(3)" )
end
function NPC_JobChange_set_race( changed_race )
if has_item(601100284) >= 1 then -- 심장 있는지 체크 (아까 체크했지만 스크립트 열어 놓고 이것저것 할수있으므로 다시체크)
local success = set_race( changed_race )
local npc_id = get_npc_id()
-- 가이아 일 때 (4004)
if npc_id == 4004 then
dlg_title( "@90400401" )
-- 데바 일 때 (1004)
elseif npc_id == 1004 then
dlg_title( "@90100401" )
-- 아수라 일 때 (2004)
elseif npc_id == 2004 then
dlg_title( "@90200401" )
-- 론도 일 때 (6004)
elseif npc_id == 6004 then
dlg_title( "@90600401" )
-- 도시 유적 일 때 (7032)
elseif npc_id == 7032 then
dlg_title( "@90703201" )
-- 시크루트 일 때 (7004)
elseif npc_id == 7004 then
dlg_title( "@90700401" )
--수련자의 섬 일 때 (3019)
elseif npc_id == 3019 then
dlg_title( "@90300401" )
end -- if 끝
if success == 1 then
delete_item( get_item_handle( 601100284 ), 1 )
dlg_text( "@90010258" )
dlg_menu( "@90010002", " " )
else
dlg_text( "@90010259" )
dlg_menu( "@90010002", " " )
end
else
dlg_text( "@90010257" )
dlg_menu( "@90010002", " " )
end
dlg_show()
end
function NPC_JobChange_change_job()
-- 임시 변수 선언과 동시에 NPC ID 가져오기
local npc_id = get_npc_id()
-- 국가 코드 읽어오기
-- 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()
local reset_count = NPC_JobChange_get_resetcount()
--reset_count = 0
--================================================== ==============================
-- 전직 불가능한 경우 골라내기
--================================================== ==============================
--local reset_count
-- 기본직업일 때 Lv이나 JLv이 10 미만이면 전직불가.
if get_value( "job_depth" ) == 0 then
if get_value( "level" ) < 10 or get_value( "job_level" ) < 10 then
-- 가이아 일 때 (4004)
if npc_id == 4004 then
dlg_title( "@90400401" )
-- 데바 일 때 (1004)
elseif npc_id == 1004 then
dlg_title( "@90100401" )
-- 아수라 일 때 (2004)
elseif npc_id == 2004 then
dlg_title( "@90200401" )
-- 론도 일 때 (6004)
elseif npc_id == 6004 then
dlg_title( "@90600401" )
-- 도시 유적 일 때 (7032)
elseif npc_id == 7032 then
dlg_title( "@90703201" )
-- 시크루트 일 때 (7004)
elseif npc_id == 7004 then
dlg_title( "@90700401" )
end -- if 끝
-- 가이아 일 때 (4004)
if npc_id == 4004 then
dlg_text( "@90400403" )
-- 데바 일 때 (1004)
elseif npc_id == 1004 then
dlg_text( "@90100403" )
-- 아수라 일 때 (2004)
elseif npc_id == 2004 then
dlg_text( "@90200403" )
-- 론도 일 때 (6004)
elseif npc_id == 6004 then
dlg_text( "@90600403" )
-- 도시 유적 일 때 (7032)
elseif npc_id == 7032 then
dlg_text( "@90703203" )
-- 시크루트 일 때 (7004)
elseif npc_id == 7004 then
dlg_text( "@90700403" )
end -- if 끝
dlg_menu( "@90010002", "" )
dlg_show()
return
end
-- 1차 직업일 때 Lv50 미만 JLv이 40 미만이면 전직불가.
elseif get_value( "job_depth" ) == 1 then
-- 중국은 2차 직업 막음. 2007.9.4. 중국 판호 관련으로 임시 해제.
--if state_code == 2 then
-- 더 이상 전직이 불가능하다는 멘트
--dlg_text( "@90100411" )
--dlg_menu( "@90010002", "" )
--dlg_show()
--return
--end
-- 전직 불가능한 조건이면 튕김
if get_value( "level" ) < 50 or get_value( "job_level" ) < 40 then
-- 가이아 일 때 (4004)
if npc_id == 4004 then
dlg_title( "@90400401" )
-- 데바 일 때 (1004)
elseif npc_id == 1004 then
dlg_title( "@90100401" )
-- 아수라 일 때 (2004)
elseif npc_id == 2004 then
dlg_title( "@90200401" )
-- 론도 일 때 (6004)
elseif npc_id == 6004 then
dlg_title( "@90600401" )
-- 도시 유적 일 때 (7032)
elseif npc_id == 7032 then
dlg_title( "@90703201" )
-- 시크루트 일 때 (7004)
elseif npc_id == 7004 then
dlg_title( "@90700401" )
end -- if 끝
-- 가이아 일 때 (4004)
if npc_id == 4004 then
if is_able_to_jobchange() == true then
dlg_text( "@90400409" )
else
dlg_text( "@90400402" )
end
-- 데바 일 때 (1004)
elseif npc_id == 1004 then
if is_able_to_jobchange() == true then
dlg_text( "@90100409" )
else
dlg_text( "@90100402" )
end
-- 아수라 일 때 (2004)
elseif npc_id == 2004 then
if is_able_to_jobchange() == true then
dlg_text( "@90200409" )
else
dlg_text( "@90200402" )
end
-- 론도 일 때 (6004)
elseif npc_id == 6004 then
if is_able_to_jobchange() == true then
dlg_text( "@90600409" )
else
dlg_text( "@90600402" )
end
-- 도시 유적 일 때 (7032)
elseif npc_id == 7032 then
if is_able_to_jobchange() == true then
dlg_text( "@90703209" )
else
dlg_text( "@90703202" )
end
-- 시크루트 일 때 (7004)
elseif npc_id == 7004 then
if is_able_to_jobchange() == true then
dlg_text( "@90700409" )
else
dlg_text( "@90700402" )
end
end -- if 끝
dlg_menu( "@90010002", "" )
dlg_show()
return
-- 전직 가능할 때 테섭이 아니면 튕김.
else
if is_able_to_jobchange() == false then
-- 가이아 일 때 (4004)
if npc_id == 4004 then
dlg_title( "@90400401" )
-- 데바 일 때 (1004)
elseif npc_id == 1004 then
dlg_title( "@90100401" )
-- 아수라 일 때 (2004)
elseif npc_id == 2004 then
dlg_title( "@90200401" )
-- 론도 일 때 (6004)
elseif npc_id == 6004 then
dlg_title( "@90600401" )
-- 도시 유적 일 때 (7032)
elseif npc_id == 7032 then
dlg_title( "@90703201" )
-- 시크루트 일 때 (7004)
elseif npc_id == 7004 then
dlg_title( "@90700401" )
end -- if 끝
-- 가이아 일 때 (4004)
if npc_id == 4004 then
dlg_text( "@90400402" )
-- 데바 일 때 (1004)
elseif npc_id == 1004 then
dlg_text( "@90100402" )
-- 아수라 일 때 (2004)
elseif npc_id == 2004 then
dlg_text( "@90200402" )
-- 론도 일 때 (6004)
elseif npc_id == 6004 then
dlg_text( "@90600402" )
-- 도시 유적 일 때 (7032)
elseif npc_id == 7032 then
dlg_text( "@90703202" )
-- 시크루트 일 때 (7004)
elseif npc_id == 7004 then
dlg_text( "@90700402" )
end -- if 끝
dlg_menu( "@90010002", "" )
dlg_show()
return
end
end
-- 가이아 일 때 (4004)
if npc_id == 4004 then
dlg_title( "@90400401" )
-- 데바 일 때 (1004)
elseif npc_id == 1004 then
dlg_title( "@90100401" )
-- 아수라 일 때 (2004)
elseif npc_id == 2004 then
dlg_title( "@90200401" )
-- 론도 일 때 (6004)
elseif npc_id == 6004 then
dlg_title( "@90600401" )
-- 도시유적 일 때 (7032)
elseif npc_id == 7032 then
dlg_title( "@90703201" )
-- 시크루트 일 때 (7004)
elseif npc_id == 7004 then
dlg_title( "@90700401" )
end -- if 끝
if reset_count == 0 then
dlg_text( "@90604793" )
elseif reset_count == 1 then
dlg_text( "@90604794" )
elseif reset_count == 2 then
dlg_text( "@90604795" )
elseif reset_count == 3 then
dlg_text( "@90604796" )
elseif reset_count == 4 then
dlg_text( "@90604797" )
elseif reset_count == 5 then
dlg_text( "@90604798" )
elseif reset_count == 6 then
dlg_text( "@90604799" )
elseif reset_count == 7 then
dlg_text( "@90604800" )
elseif reset_count == 8 then
dlg_text( "@90604801" )
elseif reset_count == 9 then
dlg_text( "@90604802" )
end
else
-- 가이아 일 때 (4004)
if npc_id == 4004 then
dlg_title( "@90400401" )
-- 데바 일 때 (1004)
elseif npc_id == 1004 then
dlg_title( "@90100401" )
-- 아수라 일 때 (2004)
elseif npc_id == 2004 then
dlg_title( "@90200401" )
-- 론도 일 때 (6004)
elseif npc_id == 6004 then
dlg_title( "@90600401" )
-- 도시유적 일 때 (7032)
elseif npc_id == 7032 then
dlg_title( "@90703201" )
-- 시크루트 일 때 (7004)
elseif npc_id == 7004 then
dlg_title( "@90700401" )
end -- if 끝
-- 더 이상 전직이 불가능하다는 멘트
-- dlg_text( "@90100411" )
-- 마스터 클래스로 전직을 원한다면 영웅 헥토르를 만나라는 멘트
dlg_text( "@91002563" )
dlg_menu( "Teleport to Master Arena", "MasterArenaTeleport()" )
dlg_menu( "@90010002", "" )
dlg_show()
return
end
-- 여기까지 왔으면 전직 가능
local race = get_value( "race" )
local job_name1, job1, job_name2, job2, job_name3, job3, number_job, current_job
-- 가이아 일 때 (4004)
if npc_id == 4004 then
dlg_title( "@90400401" )
-- 데바 일 때 (1004)
elseif npc_id == 1004 then
dlg_title( "@90100401" )
-- 아수라 일 때 (2004)
elseif npc_id == 2004 then
dlg_title( "@90200401" )
-- 론도 일 때 (6004)
elseif npc_id == 6004 then
dlg_title( "@90600401" )
-- 도시 유적 일 때 (7032)
elseif npc_id == 7032 then
dlg_title( "@90703201" )
-- 시크루트 일 때 (7004)
elseif npc_id == 7004 then
dlg_title( "@90700401" )
end -- if 끝
-- 전직 가능한 직업의 개수를 초기화. 기본이 3이니 그냥 3으로...
number_job = 3
-- 현재 직업 ID를 받아 놓는다.
current_job = get_value( "job" )
--================================================== ==============================
-- 1차 전직일 경우. (테이블에서 못읽어오므로 전직정보는 여기서 고치자)
--================================================== ==============================
if get_value( "job_depth" ) == 0 then
dlg_text( "@90100404" )
-- 전직 가능한 직업의 개수를 설정. 1차 전직이므로 모두 3 이다.
number_job = 3
--================================================== ==============================
-- 2차 전직일 경우. (테이블에서 못읽어오므로 전직정보는 여기서 고치자)
--================================================== ==============================
elseif get_value( "job_depth" ) == 1 then
dlg_text( "@90700410" )
--================================================== ==========================
-- 데바일 때
if race == 4 then
-- 파이터 전직 전직
if current_job == 201 then
-- 나이트 210, 워리어 211
number_job = 2
----------------------------------------------------------------------------------------------------------------------
function NPC_master_partdevil_contact()
-- 임시 변수 선언과 동시에 NPC ID 가져오기
local npc_id = get_npc_id()
-- 국가 코드 읽어오기
-- 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()
local quest_progress3322 = get_quest_progress(3322)
--================================================== ==============================
-- 전직 불가능한 경우 골라내기
--================================================== ==============================
-- 마스터 클래스 전직 가능 여부
if get_value( "job_depth" ) == 2 then
-- 전직 불가능한 조건이면 튕김
-- 전직 조건 변경 : 145 -> 148 2011년 4월 18일 우상욱
if get_value( "level" ) < 147 or get_value( "job_level" ) < 49 then
-- 마스터 사탄소녀
dlg_title( "@91002405" )
if is_able_to_jobchange() == true then
dlg_text( "@91002407" )
dlg_menu( "@Return to Hector", "goto_hector()" )
else
--지금은 마스터클래스로의 전직이 불가능한 상태입니다.
dlg_text( "@91002406" )
dlg_menu( "Return to Hector", "goto_hector()" )
end
dlg_menu( "@90010002", "" )
dlg_show()
return
-- 전직 가능할 때 테섭이 아니면 튕김.
else
if is_able_to_jobchange() == false then
dlg_title( "@91002405" )
dlg_text( "@91002406" )
dlg_menu( "@90010002", "" )
dlg_show()
return
end
end
-- 이미 3차직업인 상태. 더이상 전직은 불가능함
elseif get_value("job_depth") == 3 then
dlg_title( "@91002405" )
-- 더 이상 전직이 불가능하다는 멘트
dlg_text( "@91002408" )
--TP 포인트란?
dlg_menu( "@91002550", "tp_point_2()")
dlg_menu( "Return to Hector", 'goto_hector()' )
dlg_menu( "@90010002", "" )
dlg_show()
return
-- 1차 직업이 여기서 뭐하니? 누구랑 왔니? 전직 하고 와라 -_-
else
dlg_title( "@91002405" )
if get_value("job") == 200 then
job_name = "@1356"
elseif get_value("job") == 201 then
job_name = "@1357"
elseif get_value("job") == 202 then
job_name = "@1358"
elseif get_value("job") == 203 then
job_name = "@1359"
elseif get_value("job") == 100 then
job_name = "@1342"
elseif get_value("job") == 101 then
job_name = "@1343"
elseif get_value("job") == 102 then
job_name = "@1344"
elseif get_value("job") == 103 then
job_name = "@1345"
elseif get_value("job") == 300 then
job_name = "@1372"
elseif get_value("job") == 301 then
job_name = "@1373"
elseif get_value("job") == 302 then
job_name = "@1374"
elseif get_value("job") == 303 then
job_name = "@1375"
end
local race = get_value( "race" )
local job_name1, job1, job_name2, job2, job_name3, job3, number_job, current_job
dlg_title( "@91002405" )
-- 전직 가능한 직업의 개수를 초기화. 기본이 3이니 그냥 3으로...
number_job = 3
-- 현재 직업 ID를 받아 놓는다.
current_job = get_value( "job" )
--================================================== ==============================
-- 마스터 클래스 전직일 경우. (테이블에서 못읽어오므로 전직정보는 여기서 고치자)
--================================================== ==============================
if get_value( "job_depth" ) == 2 then
--상위 특성 스킬이란?
dlg_menu( "@91002556", "upper_tp_skill_2()")
-- 하위 특성 스킬이란?
dlg_menu( "@91002558", "lower_tp_skill_2()")
-- 대화종료
dlg_menu( "@90010003","tp_point_2()" ) -- 돌아가기
dlg_menu( "@90010002", " " )
dlg_show()
end
function upper_tp_skill_2()
-- 다이얼로그 출력
dlg_title( "@91002405" )
-- 상위 특성 스킬은 어쩌구 저쩌구
dlg_text( "@91002557" )
-- 대화종료
dlg_menu( "@90010003","tp_skill_2()" ) -- 돌아가기
dlg_menu( "@90010002", " " )
dlg_show()
end
function lower_tp_skill_2()
-- 다이얼로그 출력
dlg_title( "@91002405" )
-- 하위 특성 스킬은 어쩌구 저쩌구
dlg_text( "@91002559" )
-- 대화종료
dlg_menu( "@90010003","tp_skill_2()" ) -- 돌아가기
dlg_menu( "@90010002", " " )
dlg_show()
end
------------------------------------------------------------------------------------------------------------------------
function Run_JobChange_check_common( job_name , job_id )
-- 임시 변수 선언과 동시에 NPC ID 가져오기
local npc_id = get_npc_id()
local jobid = job_id
-- 클릭 실수했을지도 모르므로 확실한지 확인해줌.
-- 가이아 일 때 (4004)
if npc_id == 4004 then
dlg_title( "@90400401" )
-- 데바 일 때 (1004)
elseif npc_id == 1004 then
dlg_title( "@90100401" )
-- 아수라 일 때 (2004)
elseif npc_id == 2004 then
dlg_title( "@90200401" )
-- 론도 일 때 (6004)
elseif npc_id == 6004 then
dlg_title( "@90600401" )
-- 시크루트 일 때 (7004)
elseif npc_id == 7004 then
dlg_title( "@90700401" )
-- 마스터 사탄소녀
elseif npc_id == 11555 then
dlg_title( "@91002405" )
end -- if 끝
if jobid == 210 then
dlg_text_without_quest_menu("@90700411")
elseif jobid == 211 then
dlg_text_without_quest_menu("@90700412")
elseif jobid == 212 then
dlg_text_without_quest_menu("@90700413")
elseif jobid == 213 then
dlg_text_without_quest_menu("@90700414")
elseif jobid == 214 then
dlg_text_without_quest_menu("@90700415")
elseif jobid == 310 then
dlg_text_without_quest_menu("@90700416")
elseif jobid == 311 then
dlg_text_without_quest_menu("@90700417")
elseif jobid == 312 then
dlg_text_without_quest_menu("@90700418")
elseif jobid == 313 then
dlg_text_without_quest_menu("@90700419")
elseif jobid == 314 then
dlg_text_without_quest_menu("@90700420")
elseif jobid == 110 then
dlg_text_without_quest_menu("@90700421")
elseif jobid == 111 then
dlg_text_without_quest_menu("@90700422")
elseif jobid == 112 then
dlg_text_without_quest_menu("@90700423")
elseif jobid == 113 then
dlg_text_without_quest_menu("@90700424")
elseif jobid == 114 then
dlg_text_without_quest_menu("@90700425")
elseif jobid == 101 then
dlg_text_without_quest_menu("@90301919")
elseif jobid == 102 then
dlg_text_without_quest_menu("@90301920")
elseif jobid == 103 then
dlg_text_without_quest_menu("@90301921")
elseif jobid == 201 then
dlg_text_without_quest_menu("@90301913")
elseif jobid == 202 then
dlg_text_without_quest_menu("@90301914")
elseif jobid == 203 then
dlg_text_without_quest_menu("@90301915")
elseif jobid == 301 then
dlg_text_without_quest_menu("@90301916")
elseif jobid == 302 then
dlg_text_without_quest_menu("@90301917")
elseif jobid == 303 then
dlg_text_without_quest_menu("@90301918")
elseif jobid == 120 then --투신이란
dlg_text_without_quest_menu("@91002410")
elseif jobid == 121 then --신궁이란
dlg_text_without_quest_menu("@91002411")
elseif jobid == 122 then --현자란
dlg_text_without_quest_menu("@91002412")
elseif jobid == 123 then --금강이란
dlg_text_without_quest_menu("@91002413")
elseif jobid == 124 then --나찰이란
dlg_text_without_quest_menu("@91002414")
elseif jobid == 220 then --가즈나이트란
dlg_text_without_quest_menu("@91002415")
elseif jobid == 221 then --히어로란
dlg_text_without_quest_menu("@91002416")
elseif jobid == 222 then --아크메이지란
dlg_text_without_quest_menu("@91002417")
elseif jobid == 223 then --세인트란
dlg_text_without_quest_menu("@91002418")
elseif jobid == 224 then --마에스트로란
dlg_text_without_quest_menu("@91002419")
elseif jobid == 320 then --스펙터란
dlg_text_without_quest_menu("@91002420")
elseif jobid == 321 then --섀도우스토커란
dlg_text_without_quest_menu("@91002421")
elseif jobid == 322 then --둠세이어란
dlg_text_without_quest_menu("@91002422")
elseif jobid == 323 then --소울리버란
dlg_text_without_quest_menu("@91002423")
elseif jobid == 324 then --길가메쉬란
dlg_text_without_quest_menu("@91002424")
end
function Run_JobChange_common( job_name , job_id )
local current_job, current_jlv, job_depth
-- 임시 변수 선언과 동시에 NPC ID 가져오기
local npc_id = get_npc_id()
-- 시작
-- NPC 대화 최종 단계에서 마스터 클래스 전직 조건 한번 더 하기
-- 마스터 사탄소녀
if npc_id == 11555 then
--================================================== ==============================
-- 전직 불가능한 경우 골라내기
--================================================== ==============================
-- 마스터 클래스 전직 가능 여부
if get_value( "job_depth" ) == 2 then
-- 전직 불가능한 조건이면 튕김
-- 전직 조건 변경 : 145 -> 148 2011년 4월 18일 우상욱
if get_value( "level" ) < 147 or get_value( "job_level" ) < 49 then
-- 마스터 사탄소녀
dlg_title( "@91002405" )
if is_able_to_jobchange() == true then
dlg_text( "@91002407" )
dlg_menu( "Return to Hector", "goto_hector()" )
else
--지금은 마스터클래스로의 전직이 불가능한 상태입니다.
dlg_text( "@91002406" )
dlg_menu( "Return to Hector", "goto_hector()" )
end
dlg_menu( "@90010002", "" )
dlg_show()
return
-- 전직 가능할 때 테섭이 아니면 튕김.
else
if is_able_to_jobchange() == false then
dlg_title( "@91002405" )
dlg_text( "@91002406" )
dlg_menu( "@90010002", "" )
dlg_show()
return
end
end
-- 이미 3차직업인 상태. 더이상 전직은 불가능함
elseif get_value("job_depth") == 3 then
dlg_title( "@91002405" )
-- 더 이상 전직이 불가능하다는 멘트
dlg_text( "@91002408" )
--TP 포인트란?
dlg_menu( "@91002550", "tp_point_2()")
dlg_menu( "Return to Hector", 'goto_hector()' )
dlg_menu( "@90010002", "" )
dlg_show()
return
-- 1차 직업이 여기서 뭐하니? 누구랑 왔니? 전직 하고 와라 -_-
else
dlg_title( "@91002405" )
if get_value("job") == 200 then
job_name = "@1356"
elseif get_value("job") == 201 then
job_name = "@1357"
elseif get_value("job") == 202 then
job_name = "@1358"
elseif get_value("job") == 203 then
job_name = "@1359"
elseif get_value("job") == 100 then
job_name = "@1342"
elseif get_value("job") == 101 then
job_name = "@1343"
elseif get_value("job") == 102 then
job_name = "@1344"
elseif get_value("job") == 103 then
job_name = "@1345"
elseif get_value("job") == 300 then
job_name = "@1372"
elseif get_value("job") == 301 then
job_name = "@1373"
elseif get_value("job") == 302 then
job_name = "@1374"
elseif get_value("job") == 303 then
job_name = "@1375"
end
end -- if 끝
-- NPC 대화 최종 단계에서 마스터 클래스 전직 조건 한번 더 하기
--종료
-- 에헤라디야~~ 전직이요~
-- 가이아 일 때 (4004)
if npc_id == 4004 then
dlg_title( "@90400401" )
-- 데바 일 때 (1004)
elseif npc_id == 1004 then
dlg_title( "@90100401" )
-- 아수라 일 때 (2004)
elseif npc_id == 2004 then
dlg_title( "@90200401" )
-- 론도 일 때 (6004)
elseif npc_id == 6004 then
dlg_title( "@90600401" )
-- 도시 유적 일 때 (7032)
elseif npc_id == 7032 then
dlg_title( "@90703201" )
-- 시크루트 일 때 (7004)
elseif npc_id == 7004 then
dlg_title( "@90700401" )
-- 마스터 사탄소녀
elseif npc_id == 11555 then
dlg_title( "@91002405" )
end -- if 끝
-- 가이아 일 때 (4004)
if npc_id == 4004 then
dlg_text_without_quest_menu(sconv("@90400406", "#@job_name@#",job_name))
--##끝 축하하네!!<BR>지금 이순간부터 자넨 #@job_name@#(/이)라는 직업을 가지게 되었어.<BR>보다 높은 곳을 향해 정진하도록 하게.'
-- 데바 일 때 (1004)
elseif npc_id == 1004 then
dlg_text_without_quest_menu(sconv("@90100406", "#@job_name@#",job_name))
--##끝 축하하네!!<BR>지금 이순간부터 자넨 #@job_name@#(/이)라는 직업을 가지게 되었어.<BR>보다 높은 곳을 향해 정진하도록 하게.'
-- 아수라 일 때 (2004)
elseif npc_id == 2004 then
dlg_text_without_quest_menu(sconv("@90200406", "#@job_name@#",job_name))
--##끝 축하하네!!<BR>지금 이순간부터 자넨 #@job_name@#(/이)라는 직업을 가지게 되었어.<BR>보다 높은 곳을 향해 정진하도록 하게.'
-- 론도 일 때 (6004)
elseif npc_id == 6004 then
dlg_text_without_quest_menu(sconv("@90600406", "#@job_name@#",job_name))
--##끝 축하하네!!<BR>지금 이순간부터 자넨 #@job_name@#(/이)라는 직업을 가지게 되었어.<BR>보다 높은 곳을 향해 정진하도록 하게.'
-- 도시 유적 일 때 (7032)
elseif npc_id == 7032 then
dlg_text_without_quest_menu(sconv("@90703206", "#@job_name@#",job_name))
--##끝 축하하네!!<BR>지금 이순간부터 자넨 #@job_name@#(/이)라는 직업을 가지게 되었어.<BR>보다 높은 곳을 향해 정진하도록 하게.'
-- 시크루트 일 때 (7004)
elseif npc_id == 7004 then
dlg_text_without_quest_menu(sconv("@90700406", "#@job_name@#",job_name))
--##끝 축하하네!!<BR>지금 이순간부터 자넨 #@job_name@#(/이)라는 직업을 가지게 되었어.<BR>보다 높은 곳을 향해 정진하도록 하게.'
-- 마스터 사탄소녀
elseif npc_id == 11555 then
dlg_text_without_quest_menu(sconv("@91002425", "#@job_name@#",job_name))
local master_up = sconv("@246", "#@user_name@#", get_value("name"),"#@job_name@#",job_name)
announce( master_up )
--##끝 축하하네!!<BR>지금 이순간부터 자넨 #@job_name@#(/이)라는 직업을 가지게 되었어.<BR>보다 높은 곳을 향해 정진하도록 하게.'
end -- if 끝
dlg_menu( "@90010002", '' )
dlg_show()
-- 전직 전 직업과 잡레벨을 저장한다.
current_job = get_value( "job" )
current_jlv = get_value( "job_level" )
job_depth = get_value( "job_depth" )
if job_depth == 0 then
set_value( "job_0", current_job )
set_value( "jlv_0", current_jlv )
--0차에서 1차 전직할때 "신성한 불꽃의 힘" 아이템을 1개 지급해준다. 해당 아이템은 잡화상점에서도 판매한다.
--insert_item( 2013081, 1 ) --아이템 능력치가 너무 좋아서 미적용으로 수정
--cprint( "@90606144" )
elseif job_depth == 1 then
set_value( "job_1", current_job )
set_value( "jlv_1", current_jlv )
elseif job_depth == 2 then
set_value( "job_2", current_job )
set_value( "jlv_2", current_jlv )
--마스터클래스 전직 전 직업과 잡레벨 저장
elseif job_depth == 3 then
set_value( "job_3", current_job )
set_value( "jlv_3", current_jlv )
end
local race = get_value( "race" )
local job_name1, job1, job_name2, job2, job_name3, job3, number_job, current_job
-- 현재 직업 ID를 받아 놓는다.
current_job = get_value( "job" )
--================================================== ==============================
-- 1차 직업일때 레벨업110, 잡레벨50, 5랭크 지원 아이템을 받을 수 있다.
--================================================== ==============================
if get_value( "job_depth" ) == 1 then
------------------------------------------------------------------------------------------------------------------------
------------------------- 수련자의 섬 잡 서포터는 튜토리얼에 있습니다. 이건 사용하지 않습니다. -------------------------
------------------------------------------------------------------------------------------------------------------------
--================================================== ===
-- 초보자섬 섬 용
--================================================== ===
function NPC_JobChange_Beginner_contact()
--================================================== ==============================
-- 전직 불가능한 경우 골라내기
--================================================== ==============================
-- 기본직업일 때 Lv이나 JLv이 10 미만이면 전직불가.
if get_value( "job_depth" ) == 0 then
if get_value( "level" ) < 10 or get_value( "job_level" ) < 10 then
dlg_title( "@90300401" )
dlg_text( "@90300403" )
dlg_menu( "@90010002", "" )
dlg_show()
return
end
-- 1차 직업일 때 Lv50 미만 JLv이 40 미만이면 전직불가. (해제) 2차 직업 전직 모두 막기.
elseif get_value( "job_depth" ) == 1 then
if get_value( "level" ) < 50 or get_value( "job_level" ) < 40 then
dlg_title( "@90300401" )
-- dlg_text( "@90300409" )
dlg_text( "@90300402" ) --> 임시 : 2차전직 불가능하다는 안내메세지
-- 여기까지 오면 2차직업인 상태. 3차로의 전직은 불가능함.
else
dlg_title( "@90300401" )
dlg_text( "@90300402" ) --> 지금은 3차전직 안된다는 대사
dlg_menu( "@90010002", "" )
dlg_show()
return
end
-- 여기까지 왔으면 전직 가능
local race = get_value( "race" )
local job_name1, job1, job_name2, job2, job_name3, job3, number_job, current_job
dlg_title( "@90300401" )
-- 전직 가능한 직업의 개수를 초기화. 기본이 3이니 그냥 3으로...
number_job = 3
-- 현재 직업 ID를 받아 놓는다.
current_job = get_value( "job" )
--================================================== ==============================
-- 1차 전직일 경우. (테이블에서 못읽어오므로 전직정보는 여기서 고치자)
--================================================== ==============================
if get_value( "job_depth" ) == 0 then
dlg_text( "@90300404" )
-- 전직 가능한 직업의 개수를 설정. 1차 전직이므로 모두 3 이다.
number_job = 3
--================================================== ==========================
-- 얘가 데바면 디바인솔져 201 또는 클레릭 203, 브리더 204가 될 수 있다.
if race == 4 then
job_name1 = "@10201"
job1 = 201
job_name2 = "@10202"
job2 = 202
job_name3 = "@10203"
job3 = 203
--================================================== ==========================
-- 아수라면 스트라이더301나 다크매지션303, 소서러304가 될 수 있다.
elseif race == 5 then
job_name1 = "@10301"
job1 = 301
job_name2 = "@10302"
job2 = 302
job_name3 = "@10303"
job3 = 303
--================================================== ==========================
-- 데바도 아수라도 아니면 가이아겠지. 투사 101, 주술사 103, 마수사 104 가 될 수 있다.
else
job_name1 = "@10101"
job1 = 101
job_name2 = "@10102"
job2 = 102
job_name3 = "@10103"
job3 = 103
end
function Run_JobChange_Beginner( job_name , job_id )
local current_job, current_jlv
-- 에헤라디야~~ 전직이요~
dlg_title( "@90300401" )
--##시작
dlg_text_without_quest_menu(sconv("@90300406", "#@job_name@#", job_name))
--##끝 축하하네!!<BR>지금 이순간부터 자넨 #@job_name@#(/이)라는 직업을 가지게 되었어.<BR>보다 높은 곳을 향해 정진하도록 하게.'
dlg_menu( "@90010002", '' )
dlg_show()
-- 전직 전 직업과 잡레벨을 저장한다.
current_job = get_value( "job" )
current_jlv = get_value( "job_level" )
if get_value( "job_depth" ) == 0 then
set_value( "job_0", current_job )
set_value( "jlv_0", current_jlv )
elseif get_value( "job_depth" ) == 1 then
set_value( "job_1", current_job )
set_value( "jlv_1", current_jlv )
elseif get_value( "job_depth" ) == 2 then
set_value( "job_2", current_job )
set_value( "jlv_2", current_jlv )
end
------------------------------------------------------------------------------------------------------------------------
------------------------- 수련자의 섬 잡 서포터는 튜토리얼에 있습니다. 이건 사용하지 않습니다. -------------------------
------------------------------------------------------------------------------------------------------------------------
local reset_gold = { 10000, 2500000, 5000000, 10000000, 25000000, 50000000, 100000000, 500000000, 1000000000, 2000000000 }
local reset_count = NPC_JobChange_get_resetcount()
local cost_gold = reset_gold[ reset_count + 1 ]
local gold = get_value( 'gold' )
local npc_id = get_npc_id()
-- 가이아 일 때 (4004)
if npc_id == 4004 then
dlg_title( "@90400401" )
-- 데바 일 때 (1004)
elseif npc_id == 1004 then
dlg_title( "@90100401" )
-- 아수라 일 때 (2004)
elseif npc_id == 2004 then
dlg_title( "@90200401" )
-- 론도 일 때 (6004)
elseif npc_id == 6004 then
dlg_title( "@90600401" )
-- 도시유적 일 때 (7032)
elseif npc_id == 7032 then
dlg_title( "@90703201" )
-- 시크루트 일 때 (7004)
elseif npc_id == 7004 then
dlg_title( "@90700401" )
if reset_count < 9 then
set_flag( 'reset_count', reset_count + 1 )
dlg_text( "@90604805" )
dlg_menu( "@90010002", "" )
dlg_show()
return
else
set_flag( 'reset_count', 9 )
dlg_text( "@90604805" )
dlg_menu( "@90010002", "" )
dlg_show()
return
end
else
dlg_text( "@90604806" )
dlg_menu( "@90010002", "" )
dlg_show()
return
end
end
--JP로 초기화 하기
function jp_skill_reset_check( npc_id )
local reset_jp = { 2000, 500000, 1000000, 2000000, 5000000, 10000000, 20000000, 100000000, 200000000, 400000000 }
local reset_count = NPC_JobChange_get_resetcount()
local cost_jp = reset_jp[ reset_count + 1 ]
local jp = get_value( 'jp' )
local npc_id = get_npc_id()
-- 가이아 일 때 (4004)
if npc_id == 4004 then
dlg_title( "@90400401" )
-- 데바 일 때 (1004)
elseif npc_id == 1004 then
dlg_title( "@90100401" )
-- 아수라 일 때 (2004)
elseif npc_id == 2004 then
dlg_title( "@90200401" )
-- 론도 일 때 (6004)
elseif npc_id == 6004 then
dlg_title( "@90600401" )
-- 도시유적 일 때 (7032)
elseif npc_id == 7032 then
dlg_title( "@90703201" )
-- 시크루트 일 때 (7004)
elseif npc_id == 7004 then
dlg_title( "@90700401" )
end -- if 끝
if jp >= cost_jp then
set_value( 'jp', jp - cost_jp )
reset_skill( 3 )
if reset_count < 9 then
set_flag( 'reset_count', reset_count + 1 )
dlg_text( "@90604805" )
dlg_menu( "@90010002", "" )
dlg_show()
return
else
set_flag( 'reset_count', 9 )
dlg_text( "@90604805" )
dlg_menu( "@90010002", "" )
dlg_show()
return
end
else
dlg_text( "@90604806" )
dlg_menu( "@90010002", "" )
dlg_show()
return
end
end
--마스터 클래스 스킬 초기화 카운터 증가 없이 실행
function item_skill_reset()
reset_skill( 3 )
cprint("@90604808")
return
end
--마스터 클래스 초기화 카운터 초기화 하기
function Skill_reset_count_init()
local reset_count = NPC_JobChange_get_resetcount()
set_flag( 'reset_count', 0 )
cprint("@90604807")
return
end
--성별 변환 하기
function Change_Character_Gender()
local transgender = get_value("sex")
if transgender == 1 then
set_value("sex", 2) -- 성별 바꿔주고
After downloading LamiaCores wonderful work I cannot seem to be able to get the monsters to appear in game.
I have made all new id's for the monsters and have inserted the info into my monster resource SQL database.
I have hashed acsii the cob, nx3 and two other files supplied with each monster and placed these hashed files into my client resource folder.
The monsters are in game, I just cannot see or select them.
All files in my client are acsii so I don't think the hashing is the problem.
After downloading LamiaCores wonderful work I cannot seem to be able to get the monsters to appear in game.
I have made all new id's for the monsters and have inserted the info into my monster resource SQL database.
I have hashed acsii the cob, nx3 and two other files supplied with each monster and placed these hashed files into my client resource folder.
The monsters are in game, I just cannot see or select them.
All files in my client are acsii so I don't think the hashing is the problem.
[Helping Topic] 24/7 Helping Services! 08/27/2008 - EO PServer Hosting - 31 Replies stucked on anything while setuping your server?
post your problem here and you will get answer as fast as possible better than spamming with posts :cool:
first of all try reading Ahmedpotop's Pserver All thing guide.
if your couldn't solve it out post your problem down here
""That includes PHP rankings pages / registrations pages / Status pages""