bellmi
2007-05-20 10:51:02
i tried makeing money but it just got messed uop can some1 healp me plz
2007-05-20 10:51:02
2007-05-20 10:58:21
2007-05-20 11:23:12
2007-05-20 11:45:14
2007-05-20 12:17:22
2007-05-20 13:05:51
2007-05-20 20:02:53
function AmountColor(area: String; color, tol: Integer): Integer;
By: masquerader
Description:
Counts the number of items found with a color in a certain area. (Counts stacks)
function AmountBmp(area: String; itembmp, tol: Integer): Integer;
By: masquerader
Description:
Counts the number of items found with a bitmap in a certain area. (Counts stacks)
function AmountDtm(area: String; dtm: Integer): Integer;
By: masquerader
Description:
Counts the number of items found with a dtm in a certain area. (Counts stacks)
From: dan cardin
u dont need bitmaps to buy stuff at stores….if it has a set spot…like at rune stores and stuff..there are procedures for that
2007-05-21 00:28:33
2007-05-21 03:54:35
2007-05-21 14:51:45
2007-05-21 17:06:52
{.include SRL/SRL.Scar}
FeatherBmp : Integer;
function AmountBmp(area: String; itembmp, tol: Integer): Integer;
procedure LoadBmps;
Begin
FeatherBmp := BitmapFromString(6, 2, 'CEC7C6FF0000FF280' +
'0FFB2B5BDAEAD000000000000002800BDAEADBDAEADB5AEAD B5AA' +
'AD');
end;
procedure buyFeathers;
if AmountBmp('shop', FeatherBmp, 15) >= 960 then
Mouse(x, y, 1, 1, true);
end;
program Buyer;
{.include SRL/SRL.Scar}
FeatherBmp : Integer;
procedure LoadBmps;
Begin
FeatherBmp := BitmapFromString(6, 2, 'CEC7C6FF0000FF280' +
'0FFB2B5BDAEAD000000000000002800BDAEADBDAEADB5AEAD B5AA' +
'AD');
end;
procedure BuyFeathers;
begin
if AmountBmp('shop' , FeatherBmp, 15) >= 960 then
begin
Mouse(x, y, 1, 1, true);
end;
end;
begin
SetupSRL;
repeat
BuyFeathers
until AmountBmp('shop' , FeatherBmp, 15) < 960
end.
2007-05-21 17:18:12
2007-05-21 17:31:25
2007-05-21 21:41:26
2007-05-22 07:53:07
program Buyer;
{.include SRL/SRL.Scar}
{.include srl\srl\misc\amount.scar}
var //forgot this, need to declare a variable, in this case "featherBMP"
FeatherBmp : Integer;
procedure LoadBmps;
Begin
FeatherBmp := BitmapFromString(6, 2, 'CEC7C6FF0000FF280' +
'0FFB2B5BDAEAD000000000000002800BDAEADBDAEADB5AEAD B5AA' +
'AD');
end;
procedure BuyFeathers;
begin
if AmountBmp('shop' , FeatherBmp, 15) >= 960 then
begin //screen \\ tolerance
if findcolortolerance(x, y, 12369093, MSX1, MSY1, MSX2, MSY2, 10) then //why not use findbmp, u already have it loaded? , and u didnt even fill out the function right
begin //add begin
wait(50+random(150)); // without begin it would only do this
Mouse(x, y, 1, 1, False); // and do these regardless of the
ChooseOption(x, y, 'Buy 10'); // if statement
end; //add end
end;
end;
begin
SetupSRL;
repeat
BuyFeathers
until AmountBmp('shop' , FeatherBmp, 15) < 960
//This will exit loop if theres less then 960 feathers
//and end the script... needs changing...
end.
tags