Jump to content

Andreavnn

Members
  • Posts

    30
  • Joined

  • Last visited

Everything posted by Andreavnn

  1. 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); } } }; }
  2. @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); } }; }
  3. 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?
  4. Is there a way to change what items it purchases? It keep buying food, water and ammo that aren't level appropriate.
  5. 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.
  6. Is there an "Additional C# Code" the will make the bot wait if your pet has the effect "Feed Pet Effect?" I have the bot feeding my pet finally, but it won't wait until for the buff's duration. I am using an addon to feed the Pet automatically.
  7. 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.
  8. 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
  9. Is there one around for vanilla or is that something I will need to request or purchase. EDIT* Still searching for this if anyone has a link, etc.
  10. Maybe enlighten me? I am not seeing how to do that.
  11. Is there a way to make the bot go to a bank and drop off items? Instead of mailing them to an alt?
  12. 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.
  13. Having an issue where if a mob doesn't drop loot the bot won't attempt to skin it. Doesn't even walk over to the body. Advice? EDIT* Complete reinstall of wrobot and wow worked. Thank you
  14. Are you running any other plugins? Mine is up to date and working normally.
  15. 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.
  16. How do you program wrobot flightclass to use a custom macro you made in-game? I can't seem to figure it out.
  17. I saw that and commented on it. The code they posted how to the insert it into a spell? I named the spell "Feed Pet" and the condition lua code and post the code? *EDIT* @Droidz can I send you my flightclass to take a look at it?
  18. I searched the forums and found a few topics about it, but I can not for the life of me get any of them to work. Can someone help me? I need a plugin, lua code, etc something that will feed a pet when it's happiness is below green and wait Xx amount of time before attacking again so the effects can work.
  19. I also didn't know that. But after about two days I got it figured out for myself. I even made a functioning Hunter flgihtclass. Which is pretty hard to do in vanilla. It is worth it, but you have to invest your time into it or money. ;)
  20. The bot settings thinks that ammo bags count as empty space and won't return to town or stop farming, etc because it thinks it has open bag slots. Plz advise.
  21. Is there a way to setup the both so it won't try to sell items if it doesn't have enough money? Mine gets stuck right now trying to sell without enough money. EDIT* A way for the bot to know its bags are full and will not return the the mail box until it has sold everything or made more room. It would also wait until something sold and go get its money to post more auctions, etc. EDIT** Maybe a way for set up thresholds so the once the both has made X amount of money it will change the Buy item only have this much money to a new number. If the bot was setup with a 1g threshold once it has made X amount of money that threshold would change to 5g and so fourth. So you can build up a bank, etc. I am running into the problem the bot spends all its money down to 1g and when it post it can't post everything because it doesn't have enough money, etc. EDIT*** Having issues with the bot not being able to post some items. It says it cannot select the item. Not sure the actual verbiage. Until the item I manually moves from one slot to another or the bot is completely closed out and starred over. Ideas? I don't run want add-ons with the bot. EDIT**** Said fuck it
  22. Where you put this at? As a spell with a lua code or what?
  23. Looking for a plugin, etc to check at regular intervals if the hunter has ammo if not will Hearthstone and log out. Seems go to town is still working some bugs out. Want this to ensure my bot won't just run around botting/grinding without ammo.
×
×
  • Create New...