Marco40
2009-05-11 17:56:08
I need somebody to run this script until a full inv of gold at the Falador/Draynor Mine
Dont got a acc with 50 mining, Just need to know if it works.
Program Gold_Digga_0_1;
{.include SRL\SRL.scar}
{.include SRL\SRL\Skill\Mining.scar}
//////////////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////////////
/////////////////////////////Gold Digga V.01//////////////////////////
///////////////////////////// By Marco 40/////////////////////////////
/////////////////////////////Enjoy and get////////////////////////////
////////////////////////////////GP!!!!!!!/////////////////////////////
////////////////////////////////Like it?//////////////////////////////
////////////////////////////////Rep+++++//////////////////////////////
////////////////////////////////Marco40///////////////////////////////
////////////////////////////////For Script////////////////////////////
////////////////////////////////Senrath///////////////////////////////
////////////////////////////////For help//////////////////////////////
////////////////////////////////Without him///////////////////////////
////////////////////////////////No script/////////////////////////////
Const
MineColor = 1343130;
Var //Var= variable(Put all your Letters that represent numbers under here)
x, y, MyTime: Integer; // (Like This. x, y, are both Integers(Numbers) in this script) Edit: Added MyTime because that is another variable that represents a number, this one is time, instead of coords. x, y.)
function Wheresmymine : Boolean;
begin
if FindColor(x, y, MineColor, MSX1, MSY1, MSX2, MSY2) then
begin
GetMousePos(x, y);
MMouse(x, y, 0, 0);
Result := True; //This tells the script that it has found the color (True).
end;
end;
procedure mineOre;
begin
if(Wheresmymine = True)then //Since "Wheresmymine" is a boolean, we have to make it equal to true or false (We want true cause, if it doesn't find the mine then it will log out, that's good)
repeat
Wait(2000 + Random(500));
Mouse(x, y, 3, 3, True);
until(InvFull);
end;
begin
repeat //A simple repeat, can be changed later
SetupSRL;
MarkTime(MyTime) // I wouldn't do this but you get the idea. This Marks the time for the variable (MyTime) and starts counting in miliseconds. (So we can call it later)
Wheresmymine;
mineOre;
until(TimeFromMark(MyTime) > 3500000); //This tells it to wait until the Variable, MyTime, is greater than 3,500 seconds (About 6 Hours), or Until (false) it "f**ks up".
end.Dont got a acc with 50 mining, Just need to know if it works.