Ok, I`m Currently Using Simba 991 and SMART 7.2
Latest Plugins and Latest RSL,Latest SPS and the works.
But I keep getting this 50 pixel offset error when clicking on a object that I find. Included you will see a Picture off what I mean.
It was suggested that it was the code I`m using to find the mouse position after finding the object. (GetMousePos(x,y)Apparently GetMousePos do not work correctly at this moment. Can someone suggest an alternative way to get the x y coordinates after finding an object because in the mean time my character has moved nearer to the object.
Simba Code:If FindObjTPA(x, y, 9079697, 6, 1, 15, 60, 50, ['ott']) then
Begin
WriteLn('Found Wheel');
While IsMoving do
Begin
Wait(100);
End;
Case random(2) of
0: Begin
WriteLn('Right Clicked Potters Wheel The First Time');
GetMousePos(x,y); // Get Mouse Current Position
mouse(x, y, 5, 5, False); // Right Click To Bring Up Options
WaitOption('Form', 500); // Wait A Certain X Amount Of Seconds Before Clicking Option
Wait(1000 + random(400));
While IsMoving do
Begin
Wait(100);
End;
End;
1: Begin
WriteLn('Left Clicked Potters Wheel The First Time');
GetMousePos(x,y); // Get Mouse Current Position
mouse(x, y, 5, 5, True); // Left Click On Potters Wheel
Wait(1000 + random(400));
While IsMoving do
Begin
Wait(50);
End;
WriteLn('We Have Clicked The Potters Wheel The First Time');
WriteLn('We are now waiting for the Options Screen to appear.');
WriteLn('Waiting Now for 1 second');
End;
End;
End;
Thanks



Apparently GetMousePos do not work correctly at this moment. Can someone suggest an alternative way to get the x y coordinates after finding an object because in the mean time my character has moved nearer to the object.
Reply With Quote











