dc686
2012-05-13 01:10:21
Hi im currently working on a mining script for gem rocks to try and become a srl member and im trying to figure out the best way to have it detect you are mining if anyone could help any it would mean a lot thank u
2012-05-13 01:10:21
2012-05-13 02:56:20
2012-05-13 03:05:59
2012-05-13 10:28:17
From: dc686
do u know where a tut on how to use pixelshift is im trying to learn and im having trouble doing so
2012-05-13 18:48:59
2012-05-13 20:34:09
2012-05-13 22:01:14
2012-05-13 22:10:49
2012-05-14 00:35:40
function IsMining: Boolean;
begin
Result := PixelShift(IntToBox(MSCX-30, MSCY-30, MSCX+30, MSCY+30), 500) > 200;
end; While IsMining do
Wait(RandomRange(500,1000)); 2012-05-14 00:41:31
From: dc686
used it and couldnt find a tut on pixel shifting
2012-05-14 00:56:52
program new;
{$DEFINE SMART}
{$i srl/srl.simba}
{$i sps/sps.simba}
var
GemBag:integer;
Sapphire:integer;
x,y,x1,y2:integer;
procedure freed;
begin
GemBag := DTMFromString('mrAAAAHic42BgYJjGxMAwGYhnA/ECJgi/F4j7gHgeEBswMjBoArEiEBsDsRUQmwKxLhBbAnHb7GlAU5jwYNyAH4gZCWAYAABW6Qgy');
sapphire := DTMFromString('mwQAAAHic42RgYMhnYmBIAuISIE4D4iIgzgHiFKhYNhA/B6q7B8TvgfgtED+A8p8A8QsgfgfEfAIpDCLifQzcvMEM/EI5DDz80Qy8/MkMwuI9DNw8AWAxYgAjERgOANqzENw=');
end;
procedure freeddtmz;
begin
FreeDtm(GemBag);
FreeDTM(sapphire);
end;
procedure DeclarePlayers;
begin
HowManyPlayers := 1;
NumberOfPlayers(HowManyPlayers);
CurrentPlayer := 0;
with Players[0] do
begin
Name := ''; // Username
Pass := ''; // Password
Pin := ''; // Pin
Active := True; // Set to true if you want to use Player 0
BoxRewards := ['XP','xp','lamp'];
LampSkill := Skill_Mining;
end;
end;
procedure BagGem;
var
x, y : Integer;
begin
if FindDTM(GemBag, x, y, MIX1, MIY1, MIX2, MIY2) then
begin
Writeln('Hello world!')
if FindDTm(sapphire,x,y,MIX1,MIY1,MIX2,MIY2) then
Mouse(x, y, 0, 0, False);//Remeber that "False" means it will right click.
if ChooseOption('use') then
if FindDTM(GemBag, x, y, MIX1, MIY1, MIX2, MIY2) then
Mouse(x,y,0,0 ,true);
end;
end;
begin
Smart_Server := 86;
Smart_Members := True;
Smart_Signed := True;
Smart_SuperDetail := False;
SetupSRL();
ClearDebug();
DeclarePlayers();
if not LoggedIn then
begin
LoginPlayer();
end;
if LoggedIn then
begin
freed;
freeddtmz;
BagGem;
ClickNorth(SRL_ANGLE_HIGH);
BagGem;
end;
end.2012-05-14 01:02:28
2012-05-14 01:03:45
2012-05-14 01:32:22
freed; //rename to Load
BagGem;
ClickNorth(SRL_ANGLE_HIGH);
BagGem;
freeddtmz;
2012-05-14 01:43:23
2012-05-14 02:06:45