August 30, 20187 yr 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?
September 2, 20187 yr Hello, Try to add methods public override bool HasQuest() { return true; } public override bool IsComplete() { return false; }
September 3, 20187 yr Author Thanks,but I have new questions,how to turn off the auto fight,regen,stuck detection...They seriously affect my control task.
September 3, 20187 yr 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; };
September 3, 20187 yr Author 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
Create an account or sign in to comment