|
You last visited: Today at 21:26
Advertisement
problem with Quest Scripit, Experts please join
Discussion on problem with Quest Scripit, Experts please join within the SRO Private Server forum part of the Silkroad Online category.
09/18/2018, 01:32
|
#1
|
elite*gold: 14
Join Date: Feb 2016
Posts: 1,607
Received Thanks: 445
|
problem with Quest Scripit, Experts please join
PHP Code:
function QNO_TDS_QUEST()
QUESTID = LuaGetQuestID("QNO_TDS_QUEST")
LuaSetStartCodition(2, QSC_QUEST, QSC_LEVEL, 110, 1)
QM_CONVERSATION = 1
LuaSetStartMethod(QM_CONVERSATION, 1, "NPC_EU_SOLDIER_CC1")
LuaInsertMissionOrCompleteNpc("NPC_EU_SOLDIER_CC1")
LuaQuestInsertNpc(1, "NPC_EU_SOLDIER_CC1")
LuaSetAchievementLimit(1)
LuaSetMissionDataSize(QUESTID, 1)
LuaSetMissionData_EX(QUESTID, 0, MISSION_TYPE_KILL_MONSTER, "SN_CON_QNO_TDS_QUEST", 1, "MOB_RM_TAHOMET", 0, 30, 0, 1)
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
|
#2
|
elite*gold: 0
Join Date: Mar 2008
Posts: 159
Received Thanks: 61
|
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
|
#3
|
elite*gold: 14
Join Date: Feb 2016
Posts: 1,607
Received Thanks: 445
|
Quote:
Originally Posted by guckguck
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
|
#4
|
elite*gold: 14
Join Date: Feb 2016
Posts: 1,607
Received Thanks: 445
|
i want to make quest scripit working like zerk *****, 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
|
#5
|
elite*gold: 0
Join Date: Mar 2008
Posts: 159
Received Thanks: 61
|
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
|
#6
|
elite*gold: 14
Join Date: Feb 2016
Posts: 1,607
Received Thanks: 445
|
Quote:
Originally Posted by guckguck
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 ***** 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.....
|
|
|
Similar Threads
|
Problem with quest Scripit
09/04/2018 - SRO Private Server - 1 Replies
the problem is i have made a quest for Reward that Quest idea is huting 15 Tiger Girl Unique
and it work perfectly but if i join with some one in auto share party i can active the quest for him instead of me, and same for him, wish means we will auto share the quest, 1 unique for him count, 1 count for me aswell
and if we deal 99% of the unique damage then another guy come from nowhere and attacked only 1 hit the last hit he will take the quest instead of us and if he have a player in he's...
|
PLEASE PLEASE PLEASE PLEASE PLEASE PLEASE PLEASE PLEASE
06/21/2011 - Metin2 Private Server - 5 Replies
HELP WITH THIS PLEASE ON MY DEDICATED SERVER :-(
http://www.youtube.com/watch?v=UyKOTLb960Q
log_file_delete_old: stat: No such file or directory
connect: Connection refused
Timed out
Connection refused
|
All times are GMT +1. The time now is 21:26.
|
|