Photogenic 24 Posted August 15, 2017 Share Posted August 15, 2017 Hello, Q#1 Can someone please explain (from Quest Order Editor > Action Types) what is the meaning and the usage of these? possible examples? Quote While WhileHasQuest WriteLog MessageBox PulseAllInOne Q#2 Can I make the bot check for quest status if (completed) or not without Pulsing the quest? For example: http://www.wowhead.com/quest=9853/gurok-the-usurper I want the bot to Check first .. IF this quest is completed > move on to step [XX].. I have done the quest manually myself while scripting it, then I run the bot, it should move on to step [172] and recognize the quest as completed.. but it will not. My question... Why False? Why it doesn't check if quest is completed by using "if or RunCode or While" I tried all those and all comes false. Quote [D] 04:34:35 - [Quester] If[165] (Quest.GetLogQuestIsComplete(9853)) | Result: False My question... Why False? Why it doesn't check if quest is completed by using "if or RunCode or While" I tried all those and all comes false. Link to comment Share on other sites More sharing options...
Photogenic 24 Posted August 15, 2017 Author Share Posted August 15, 2017 No one knows ? Link to comment Share on other sites More sharing options...
kawanin 7 Posted August 16, 2017 Share Posted August 16, 2017 PulseAllInOne: bot will pick up, pulse and turn in the quest. MessageBox: bot will stop and show up messagebox Photogenic 1 Link to comment Share on other sites More sharing options...
Photogenic 24 Posted August 16, 2017 Author Share Posted August 16, 2017 59 minutes ago, kawanin said: PulseAllInOne: bot will pick up, pulse and turn in the quest. MessageBox: bot will stop and show up messagebox Thank you so much! This can save me a lot of time then, and can do many cool things! Link to comment Share on other sites More sharing options...
Photogenic 24 Posted August 18, 2017 Author Share Posted August 18, 2017 Bump Link to comment Share on other sites More sharing options...
camelot10 155 Posted August 25, 2017 Share Posted August 25, 2017 public bool NeedToRun() { if (this.QuestClassInstance == null || this.QuestClassInstance.QuestId.Count == 0) return false; switch (this.Action) { case QuestAction.None: return false; case QuestAction.Pulse: if (this.QuestClassInstance.HasQuest()) return !this.QuestClassInstance.IsComplete(); return false; case QuestAction.TurnIn: if (this.QuestClassInstance.HasQuest() && this.QuestClassInstance.IsComplete()) return !this.QuestClassInstance.IsCompleted(); return false; case QuestAction.PickUp: if (!this.QuestClassInstance.HasQuest() && !this.QuestClassInstance.IsCompleted()) return this.QuestClassInstance.CanConditions(); return false; case QuestAction.PulseAllInOne: if (!this.QuestClassInstance.IsCompleted()) return this.QuestClassInstance.CanConditions(); return false; case QuestAction.Reset: return true; default: return false; } } from wrobot source code. check what function used for quest behaviour Link to comment 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