-
Posts
1215 -
Joined
Content Type
Forums
Articles
Bug Tracker
Downloads
Store
Bug Report Comments posted by TheSmokie
-
-
@Matenia still doesnt work,
var Mash = new List<OffMeshConnection> { new OffMeshConnection(new List<Vector3> { new Vector3(-9019.261f, 888.1429f, 29.62084f), new Vector3(-9020.968f, 890.6682f, 29.62069f) }, (int)ContinentId.Azeroth, OffMeshConnectionType.Bidirectional, true), }; OffMeshConnections.MeshConnection.AddRange(Mash);
-
Lua.LuaDoString("ClearTarget()");
Still not working on warmane.
-
@Droidz instead of me making another bug report, I wanted to add the elevator in Zangarmarsh and in the barrens do not work.
-
Awesome !
-
Here a idea on how to get it working for aiming, i hope it helps.
public static class Vehicle { public static bool UseButton(int num = 1) { //PetActionButton1 Lua.RunMacroText("/click [overridebar][vehicleui][possessbar,@vehicle,exists]OverrideActionBarButton" + num + ";ActionButton" + num); return true; } public static void Aim(WoWUnit unit, float precision = 0.5f, float agleDelta = 0f) { ClickToMove.CGPlayer_C__ClickToMove(unit.Position.X, unit.Position.Y, unit.Position.Z, unit.Guid, (int)ClickToMoveType.Move, precision); Thread.Sleep(Usefuls.Latency * 2); var dist = ObjectManager.Me.Position.DistanceTo2D(unit.Position); var height = unit.Position.Z - ObjectManager.Me.Position.Z; var angle = robotManager.Helpful.Math.GetAngle(dist, height); var radians = robotManager.Helpful.Math.DegreeToRadian(angle + agleDelta); AimAngle(radians); } static void AimAngle(float radians) { var minDelta = 0.035f; //~5 degree var delta = radians - CurrentAngle; int timeMs = 30; var timer = new robotManager.Helpful.Timer(5 * 1000); var delta2 = 0f; do { if (delta > 0) wManager.Wow.Helpers.Keybindings.PressKeybindings(wManager.Wow.Enums.Keybindings.PITCHUP, timeMs); else if (delta < 0) wManager.Wow.Helpers.Keybindings.PressKeybindings(wManager.Wow.Enums.Keybindings.PITCHDOWN, timeMs); delta2 = radians - CurrentAngle; if (System.Math.Abs(delta2) < minDelta) return; if (delta < 0 && delta2 >= 0) return; if (delta > 0 && delta2 <= 0) return; } while (Conditions.InGameAndConnectedAndAliveAndProductStartedNotInPause && ObjectManager.Me.PlayerUsingVehicle && !timer.IsReady); } public static float CurrentAngle { get { return Lua.LuaDoString<float>("return VehicleAimGetAngle()"); } } }
-
I know, just thought of adding a little info.
-
Wow, i am glad to see others working on Wrath of the lich king content. Good job!
Ps : IsMine was changed to UnitCaster in patch 3.1.0
-
Yes, @Droidz. this would be awesome to have.
-
9 hours ago, Droidz said:
No release date sorry
Awe ?
-
Any update @Droidz
-
-
-
On 3/19/2020 at 2:44 PM, Droidz said:
I changed it in last update
I've noticed while using a grinder that some time the bot doesnt click onto the mob. idk if its because of the cleartarget or not. just something i found interesting .
-
1 minute ago, Droidz said:
Hey,
In next update you will be hable to use shortcut ctrl+ and ctrl- (to up/down step).
To wait when you mouse click on bouton you can after use key "enter" to avoid to spam mouse click
Awesome!
-
2 hours ago, Droidz said:
Hello, time in WRobot is mainly in milliseconds (I think you use seconds in you screenshot)
This sounds like a fix to the problem.
-
Personally i dislike fightclass editor, if you want tomorrow when i help you, i can teach you to use VS instead of fightlclasses editor.
-
-
-
-
-
sorry, i dont follow. isnt using product thread as in while condition ?
-
@Droidz Any advice on why my abort isnt working? trying to work on it so i can post it in the code snips as a call for using c# but i am gonna try to add a data base for flying, also if there a method to check if player is flying to?
public class fly { public static void flying() { var zone = Lua.LuaDoString<string>("return GetZoneText()"); Thread flying = new Thread(() => { Logging.Write("[Flight]: Has initialized"); while (Conditions.ProductIsStarted && zone != "Orgrimmar") { var position = new Vector3(-6810.2f, 841.704f, 49.66529f); int npcEntryId = 15178; var Zon= Lua.LuaDoString<string>("return GetZoneText()"); if (!ObjectManager.Me.IsOnTaxi && Zon != "Orgrimmar") { if (wManager.Wow.Bot.Tasks.GoToTask.ToPositionAndIntecractWithNpc(position, npcEntryId)) { int node; Usefuls.SelectGossipOption(GossipOptionsType.taxi); node = wManager.Wow.Helpers.Lua.LuaDoString<int>("for i=0,30 do if string.find(TaxiNodeName(i),'Orgrimmar') then return i end end"); wManager.Wow.Helpers.Lua.LuaDoString("TakeTaxiNode(" + node + ")"); } } Thread.Sleep(1000); } }); if (zone != "Orgrimmar") { flying.Start(); } else if (zone == "Orgrimmar") { Logging.Write("[Flight]: has disposed"); flying.Abort(); } } }
-
On 5/1/2019 at 9:28 AM, Droidz said:
Hello, this stop fight, but bot probably try to attack again target, to skip all combat you need to use code like:
wManager.Events.FightEvents.OnFightStart += delegate(WoWUnit unit, CancelEventArgs cancelable) { cancelable.Cancel = true; if (unit.IsValid) ObjectManager.BlackListGetUnitAttackPlayerGuidTime.Add(unit.Guid, DateTime.Now + TimeSpan.FromMinutes(10)); };
i know this is gonna sound like a stupid question but can you give some advice or some help with my code i am working on for my quester? i am trying to black list all mobs in a area for 5 mins
Thread Water = new Thread(() => { Logging.Write("[Water]: Water Search Initialized"); List<WoWUnit> attackers = ObjectManager.GetUnitAttackPlayer(); while (Conditions.ProductIsStarted || Conditions.ProductInPause) { var unit = ObjectManager.GetWoWUnitAttackables().Where(x => x.Position.DistanceTo(ObjectManager.Me.Position) <= 30); if (ObjectManager.Me.BreathTimerLeft <= 2000) { ObjectManager.BlackListGetUnitAttackPlayerGuidTime.Add(unit.ToArray(WoWUnit), DateTime.Now + TimeSpan.FromMinutes(5)); wManager.Wow.Helpers.Keybindings.PressKeybindings(wManager.Wow.Enums.Keybindings.JUMP, 5000); } Thread.Sleep(12000); } Logging.Write("[Water]: Water Search Disposed"); }); Water.Start();
-
Idk if there is a limit but it could be to many injections at a single time. (Idk, just throwing the idea out there.)
PathFinder.ReportArea missing ContintentId parameter
in Bug Tracker
Posted
@Matenia i was wondering if you mind sharing how you was able to detect water ? i am making a fishing profile and only need a way to detect water as a vector