Genel Araştırma
'rescuing' etiketi için arama sonuçları.
Araştırmada 1 sonuç bulundu
-
Worm kesince Rescuing sid save alınmıyor. Hataları bakdım log falan birşey gelmiyor. bool CUser::QuestV2RunEvent(_QUEST_HELPER * pQuestHelper, uint32 nEventID, int8 bSelectedReward) { // Lookup the corresponding NPC. if (pQuestHelper->strLuaFilename == "01_main.lua") { m_sEventNid = 10000; } CNpc * pNpc = g_pMain->GetNpcPtr(m_sEventNid, GetZoneID()); bool result = false; m_nQuestHelperID = pQuestHelper->nIndex; result = g_pMain->GetLuaEngine()->ExecuteScript(this, pNpc, nEventID, bSelectedReward, pQuestHelper->strLuaFilename.c_str()); return result; } 01_main.lua local NATION = 0; local NPC = 0; if (EVENT == 500) then NATION = CheckNation(UID); if (NATION == 1) then SelectMsg(UID, 6, 500, 5000, NPC, 5000, 501); else SelectMsg(UID, 6, 500, 5001, NPC, 5000, 501); end end if (EVENT == 501) then NATION = CheckNation(UID); if (NATION == 1) then UpdateEvent(UID, 5001); else UpdateEvent(UID, 5004); end end if (EVENT == 502) then NATION = CheckNation(UID); if (NATION == 1) then SelectMsg(UID, 6, 500, 5002, NPC, 5001, 503); else SelectMsg(UID, 6, 500, 5003, NPC, 5004, 503); end end if (EVENT == 503) then NATION = CheckNation(UID); if (NATION == 1) then UpdateEvent(UID, 5002); else UpdateEvent(UID, 5005); end NATION = CheckNation(UID); if (NATION == 1) then SelectMsg(UID, 1, 500, 5004, NPC, 5002, 504); else SelectMsg(UID, 1, 500, 5005, NPC, 5005, 504); end end if (EVENT == 504) then NATION = CheckNation(UID); if (NATION == 1) then SelectMsg(UID, 1, 500, 5006, NPC, 5003, 505); else SelectMsg(UID, 1, 500, 5007, NPC, 5003, 505); end end if (EVENT == 505) then NATION = CheckNation(UID); if (NATION == 1) then SelectMsg(UID, 1, 500, 5008, NPC, 5004, 506); else SelectMsg(UID, 1, 500, 5009, NPC, 5004, 506); end end if (EVENT == 506) then NATION = CheckNation(UID); if (NATION == 1) then SelectMsg(UID, 1, 500, 5010, NPC, 5005, 507); else SelectMsg(UID, 1, 500, 5011, NPC, 5005, 507); end end if (EVENT == 507) then NATION = CheckNation(UID); if (NATION == 1) then SelectMsg(UID, 1, 500, 5012, NPC, 5006, 508); else SelectMsg(UID, 1, 500, 5013, NPC, 5006, 508); end end if (EVENT == 508) then NATION = CheckNation(UID); if (NATION == 1) then SelectMsg(UID, 6, 500, 5014, NPC, 6002, 509); else SelectMsg(UID, 6, 500, 5015, NPC, 6002, 509); end end if (EVENT == 509) then Ret = 1; end UPDATE_USER_DATA Bakdım eksigi yoktur..