ub3r |<1||3r*1337*
2006-04-09 10:24:43
i need help getting the script to shut it self off and how to find colors and click on them. i dont get the xs,ys,xe,ye thing.
2006-04-09 10:24:43
2006-04-09 10:34:52
begin
repeat
Terminatescript;
until(false);
end.
;) (The point in that script was that it didn't repeat doing nothing. It stopped. :p)
2006-04-09 10:36:40
2006-04-09 10:44:21
if (FindColorTolerance(x, y, Color, xs, ys, xe, ye, 9)) then
AutoColor:= Getcolor(x, y);
2006-04-09 11:25:48
________
lxs :rolleyes: ysl
l:rolleyes::rolleyes::rolleyes: l
l:rolleyes::rolleyes::rolleyes: l
lxe :rolleyes: yel
- - - - - - l
2006-04-09 11:47:27
2006-04-09 12:00:53
2006-04-09 12:26:06
program bmp;
var bmp : string;
x, y : integer;
begin;
bmp:= BitmapFromString(9, 9, 'z78DA7333763371757543264D882047' +
'7511A1CBD2C5D2C5D11017895F177976E1D20500AD647846');
FindBitmap(bmp, x, y);
clickmouse(x, y, true);
end.
this will find the bmp and click on it. Also read kane's tut http://www.villavu.com/forums/showthread.php?t=703
2006-04-09 12:32:43
2006-04-09 13:08:53
2006-04-09 13:36:15
Begin
repeat
findcolortolerance(x,y,9819,626,112,138,7)
clickmouse(x,y,True){<------------------invaild number of parameters in line {64:1}}
wait(8000)
clickmouse(681,91,True)
wait(8000)
findcolortolerance(x,y,blackknight,88,118,316,325,5)
clickmouse(x,y,True)
repeat
if findcolortolerance(x,y,blackknight,88,118,316,325,5)then
wait(4000)
until(findcolortolerance(x,y,blackknight,88,118,316,325,5)False)
until(wait(200000)
end;and there isnt one here…. hmmmBegin
findcolortolerance(x,y,jewlerysymbol,617,112,656,153,3)
x:=x+18
clickmouse(x,y,True)
wait(14000)
findcolortolerance(x,y,minigame,664,137,693,144,8)
clickmouse(x,y,True)
wait(14000)
findcolortolerance(x,y,fishingsymbol,615,98,656,144,8)
y:=y+25
clickmouse(x,y,True)
wait(14000)
findcolortolerance(x,y,foodshopsymbol,638,112,674,143,4)
clickmouse(x,y,True)
wait(14000)
findcolortolerance(x,y,doorsymbol,621,120,648,151,7)
clickmouse(x,y,True)
end;2006-04-09 14:38:46
procedure Blah;
begin
if(FindColorTolerance(x, y, jewlerysymbol, 617, 112, 656, 153, 3))then
begin
x:=x+18
clickmouse(x,y,True)
wait(14000)
if(findcolortolerance(x,y,minigame,664,137,693,144,8))then
begin
clickmouse(x,y,True)
wait(14000)
if(findcolortolerance(x,y,fishingsymbol,615,98,656,144,8))then
begin
y:=y+25
clickmouse(x,y,True)
wait(14000)
if(findcolortolerance(x,y,foodshopsymbol,638,112,674,143,4))then
begin
clickmouse(x,y,True)
wait(14000)
if(findcolortolerance(x,y,doorsymbol,621,120,648,151,7))then
begin
clickmouse(x,y,True)
end;
end;
end;
end;
end;
end;
ClickMouse(x+18, y, true);2006-04-09 18:06:05
2006-04-09 18:31:14
From: XxKanexX
Whiteshadow those ends arn't in the right places :p
2006-04-10 01:11:57
2006-04-10 02:13:01
From: phantombmx
guess i need to make a tut for standards (my version) because most people say my standards are awesome.. :rolleyes:
2006-04-10 08:04:02
2006-04-10 08:27:41
findcolortolerance(x,y,9819,626,[B]112[/B],138,[B]7[/B])xs and ys are the starting co-ords, the procedure will start from the top-left corner and go right and down. But you have started the Y position at 112, swap it with 7.