SRL Archive - Help

Clicking on a picture


rj

2012-11-22 22:58:49

Currently I am creating a script on a private server so i can get a feel for simba so then I can move on to runescape. Right now I am making a auto fighter, and before i go any further i want the bot to click on part of a picture(aka looting). I did a bitmap conversion and got this:
  Bmp := BitmapFromString(14, 12, 'meJyTUdd2mPAfGcmoa+NCEAUMYI' +
'BfMVwlGptylXAEcQamFB53oonjsR2NTVOVxPgIiBhQAXLIYBXEjwD' +
'OzpG+');
How would i make the bot click on that picture. Btw here is what i have so far
program autofighterfortards;
Const
NPC=7984046;
tleft= 93;
tright = 139;
bleft=630;
bright=447;
tolorence=15;
time=12; // in seconds
rwait=1000

var
X,Y: Integer;
procedure getbanned;
begin
// fighting method
FindColorTolerance(X,Y,NPC,tleft,tright,bleft,bright,tolerence)
movemouse(x, y);
Wait(120 + Random(80));
ClickMouse(x, y, Mouse_Left);
Wait((time*1000) + Random(rwait));
end;
begin
repeat
getbanned;
until False;
end.

CRASH_OVERRIDE

2012-12-01 19:01:04

http://www.youtube.com/watch?v=SlS4q9MiFX4

rj

2012-12-01 19:04:12

this is old..

CRASH_OVERRIDE

2012-12-01 19:08:02

Yeah, but the method still works.

More recent:

Video:
http://www.youtube.com/watch?v=gj7yaRU-7no&list=UUnSjJe-xsSN6HpRsbwZcQMw&index=2&feature=plcp

Wirtten Tutorial:
http://villavu.com/forum/showthread.php?t=47374

And dont forget to learn the correct way to FreeDTMs: http://villavu.com/forum/showthread.php?t=78418

rj

2012-12-01 19:10:32

From: tasmania
Yeah, but the method still works.

More recent:

Video:
http://www.youtube.com/watch?v=gj7yaRU-7no&list=UUnSjJe-xsSN6HpRsbwZcQMw&index=2&feature=plcp

Wirtten Tutorial:
http://villavu.com/forum/showthread.php?t=47374

And dont forget to learn the correct way to FreeDTMs: http://villavu.com/forum/showthread.php?t=78418


I dont need it. because my other scripts use bitmaps. because i learned how.

CRASH_OVERRIDE

2012-12-01 19:15:39

OMG,

I am only trying to help, why even post "How would i make the bot click on that picture." if you already know the answer:/

The links i posted also state how to click on the bitmap.

rj

2012-12-01 19:34:28

From: tasmania
OMG,

I am only trying to help, why even post "How would i make the bot click on that picture." if you already know the answer:/

The links i posted also state how to click on the bitmap.


This post is old. rofl.