problem with Quest Scripit, Experts please join

09/18/2018 01:32 devdash#1
PHP Code:
function QNO_TDS_QUEST()
  
QUESTID LuaGetQuestID("QNO_TDS_QUEST")
  
LuaSetStartCodition(2QSC_QUESTQSC_LEVEL1101)
  
QM_CONVERSATION 1
  LuaSetStartMethod
(QM_CONVERSATION1"NPC_EU_SOLDIER_CC1")
  
LuaInsertMissionOrCompleteNpc("NPC_EU_SOLDIER_CC1")
  
LuaQuestInsertNpc(1"NPC_EU_SOLDIER_CC1")
  
LuaSetAchievementLimit(1)
  
LuaSetMissionDataSize(QUESTID1)
  
LuaSetMissionData_EX(QUESTID0MISSION_TYPE_KILL_MONSTER"SN_CON_QNO_TDS_QUEST"1"MOB_RM_TAHOMET"03001)
  
InsertQuestMenuStringList("NPC_EU_SOLDIER_CC1"8"BASIC_MENUSTRING_GREETING""SN_NPC_CH_POTION_QS""BASIC_MENUSTRING_REQUEST_ACCEPT_QUEST""SN_TALK_QNO_TDS_QUEST_01""BASIC_MENUSTRING_AT_ACCEPT""SN_TALK_QNO_TDS_QUEST_02""BASIC_MENUSTRING_AT_DENY""SN_TALK_QNO_TDS_QUEST_03""BASIC_MENUSTRING_NOT_ACHIEVED""SN_TALK_QNO_TDS_QUEST_04""BASIC_MENUSTRING_INVENTORY_FULL""SN_TALK_QNO_TDS_QUEST_05""BASIC_MENUSTRING_ACHIEVED""SN_TALK_QNO_TDS_QUEST_06""BASIC_MENUSTRING_ACHIEVED_NOW""SN_TALK_QNO_TDS_QUEST_07")
  
LuaSetMissionCompleteNum(0)
  
PAY_ITEM_METHOD_EXACT 1
  LuaSetAchievedSkillPont
(0)
end 

the problem is that quest have auto share option, wish means the last hit unique win the quest, but if he is in a auto share party he can share it with some1 else instead of him, how can i disable that auto share thing... or how can i make it for the unique winner, or for the last hit guy , i want it for a spcific reason, not auto share

ask me for more detail if iam not clear enough

thanks in advance
09/21/2018 15:07 guckguck#2
If you want something that counts with damage you have to use an item collection quest as far as I know. "Kill Monster" is always shared and not properly working with uniques on Vsro files.

Code:
  LuaSetCollectionItemMissionData(QUESTID, 0, MISSION_TYPE_GATHER_ITEM_FROM_MONSTER, "SN_CON_QNO_SD_HW_008_1", 5, "NPC_SD_M_AREA_LENENUNE", 1, 50, "ITEM_QNO_SD_HW_008_1", "MOB_SD_SPHINX_2", 100, "MOB_SD_NEPHTHYS_2", 100, "MOB_SD_SEKHMET_2", 100, "MOB_SD_HORUS_2", 100, "MOB_SD_OSIRIS_2", 100)
This example does not share to party member at all...

@SN_QNO_SD_HW_008.lua
10/02/2018 00:57 devdash#3
Quote:
Originally Posted by guckguck View Post
If you want something that counts with damage you have to use an item collection quest as far as I know. "Kill Monster" is always shared and not properly working with uniques on Vsro files.

Code:
  LuaSetCollectionItemMissionData(QUESTID, 0, MISSION_TYPE_GATHER_ITEM_FROM_MONSTER, "SN_CON_QNO_SD_HW_008_1", 5, "NPC_SD_M_AREA_LENENUNE", 1, 50, "ITEM_QNO_SD_HW_008_1", "MOB_SD_SPHINX_2", 100, "MOB_SD_NEPHTHYS_2", 100, "MOB_SD_SEKHMET_2", 100, "MOB_SD_HORUS_2", 100, "MOB_SD_OSIRIS_2", 100)
This example does not share to party member at all...

@SN_QNO_SD_HW_008.lua
i really apprecaite ur answer <3, and sorry for late replay back cuz i had internet issues, anyway iam back
i just tested ur line and its working perfectly but it still share to party members in case party have auto-share option i tested it :(
did i do something wrong ? i just copied ur line
when iam out of the party its working just for me, when iam in a autoshare party it share for all party members...if they have the quest ofc..
10/10/2018 13:24 devdash#4
i want to make quest scripit working like zerk balls, that the last hit guy will get it what ever happens, i want the quest goes to the last hit guy what ever happens and can't be shared with he's team

please help.
10/14/2018 21:21 guckguck#5
There is no option to take a quest by last hit inside a shared party...

Due to the fact "auto share" is not random at all you can simply trick the system. If you turn "item auto share" on the item distribution will link to party member order. The 1st item will be shared to the party leader, the 2nd item to the 2nd player and so on. The same order happens to quests, if two players are sharing the same kill-/itemquest.

You can also turn "item auto share" off... if you do not have to care about other parties.
10/15/2018 20:02 devdash#6
Quote:
Originally Posted by guckguck View Post
There is no option to take a quest by last hit inside a shared party...

Due to the fact "auto share" is not random at all you can simply trick the system. If you turn "item auto share" on the item distribution will link to party member order. The 1st item will be shared to the party leader, the 2nd item to the 2nd player and so on. The same order happens to quests, if two players are sharing the same kill-/itemquest.

You can also turn "item auto share" off... if you do not have to care about other parties.
thanks for your post i really apprecaite it,
but i already tried a server before and he has that , quest for only last hit player what ever happens if he last hit it he will take it

even if he lost the monster even if he have full party autoshare with the same quest, its like the zerk balls go to the last hit guy what ever happens

comon its possible we just need to think about it...it may change the sro world.....