Merccy Posted April 11, 2014 Posted April 11, 2014 Hello, I'm trying to implement the mouse movement of another bot that is known for its human-like movement (overshooting the target in some occasions, moving in a curve etc...) but for that to work it would be ideal if I could set the XY of the mouse pointer directly instead of using the moveMouseTo() function with a high speed. Is there anyway that I can use something like this.setMouse(x, y); without "travel time" of the mouse? I tried decompiling OSBot to see what this.client.moveMouseTo does but it just points to this.bot.moveMouseTo and I can't trace that any further. The finished product will be released as a script that every developer can use for free.
XavierM Posted April 11, 2014 Posted April 11, 2014 closest you can get using public api is move to a 3x3 rectangle
Swizzbeat Posted April 11, 2014 Posted April 11, 2014 Of course their mouse algorithm is obfuscated, why would they let people just have it :p They should really make it public so we can override it, as well as the moveMouse method.
Joseph Posted April 12, 2014 Posted April 12, 2014 Of course their mouse algorithm is obfuscated, why would they let people just have it :p They should really make it public so we can override it, as well as the moveMouse method. That's what we got osbot 2 API ;P
Merccy Posted April 12, 2014 Author Posted April 12, 2014 Creating my own setXY with the help of Swizzbeat & friends. http://pastebin.com/wn2573CL