-
Posts
28 -
Joined
-
Last visited
Recent Profile Visitors
The recent visitors block is disabled and is not being shown to other users.
jrouten's Achievements
Newbie (1/14)
1
Reputation
-
Findeh reacted to a post in a topic: The easy way to get coordinates of the "bad" pathfinder spot?
-
// Continent (item1), DefaultPosition (item2), DefaultPositionSearchRange (item3), NewPosition (item4) var positionChange = new List<Tuple<ContinentId, Vector3, float, Vector3>> { new Tuple<ContinentId, Vector3, float, Vector3>(ContinentId.Kalimdor, new Vector3(1422.318, -4662.921, 35.46182), 0.5f, new Vector3(1422.063, -4665.421, 35.46295)), /// new Tuple<ContinentId... }; wManager.Events.MovementEvents.OnMovementPulse += delegate(List<Vector3> points, CancelEventArgs cancelable) { var continent = (ContinentId) Usefuls.ContinentId; foreach (var p in points) { foreach (var pchange in positionChange) { if (p != null && pchange.Item1 == continent && p.DistanceTo(pchange.Item2) <= pchange.Item3) { Logging.WriteDebug("Change path position of " + p + " to " + pchange.Item4); p.X = pchange.Item4.X; p.Y = pchange.Item4.Y; p.Z = pchange.Item4.Z; p.Type = pchange.Item4.Type; p.Action = pchange.Item4.Action; } } } }; If you look at Droidz' code, this code constantly scans the current nav path, and looks for any point that is within 0.5 meters of (1422.318, -4662.921, 35.46182) and replaces it with (1422.063, -4665.421, 35.46295) Basically, you have to know where these points are beforehand, and manually add each one to positionChange.
-
So you need to handle these on a case-by-case basis. If you see a point that is inside a tree, and your profile ends up repeatedly using this point, you'll need to add code like Droidz linked that when it sees this point on the nav path, it replaces it with a better point that is outside the tree. I don't believe there is a way to know a point is inside an object, but if you know about specific troublesome waypoints, you can look for that waypoint and replace it every time you see it. Hope that makes sense, it's kind of hard to explain.
-
How do I run 3rd wow with my 2nd connection?
jrouten replied to wrobot91's topic in General discussion
If your "PC's connection" is ethernet, and you also have a WiFi adapter, this is doable. If you use VMWare or some similar program to run virtual machines, you can run WoW inside a virtual machine. You can then give this virtual machine ONLY the WiFi network adapter, and it will use WiFi to your phone. If you only have WiFi for your internet connection on the PC, there are some things you can do, but it gets complicated. I'll research that answer a bit (for low cost solution) and check back ;) -
How do I run 3rd wow with my 2nd connection?
jrouten replied to wrobot91's topic in General discussion
Ah, so they are all on the same PC? -
The problem seems to be that once the bot is within a certain distance of the current waypoint it's navigating towards (for example once inside 2 meters) it moves on to the next waypoint. The main reason for this is that the closer it gets to the point it is running towards, the more erratic it looks, trying to get "exactly" to the waypoint. The result of this, especially if the path is coming from the left or right of the doorway (not directly straight-in from the front), is that once it gets close to the doorway, it turns towards the next waypoint (inside the building) and runs into the doorframe or wall next to the doorway. The best way to make the bot navigate better through doorways is to somehow add a waypoint that is a few meters directly in front of the doorway, and navigate to that point before turning towards the door. In the attached image, figure 1 shows the current path behavior. When the path approaches the waypoint in the doorway, once it gets within X meters of the waypoint (the blue circle shows this range), it turns towards the next waypoint and tries to follow the orange dashed line. Figure 2 shows what happens if you add a waypoint directly in front of the doorway.
-
How do I run 3rd wow with my 2nd connection?
jrouten replied to wrobot91's topic in General discussion
I'm going to go out on a limb and assume that you are unaware that a good VPN service only runs about $3/month. If you're intent on using mobile internet (which has gotta be way more expensive), you would need to use a WiFi hotspot from your mobile device, and just connect your laptop/pc to your phone this way. -
jrouten changed their profile photo
-
Turns out the solution wasn't as simple as that. When I reset the settings file, there was no fight class selected, and it turns out something in my fight class was causing the casting to be interrupted.
-
I had this problem on one of my characters, but not the others. I renamed my settings file "General-Playername.Servername.xml" to "General-bak-Playername.Servername.xml" and relaunched the bot. This created a new clean settings file, and now fishing works perfectly.
-
Well ... By process of elimination, I found the culprit. ObjectManager.Me.InCombat If I check (get) that value, the bot turns off Auto Attack. @Droidz Looks like a bug, unless you don't intend for us to use that property any more.
-
I also just noticed that if I stand outside melee range, the only ability in range is "Heroic Throw", and it will stand there and do that forever, and will not turn off auto attack. but as soon as I move into melee range, it turns off auto-attack. Again, this is only for mobs that are not targeting me (they are attacking someone else, not in my party). If the mob is attacking me, or someone in my party, auto attack stays on.
-
@Droidz As I said in my original post, I have disabled all plugins in game. If I create a new fight class using the fight class creator, and add only one ability, it does not turn off attack. If I use my own custom fight class (c#), it turns off attack. My question is - how does a fight class cause the bot to turn off auto attack?
-
I've fought with this, and tried seemingly everything, but I can't solve this problem. When I'm fighting a mob, or a group of mobs, and I am not getting hit (nothing is targeting me), the BOT will just turn off Auto Attack after a few seconds, and stop casting detrimental spells. My character is still in combat (the combat flag is on my player frame). It was suggested that it might be caused by an addon, so I disabled all addons in game, but the issue is still there. Is there something that I might be doing in my Fight Class that could cause the bot to turn off auto attack? Is there a setting somewhere that I might have missed that could cause the bot to turn off auto attack? I play on Retail. I am using Rotation only, no plugins, and my own custom C# fight class.
-
@Droidz That doesn't help me, since we have no way of knowing when Auto Attack swing happens. If we know when Auto Attack swing happens, we could just set a timer. I know there are Interface Addons that track swing timer, so the event must be in the game client, and I was hoping you exposed it somewhere/somehow.