-
Conditional Additional C# code
So like this? I think I am understanding this a bit more know. I only know very little about #C from grade school like 12 years ago static Main() { wManager.Events.FightEvents.OnFightLoop += (unit, cancelable) => { var me = wManager.Wow.ObjectManager.ObjectManager.Me; if (wManager.Wow.Helpers.Conditions.InGameAndConnectedAndAliveAndProductStartedNotInPause && unit.IsValid && !me.IsCast && unit.IsGoodInteractDistance) // put here your conditions to running backwards { var p = robotManager.Helpful.Math.GetPosition2DOfAngleAndDistance(me.Position, robotManager.Helpful.Math.GetAngle(unit.Position, me.Position), wManager.Wow.Helpers.CustomClass.GetRange - unit.GetDistance - 12); var z = wManager.Wow.Helpers.PathFinder.GetZPosition(p); if (z != 0) { p.Z = z; wManager.Wow.Bot.Tasks.GoToTask.ToPosition(p, 3.5f, true, context => (wManager.Wow.Helpers.Conditions.InGameAndConnectedAndAliveAndProductStartedNotInPause)); } } }; }; robotManager.Events.FiniteStateMachineEvents.OnBeforeCheckIfNeedToRunState += delegate (Engine engine, State state, CancelEventArgs cancelable) { if (!string.IsNullOrWhiteSpace(state.DisplayName) && state.DisplayName == "Regeneration" && ObjectManager.Pet.IsValid && ObjectManager.Pet.IsAlive && ObjectManager.Pet.HaveBuff("Feed Pet Effect") && !state.NeedToRun) { while (Conditions.InGameAndConnectedAndAliveAndProductStartedNotInPause && !Conditions.IsAttackedAndCannotIgnore && ObjectManager.Pet.IsValid && ObjectManager.Pet.IsAlive && ObjectManager.Pet.HaveBuff("Feed Pet Effect")) { Thread.Sleep(800); } } }; }
-
Conditional Additional C# code
@Droidz Is this how I would combine these two codes together? Or is that something that can't be done this way? static Main() { wManager.Events.FightEvents.OnFightLoop += (unit, cancelable) => { if (unit.IsValid && ObjectManager.Target.IsTargetingMyPet && ObjectManager.Target.GetDistance <= 12) { wManager.Wow.Helpers.Move.Backward(Move.MoveAction.PressKey, 2000); } { robotManager.Events.FiniteStateMachineEvents.OnBeforeCheckIfNeedToRunState += delegate (Engine engine, State state, CancelEventArgs cancelable) { if (!string.IsNullOrWhiteSpace(state.DisplayName) && state.DisplayName == "Regeneration" && ObjectManager.Pet.IsValid && ObjectManager.Pet.IsAlive && ObjectManager.Pet.HaveBuff("Feed Pet Effect") && !state.NeedToRun) { while (Conditions.InGameAndConnectedAndAliveAndProductStartedNotInPause && !Conditions.IsAttackedAndCannotIgnore && ObjectManager.Pet.IsValid && ObjectManager.Pet.IsAlive && ObjectManager.Pet.HaveBuff("Feed Pet Effect")) { Thread.Sleep(800); } }; }
-
[PAID][1.12.1/2.4.3/3.3.5a] AFKing and Humanizing plugin
Resolved the issues it was something else. It there a way to change the threshold for when it goes to get items? Instead of waiting until you are completely empty of a selected good. Go get it when you less than Xx amount?
- 50 comments
- 7 reviews
-
[PAID][1.12.1/2.4.3/3.3.5a] AFKing and Humanizing plugin
Is there a way to change what items it purchases? It keep buying food, water and ammo that aren't level appropriate.
- 50 comments
- 7 reviews
-
[Solved] Skinning non-looted targets
Having a new issue with wrobot, where the avatar is attempting to skin defeated mobs. But the mob wasn't looted by the another player. It keep trying over and over again. Sometimes getting stuck in an endless loop. Is there a setting to prevent this or is there something I am missing?> Log files upload.. 29 Dec 2017 02H48.log.html EDIT* Realize it might be a plugin I am using with my flightclass and wrobot.
- Conditional Additional C# code
-
Bot status changing every 4 seconds.
EDIT* I tried two other flgihtclasses from the forums and both do the something. Petbattle setting in setting is turned off also. Bot not working at all now, stuck on petbattle status. EDIT** Reinstalled, wrobot, wow, addons. Rebuilt grinder and flightclass. Working again, but still shows "Battlepet" then "Idle" while traveling. Not sure what it is about. But everything is working agian.
-
Bot status changing every 4 seconds.
Reinstall everything and recreated both my fightclass and grinder profile and still the samething. Even worse now that bot won't work at all. 28 Dec 2017 15H26.log.html
- Banking
- Banking
- Banking
-
Aimed Shot/Arcane Shot
I am having trouble getting this two abilities to work together. They share the same CD. I have them with the condition to check if the opposite is usable before they are activated. However, the bot will still attempt to use one or the other while they are on CD. I am also having an issue with Aimed Shot, it is a cast spell, but doesn't have a cast bar so they bot isn't waiting until it is complete before attempting to use another ability. Advice? EDIT* Seem to have them working slightly by off setting their CD times in the Flightclass manager. Still looking for additional advice to make them work together better. So the bot doesn't attempt to use them at the same time.
- [Solved] No loot, no harvest
-
Problems with 12-22-17 Update
Are you running any other plugins? Mine is up to date and working normally.
-
Bot status changing every 4 seconds.
Every 4 to 5 seconds the status of my bot changes from "idle" to "battlepet" while traveling. Not sure why, doesn't seem to effect anything. I am using a grinder profile I made with/on a vanilla server. Not sure, just reporting.
Andreavnn
Members
-
Joined
-
Last visited