ccj 0 Posted August 30, 2018 Share Posted August 30, 2018 Hello guys I write simple code with fullcsharpcode type public sealed class stepfour : QuestClass { public override bool Pulse() { consolelog.write("In step4"); return true; } } It’s not work ,debug log display step5,step4 is skip,but it use the overridpulsecode type,it’s ok. how can I do that work? Link to comment https://wrobot.eu/forums/topic/10019-why-step-is-skip-by-quest-fullcsharpcode-type/ Share on other sites More sharing options...
Droidz 2738 Posted September 2, 2018 Share Posted September 2, 2018 Hello, Try to add methods public override bool HasQuest() { return true; } public override bool IsComplete() { return false; } Link to comment https://wrobot.eu/forums/topic/10019-why-step-is-skip-by-quest-fullcsharpcode-type/#findComment-47044 Share on other sites More sharing options...
ccj 0 Posted September 3, 2018 Author Share Posted September 3, 2018 Thanks,but I have new questions,how to turn off the auto fight,regen,stuck detection...They seriously affect my control task. Link to comment https://wrobot.eu/forums/topic/10019-why-step-is-skip-by-quest-fullcsharpcode-type/#findComment-47051 Share on other sites More sharing options...
Droidz 2738 Posted September 3, 2018 Share Posted September 3, 2018 For the fight https://wrobot.eu/forums/topic/2681-snippets-codes-for-quest-profiles/?do=findComment&comment=13088 , For regen: wManager.wManagerSetting.CurrentSetting.FoodPercent = 1; wManager.wManagerSetting.CurrentSetting.FoodMaxPercent = 1; wManager.wManagerSetting.CurrentSetting.DrinkPercent = 1; wManager.wManagerSetting.CurrentSetting.DrinkMaxPercent = 1; For stuck: wManager.Events.MovementEvents.OnPulseStuckResolver += delegate(CancelEventArgs cancelable) { cancelable.Cancel = true; }; Link to comment https://wrobot.eu/forums/topic/10019-why-step-is-skip-by-quest-fullcsharpcode-type/#findComment-47063 Share on other sites More sharing options...
ccj 0 Posted September 3, 2018 Author Share Posted September 3, 2018 thanks again,but i have three questions 1.Interact GameObject is locked ,so return false? 2.i use the GetNearestWoWGameObject to search,but i find it's radius is less than devementTool 's "getobjects", so how to set the search radius?and this api return empty object or null when not find? 3.i use this code to find attack target in partymember's target,but some times ,but not find,all partymeber is attacking,i am not. i use robot in island,i use the Party.GetPartyNumberPlayers() it's empty,is must use GetPartyNumberPlayers(PartyCategoryType.LE_PARTY_CATEGORY_INSTANCE),so the IsTargetingPartyMember include homeandinstance? GetObjectWoWUnit(). FirstOrDefault(u => u.Reaction != Reaction.Friendly && u.Type != WoWObjectType.Player && u.IsTargetingPartyMember Link to comment https://wrobot.eu/forums/topic/10019-why-step-is-skip-by-quest-fullcsharpcode-type/#findComment-47093 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