Adham 6 Report post Posted May 29, 2022 DefineMission (64411, "Mario", 64411) MisBeginTalk ( "Mario") MisBeginCondition(NoMission, 64411) MisBeginAction (AddMission, 64411) MisBeginAction (AddTrigger, 64411, TE_GETITEM, 2601, 30) MisResultAction(clearMission,64411) MisNeed (MIS_NEED_ITEM, 2601, 30, 10, 30) MisResultCondition (HasMission, 64411) MisResultCondition(HasItem, 2601, 30) MisResultAction(TakeItem, 2601, 30) --MisResultCondition (HasRecord, 64411) MisResultAction (ClearMission, 64411) InitTrigger () TriggerCondition (1, IsItem, 2601) TriggerAction (1, AddNextFlag, 64411, 10, 30) RegCurTrigger (64411) here my quest script issues i have found 1 - red system count works but freeze on 0/30 no give 30/30 tick even if i has the items needed 2 - after i go finish the quest it says NPC script processing function failed i tryed to change triggers same ! any can help me on this easy QUEST please Quote Share this post Link to post Share on other sites
V3ct0r 2,117 Report post Posted May 29, 2022 Hello @Adham, Maybe this guide will help solve your problem: Quote Some useful links / Полезные ссылки Tips for making a topic in 'Questions & Help' / Рекомендации по созданию тем в разделе "Помощь" Server Advertising Section Rules / Правила раздела "Реклама серверов" Available e-mail domains for registration / Допустимые e-mail домены для регистрации User groups / Группы пользователей User ranks / Звания пользователей "Broken" pictures on the forum / "Битые" изображения на форуме Beware of scammers! / Осторожно, мошенники! My developments / Мои разработки Mods for client and server / Моды для клиента и сервера PKOdev.NET website for Tales of Pirates Server / PKOdev.NET веб-обвязка для сервера Пиратии I do not provide any help in private messages and outside the forum. Use 'Questions & Help' section please. Thank you for understanding! Я не оказываю какую-либо помощь в личных сообщениях и вне форума. Пожалуйста, используйте раздел "Пиратия: Помощь". Благодарю за понимание! Share this post Link to post Share on other sites
Adham 6 Report post Posted May 29, 2022 i think my problem cos of this XD i just used his scripot on first easy quest ! and it give me npc busy then i tryed to uses another script look similer to my quest and NPC busy sloved and came another problem all i need to know if my triggers wrong or not also i need to know if i it`s not allowed to use smilier quest id and mission id ? or i need make them diffrent not same id`s and i don`t know how to use fourm im new here thank u Quote Share this post Link to post Share on other sites
V3ct0r 2,117 Report post Posted May 29, 2022 14 minutes ago, Adham said: i think my problem cos of this XD i just used his scripot on first easy quest ! and it give me npc busy then i tryed to uses another script look similer to my quest and NPC busy sloved and came another problem all i need to know if my triggers wrong or not also i need to know if i it`s not allowed to use smilier quest id and mission id ? or i need make them diffrent not same id`s and i don`t know how to use fourm im new here thank u Try to find an existing quest with a similar purpose from your server files and make a new one based on it. 14 minutes ago, Adham said: also i need to know if i it`s not allowed to use smilier quest id and mission id ? or i need make them diffrent not same id`s Sure, each quest must have a unique ID. Quote Some useful links / Полезные ссылки Tips for making a topic in 'Questions & Help' / Рекомендации по созданию тем в разделе "Помощь" Server Advertising Section Rules / Правила раздела "Реклама серверов" Available e-mail domains for registration / Допустимые e-mail домены для регистрации User groups / Группы пользователей User ranks / Звания пользователей "Broken" pictures on the forum / "Битые" изображения на форуме Beware of scammers! / Осторожно, мошенники! My developments / Мои разработки Mods for client and server / Моды для клиента и сервера PKOdev.NET website for Tales of Pirates Server / PKOdev.NET веб-обвязка для сервера Пиратии I do not provide any help in private messages and outside the forum. Use 'Questions & Help' section please. Thank you for understanding! Я не оказываю какую-либо помощь в личных сообщениях и вне форума. Пожалуйста, используйте раздел "Пиратия: Помощь". Благодарю за понимание! Share this post Link to post Share on other sites
Adham 6 Report post Posted May 29, 2022 3 minutes ago, V3ct0r said: Try to find an existing quest with a similar purpose from your server files and make a new one based on it. Sure, each quest must have a unique ID. i know i meanon the same QUEST ... there is mission id an quest id for example quest id 2000 mission id can be 2000 ? that wat i maen also 4 minutes ago, V3ct0r said: Try to find an existing quest with a similar purpose from your server files and make a new one based on it. I did that and it works , but I was looking to understand the script and not copy it Quote Share this post Link to post Share on other sites
Angelix 374 Report post Posted May 29, 2022 There's an issue on quests if you use IDs over 6K if I remember correctly, so your ID of "64411" might probably cause an issue as well. 1 Quote Share this post Link to post Share on other sites
Adham 6 Report post Posted May 29, 2022 i changed the quest number an it worked an every thing become perfect . but i still can`t finish the quest even though the red tick is 20/20 but still can`t finish here is my script if u can cheack if any thin missed up DefineMission( 643, "Earn Your Barclet - Hunt ", 644 ) MisBeginAction(AddMission, 644) MisBeginAction(SetFlag, 644, 1) MisBeginAction(AddTrigger, 6441, TE_GETITEM, 2604, 20) MisCancelAction(ClearMission, 644) MisNeed(MIS_NEED_ITEM, 2604, 20, 10, 20 ) MisResultCondition(HasMission, 644) MisResultCondition(HasFlag, 2005, 29 ) MisResultAction(AddMoney, 1000000, 1000000 ) --MisResultAction(SetRecord, 644 ) MisResultAction(ClearMission, 644 ) MisResultBagNeed(20) InitTrigger() TriggerCondition( 1, IsItem, 2604) TriggerAction( 1, AddNextFlag, 644, 10, 20 ) RegCurTrigger( 6441 ) Quote Share this post Link to post Share on other sites
Angelix 374 Report post Posted May 29, 2022 First of this is not correct, this type of condition is only for monster killing quests. MisResultCondition(HasFlag, 2005, 29) Please look again ay my guide, specifically "Part I" of it. Instead of that, just straight out put this: MisResultCondition(HasItem, <ITEMINFO_ID>, <AMOUNT_NEEDED>) In your case it would be this: MisResultCondition(HasItem, 2604, 20) Note: I don't know why you were placing "2005" at all, since that's not the item you were asking for. Second of all, you're just handing out gold, why does a player need 20 free inventory slots? Just remove this. MisResultBagNeed(20) 1 Quote Share this post Link to post Share on other sites
Adham 6 Report post Posted May 29, 2022 thank you it worked 1 Quote Share this post Link to post Share on other sites