- Katılım
- 3 Şub 2019
- Mesajlar
- 807
- Çözümler
- 1
- Tepkime puanı
- 2,644
- Puanları
- 113
- Yaş
- 31
- Konum
- İstanbul
- Web sitesi
- www.venus.joyhub.net
- Türk Lirası
- 0.00₺
Değerli Vsro.org üyeleri, sizler için bütün lua komutlarını listeledim ve örnek kullanımlarını (+ dan sonraki kısım) yazdım. Örnek kullanımı olmayan komutların karşısında ??? yazmaktadır.
LuaSetStartCodition() + LuaSetStartCodition(3, QSC_QUEST, QSC_LEVEL, QSC_SYSTEM, 105, 105)
LuaSetJobTypeStartCondition() + LuaSetJobTypeStartCondition(1, OBJ_JOBSTATE_TRADER, 1)
LuaSetStartMethod() + LuaSetStartMethod(QM_CONVERSATION, 1, "NPC_WC_WAREHOUSE_W")
LuaSetMissionDataSize() + LuaSetMissionDataSize(QUESTID, 1)
LuaSetMissionData() + LuaSetMissionData(QUESTID, 0, MISSION_TYPE_KILL_MONSTER, "SN_CON_QNO_CH_HORSE_1", 1, "MOB_CH_WHITETIGER", 0, MONSTER_CLASS_NORMAL, 30, 0)
LuaSetMissionCompleteNum() + LuaSetMissionCompleteNum(0)
LuaSetAchievedItem() + LuaSetAchievedItem(0, 176120, 0, 7000, 0, 0)
InsertQuestMenuStringList() + InsertQuestMenuStringList("NPC_AM_FERRY1", 8, "BASIC_MENUSTRING_GREETING", "SN_QNO_AM_FERRY1_QS", "BASIC_MENUSTRING_REQUEST_ACCEPT_QUEST", "SN_TALK_QNO_AM_FERRY1_1_01", "BASIC_MENUSTRING_AT_ACCEPT", "SN_TALK_QNO_AM_FERRY1_1_03", "BASIC_MENUSTRING_AT_DENY", "SN_TALK_QNO_AM_FERRY1_1_04", "BASIC_MENUSTRING_NOT_ACHIEVED", "SN_TALK_QNO_AM_FERRY1_1_05", "BASIC_MENUSTRING_ACCEPT_AFTER_ONE_CLEAR", "SN_TALK_QNO_AM_FERRY1_1_02", "BASIC_MENUSTRING_ACHIEVED", "SN_TALK_QNO_AM_FERRY1_1_06", "BASIC_MENUSTRING_ACHIEVED_NOW", "SN_TALK_QNO_AM_FERRY1_1_07")
LuaInsertQuest() ???
LuaQuestShowMenu() ???
LuaQuestShowMenuCommon() + LuaQuestShowMenuCommon(CurPage, QUESTID, "SN_TALK_QNO_KT_POTION_2_01", 4, 1, 0)
LuaInsertQuestNeedItem() ???
LuaGetQuestCurPage() + if LuaGetQuestCurPage() == 1 then
LuaGetMenuResponse() ???
LuaSaveQuestNow() + LuaSaveQuestNow(QUESTID)
LuaTerminateQuestMenu() + LuaTerminateQuestMenu()
LuaSendQuestEventMessage() + LuaSendQuestEventMessage("SN_TALK_COMMON_END")
LuaGetQuestStatus() + QuestStatus = LuaGetQuestStatus(QUESTID) , if QuestStatus == QUEST_STATUS_NODATA then
LuaInsertQuestFunctionStringList() + LuaInsertQuestFunctionStringList(6, "CONVERSATION_SINGLE", "QNO_CH_QUEST_CONVERSATION_SD_MA_034", "ABORTQUEST", "AbortQuest_SD_MA_034", "ENDQUEST", "EndQuest_SD_MA_034", "RESTARTQUEST", "RestartQuest_SD_MA_034", "STARTQUEST", "StartQuest_SD_MA_034", "UNIQUE_DEAD", "QNO_UNIQUE_DEAD_MA_034")
LuaInsertDependancyQuests() + LuaInsertDependancyQuests(1, "QNO_CA_GORIA_3")
LuaSetMissionDifferentQuestData() ???
LuaInQuireSameItem() + item_count = LuaInQuireSameItem(0, "ITEM_QNO_SD_MA_029_1", INQUIRE_SAMEITEM_OP_COUNT_FIRST_ITEM, -1) , slot = LuaInQuireSameItem(0, "ITEM_QNO_SD_MA_029_1", INQUIRE_SAMEITEM_OP_FIND_FIRST_SLOT, -1)
LuaSetPayStep() + LuaSetPayStep(QUESTID, 1)
LuaSaveLocalQuestNow() + LuaSaveLocalQuestNow(QUESTID)
LuaEnablePayQuestItem() + if LuaEnablePayQuestItem(QUESTID) == true then
LuaSetStep() ???
LuaPayQuest() ???
LuaDelItemEXT() + LuaDelItemEXT(0, slot, item_count, SYSOP_REASON_QUEST, FALSE)
LuaSendAchieveMessage() ???
LuaSetupCompleteProviso() ???
LuaSetOtherStartCondition() ???
LuaSetInstanceWorldConfig() ???
LuaCheckEntranceCondition() ???
LuaGetJobState() ???
LuaGoInstanceDungeonInQuest() ???
LuaGetWorldID() ???
LuaCheckQuestAchieveCondition() + if LuaCheckQuestAchieveCondition(QUESTID) == 0 then
LuaPrepareQuestData() + if LuaPrepareQuestData(QUESTID, 0) == 1 then
LuaSaveCurPosAsLastTelPosition() ???
LuabSetPayQuest() + Result = LuabSetPayQuest(QUESTID)
LuaGObjAppearedInSight() + LuaGObjAppearedInSight(QUESTID)
LuaGetInsDungeon() ???
LuaGetTeleportState() ???
LuaSetAbortQuest() ???
LuaSetUpdateQuestTimeLimit() ???
LuaLocalTimer() ???
LuaGetQuestID() + QUESTID = LuaGetQuestID("QNO_AM_FERRY1_1")
LuaEventRegister() ???
LuaGetNameQuestID() ???
LuaQuestStart() + LuaQuestStart(QUESTID)
LuaSetWorldConfig() ???
LuaFixEventRegister() ???
LuaQuestTimeSet() ???
LuaIndeonInitializeData() ???
LuaIndeonAllUserRelease() ???
LuaFindCharName() ???
LuaIndeonRelease() ???
LuaIndeonUpdateInitializeData() ???
LuaGetQuestStep() ???
LuaGetElapsedTime() ???
LuaGetNextSpawnObjTime() ???
LuaGetNextEventTime() ???
LuaSetQuestStep() ???
LuaMobSpawn() ???
LuaSetEventNextTime() ???
LuaSetOrgUpdateTimeLimit() ???
LuaSetNextSpawnObjTime() ???
LuaForceComplete() ???
LuaCloseInstanceDungeonInQuest() ???
LuaQuestChk() ???
LuaGetLastTime() ???
LuaGetTickCount() ???
LuaSetLastTime() ???
LuaSetElapsedTime() ???
LuaSetAchievementLimit() + LuaSetAchievementLimit(1)
LuaQuestInsertNpc() + LuaQuestInsertNpc(1, "NPC_AM_FERRY1")
LuaSetCollectionItemMissionData() + LuaSetCollectionItemMissionData(QUESTID, 0, MISSION_TYPE_GATHER_ITEM_FROM_MONSTER, "SN_CON_QNO_CA_GORIA_4", 1, "NPC_CA_HUNTER", 1, 20, "ITEM_QNO_CA_GORIA_4_01", "MOB_CA_GOLEM", 20)
LuaSetDialLogMissionData() + LuaSetDialLogMissionData(QUESTID, 0, MISSION_TYPE_DIALOG, "SN_CON_QNO_CA_TREASURE_1", 1, "SN_TALK_QNO_CA_TREASURE_1_05")
LuaSetDeliverMissionData() + LuaSetDeliverMissionData(QUESTID, 0, MISSION_TYPE_DELIVER_ITEM, "SN_CON_QNO_AM_FERRY1_2", "NPC_EU_GENERAL", 1, 1, "ITEM_QNO_AM_FERRY1_2_01", 1, "SN_TALK_QNO_AM_FERRY1_2_05")
LuaSetDeliverMissionData_EX() + LuaSetDeliverMissionData_EX(QUESTID, 0, MISSION_TYPE_DELIVER_ITEM, "SN_CON_QNO_CH_SMITH_1", "NPC_CH_SOLDIER_SO1", 0, 4, "SN_TALK_QNO_CH_SMITH_1_06", "SN_TALK_QNO_CH_SMITH_1_07", "SN_TALK_QNO_CH_SMITH_1_05", "", 1, 1, "ITEM_QNO_CH_SMITH_1", 0, "", 1, 0, 1, 0, 0, 0)
LuaInsertMissionNPC() + LuaInsertMissionNPC("NPC_CH_SOLDIER_SO1")
LuaSetLimitTimeStartCondition() + LuaSetLimitTimeStartCondition(120)
LuaGetQuestAchievementCount() ???
LuaSetDifferentString() + LuaSetDifferentString(1)
LuaSetCollectionItemMissionData_EX() + LuaSetCollectionItemMissionData_EX(QUESTID, 0, MISSION_TYPE_GATHER_ITEM_FROM_MONSTER, "SN_CON_QNO_WC_GENARAL_SP_1", 2, "NPC_WC_GENARAL_SP", 1, 15, "ITEM_QNO_WC_GENARAL_SP_1_01", "MOB_DH_BUGGHOST", 5, "MOB_DH_BUGGHOST_CLON", 1, 1, 0, 0, 0, 0, 0)
LuaSetDependencyQuestCount() ???
LuaSetDayOrNight() + LuaSetDayOrNight(1)
LuaStartDayLimit() + LuaStartDayLimit(20)
LuaGetStep() + if LuaGetStep() == 1 then
LuaSetMissionData_EX() + LuaSetMissionData_EX(QUESTID, 0, MISSION_TYPE_KILL_MONSTER, "SN_CON_QNO_AM_FERRY1_1_01", 1, "MOB_AM_CRAB", 1, MONSTER_CLASS_NORMAL, 30, 1, 1)
LuaQuestGiveEventPoint_EXP_Gold() + LuaQuestGiveEventPoint_EXP_Gold(650, 0, 0)
LuaSetJobTypeStartCondition() + LuaSetJobTypeStartCondition(1, OBJ_JOBSTATE_TRADER, 1)
LuaSetHwanLevel() + LuaSetHwanLevel(4)
LuaSetKillPlayerMissionData() + LuaSetKillPlayerMissionData(QUESTID, 0, MISSION_TYPE_KILL_PLAYER, "SN_CON_QNO_SD_GU_008_1", 1, "NPC_SD_GUILD_AGENT2", 20, 3, MKP_LEVEL, MKP_JOB, MKP_REGION, -32752, 105, 1, OBJ_JOBSTATE_ROBBER)
LuaSetAchievedPoint() + LuaSetAchievedPoint(100, "TEMPLE_ANUBIS")
LuaSetAchievedSkillPont() + LuaSetAchievedSkillPont(0)
LuaInsertDependancyQuestsOneClear() + LuaInsertDependancyQuestsOneClear(2, "QNO_SD_HW_017", "QNO_SD_HW_021")
LuaSetRaceStartCodition() + LuaSetRaceStartCodition(QSC_RACE, COUNTRY_CHINA)
LuaGetQuestMenuResponse() + MenuOffset = LuaGetQuestMenuResponse()
LuaQuestAddItem_EXT() + Result = LuaQuestAddItem_EXT(QUESTID, 0, "ITEM_QNO_SD_MA_029_2", 1, SYSOP_REASON_QUEST, 0, 0, 0) , if Result == STRGERR_OPERATION_SUCCEEDED then
LuaGetCurRegionID() + if LuaGetCurRegionID(QUESTID, "PLAYER") ~= -32758 then
LuaCmpCodeName() + if LuaCmpCodeName("UNIQUE_MOB", "MOB_SD_SELKIS") ~= 0 then
LuaQuestSetStartHandler() + LuaQuestSetStartHandler(QUESTID, "UNIQUE_DEAD", HANDLE_TYPE_QUEST, EVENT_UNIQUE_DEAD)
LuaQuestSetDeleteHandler() + LuaQuestSetDeleteHandler(QUESTID, "UNIQUE_DEAD")
LuaSetQuestCurPage() + LuaSetQuestCurPage(0)
LuaQuestShowRewardWindow() ???
LuaSetRealTime() + LuaSetRealTime()
LuaSetDivideType() + LuaSetDivideType(5)
LuaSetDisableQuest() + LuaSetDisableQuest(1)