Jump to content

Zer0

Elite user
  • Content Count

    107
  • Joined

  • Last visited

2 Followers

About Zer0

Recent Profile Visitors

804 profile views
  1. https://wrobot.eu/clients/purchases/ Then click on your purchase.
  2. I almost exclusively work on TBC but I think this should work in WotLK too: // Returns the time left on a buff in seconds, buff name is passed as string public static int BuffTimeLeft(string buffName) { return Lua.LuaDoString<int> ($"for i=1,25 do " + "local n, _, _, _, _, duration, _ = UnitBuff('player',i); " + "if n == '" + buffName + "' then " + "return duration " + "end " + "end"); }
  3. Here's the method I've made to handle elevators: public static void AddTransportOffMesh( Vector3 waitForTransport, Vector3 stepIn, Vector3 objectDeparture, Vector3 objectArrival, Vector3 stepOut, int objectId, ContinentId continentId, string name = "", float precision = 0.5f) { OffMeshConnection offMeshConnection = new OffMeshConnection(new List<Vector3> { waitForTransport, new Vector3(stepIn.X, stepIn.Y, stepIn.Z, "None") {
  4. The link to the github project is on our discord
  5. If you want to move to the first spot on the list, use GoToTask.ToPosition(path[0]); If you want to find nearest spot on the list, you can do it this way: using System.Linq; List<Vector3> closestSpots = path .OrderBy(spot => spot.Position.DistanceTo(ObjectManager.Me.Position)) .ToList(); Vector3 closestSpot = closestSpots[0]; I haven't tested it and there's probably a more efficient way to do it, but that should work.
  6. @TheSmokie So far, it's been reported that the fix works. Thanks for that. @Droidz I'm sure this is not a blacklist issue. I've had this issue randomly with test characters and empty profile. Unless I'm missing something, there's no way any NPC was blacklisted in those situations. It seems to be a recent issue, I don't remember the bot having this problem before, but I could be wrong. We have several testers working on both TBC and WotLK and the problem only has been reported with TBC. Never heard or seen that issue on WotLK. I haven't tried to modify the interact distance. Unfortun
  7. Hi, I have noticed a problem recently with GoToTask.ToPositionAndIntecractWithNpc(...). Sometimes, the bot will succesfully move to the NPC, but then fail to interact with it, despite being in interaction range. It's very random and hard to reproduce. When that happens, GoToTask.ToPositionAndIntecractWithNpc returns false. The gossip option argument doesn't seem to make a difference. I've encountered this issue a few times on my private server, and others in the team have also encountered this issue on the Endless server. It does not happen on the WotLK expansion at all. It happ
  8. Version 1.0.0

    100 downloads

    Overview Hi guys, The Wholesome team is proud to present the Wholesome WotLK FlightMaster plugin. Inspired by FNV's VanillaFlightMaster - Alliance, we have rebuilt a plugin from the ground up that makes full use of WRobot's FSM Engine. The Wholesome WotLK FlightMaster plugin overrides WRobot's default Taxi logic and has been designed to make optimal decisions in terms of Taxi discovery and flight routes for both Horde and Alliance. How to install Copy the .dll file into WRobot's Plugin folder and enable it in the Plugins tab of WRobot. Autoupdater This
  9. Version 1.0.0

    46 downloads

    Overview Hi guys, The Wholesome team is proud to present the Wholesome TBC FlightMaster plugin. Inspired by FNV's VanillaFlightMaster - Alliance, we have rebuilt a plugin from the ground up that makes full use of WRobot's FSM Engine. The Wholesome TBC FlightMaster plugin overrides WRobot's default Taxi logic and has been designed to make optimal decisions in terms of Taxi discovery and flight routes for both Horde and Alliance. How to install Copy the .dll file into WRobot's Plugin folder and enable it in the Plugins tab of WRobot. Autoupdater This plu
  10. This is how I do it (TBC). Although as Matenia pointed out, some mobs might only be temporary immune to a school. That being said, I'd rather handle those rare exceptions than random immunities that differ from server to server. EventsLuaWithArgs.OnEventsLuaWithArgs += LuaEventsHandler; private void LuaEventsHandler(LuaEventsId id, List<string> args) { if (args[11] == "IMMUNE")) { Logging.Write($"{ObjectManager.Target.Name} is immune to {args[9]}"); // Your code to handle spell ban // args[9] is the name of the spell } }
  11. Try increasing the eat/drink threshold to at least 50 %-> 95%. Depending on your expansion, class and level, 35% can be way too low. Double check if you have drink/food in your bags. Turn all your plugins off. If nothing works, try reinstalling WRobot.
  12. Hi, if you want to check if your target has a debuff, you can use ObjectManager.Target.HaveBuff("buff name""). In your situation, you simply could use. if (!ObjectManager.Target.HaveBuff("Rend")) { // Cast rend } This will ensure that Rend is always up on your target.
×
×
  • Create New...