Jump to content

Matenia

Elite user
  • Posts

    2232
  • Joined

  • Last visited

Everything posted by Matenia

  1. If you wanna pay for an IBM Watson license, I'll build it into the bot so it can have conversations with people whispering you :P
  2. Redownload from Rocketr. Now there's all kinds of settings for escaping: Escape HP percent = ALWAYS escape if you hit this level Escape Mana percent = ALWAYS escape if you hit this level of mana Escape mana percentage when fighting more than 1 enemy = if you drop below the escape HP percentage when fighting with more than 1 enemy AND the mana percentage is also hit Escape HP percentage when fighting with more than 1 enemy = if you don't have mana and 2 mobs are attacking you, you will escape below this HP percentage
  3. Currently it flees at: - x amount of units - 2 or more units and you being below 30% hp (and 30% mana, if mana class) - any number of units if you're at 15% or under Would you still want to adjust these percentages? I could add that later today.
  4. My bad. I uploaded a new version where it won't try to loot if you have it disabled in your settings.
  5. You can try the following: MovementManager.StopMove(); var target = ObjectManager.Target; Fight.StopFight(); // do movement here FIght.StartFight(target.Guid); Edit: MovementManager.StopMove() should make the bot stop any movement it was trying to do already (for example, running close to a target). Your bot constantly facing the target happens because it started a "fight". If you temporarily stop the fight and then re-enable it, MAYBE that will help with your strafing.
  6. Yes, try wManager.Wow.Helpers.Move.Backward(Move.MoveAction.DownKey, ); so it will press the key for 1000 ms (down). The ms is the time it will press it. With PressKey it will go up and down in 50ms (or 1000, or whatever) hence the movement you're seeing.
  7. Looks to me like you need to call the movement function with maybe 50ms instead of 1250.
  8. You actually need to set isTooClose to false again after the while loop and maybe give it a short Thread.Sleep(500) or so at the end of each iteration. Does the bot interrupt movement and then starts strafing again? Or is the strafing itself just choppy? I highly recommend getting Visual Studio and doing a basic C# tutorial (or even Java, they're essentially the same
  9. Edit: You just pasted the code somewhere... You need to move MovementEvents.OnMoveToPulse += MovementEvents_OnMoveToPulse; MovementEvents.OnMovementPulse += MovementEvents_OnMovementPulse; to your Initialize function. It needs to be called from somewhere...
  10. Well, I define the functions underneath. I assume you use the XML Fightclass editor and don't use a C# class/.cs file? You can define it just like you did in your example code. wManager.Events.MovementEvents.OnMovementPulse += (points, cancelable) => { if(isRunning) { cancelable.Cancel = true; } };
  11. Absolute pseudo code here! bool isRunning = false; while(ObjectManager.Target.GetDistance < 5){ isRunning = true; Move.StrafeLeft(Move.MoveAction.PressKey, 1250); } MovementEvents.OnMoveToPulse += MovementEvents_OnMoveToPulse; MovementEvents.OnMovementPulse += MovementEvents_OnMovementPulse; private static void MovementEvents_OnMovementPulse(List<Vector3> points, CancelEventArgs cancelable) { if(isRunning) { cancelable.Cancel = true; } } private static void MovementEvents_OnMoveToPulse(Vector3 point, CancelEventArgs cancelable) { if(isRunning) { cancelable.Cancel = true; } }
  12. Basically, for the entire duration that you take over movement (also OnMoveToPulse you'll probably need), you need to cancel all other movement events.
  13. MovementEvents.OnMovementPulse might be what you're looking for. Intercept all other events for a while, until you're done moving.
  14. Would you want it to auto-deny requests and such? I specifically didn't build anything for that, because usually addons handle all that.
  15. Lua.LuaDoString("Logout();"); Thread.Sleep(3 * 60 * 1000); Keyboard.PressKey(Memory.WowMemory.Memory.WindowHandle, Keys.Escape); Maybe that works. I guess it should. Might have to call Keyboard.PressKey on new thread. Such as private static async void TurnSpiritRezzOff() { await Task.Delay(30000); await Task.Run(() => { Keyboard.PressKey(Memory.WowMemory.Memory.WindowHandle, Keys.Escape); }); }
  16. I'm guessing you don't have a fightclass selected. Create one yourself or check if the website has one available for your class/spec.
  17. A "FollowPath" step in your quester should work
  18. That one works. He probably has it turned on by accident.
  19. Version 2.2

    1574 downloads

    No refunds - you are purchasing a digital copy of a product. For questions and bugreports, please reach out to me on Discord. I will continue working on this plugin and it will receive updates (which are included in the purchase). Any problems pathing? Disable all "Avoid Enemy" options. Installation instructions Features: can automatically buy food and drink (uses @reapler's database) can automatically choose your vendors and repairs (closest vendors and avoids high level zones) can automatically purchase ammunition (deactivated by default) automatically chooses the best quest reward for your class automatically equips better items, based on TBC "Pawn" stat weights - only uses base stats automatically equips bags and replaces them with bigger bags creates and uses bandages - will learn First Aid and train 1-150 trains Skinning and all useful weapons for your class (can be turned off) runs away from fight if you're likely to die (can be seen several times throughout the video - fails in cave sometimes)1 spirit rezz if chain dying ignore all combat if items are broken stop combat with evading mobs, friendly NPCs and friendly pets hearthstone if stuck (please read instructions) fully automated trainer choosing and training, goes every 4 levels after level 20 (if you have training turned on in wRobot) automatically use potions in combat stop combat with tapped targets stop combat if target is evading swim up if you are about to drown swim to shore before regen (if a safe spot can be found) teaches your bot how to use transports for shorter paths (supported so far: Deeprun Tram, Darnassus Portal/Ship) constant updates, you should re-download through your Rocketr link every evening This is a new multi-expansion, multi-functionality plugin. I wrote it to fix some of the inconveniences, bugs and "bot-like" behavior wRobot comes with sometimes. Down below is a list of features, that this plugin brings to the table. Any plugin that has the same/similar functionality to my public (free) plugins has been improved in functionality and CPU usage. Here you can find a 1:30 hour long video of a pure quester run from level 1-12 where you can see some of the plugin's functionality. The "running away" part of the plugin can sometimes be buggy within caves. 1Problems with "running away from combat" will occur in highly obstructed areas, such as caves, hills or anything else where your bot might have issues navigating (such as highly contested areas with tons of enemies). I have been trying (and still am) to improve this feature as much as I can, but if you aren't grinding with your bot (questing, gathering, etc) I recommend setting it to only run away if you pull more than x number of enemies Unstuck instructions Your hearthstone needs to be set to your current continent (anywhere on it) for the bot to find a path back to your regular grinding/questing spot, after using Hearthstone to get out of a "stuck" situation. If this is not the case, please disable that feature in the plugin settings. PURCHASE NOW - 1 IP only - 20.00€ NO UPGRADES POSSIBLE *If you run wRobot.exe through a proxy or VPN, this limits you - if you only run WoW.exe througher another IP, this is not a problem PURCHASE NOW - 10 IPs (limited to 1 wRobot license) - 30.00€ I, the owner and creator of this file, am in no way associated with the wRobot company. By purchasing this file, you agree to the contract of the purchasing website and that alone. Check out my other Fightclasses
  20. Because it's not smart enough to be used in arenas. Some people except PQR style with movement and such. The bot doesn't have anything to support that. At best you would have your bot on partymode standing still spamming some heals. But other people basically expect to run it with wRotation and only move while the bot plays the game for them. This is not what this fightclass is for. For your use case, I'd say go for it.
  21. For testing, I tried using this code (calling start and stop from a plugin). But nothing is ever logged, so I think ObjectManager.Me.InCombat is incorrectly returning false. It should be the same as this. public static bool AffectingCombat(this WoWLocalPlayer me) { return Lua.LuaDoString<bool>(@"return (UnitAffectingCombat(""player"") ~= nil)"); } public class RegenStop { private static WoWLocalPlayer Me = ObjectManager.Me; private static Engine engine; private static Regeneration regeneration = new Regeneration(); public static void Start() { FiniteStateMachineEvents.OnStartEngine += (Engine engine) => { RegenStop.engine = engine; }; FiniteStateMachineEvents.OnRunState += AntiRegenEventHandler; FiniteStateMachineEvents.OnBeforeCheckIfNeedToRunState += AntiRegenEventHandler; } public static void Stop() { FiniteStateMachineEvents.OnRunState -= AntiRegenEventHandler; FiniteStateMachineEvents.OnBeforeCheckIfNeedToRunState -= AntiRegenEventHandler; } private static void AntiRegenEventHandler(Engine engine, State state, CancelEventArgs cancelable) { if (state.DisplayName == "Regeneration" && Me.InCombat) { Logging.WriteDebug("cancelling regen while in combat"); cancelable.Cancel = true; RegenStop.engine.RemoveStateByName("Regeneration"); ReenableRegen(); } } private static async void ReenableRegen() { await Task.Delay(10000); engine.AddState(regeneration); } }
  22. Well something sets Fight.InFight to true, and the bot targets the vendor, that is why my fightclass tries to cast Frostbolt (the debug logging). It logs as follows but then it still has the vendor targeted. That's the problem, I think.
  23. Example screenshot of this: This is a log of it just standing around and not fighting back. Potentially, this could be caused by me, but I don't think so. What could cause stucking in MovementManager when there is not even any walls around?
  24. Sometimes, you are still in combat with some mobs. However the bot will still enter combat state. This happens for example if you polymorph one attacker or if you call Fight.StopFight() (maybe because you want to cancel the fightclass to run away from the fight). The bot should not try to enter regen while still in combat and the bot should STOP regen if it's being attacked.
  25. Restart WoW + Bots every 4-5 hours. I honestly have the same problem and haven't really found a solution yet. It's possible that some collections somewhere are never cleaned up (or only partially), so iterations take longer, requiring more CPU power.
×
×
  • Create New...