Merhaba, Quest NPC eklendi ve görev de başarılı bir şekilde eklendi. GS'de ID'si ile birlikte görev initialized görünüyor. Oyuna girip görevi alırken accept der demez client crash oluyor, lua içerisinde bir hata olsa bu aşamaya gelmeden patlardı diye düşünüyorum ama alternatif sorun yaratabilecek bir şey de görünmüyor. DB'de her şey yolunda gibi... Lua'yı atıyorum acaba client, questi alır almaz neden crash olur?
-- dump da atacaktım ama site izin vermiyor sanırım...
function QNO_SD_ROADSRO_FREEMOBKILL()
QUESTID = LuaGetQuestID("QNO_SD_ROADSRO_FREEMOBKILL")
LuaSetStartCodition(2, QSC_QUEST, QSC_LEVEL, 120, 120)
QM_CONVERSATION = 1
LuaSetStartMethod(QM_CONVERSATION, 1, "NPC_ROAD_QUEST")
LuaInsertMissionOrCompleteNpc("NPC_ROAD_QUEST")
LuaQuestInsertNpc(1, "NPC_ROAD_QUEST")
LuaSetAchievementLimit(1)
LuaSetMissionDataSize(QUESTID, 1)
LuaSetMissionData_EX(QUESTID, 0, MISSION_TYPE_KILL_MONSTER, "SN_CON_QNO_SD_ROADSRO_FREEMOBKILL", 2, "MOB_JUPITER_HELL_BLOODWATCH_CLONE", "MOB_JUPITER_HELL_BLOODWATCH", 0, 15000, 0, 1)
InsertQuestMenuStringList("NPC_ROAD_QUEST", 8,
"BASIC_MENUSTRING_GREETING", "SN_NPC_ROAD_QUEST_QS",
"BASIC_MENUSTRING_REQUEST_ACCEPT_QUEST", "SN_TALK_QNO_SD_ROADSRO_FREEMOBKILL_01",
"BASIC_MENUSTRING_AT_ACCEPT", "SN_TALK_QNO_SD_ROADSRO_FREEMOBKILL_02",
"BASIC_MENUSTRING_AT_DENY", "SN_TALK_QNO_SD_ROADSRO_FREEMOBKILL_03",
"BASIC_MENUSTRING_NOT_ACHIEVED", "SN_TALK_QNO_SD_ROADSRO_FREEMOBKILL_04",
"BASIC_MENUSTRING_INVENTORY_FULL", "SN_TALK_QNO_SD_ROADSRO_FREEMOBKILL_05",
"BASIC_MENUSTRING_ACHIEVED", "SN_TALK_QNO_SD_ROADSRO_FREEMOBKILL_06",
"BASIC_MENUSTRING_ACHIEVED_NOW", "SN_TALK_QNO_SD_ROADSRO_FREEMOBKILL_07")
LuaSetMissionCompleteNum(0)
PAY_ITEM_METHOD_EXACT = 1
LuaSetAchievedItem(1, 500000, 0, 0, 1, "ITEM_MALL_GLOBAL_CHATTING", 10)
LuaSetAchievedSkillPont(0)
end
-- dump da atacaktım ama site izin vermiyor sanırım...
function QNO_SD_ROADSRO_FREEMOBKILL()
QUESTID = LuaGetQuestID("QNO_SD_ROADSRO_FREEMOBKILL")
LuaSetStartCodition(2, QSC_QUEST, QSC_LEVEL, 120, 120)
QM_CONVERSATION = 1
LuaSetStartMethod(QM_CONVERSATION, 1, "NPC_ROAD_QUEST")
LuaInsertMissionOrCompleteNpc("NPC_ROAD_QUEST")
LuaQuestInsertNpc(1, "NPC_ROAD_QUEST")
LuaSetAchievementLimit(1)
LuaSetMissionDataSize(QUESTID, 1)
LuaSetMissionData_EX(QUESTID, 0, MISSION_TYPE_KILL_MONSTER, "SN_CON_QNO_SD_ROADSRO_FREEMOBKILL", 2, "MOB_JUPITER_HELL_BLOODWATCH_CLONE", "MOB_JUPITER_HELL_BLOODWATCH", 0, 15000, 0, 1)
InsertQuestMenuStringList("NPC_ROAD_QUEST", 8,
"BASIC_MENUSTRING_GREETING", "SN_NPC_ROAD_QUEST_QS",
"BASIC_MENUSTRING_REQUEST_ACCEPT_QUEST", "SN_TALK_QNO_SD_ROADSRO_FREEMOBKILL_01",
"BASIC_MENUSTRING_AT_ACCEPT", "SN_TALK_QNO_SD_ROADSRO_FREEMOBKILL_02",
"BASIC_MENUSTRING_AT_DENY", "SN_TALK_QNO_SD_ROADSRO_FREEMOBKILL_03",
"BASIC_MENUSTRING_NOT_ACHIEVED", "SN_TALK_QNO_SD_ROADSRO_FREEMOBKILL_04",
"BASIC_MENUSTRING_INVENTORY_FULL", "SN_TALK_QNO_SD_ROADSRO_FREEMOBKILL_05",
"BASIC_MENUSTRING_ACHIEVED", "SN_TALK_QNO_SD_ROADSRO_FREEMOBKILL_06",
"BASIC_MENUSTRING_ACHIEVED_NOW", "SN_TALK_QNO_SD_ROADSRO_FREEMOBKILL_07")
LuaSetMissionCompleteNum(0)
PAY_ITEM_METHOD_EXACT = 1
LuaSetAchievedItem(1, 500000, 0, 0, 1, "ITEM_MALL_GLOBAL_CHATTING", 10)
LuaSetAchievedSkillPont(0)
end