job temple quests

01/26/2018 08:48 mado2022#1
hello
i want ask about how to make quest in job temple
just like kill 30 thieves "player"
how could i do that meanwhile there's no code for normal players for quests
here's screen shot for what am lookin for
[Only registered and activated users can see links. Click Here To Register...]
02/01/2018 14:37 Mrs. Skies#2
Well, this requires a procedure if im not wrong, i had the same issue back then when i had my server but im quite sure it does.

You can try to replace a "Kill XX amount of monsters" - Quest and work on the procedure. Basically replace the mob count with a player count, this might work im not quite sure tho since im out of the sro scene for about 6 years.

Give it a try.
02/01/2018 18:31 blapanda#3
Quote:
Originally Posted by Aloah. View Post
Well, this requires a procedure if im not wrong, i had the same issue back then when i had my server but im quite sure it does.

You can try to replace a "Kill XX amount of monsters" - Quest and work on the procedure. Basically replace the mob count with a player count, this might work im not quite sure tho since im out of the sro scene for about 6 years.

Give it a try.
You were "in the scene"? You ain't even past the 50 post counter ...

OT: A filter might be your solution, or just a simple quest renaming. Though, I don't remember having a "kill player X times" lua function there somewhere.
02/01/2018 21:06 Snow*#4
It doesn't need a filter, yet there is no "anticheat" when you do it through quests.

MISSION_TYPE_KILL_PLAYER
Code:
function QNO_SD_GU_008()
  QUESTID = LuaGetQuestID("QNO_SD_GU_008")
  LuaSetStartCodition(3, QSC_QUEST, QSC_LEVEL, QSC_SYSTEM, 80, 80)
  QM_CONVERSATION = 1
  LuaSetStartMethod(QM_CONVERSATION, 1, "NPC_SD_GUILD_AGENT2")
  LuaInsertMissionOrCompleteNpc("NPC_SD_GUILD_AGENT2")
  LuaQuestInsertNpc(1, "NPC_SD_GUILD_AGENT2")
  LuaSetJobTypeStartCondition(1, OBJ_JOBSTATE_TRADER, 1)
  LuaSetMissionDataSize(QUESTID, 1)
  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)
  InsertQuestMenuStringList("NPC_SD_GUILD_AGENT2", 7, "BASIC_MENUSTRING_GREETING", "SN_NPC_SD_GUILD_AGENT2_QS", "BASIC_MENUSTRING_REQUEST_ACCEPT_QUEST", "SN_TALK_QNO_SD_GU_008_01", "BASIC_MENUSTRING_AT_ACCEPT", "SN_TALK_QNO_SD_GU_008_02", "BASIC_MENUSTRING_AT_DENY", "SN_TALK_QNO_SD_GU_008_03", "BASIC_MENUSTRING_NOT_ACHIEVED", "SN_TALK_QNO_SD_GU_008_04", "BASIC_MENUSTRING_ACHIEVED", "SN_TALK_QNO_SD_GU_008_05", "BASIC_MENUSTRING_ACHIEVED_NOW", "SN_TALK_QNO_SD_GU_008_06")
  LuaSetMissionCompleteNum(0)
  PAY_ITEM_METHOD_EXACT = 1
  LuaSetAchievedItem(0, 1082584, 0, 4900, 0, 0)
  LuaSetAchievedSkillPont(700)
  LuaSetAchievedPoint(500, "TEMPLE_ANUBIS")
end
this is one of the job temple quests.
02/02/2018 05:31 mado2022#5
Quote:
Originally Posted by Aloah. View Post
Well, this requires a procedure if im not wrong, i had the same issue back then when i had my server but im quite sure it does.

You can try to replace a "Kill XX amount of monsters" - Quest and work on the procedure. Basically replace the mob count with a player count, this might work im not quite sure tho since im out of the sro scene for about 6 years.

Give it a try.
Quote:
Originally Posted by Snow* View Post
It doesn't need a filter, yet there is no "anticheat" when you do it through quests.

MISSION_TYPE_KILL_PLAYER
Code:
function QNO_SD_GU_008()
  QUESTID = LuaGetQuestID("QNO_SD_GU_008")
  LuaSetStartCodition(3, QSC_QUEST, QSC_LEVEL, QSC_SYSTEM, 80, 80)
  QM_CONVERSATION = 1
  LuaSetStartMethod(QM_CONVERSATION, 1, "NPC_SD_GUILD_AGENT2")
  LuaInsertMissionOrCompleteNpc("NPC_SD_GUILD_AGENT2")
  LuaQuestInsertNpc(1, "NPC_SD_GUILD_AGENT2")
  LuaSetJobTypeStartCondition(1, OBJ_JOBSTATE_TRADER, 1)
  LuaSetMissionDataSize(QUESTID, 1)
  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)
  InsertQuestMenuStringList("NPC_SD_GUILD_AGENT2", 7, "BASIC_MENUSTRING_GREETING", "SN_NPC_SD_GUILD_AGENT2_QS", "BASIC_MENUSTRING_REQUEST_ACCEPT_QUEST", "SN_TALK_QNO_SD_GU_008_01", "BASIC_MENUSTRING_AT_ACCEPT", "SN_TALK_QNO_SD_GU_008_02", "BASIC_MENUSTRING_AT_DENY", "SN_TALK_QNO_SD_GU_008_03", "BASIC_MENUSTRING_NOT_ACHIEVED", "SN_TALK_QNO_SD_GU_008_04", "BASIC_MENUSTRING_ACHIEVED", "SN_TALK_QNO_SD_GU_008_05", "BASIC_MENUSTRING_ACHIEVED_NOW", "SN_TALK_QNO_SD_GU_008_06")
  LuaSetMissionCompleteNum(0)
  PAY_ITEM_METHOD_EXACT = 1
  LuaSetAchievedItem(0, 1082584, 0, 4900, 0, 0)
  LuaSetAchievedSkillPont(700)
  LuaSetAchievedPoint(500, "TEMPLE_ANUBIS")
end
this is one of the job temple quests.

Thanks guys for your efforts , i got an idea for it i will release it asap.