Dont Apply For Srl Member with this script. Its good for starters but patience is virtue.
First of all you dont even have Srl included..
You can add this to your script just by doing this..
program Help411;
{.include SRL/SRL.scar}
NEVER use
MoveMouse(...)
or
Clickmouse(...)
Use These
Mouse(x,y,1,1,true)
and
Mmouse(x,y,0,0,true/false)
Secondly.
You use all these random variables.. No need for them. X,y are globals.
Also, use
FindColorTolerance(...)
Because what your script will do is find that exact color, Runescape changes colors everytime you load runescape up. FindColorTolerance will use that color and make it so it has more chances of hitting the color you specified.
Thirdly.
You do not have one procedure in this entire script. How can you make a main loop without procedures, you cant.
Also i see no progress report procedure so how you supposed to post proggy's?
This script also isnt Guaranteed to run very long, since theres no real failsafes. This script will go untill
t = 3
so what happens when the script messes up and cant do this 3 times.
This is were failsafes come in. You have used them in your script but not correctly. a failsafe is more of an alternative to go to if something in your script messes up. Although you did do that, it just finds another color which isnt promising at all. Do something like this…
begin
if FindColorTolerance(x, y, 922663, 267, 129, 308, 218,10)then
Mouse(x,y,1,1,true)
else
if (not(FindColorTolerance(x, y, 922663, 267, 129, 308, 218,10)))Then
begin
writeln('Couldnt find rocks, logging out')
logout;
end;
end.
So this Logs out if it couldnt find the color, So this will make you less detectable. This is a basic failsafe, One of the ones i like to use are
repeat
Tries := Tries + 1
if (Tries = 5)then
begin
Writeln(' couldnt find Rock colors.')
Logout;
end;
until FindDTM(Rock,x,y,0,0,516,338);
mouse(x,y,1,1,false);
Wait(2894 -Random(423));
Forthly
Adding Anti Randoms and AntiBan is a
MOST need in your script. Because whats the point of the script autoing if your going to lose the account anyways.
Adding anti randoms is pretty easy, although there are better functions this is the simplest and good for most randoms. This can be place anywere pretty much. make sure you have it in somewere were its going to repeat and not just do it once in the script. The more it checks for randoms the safer you are :D
FindNormalRandoms;
Adding AntiBan is also a Most needed thing, also its pretty fun making your own :D here is how i made my anti ban, i dont mind you using this in your script, but just credit me.
{------------------------------}
{ Dudez Special AntiBan }
{------------------------------}
Procedure DudezBan;
begin
case random(10) of
1: MakeCompass('S');
2: MakeCompass('W');
3: MakeCompass('E');
4: MakeCompass('N');
5: Hoverskill('Random', False);
6: PickupMouse;
7: IdleTime(9567 + Random(359),1000,1.0);
8: SleepAndMoveMouse(1343 + Random(2500));
9: RandomRClick;
end;
If FindColortolerance(x,y,65657,MSX1,MSY1,MSX2,MSY2,80)or
FindColortolerance(x,y,123423,MSX1,MSY1,MSX2,MSY2,80)or
FindColortolerance(x,y,81732,MSX1,MSY1,MSX2,MSY2,80)or
FindColortolerance(x,y,665231,MSX1,MSY1,MSX2,MSY2,80)then
Mouse(x,y,1,1,False);
Chooseoption('ancle');
end;
Well i hope i helped :D
There still much work that you need, but feel free to message me on MSN or Here.
But dude keep working on it, you'll get better, takes some time but your doing great for a start