So I just started using bitmaps (woo) and whenever the mouse clicks the bitmap it clicks on the outside edge, can I make it click the middle? Any help would be greatly appreciated.
So I just started using bitmaps (woo) and whenever the mouse clicks the bitmap it clicks on the outside edge, can I make it click the middle? Any help would be greatly appreciated.
you could always use dtms...![]()
Do not propose an idea of peculation without evidence of such action.
http://cashcrate.com/704591 click here and make money!
Yeah, DTM's are better, but what you wanna do, if you're using Bmp's, is this:
SCAR Code:Var x,y:Integer;
Begin
If(FindBitmap(TheBMP,x,y))Then
Mouse(x+5,y+5,2,2,True);
End
That'll click 5 pixels down and 5 pixels to the right, if it finds the bitmap. You might wanna put it in a for to do loop, so it'll look for it more than once.
--------------------------------------------------------- ![]()
Pm me if you need any math functions made. Me = l0ving t3h mathz
--------------------------------------------------------- ![]()
Thanks, and I am pretty sure I can't use DTM's because I am looking for text.
yes i think you can... i can help you with it if you want...
Do not propose an idea of peculation without evidence of such action.
http://cashcrate.com/704591 click here and make money!
Use bitmap masks if you're lookin for text. I don't have the energy to explain it, so search it plz![]()
--------------------------------------------------------- ![]()
Pm me if you need any math functions made. Me = l0ving t3h mathz
--------------------------------------------------------- ![]()



rotflmfwao,
SCAR Code:program New;
var
textbitmap : integer;
begin
DisplayDebugImgWindow(200, 200);
textbitmap := CreateBitmapMaskFromText('Use copper', UpChars);
SafeDrawBitmap(textbitmap, GetDebugCanvas, 0, 0);
end.
But I am not doing this on rs. I am making a script to create rs accounts.
--------------------------------------------------------- ![]()
Pm me if you need any math functions made. Me = l0ving t3h mathz
--------------------------------------------------------- ![]()
Oh nice, what font is?
Wait... What are you using this for?
I'm pretty sure you should use DTM's for almost everything... They return the position of the first (main) point also, you can place that pretty much anywhere.
Unless, of course, you like bitmaps.
EDIT: I just read you were using it for an account creator. I don't think you should use something to navigate through the pages, but look into SCAR's http functions.
The jealous temper of mankind, ever more disposed to censure than
to praise the work of others, has constantly made the pursuit of new
methods and systems no less perilous than the search after unknown
lands and seas.
findbitmapspiral could work probably since it searches from the middle and not the top left corner.
You could quite easily make a script to auto creat accounts using DTMs, Infact i think i might give it a go too.
K I will look through the functions, meanwhile y+30 worked quite well, but I have a feeling it is a bit unreliable, I will try findbitmapspiral to. Thanks!
There are currently 1 users browsing this thread. (0 members and 1 guests)