Sawyer
2013-03-21 07:16:27
Title. It seems to not work for me.
2013-03-21 07:16:27
2013-03-21 07:18:11
2013-03-21 07:19:15
2013-03-21 07:23:25
2013-03-21 07:24:26
2013-03-21 07:24:38
2013-03-21 07:57:29
2013-03-21 08:03:04
2013-03-21 09:32:02
From: kyleinkman
im sure you could just check for the color of the green guy and if you see the color you could just click the x, somthing simple like
var
a,b:integer;
if FindColorTolerance(a,b,(squeel color),x-(where you wanna look for him),y-(where you wanna look for him),x+(where you wanna look for him),y+(where you wanna look for him),15) then
begin
mousebox(#,#-50 ,#,#-50 ,mouse_left); //the coords for the little x
end else
(rest of script)
(ps this is just a cheap and dirty way to do it if you dont know how to use dtms or bmps ect)
2013-03-21 09:37:51
From: xtrapsp
Problem with this is that he can appear anywhere on the screen… so if something else has a similar colour that'l be clicked instead… Maybe a DTM or Bitmap?
2013-03-21 09:37:53
2013-03-21 09:58:12
2013-03-21 10:44:01
From: Ashaman88
Yeah the way it worked before was fine - Are we 100% sure it isn't working for everyone?
2013-03-21 16:04:24
From: xtrapsp
Problem with this is that he can appear anywhere on the screen… so if something else has a similar colour that'l be clicked instead… Maybe a DTM or Bitmap?
2013-03-21 16:17:10
From: kyleinkman
wierd he always shows up in my inventory when i get him.
2013-03-21 20:25:19
DTM := DTMFromString('mbQAAAHicY2VgYJjBxMAwCYjnAvE8KPsQIwPDbig+DsQngPj7TluGg5vXMezftI7BwcyIwcZQl+E/UD8XGmbEgsEAAC6zD28=');
2013-03-21 22:16:24
Procedure CloseSqueal;
var
x, y, squealDTM, SquealBitmap:integer;
begin
SquealDTM := DTMFromString('mwQAAAHic42RgYOhnguBeIJ4KxB1APAWIO6E0iO/LyMDgBsTBjBC2N5TtBsVBQPxthy3DipnTGEzVlRmi/bwZ8uKiGWwMdRkObFrLsH/jWgYXK1MGLqB9hDAjERgOAK3TFB0=');
SquealBitmap := BitmapFromString(21, 20, 'meJyNlEtME1EUhl2oAcVXIyYuVKRaNYIvCtUyLY4FaUun2CmVzrQU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IxIzwG6uicH+HVCh6UQ=');
If FindDTM(SquealDTM, x, y, 1, 51, 759, 500, 30) then
begin
MMouse(x, y, 3, 3);
if WaitUptext('elect', 300) then
ClickMouse2(Mouse_Left);
end else
writeln('Did not find Squeal of Fortune DTM');
If FindBitmapToleranceIn(SquealBitmap, x, y, 1, 51, 759, 500, 30) then
begin
MMouse(x, y, 3, 3);
if WaitUptext('elect', 300) then
ClickMouse2(Mouse_Left);
end;
FreeDTM(SquealDTM);
FreeBitmap(SquealBitmap);
end; This works for me.
2013-03-21 23:07:45
2013-03-23 13:08:13