Görev ekledim fakat NPC'den görev aldığımda Dc veriyor ve chara bir daha giriş olmuyor.
Lua bilgileri
function QNO_ADVANCED_ADV4()
QUESTID = LuaGetQuestID("QNO_ADVANCED_ADV4")
LuaSetStartCodition(2, QSC_QUEST, QSC_LEVEL, 120, 1)
LuaSetDifferentString(1)
QM_CONVERSATION = 1
LuaSetStartMethod(QM_CONVERSATION, 1, "NPC_TQ_TREASUREBOX1")
LuaInsertMissionOrCompleteNpc("NPC_TQ_TREASUREBOX1")
LuaQuestInsertNpc(1, "NPC_TQ_TREASUREBOX1")
LuaSetAchievementLimit(0)
LuaSetMissionDataSize(QUESTID, 1)
LuaSetCollectionItemMissionData(QUESTID, 0, MISSION_TYPE_GATHER_ITEM_FROM_MONSTER, "SN_CON_QNO_ADVANCED_ADV4", 1, "NPC_TQ_TREASUREBOX1", 1, 25, "ITEM_ETC_TREASUREBOX_KEY_CHALLENGE", "MOB_AR_CURSECOLD",100 )
InsertQuestMenuStringList("NPC_TQ_TREASUREBOX1", 8, "BASIC_MENUSTRING_GREETING", "SN_NPC_TQ_TREASUREBOX1_QS", "BASIC_MENUSTRING_REQUEST_ACCEPT_QUEST", "SN_TALK_QNO_ADVANCED_ADV4_01", "BASIC_MENUSTRING_AT_ACCEPT", "SN_TALK_QNO_ADVANCED_ADV4_02", "BASIC_MENUSTRING_AT_DENY", "SN_TALK_QNO_ADVANCED_ADV4_03", "BASIC_MENUSTRING_NOT_ACHIEVED", "SN_TALK_QNO_ADVANCED_ADV4_04", "BASIC_MENUSTRING_ACCEPT_AFTER_ONE_CLEAR", "SN_TALK_QNO_ADVANCED_ADV4_05", "BASIC_MENUSTRING_ACHIEVED", "SN_TALK_QNO_ADVANCED_ADV4_06", "BASIC_MENUSTRING_ACHIEVED_NOW", "SN_TALK_QNO_ADVANCED_ADV4_07")
LuaSetMissionCompleteNum(0)
PAY_ITEM_METHOD_EXACT = 1
LuaSetAchievedItem(0, 0, 0, 0, 1, "ITEM_ETC_ARCHEMY_UPPER_REINFORCE_RECIPE_WE_RARE_B_12" , 1,1, "ITEM_ETC_ARCHEMY_UPPER_REINFORCE_RECIPE_SH_RARE_B_12",1)
LuaSetAchievedSkillPont(0)
end
database
REFQUEST
REFQUESTREWARD
REFGQUESTREWARDITEMS
Media
QUESTCONTENDSDATA
QNO_ADVANCED_ADV4 xxx 1 xxx 1 SN_CON_QNO_ADVANCED_ADV4_01 xxx xxx xxx xxx xxx xxx xxx 0 xxx xxx 0
TEXTQUEST_OTHERSTRING
1 SN_PAYCON_QNO_ADVANCED_ADV4 <sml2><strong><font color="255,226,74,0">♦ Mission</font></strong><br>Collecting Key's<br><br><strong><font color="255,226,74,0">♦ Reward</font></strong><br>Weapon Adv4 Coin<br>Pro Adv4<br>Shield Adv4 (Class D)(Lvl. 10)<br><strong><font color="255,226,74,0">♦ Form</font></strong><br>Available unlimited times<br><br><strong><font color="255,226,74,0">♦ NPC</font></strong><br>[ Silkroad] Quest Manager<br><br><strong><font color="255,226,74,0">♦ Monster</font></SkyTemple><br>CURSE<br><br><font color="255,44,15,1"><strong>♦ Scenario</strong><br>Hmm .. Most players get Advanced Elixir Class D in this way..<br>Can you collect the Key's for me? ?<br>If you can collect this for me, I will give you Advantec Elixir Class D..</font></sml2>
1 SN_NN_QNO_ADVANCED_ADV4 [ Silkroad] Quest Manager
1 SN_NC_QNO_ADVANCED_ADV4 Unlimited repeats.
textquest_queststring
1 SN_TALK_QNO_ADVANCED_ADV4_01 Collect the keys and come to me.
1 SN_TALK_QNO_ADVANCED_ADV4_02 Hmm .. You must be very confident. I hope you are someone as I expected.
1 SN_TALK_QNO_ADVANCED_ADV4_03 Ahhahaha ... aren't you patient? Then get it from the npc system with the coin
1 SN_TALK_QNO_ADVANCED_ADV4_04 Apparently, you have no money, and that time your time never keep me busy
1 SN_TALK_QNO_ADVANCED_ADV4_05 I want to reward you, but the inventory is full. First destroy some unnecessary items.
1 SN_TALK_QNO_ADVANCED_ADV4_06 Wow ! You are fascinated me. You deserve to receive Advanced Elixir Class D for the time you spend and for your labour. Congratulations!
1 SN_TALK_QNO_ADVANCED_ADV4_07 You have completed the task. Come on, get a new one. Why are you waiting for
textquest_speech&name
1 SN_QNO_ADVANCED_ADV4 Collect Key's
1 SN_PAY_QNO_ADVANCED_ADV4 Collect Key's
1 SN_CON_QNO_ADVANCED_ADV4 Collect Key's (%d)
worldmapguidedata
1 xxx QNO_ADVANCED_ADV4 0 field 0 0 0 0 0 0 MOB_AR_CURSECOLD
Lua bilgileri
function QNO_ADVANCED_ADV4()
QUESTID = LuaGetQuestID("QNO_ADVANCED_ADV4")
LuaSetStartCodition(2, QSC_QUEST, QSC_LEVEL, 120, 1)
LuaSetDifferentString(1)
QM_CONVERSATION = 1
LuaSetStartMethod(QM_CONVERSATION, 1, "NPC_TQ_TREASUREBOX1")
LuaInsertMissionOrCompleteNpc("NPC_TQ_TREASUREBOX1")
LuaQuestInsertNpc(1, "NPC_TQ_TREASUREBOX1")
LuaSetAchievementLimit(0)
LuaSetMissionDataSize(QUESTID, 1)
LuaSetCollectionItemMissionData(QUESTID, 0, MISSION_TYPE_GATHER_ITEM_FROM_MONSTER, "SN_CON_QNO_ADVANCED_ADV4", 1, "NPC_TQ_TREASUREBOX1", 1, 25, "ITEM_ETC_TREASUREBOX_KEY_CHALLENGE", "MOB_AR_CURSECOLD",100 )
InsertQuestMenuStringList("NPC_TQ_TREASUREBOX1", 8, "BASIC_MENUSTRING_GREETING", "SN_NPC_TQ_TREASUREBOX1_QS", "BASIC_MENUSTRING_REQUEST_ACCEPT_QUEST", "SN_TALK_QNO_ADVANCED_ADV4_01", "BASIC_MENUSTRING_AT_ACCEPT", "SN_TALK_QNO_ADVANCED_ADV4_02", "BASIC_MENUSTRING_AT_DENY", "SN_TALK_QNO_ADVANCED_ADV4_03", "BASIC_MENUSTRING_NOT_ACHIEVED", "SN_TALK_QNO_ADVANCED_ADV4_04", "BASIC_MENUSTRING_ACCEPT_AFTER_ONE_CLEAR", "SN_TALK_QNO_ADVANCED_ADV4_05", "BASIC_MENUSTRING_ACHIEVED", "SN_TALK_QNO_ADVANCED_ADV4_06", "BASIC_MENUSTRING_ACHIEVED_NOW", "SN_TALK_QNO_ADVANCED_ADV4_07")
LuaSetMissionCompleteNum(0)
PAY_ITEM_METHOD_EXACT = 1
LuaSetAchievedItem(0, 0, 0, 0, 1, "ITEM_ETC_ARCHEMY_UPPER_REINFORCE_RECIPE_WE_RARE_B_12" , 1,1, "ITEM_ETC_ARCHEMY_UPPER_REINFORCE_RECIPE_SH_RARE_B_12",1)
LuaSetAchievedSkillPont(0)
end
database
REFQUEST
1 | 1250 | QNO_ADVANCED_ADV4 | 115 | xxx | SN_QNO_ADVANCED_ADV4 | SN_PAY_QNO_ADVANCED_ADV4 | xxx | SN_PAYCON_QNO_ADVANCED_ADV4 | SN_NN_QNO_ADVANCED_ADV4 | SN_NC_QNO_ADVANCED_ADV4 |
1 | 1250 | QNO_ADVANCED_ADV4 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | xxx | 0 | 0 | 0 | 0 | 0 | xxx | 0 | xxx | 0 | xxx |
1 | 1250 | QNO_ADVANCED_ADV4 | 0 | ITEM_ETC_ARCHEMY_UPPER_REINFORCE_RECIPE_WE_RARE_B_12 | xxx | 0 | 1 | xxx | 0 | xxx | 0 | xxx |
1 | 1250 | QNO_ADVANCED_ADV4 | 0 | ITEM_ETC_ARCHEMY_UPPER_REINFORCE_RECIPE_SH_RARE_B_12 | xxx | 0 | 1 | xxx | 0 | xxx | 0 | xxx |
QUESTCONTENDSDATA
QNO_ADVANCED_ADV4 xxx 1 xxx 1 SN_CON_QNO_ADVANCED_ADV4_01 xxx xxx xxx xxx xxx xxx xxx 0 xxx xxx 0
TEXTQUEST_OTHERSTRING
1 SN_PAYCON_QNO_ADVANCED_ADV4 <sml2><strong><font color="255,226,74,0">♦ Mission</font></strong><br>Collecting Key's<br><br><strong><font color="255,226,74,0">♦ Reward</font></strong><br>Weapon Adv4 Coin<br>Pro Adv4<br>Shield Adv4 (Class D)(Lvl. 10)<br><strong><font color="255,226,74,0">♦ Form</font></strong><br>Available unlimited times<br><br><strong><font color="255,226,74,0">♦ NPC</font></strong><br>[ Silkroad] Quest Manager<br><br><strong><font color="255,226,74,0">♦ Monster</font></SkyTemple><br>CURSE<br><br><font color="255,44,15,1"><strong>♦ Scenario</strong><br>Hmm .. Most players get Advanced Elixir Class D in this way..<br>Can you collect the Key's for me? ?<br>If you can collect this for me, I will give you Advantec Elixir Class D..</font></sml2>
1 SN_NN_QNO_ADVANCED_ADV4 [ Silkroad] Quest Manager
1 SN_NC_QNO_ADVANCED_ADV4 Unlimited repeats.
textquest_queststring
1 SN_TALK_QNO_ADVANCED_ADV4_01 Collect the keys and come to me.
1 SN_TALK_QNO_ADVANCED_ADV4_02 Hmm .. You must be very confident. I hope you are someone as I expected.
1 SN_TALK_QNO_ADVANCED_ADV4_03 Ahhahaha ... aren't you patient? Then get it from the npc system with the coin
1 SN_TALK_QNO_ADVANCED_ADV4_04 Apparently, you have no money, and that time your time never keep me busy
1 SN_TALK_QNO_ADVANCED_ADV4_05 I want to reward you, but the inventory is full. First destroy some unnecessary items.
1 SN_TALK_QNO_ADVANCED_ADV4_06 Wow ! You are fascinated me. You deserve to receive Advanced Elixir Class D for the time you spend and for your labour. Congratulations!
1 SN_TALK_QNO_ADVANCED_ADV4_07 You have completed the task. Come on, get a new one. Why are you waiting for
textquest_speech&name
1 SN_QNO_ADVANCED_ADV4 Collect Key's
1 SN_PAY_QNO_ADVANCED_ADV4 Collect Key's
1 SN_CON_QNO_ADVANCED_ADV4 Collect Key's (%d)
worldmapguidedata
1 xxx QNO_ADVANCED_ADV4 0 field 0 0 0 0 0 0 MOB_AR_CURSECOLD