here we go the final version and what it does is it only starts mining again once it has finished mining the previous rock
[scar]
program powerminer;
var
x,y,i,r,z,w,c,damn,color,color2,p,l,f,count,count2,b,v:integer;
a,a2:boolean;
s:string;
procedure findandminerock;
begin
if(findcolortolerance(x,y,color,5,240,1460,945,3))then
begin
clickwindmouse(x-10,y-10,35,25,true);
end;
end;
procedure dropit;
begin
findcolortolerance(r,z,color2,1490,685,1670,940,2);
clickwindmouse(r-5,z,12,10,false);
wait(100+random(300));
clickwindmouse(r,z+42,10,5,true);
wait(100+random(250));
end;
procedure check;
begin
if(findcolortolerance(b,v,color2,1495,690,1535,720,3))and(findcolortolerance(b,v,color2,1625,905,1665,935,3))then
a:=true;
end;
procedure check2;
begin
if(findcolortolerance(b,v,color2,1495+count*40,690+count2*40,1535*40,720+count2*40,3))then
begin
count:=count+1;
a2:=true;
end;
if(count=4)or(count=8)or(count=12)or(count=16)or(count=20)or(count=24)then
begin
count2:=count2+1;
end;
end;
procedure login;
var
x,y:integer;
begin
damn:=0;
wait(500);
case getapplication.MessageBox('is your browser icon in the top left hand corner of your screen?','ANSWER THIS',4)of
mryes:damn:=1;
end;
if(damn=1)then
begin
clickmouse( 40,30,true);
wait(100);
clickmouse(40,30,true);
clickmouse(1080,540,true);
wait(16000+random(2000));
clickwindmouse(835,530,15,30,true);
wait(300+random(300));
clickwindmouse(830,615,10,7,true);
wait(100+random(500));
typekeys('******');//replace with ur username
wait(200+random(200));
clickwindmouse(830,675,14,3,true);
wait(200+random(150));
typekeys('*******');//replace with ur password
wait(50+random(150));
clickwindmouse(830,715,15,20,true);
wait(4500+random(700));
findcolortolerance(x,y,9822460,640,725,1025,780,3);
clickmouse(x,y,true);
end;
if(damn=0)then
begin
getapplication.messagebox('you have 3 seconds to open ur browser','time is money',0);
wait(3000);
clickmouse(1080,540,true);
wait(16000+random(2000));
clickwindmouse(835,530,15,30,true);
wait(300+random(300));
clickwindmouse(830,615,10,7,true);
wait(100+random(500));
typekeys('******');//replace with ur username
wait(200+random(200));
clickwindmouse(830,675,14,3,true);
wait(200+random(150));
typekeys('*******');//replace with ur password
wait(50+random(150));
clickwindmouse(830,715,15,20,true);
wait(4500+random(700));
findcolortolerance(x,y,9822460,640,725,1025,780,3);
clickmouse(x,y,true);
end;
end;
procedure spinit;
begin
if(f>2)then
begin
if(p=0)then
begin
keydown(vk_up);
wait(random(400));
keyup(vk_up);
end;
if(p=1)then
begin
keydown(vk_left);
wait(random(400));
keyup(vk_left);
end;
if(p=2)then
begin
keydown(vk_down);
wait(random(400));
keyup(vk_down);
end;
if(p=3)then
begin
keydown(vk_right);
wait(random(400));
keyup(vk_right);
end;
end;
end;
procedure terminateit;
begin
for i:=1 to 5 do
begin
if(iskeydown('t'))then
begin
terminatescript;
end;
wait(25);
end;
end;
procedure therest;
begin
getapplication.MessageBox('after this write login if you want the program to log you in','login:',0);
wait(1000);
s:=readln(s);//write login if you want the program to log you in
wait(75);
movetotray;
activateclient;
if(s='login')then
begin
login;
end;
repeat
wait(4000);
case getapplication.MessageBox('are you in a mining site so that u can pick the color of the streaky bit of the rock to be mined?','ready?',4)of
mryes:w:=1;
end;
wait(1000);
until(w=1);
getapplication.MessageBox('now pick the color of the streaky bit of the rock to be mined!','go for it',0);
wait(200);
pickcolor(color,b,v);//pick the color of the streaky bit of the rock to be mined
repeat
wait(4000);
case getapplication.MessageBox('have you got a sample of the rock to be mined in your inventory?','i''d like to know',4)of
mryes:c:=1;
end;
wait(1000);
until(c=1);
getapplication.MessageBox('now pick the color of the rock in your inventory','go for it',0);
wait(200);
pickcolor(color2,b,v);//pick the color of the mined rock in your inventory(you'll have to mine a bit before u start)
repeat
p:=random(4);
l:=random(4);
spinit;
count:=0;
count2:=0;
repeat
terminateit;
findandminerock;
check;
a2:=false;
repeat
check2;
wait(200);
until(a2=true);
until(a=true);
spinit;
for i:=1 to 28 do
begin
terminateit;
dropit;
end;
until(false);
end;
begin
therest;
end.
[/scar]
don't forget to press t to stop the script
the other version had a minor glitch.
[scar]
program powerminer;
var
x,y,i,r,z,w,c,damn,color,color2,p,l,f,count,count2,b,v:integer;
a,a2:boolean;
s:string;
procedure findandminerock;
begin
if(findcolortolerance(x,y,color,5,240,1460,945,3))then
begin
clickwindmouse(x-10,y-10,35,25,true);
end;
end;
procedure dropit;
begin
findcolortolerance(r,z,color2,1490,685,1670,940,2);
clickwindmouse(r-5,z,12,10,false);
wait(100+random(300));
clickwindmouse(r,z+42,10,5,true);
wait(100+random(250));
end;
procedure check;
begin
if(findcolortolerance(b,v,color2,1495,690,1535,720,3))and(findcolortolerance(b,v,color2,1625,905,1665,935,3))then
a:=true;
end;
procedure check2;
begin
if(findcolortolerance(b,v,color2,1495+count*40,690+count2*40,1535*40,720+count2*40,3))then
begin
count:=count+1;
a2:=true;
end;
if(count=4)or(count=8)or(count=12)or(count=16)or(count=20)or(count=24)then
begin
count2:=count2+1;
count:=0;
end;
end;
procedure login;
var
x,y:integer;
begin
damn:=0;
wait(500);
case getapplication.MessageBox('is your browser icon in the top left hand corner of your screen?','ANSWER THIS',4)of
mryes:damn:=1;
end;
if(damn=1)then
begin
clickmouse( 40,30,true);
wait(100);
clickmouse(40,30,true);
clickmouse(1080,540,true);
wait(16000+random(2000));
clickwindmouse(835,530,15,30,true);
wait(300+random(300));
clickwindmouse(830,615,10,7,true);
wait(100+random(500));
typekeys('******');//replace with ur username
wait(200+random(200));
clickwindmouse(830,675,14,3,true);
wait(200+random(150));
typekeys('*******');//replace with ur password
wait(50+random(150));
clickwindmouse(830,715,15,20,true);
wait(4500+random(700));
findcolortolerance(x,y,9822460,640,725,1025,780,3);
clickmouse(x,y,true);
end;
if(damn=0)then
begin
getapplication.messagebox('you have 3 seconds to open ur browser','time is money',0);
wait(3000);
clickmouse(1080,540,true);
wait(16000+random(2000));
clickwindmouse(835,530,15,30,true);
wait(300+random(300));
clickwindmouse(830,615,10,7,true);
wait(100+random(500));
typekeys('******');//replace with ur username
wait(200+random(200));
clickwindmouse(830,675,14,3,true);
wait(200+random(150));
typekeys('*******');//replace with ur password
wait(50+random(150));
clickwindmouse(830,715,15,20,true);
wait(4500+random(700));
findcolortolerance(x,y,9822460,640,725,1025,780,3);
clickmouse(x,y,true);
end;
end;
procedure spinit;
begin
if(f>2)then
begin
if(p=0)then
begin
keydown(vk_up);
wait(random(400));
keyup(vk_up);
end;
if(p=1)then
begin
keydown(vk_left);
wait(random(400));
keyup(vk_left);
end;
if(p=2)then
begin
keydown(vk_down);
wait(random(400));
keyup(vk_down);
end;
if(p=3)then
begin
keydown(vk_right);
wait(random(400));
keyup(vk_right);
end;
end;
end;
procedure terminateit;
begin
for i:=1 to 5 do
begin
if(iskeydown('t'))then
begin
terminatescript;
end;
wait(25);
end;
end;
procedure therest;
begin
getapplication.MessageBox('after this write login if you want the program to log you in','login:',0);
wait(1000);
s:=readln(s);//write login if you want the program to log you in
wait(75);
movetotray;
activateclient;
if(s='login')then
begin
login;
end;
repeat
wait(4000);
case getapplication.MessageBox('are you in a mining site so that u can pick the color of the streaky bit of the rock to be mined?','ready?',4)of
mryes:w:=1;
end;
wait(1000);
until(w=1);
getapplication.MessageBox('now pick the color of the streaky bit of the rock to be mined!','go for it',0);
wait(200);
pickcolor(color,b,v);//pick the color of the streaky bit of the rock to be mined
repeat
wait(4000);
case getapplication.MessageBox('have you got a sample of the rock to be mined in your inventory?','i''d like to know',4)of
mryes:c:=1;
end;
wait(1000);
until(c=1);
getapplication.MessageBox('now pick the color of the rock in your inventory','go for it',0);
wait(200);
pickcolor(color2,b,v);//pick the color of the mined rock in your inventory(you'll have to mine a bit before u start)
repeat
p:=random(4);
l:=random(4);
spinit;
count:=0;
count2:=0;
repeat
terminateit;
findandminerock;
check;
a2:=false;
repeat
check2;
wait(200);
until(a2=true);
until(a=true);
spinit;
for i:=1 to 28 do
begin
terminateit;
dropit;
end;
until(false);
end;
begin
therest;
end.
[/scar]
just quickly scan through the login procedure and replace ur username and passwrod there. nothing elese to do!
just fixed minor glitch where it wouldn't spin the screen, made it slightly less detectable(probably about the least detectable it can be without anti-random and ban),and made it more accurate when clicking. i'm pretty sure this is actually the final version(about version a million! :cool:).
out of interest though if freddy pops in could he tell me what language scar is written in (pascal right?) if it is pascal what version( cause i'm pretty sure it aint 7) and how many lines of code scar is.
[scar]
program powerminer;
var
x,y,i,r,z,w,c,damn,color,color2,p,l,f,count,count2,b,v:integer;
a,a2:boolean;
s:string;
procedure findandminerock;
begin
if(findcolortolerance(x,y,color,5,240,1460,945,3))then
begin
clickwindmouse(x-10,y-10,27,25,true);
end;
end;
procedure dropit;
begin
findcolortolerance(r,z,color2,1490,685,1670,940,2);
clickwindmouse(r-5,z,12,10,false);
wait(100+random(300));
clickwindmouse(r-3,z+42,10,5,true);
wait(100+random(250));
end;
procedure check;
begin
if(findcolortolerance(b,v,color2,1495,690,1535,720,3))and(findcolortolerance(b,v,color2,1625,905,1665,935,3))then
a:=true;
end;
procedure check2;
begin
if(findcolortolerance(b,v,color2,1495+count*40,690+count2*40,1535*40,720+count2*40,3))then
begin
count:=count+1;
a2:=true;
end;
if(count=4)or(count=8)or(count=12)or(count=16)or(count=20)or(count=24)then
begin
count2:=count2+1;
count:=0;
end;
end;
procedure login;
var
x,y:integer;
begin
damn:=0;
wait(500);
case getapplication.MessageBox('is your browser icon in the top left hand corner of your screen?','ANSWER THIS',4)of
mryes:damn:=1;
end;
if(damn=1)then
begin
clickmouse( 40,30,true);
wait(100);
clickmouse(40,30,true);
clickmouse(1080,540,true);
wait(16000+random(2000));
clickwindmouse(835,530,15,30,true);
wait(300+random(300));
clickwindmouse(830,615,10,7,true);
wait(100+random(500));
typekeys('******');//replace with ur username
wait(200+random(200));
clickwindmouse(830,675,14,3,true);
wait(200+random(150));
typekeys('*******');//replace with ur password
wait(50+random(150));
clickwindmouse(830,715,15,20,true);
wait(4500+random(700));
findcolortolerance(x,y,9822460,640,725,1025,780,3);
clickmouse(x,y,true);
end;
if(damn=0)then
begin
getapplication.messagebox('you have 3 seconds to open ur browser','time is money',0);
wait(3000);
clickmouse(1080,540,true);
wait(16000+random(2000));
clickwindmouse(835,530,15,30,true);
wait(300+random(300));
clickwindmouse(830,615,10,7,true);
wait(100+random(500));
typekeys('******');//replace with ur username
wait(200+random(200));
clickwindmouse(830,675,14,3,true);
wait(200+random(150));
typekeys('*******');//replace with ur password
wait(50+random(150));
clickwindmouse(830,715,15,20,true);
wait(4500+random(700));
findcolortolerance(x,y,9822460,640,725,1025,780,3);
clicwindkmouse(x,y,20,20true);
end;
end;
procedure spinit;
begin
p:=random(4)
f:=random(10);
if(f>8)then
sendarrowwait(p,random(1000);
end;
procedure terminateit;
begin
for i:=1 to 5 do
begin
if(iskeydown('t'))then
begin
terminatescript;
end;
wait(25);
end;
end;
procedure therest;
begin
getapplication.MessageBox('after this write login if you want the program to log you in','login:',0);
wait(1000);
s:=readln(s);//write login if you want the program to log you in
wait(75);
movetotray;
activateclient;
if(s='login')then
begin
login;
end;
repeat
wait(4000);
case getapplication.MessageBox('are you in a mining site so that u can pick the color of the streaky bit of the rock to be mined?','ready?',4)of
mryes:w:=1;
end;
wait(1000);
until(w=1);
getapplication.MessageBox('now pick the color of the streaky bit of the rock to be mined!','go for it',0);
wait(200);
pickcolor(color,b,v);//pick the color of the streaky bit of the rock to be mined
repeat
wait(4000);
case getapplication.MessageBox('have you got a sample of the rock to be mined in your inventory?','i''d like to know',4)of
mryes:c:=1;
end;
wait(1000);
until(c=1);
getapplication.MessageBox('now pick the color of the rock in your inventory','go for it',0);
wait(200);
pickcolor(color2,b,v);//pick the color of the mined rock in your inventory(you'll have to mine a bit before u start)
repeat
count:=0;
count2:=0;
repeat
terminateit;
spinit;
findandminerock;
check;
a2:=false;
repeat
check2;
wait(100+random(200));
until(a2=true);
until(a=true);
spinit;
for i:=1 to 28 do
begin
terminateit;
dropit;
end;
until(false);
end;
begin
therest;
end.
[/scar]