September 21Sep 21 Hi all,I have recorded a path as Grinder but have trouble with adding a key press at a specific location only. Basically, when reaching a certain point like X: 3500.111, Y: xxxx.111, Z: xxxx.111 I would like to press "X".This using the Path recorder as on screenshot. I tried a few things in the Action Tab but so far, not succeeded. This would really change everything for me and I hope someone will be able to provide guidance on that. Really appreciate in advance and wish you a great day.
September 22Sep 22 Hello,You can do it with the ACTION column. When you're not recording, double-click the ACTION cell of a point and put:c#: robotManager.Helpful.Keyboard.PressKey(wManager.Wow.Memory.WowMemory.Memory.WindowHandle, "x");Then save the profile.One thing to know, the action of a point runs when the bot reaches the point before it (when it starts walking toward that point). So if you want X pressed when standing at 3496.952, -3864.835, put the action on the line right after this one.
September 23Sep 23 Author Thanks so much @Droidz ! I will try that when my WRobot is fixed, I just did the update and it won't launch anymore : (
September 23Sep 23 Author Ok, WRobot runs now, I tried it but it did not seem to work. It tried to go through the loop again. In my exemple, "x" is a macro that casts a 4sc spell. Maybe there is a way to Wait for 5/6 sc and send the Press x ?I did not even see the "Can't do that while moving" so it did not actually send the key at all. I used:c#: robotManager.Helpful.Keyboard.PressKey(wManager.Wow.Memory.WowMemory.Memory.WindowHandle, "x");
September 29Sep 29 Author Sorry @Droidz for the long time to answer I was off : / Just tested with the new version it does work! This is great, and opens a lot more opportunities.One last thing I was wondering: it is a spell that I cast using x, takes about 4sc to cast, is there a way to have a wait of some sort?Currently it goes to the point, starts casting but interrupts as it tries to go to the previous point (probably lost somehow)
October 5Oct 5 The action runs right when the bot starts walking to the next point, so the move cancels the cast. You can make it wait inside the action, replace it with:c#: MovementManager.StopMoveTo(); Thread.Sleep(500); robotManager.Helpful.Keyboard.PressKey(wManager.Wow.Memory.WowMemory.Memory.WindowHandle, "x"); Thread.Sleep(5000);The last value is the wait after the key press, in milliseconds (5000 is 5 seconds), adjust it to your cast time. Don't set it much higher than the cast, the bot stays there until the wait is over.
October 16Oct 16 Author It worked ! thanks a lot @Droidz ! it is perfectReally appreciate your great help : )
Create an account or sign in to comment