Skillery
2013-05-19 15:39:19
Hi, I recently tried to make my script bank automatically, by using mouse(x, y, 5, 5, true);
But when my bot executes that command, it clicks on an other point..
I got the coordinates by opening up smart aside of simba, then reading the coordinates simba gave while I had my cursor on the left top. I filled in the coordinates at x, y but when executing it clicks right of the middle…
It seems to keep clicking the same spot even if I move my smart window, so what could cause this?
StickToTheScript
2013-05-19 17:19:20
Paste some of the code please.
Skillery
2013-05-20 08:40:30
Well, it is not much really, just
procedure walking;
mouse(414, 212, 5, 5, True);
begin
walking
end.
Now that im typing in x and y, could it be that simba displays (y,x) and i typed in (x,y) ? I cant test it out right now as i am not at home..
If you are using SMART then you have to use Y-50 for right coordinates.
Read this topic:
http://villavu.com/forum/showthread.php?t=101805
Skillery
2013-05-20 13:20:53
Yea i saw that
Thought it would be fixed by now though
Also, what if I move my smart window? Because simba displays where my cursor is… So if I move my smart window the coordinates change? How can I find the good coordinates?
Kevin
2013-05-20 13:22:30
From: Skillery
Yea i saw that
Thought it would be fixed by now though
Also, what if I move my smart window? Because simba displays where my cursor is… So if I move my smart window the coordinates change? How can I find the good coordinates?
Coordinates should be limited to within your smart window (trying to click left of your smart screen should give a -x value), and if they aren't it means you haven't locked your window to the SMART screen. There's a little green crosshair on simba you need to drag over to your smart prior to checking coordinates.
Skillery
2013-05-20 15:49:57
Aah thanks, I forgot to select smart with the crosshair. Also, now that I do y -50, it is now very accurate
Thanks for the help!