Heidan 0 Posted October 29, 2023 Share Posted October 29, 2023 Unfortunately, I didn't find any information on the forum and examples in free profiles. Please tell me how to get the bot to move to the next step in case of failure of the quest? For example, when it is necessary to protect the NPC or perform for a certain time. In this case, the bot continues to perform the quest indefinitely. I would like to make the transition to the next step in case of failure of the quest. Link to comment https://wrobot.eu/forums/topic/15340-skip-a-failed-quest/ Share on other sites More sharing options...
Matenia 628 Posted October 29, 2023 Share Posted October 29, 2023 Your only bet is running a script that keeps checking for failed quests and abandons them via Lua Link to comment https://wrobot.eu/forums/topic/15340-skip-a-failed-quest/#findComment-68923 Share on other sites More sharing options...
Heidan 0 Posted October 30, 2023 Author Share Posted October 30, 2023 20 hours ago, Matenia said: Your only bet is running a script that keeps checking for failed quests and abandons them via Lua I understand that you need to create a script, but I'm new and I have little experience to do it myself. I think this is an important option in the bot. Since without it, the bot gets stuck. There are many such quests and it would be good for everyone if it were easily accessible. At the moment, everyone ignores such quests. If I found an example in the available profiles, I wouldn't bother anyone and would try to figure it out myself. While there is no easy way to do this, could you show an example script and how to implement it? Link to comment https://wrobot.eu/forums/topic/15340-skip-a-failed-quest/#findComment-68932 Share on other sites More sharing options...
libai 2 Posted October 31, 2023 Share Posted October 31, 2023 On 10/30/2023 at 6:16 AM, Heidan said: Unfortunately, I didn't find any information on the forum and examples in free profiles. Please tell me how to get the bot to move to the next step in case of failure of the quest? For example, when it is necessary to protect the NPC or perform for a certain time. In this case, the bot continues to perform the quest indefinitely. I would like to make the transition to the next step in case of failure of the quest. You mean failure of quest if some quests are timeout means failed ? or some server bug prevent user to complete it ? if timeout failed you can use PlayerQuest.StateFlag to check quest status, if server bug then ...it hard to solve. maybe you write the quest id and use a plugin to skip it . anyway you can try this to check if it works: /script local q = C_QuestLog.SetSelectedQuest(32706); C_QuestLog.SetAbandonQuest(q); C_QuestLog.AbandonQuest() Link to comment https://wrobot.eu/forums/topic/15340-skip-a-failed-quest/#findComment-68934 Share on other sites More sharing options...
Heidan 0 Posted October 31, 2023 Author Share Posted October 31, 2023 12 hours ago, libai said: You mean failure of quest if some quests are timeout means failed ? or some server bug prevent user to complete it ? if timeout failed you can use PlayerQuest.StateFlag to check quest status, if server bug then ...it hard to solve. maybe you write the quest id and use a plugin to skip it . anyway you can try this to check if it works: /script local q = C_QuestLog.SetSelectedQuest(32706); C_QuestLog.SetAbandonQuest(q); C_QuestLog.AbandonQuest() Thanks for the answer, but I don't need to delete the quest. I need to check the status of the quest for a failed quest due to a timeout, the death of the accompanied NPC or other reasons why the quest changes to the status - "failed". So that the bot itself could determine this status that appeared during the quest. For example, in the quest setting - Is Complete condition or any other option for checking the status of the quest - "Failed". Link to comment https://wrobot.eu/forums/topic/15340-skip-a-failed-quest/#findComment-68937 Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now