Vinyl Scratch
2012-07-06 14:38:11
I wanted to make the thread now, to one, keep you guys updated, and two, have it ready, just because. Well, The features?
Support on ALL Monsters/nodes.
Island hopping. Detects your level and goes to the appropriate floor.
All floor support.
Amazing antiban, that will make sense for what you're doing.(Runescrafting)
TPAs.
Multiplayer support.
As much as you guys can thing of!
Edit1: Update!!! Yay! Hey, guys, I got my TPAs down! Woohoo! http://villavu.com/forum/showthread.php?t=35504 <– learned them from this AMAZING tut! ..Anyway, I got the Air Esslings down, Now, all I have to do is get the rest of them! So much more work, but it'll be fun, nonetheless.
Code so far:
program TrollnRuneSpan;
{$DEFINE SMART}
{$IFDEF SMART}
{$i SRL/SRL/Misc/Smart.simba}
{$ENDIF}
{$i SRL/SRL.simba}
const
SRLStats_Username = ''; //SRL Stats User
SRLStats_Pass = ''; //SRL Stats Pass
BreakEvery = '60'; //Break Every Log, Or Never.
BreakFor = '7'; //Break For How long, Now?
Version = '5.3'; // Don't Touch.
NumbOfPlayers = 1; //Number of Players That You Will Be using.
StartPlayer = 0; //Start Which Player?
procedure DeclarePlayers;
var
i: Integer;
begin
NumberOfPlayers(NumbOfPlayers);
CurrentPlayer := StartPlayer;
for i := 0 to NumbOfPlayers-1 do
begin
Players[0].Name := ''; // Your Username.
Players[0].Pass := ''; // Your Password.
Players[0].Pin := ''; // Your Bank Pin. (Leave Blank If You Don't Have One.)
Players[0].Active := True; // Are you using this player?
Players[0].Member := True; // Are you a member?
end;
end;
function AirEsslings(X, y: Integer): Boolean;
var
CTS, I: Integer;
TPA: TPointArray;
ATPA: Array of TPointArray;
begin
CTS := GetColorToleranceSpeed;
ColorToleranceSpeed(2);
SetColorSpeed2Modifiers(3.47, 1.75);
FindColorsSpiralTolerance(MSCX, MSCY, TPA, 6442547, MSX1, MSY1, MSX2, MSY2, 7);
ColorToleranceSpeed(CTS);
ATPA:= TPAToATPAEx(TPA, 15, 15);
for I := 0 to High(ATPA) do
begin
MiddleTPAEx(ATPA[I], X, y);
MMouse(X, y, 2, 2);
if IsUpTextMultiCustom(['iphon', 'Air', 'ssling']) then
begin
Result:= True;
GetMousePos(X, y);
Break;
case Random(2) of
0: ClickMouse2(True);
1: begin
ClickMouse2(False);
ChooseOptionMulti(['iphon','Air', 'ssling']);
end;
end;
end;
end;
end;
begin
end. Guys, if there's anything wrong with what I have so far, let me know, I'll fix it. I want this script to be better then what PB, or EB has to offer! Help me make it so!edit2:
program TrollnRuneSpan;
//{$DEFINE SMART}
//{$IFDEF SMART}
//{$i SRL/SRL/Misc/Smart.simba}
//{$ENDIF}
{$i SRL/SRL.simba}
const
SRLStats_Username = ''; //SRL Stats User
SRLStats_Pass = ''; //SRL Stats Pass
BreakEvery = '60'; //Break Every Log, Or Never.
BreakFor = '7'; //Break For How long, Now?
Version = '5.3'; // Don't Touch.
NumbOfPlayers = 1; //Number of Players That You Will Be using.
StartPlayer = 0; //Start Which Player?
procedure DeclarePlayers;
var
i: Integer;
begin
NumberOfPlayers(NumbOfPlayers);
CurrentPlayer := StartPlayer;
for i := 0 to NumbOfPlayers-1 do
begin
Players[0].Name := ''; // Your Username.
Players[0].Pass := ''; // Your Password.
Players[0].Pin := ''; // Your Bank Pin. (Leave Blank If You Don't Have One.)
Players[0].Active := True; // Are you using this player?
Players[0].Member := True; // Are you a member?
end;
end;
procedure Startup;
begin
Smart_Server := 97;
Smart_Members := False;
Smart_Signed := False;
Smart_SuperDetail := False;
SetupSRL;
//DeclarePlayers;
//LogInPlayer;
MouseSpeed := 21;
wait(100+random(100));
end;
function AirEsslings: Boolean;
var
X, y, I: Integer;
CTS: Integer;
TPA: TPointArray;
ATPA: Array of TPointArray;
begin
CTS:= GetColorToleranceSpeed;
ColorToleranceSpeed(2);
SetColorSpeed2Modifiers(3.47, 1.75);
FindColorsSpiralTolerance(MSCX, MSCY, TPA, 6442547, MSX1, MSY1, MSX2, MSY2, 7)// or
ColorToleranceSpeed(CTS);
ATPA:= TPAToATPAEx(TPA, 15, 15);
for I := 0 to High(ATPA) do
begin
MiddleTPAEx(ATPA[I], X, y);
MMouse(X, y, 2, 2);
if IsUpTextMultiCustom(['iphon', 'Air', 'ssling']) then
begin
Result:= True;
GetMousePos(X, y);
case Random(2) of
0: begin
ClickMouse2(True);
Wait(30000);
end;
1: begin
ClickMouse2(False);
ChooseOptionMulti(['iphon','Air', 'ssling']);
Wait(30000);
begin
Break;
end;
end;
end;
end;
end;
end;
function Cyclone: Boolean;
var
X, y, I: Integer;
CTS: Integer;
TPA: TPointArray;
ATPA: Array of TPointArray;
begin
CTS:= GetColorToleranceSpeed;
ColorToleranceSpeed(2);
SetColorSpeed2Modifiers(1.46, 1.81);
FindColorsSpiralTolerance(MSCX, MSCY, TPA, 1516323, MSX1, MSY1, MSX2, MSY2, 7);
ColorToleranceSpeed(CTS);
ATPA:= TPAtoATPAEx(TPA, 15, 15);
for I := 0 to High(ATPA) do
begin
MiddleTPAEx(ATPA[I], X, y);
MMouse(X, y, 2, 2);
if IsUpTextMultiCustom(['iphon', 'yclone']) then
begin
Result:= True;
GetMousePos(X, y);
case Random(2) of
0: begin
ClickMouse2(True);
wait(60000);
end;
1: begin
ClickMouse2(False);
ChooseOptionMulti(['iphon','yclone']);
Wait(60000);
begin
Break;
end;
end;
end;
end;
end;
end;
function EarthEssling: Boolean;
var
X, y, I: Integer;
CTS: Integer;
TPA: TPointArray;
ATPA: Array of TPointArray;
begin
CTS:= GetColorToleranceSpeed;
ColorToleranceSpeed(2);
SetColorSpeed2Modifiers(0.09, 0.68);
FindColorsSpiralTolerance(MSCX, MSCY, TPA, 5334428, MSX1, MSY1, MSX2, MSY2, 7);
ColorToleranceSpeed(CTS);
ATPA:= TPAtoATPAEx(TPA, 15, 15);
for I := 0 to High(ATPA) do
begin
MiddleTPAEx(ATPA[I], X, y);
MMouse(X, y, 2, 2);
if IsUpTextMultiCustom(['iphon', 'arth', 'ssling']) then
begin
Result:= True;
GetMousePos(X, y);
case Random(2) of
0: begin
ClickMouse2(True);
wait(30000);
end;
1: begin
ClickMouse2(False);
ChooseOptionMulti(['iphon','arth', 'ssling']);
wait(30000);
begin
Break;
end;
end;
end;
end;
end;
end;
begin
Startup;
AirEsslings;
EarthEssling;
Cyclone;
end. It works! Yay! I'm using the runescape client to test. You guys try it and tell me how it works. I'll start working on island hopping when I get to monsters that are on other islands. Hey, you guys, Should I livestream?Edit2:
program TrollnRuneSpan;
//{$DEFINE SMART}
//{$IFDEF SMART}
//{$i SRL/SRL/Misc/Smart.simba}
//{$ENDIF}
{$i SRL/SRL.simba}
const
SRLStats_Username = ''; //SRL Stats User
SRLStats_Pass = ''; //SRL Stats Pass
BreakEvery = '60'; //Break Every Log, Or Never.
BreakFor = '7'; //Break For How long, Now?
Version = '5.3'; // Don't Touch.
NumbOfPlayers = 1; //Number of Players That You Will Be using.
StartPlayer = 0; //Start Which Player?
procedure DeclarePlayers;
var
i: Integer;
begin
NumberOfPlayers(NumbOfPlayers);
CurrentPlayer := StartPlayer;
for i := 0 to NumbOfPlayers-1 do
begin
Players[0].Name := ''; // Your Username.
Players[0].Pass := ''; // Your Password.
Players[0].Pin := ''; // Your Bank Pin. (Leave Blank If You Don't Have One.)
Players[0].Active := True; // Are you using this player?
Players[0].Member := True; // Are you a member?
end;
end;
procedure Startup;
begin
Smart_Server := 97;
Smart_Members := False;
Smart_Signed := False;
Smart_SuperDetail := False;
SetupSRL;
//DeclarePlayers;
//LogInPlayer;
MouseSpeed := 21;
wait(100+random(100));
end;
function AirEssling: Boolean;
var
X, y, I: Integer;
CTS: Integer;
TPA: TPointArray;
ATPA: Array of TPointArray;
begin
CTS:= GetColorToleranceSpeed;
ColorToleranceSpeed(2);
SetColorSpeed2Modifiers(3.47, 1.75);
FindColorsSpiralTolerance(MSCX, MSCY, TPA, 6442547, MSX1, MSY1, MSX2, MSY2, 7)// or
ColorToleranceSpeed(CTS);
ATPA:= TPAToATPAEx(TPA, 15, 15);
for I := 0 to High(ATPA) do
begin
MiddleTPAEx(ATPA[I], X, y);
MMouse(X, y, 2, 2);
if IsUpTextMultiCustom(['iphon', 'Air', 'ssling']) then
begin
Result:= True;
GetMousePos(X, y);
case Random(2) of
0: begin
ClickMouse2(True);
Wait(30000);
end;
1: begin
ClickMouse2(False);
ChooseOptionMulti(['iphon','Air', 'ssling']);
Wait(30000);
begin
Break;
end;
end;
end;
end;
end;
end;
function Cyclone: Boolean;
var
X, y, I: Integer;
CTS: Integer;
TPA: TPointArray;
ATPA: Array of TPointArray;
begin
CTS:= GetColorToleranceSpeed;
ColorToleranceSpeed(2);
SetColorSpeed2Modifiers(1.46, 1.81);
FindColorsSpiralTolerance(MSCX, MSCY, TPA, 1516323, MSX1, MSY1, MSX2, MSY2, 7);
ColorToleranceSpeed(CTS);
ATPA:= TPAtoATPAEx(TPA, 15, 15);
for I := 0 to High(ATPA) do
begin
MiddleTPAEx(ATPA[I], X, y);
MMouse(X, y, 2, 2);
if IsUpTextMultiCustom(['iphon', 'yclone']) then
begin
Result:= True;
GetMousePos(X, y);
case Random(2) of
0: begin
ClickMouse2(True);
wait(60000);
end;
1: begin
ClickMouse2(False);
ChooseOptionMulti(['iphon','yclone']);
Wait(60000);
begin
Break;
end;
end;
end;
end;
end;
end;
function EarthEssling: Boolean;
var
X, y, I: Integer;
CTS: Integer;
TPA: TPointArray;
ATPA: Array of TPointArray;
begin
CTS:= GetColorToleranceSpeed;
ColorToleranceSpeed(2);
SetColorSpeed2Modifiers(0.09, 0.68);
FindColorsSpiralTolerance(MSCX, MSCY, TPA, 5334428, MSX1, MSY1, MSX2, MSY2, 7);
ColorToleranceSpeed(CTS);
ATPA:= TPAtoATPAEx(TPA, 15, 15);
for I := 0 to High(ATPA) do
begin
MiddleTPAEx(ATPA[I], X, y);
MMouse(X, y, 2, 2);
if IsUpTextMultiCustom(['iphon', 'arth', 'ssling']) then
begin
Result:= True;
GetMousePos(X, y);
case Random(2) of
0: begin
ClickMouse2(True);
wait(30000);
end;
1: begin
ClickMouse2(False);
ChooseOptionMulti(['iphon','arth', 'ssling']);
wait(30000);
begin
Break;
end;
end;
end;
end;
end;
end;
function WaterEssling: Boolean;
var
X, y, I: Integer;
CTS: Integer;
TPA: TPointArray;
ATPA: Array of TPointArray;
begin
CTS:= GetColorToleranceSpeed;
ColorToleranceSpeed(2);
SetColorSpeed2Modifiers(2.69, 0.70);
FindColorsSpiralTolerance(MSCX, MSCY, TPA, 5194866, MSX1, MSY1, MSX2, MSY2, 7);
ColorToleranceSpeed(CTS);
ATPA:= TPAtoATPAEx(TPA, 15, 15);
for I := 0 to High(ATPA) do
begin
MiddleTPAEx(ATPA[I], X, y);
MMouse(X, y, 2, 2);
if IsUpTextMultiCustom(['iphon', 'ater', 'ssling']) then
begin
Result:= True;
GetMousePos(X, y);
case Random(2) of
0: begin
ClickMouse2(True);
wait(30000);
end;
1: begin
ClickMouse2(False);
ChooseOptionMulti(['iphon','ater', 'ssling']);
wait(30000);
begin
Break;
end;
end;
end;
end;
end;
end;
function FireEssling: Boolean;
var
X, y, I: Integer;
CTS: Integer;
TPA: TPointArray;
ATPA: Array of TPointArray;
begin
CTS:= GetColorToleranceSpeed;
ColorToleranceSpeed(2);
SetColorSpeed2Modifiers(0.10, 0.75);
FindColorsSpiralTolerance(MSCX, MSCY, TPA, 5194866, MSX1, MSY1, MSX2, MSY2, 7);
ColorToleranceSpeed(CTS);
ATPA:= TPAtoATPAEx(TPA, 15, 15);
for I := 0 to High(ATPA) do
begin
MiddleTPAEx(ATPA[I], X, y);
MMouse(X, y, 2, 2);
if IsUpTextMultiCustom(['iphon', 'Fire', 'ssling']) then
begin
Result:= True;
GetMousePos(X, y);
case Random(2) of
0: begin
ClickMouse2(True);
wait(30000);
end;
1: begin
ClickMouse2(False);
ChooseOptionMulti(['iphon','Fire', 'ssling']);
wait(30000);
begin
Break;
end;
end;
end;
end;
end;
end;
function MindEssling: Boolean;
var
X, y, I: Integer;
CTS: Integer;
TPA: TPointArray;
ATPA: Array of TPointArray;
begin
CTS:= GetColorToleranceSpeed;
ColorToleranceSpeed(2);
SetColorSpeed2Modifiers(0.35, 0.48);
FindColorsSpiralTolerance(MSCX, MSCY, TPA, 5194866, MSX1, MSY1, MSX2, MSY2, 7);
ColorToleranceSpeed(CTS);
ATPA:= TPAtoATPAEx(TPA, 15, 15);
for I := 0 to High(ATPA) do
begin
MiddleTPAEx(ATPA[I], X, y);
MMouse(X, y, 2, 2);
if IsUpTextMultiCustom(['iphon', 'Mind', 'ssling']) then
begin
Result:= True;
GetMousePos(X, y);
case Random(2) of
0: begin
ClickMouse2(True);
wait(30000);
end;
1: begin
ClickMouse2(False);
ChooseOptionMulti(['iphon','Mind', 'ssling']);
wait(30000);
begin
Break;
end;
end;
end;
end;
end;
end;
function BodyEsshound: Boolean;
var
X, y, I: Integer;
CTS: Integer;
TPA: TPointArray;
ATPA: Array of TPointArray;
begin
CTS:= GetColorToleranceSpeed;
ColorToleranceSpeed(2);
SetColorSpeed2Modifiers(2.40, 0.83);
FindColorsSpiralTolerance(MSCX, MSCY, TPA, 7093602, MSX1, MSY1, MSX2, MSY2, 7);
ColorToleranceSpeed(CTS);
ATPA:= TPAtoATPAEx(TPA, 15, 15);
for I := 0 to High(ATPA) do
begin
MiddleTPAEx(ATPA[I], X, y);
MMouse(X, y, 2, 2);
if IsUpTextMultiCustom(['iphon', 'Body', 'sshound']) then
begin
Result:= True;
GetMousePos(X, y);
case Random(2) of
0: begin
ClickMouse2(True);
wait(30000);
end;
1: begin
ClickMouse2(False);
ChooseOptionMulti(['iphon','Mind', 'ssling']);
wait(30000);
begin
Break;
end;
end;
end;
end;
end;
end;
function CosmicEsshound: Boolean;
var
X, y, I: Integer;
CTS: Integer;
TPA: TPointArray;
ATPA: Array of TPointArray;
begin
CTS:= GetColorToleranceSpeed;
ColorToleranceSpeed(2);
SetColorSpeed2Modifiers();
FindColorsSpiralTolerance(MSCX, MSCY, TPA, , MSX1, MSY1, MSX2, MSY2, 7);
ColorToleranceSpeed(CTS);
ATPA:= TPAtoATPAEx(TPA, 15, 15);
for I := 0 to High(ATPA) do
begin
MiddleTPAEx(ATPA[I], X, y);
MMouse(X, y, 2, 2);
if IsUpTextMultiCustom(['iphon', 'osmic', 'sshound']) then
begin
Result:= True;
GetMousePos(X, y);
case Random(2) of
0: begin
ClickMouse2(True);
wait(30000);
end;
1: begin
ClickMouse2(False);
ChooseOptionMulti(['iphon','osmic', 'sshound']);
wait(30000);
begin
Break;
end;
end;
end;
end;
end;
end;
begin
Startup;
AirEssling;
EarthEssling;
WaterEssling;
FireEssling;
MindEssling;
Cyclone;
end. <– How's it looking so far, guys? I worked on it all day yesterday, and I got quite a bit done. Thought it deserved an update. Tell me how this one works, guys! Hey, guys, sorry I haven't updated in a while, but I have an update. I did a complete re-code after following a bunch of tutorials, and this is what I have so far!
program TrollnRunespan;
{$DEFINE SMART}
{$i SRL/SRL.simba}
const
SRLStats_Username = ''; //SRL Stats User
SRLStats_Pass = ''; //SRL Stats Pass
BreakEvery = '60'; //Break Every Log, Or Never.
BreakFor = '7'; //Break For How long, Now?
Version = '3.0'; // Don't Touch.
NumbOfPlayers = 1; //Number of Players That You Will Be using.
StartPlayer = 0; //Start Which Player?
Forcenew = False; //Force a New Client When Starting or not?
Essling = 'Air'; //Type the Element of Essling you want to siphon Air, Earth, Fire etc
var
x,y:integer;
Procedure DeclarePlayers;
begin
HowManyPlayers := 1;
NumberOfPlayers(HowManyPlayers);
CurrentPlayer := 0;
with Players[0] do
begin
Name := ''; // Your Username.
Pass := ''; // Your Password.
Pin := ''; // Your Bank Pin. (Leave Blank If You Don't Have One.)
WorldInfo := [27, 42, 45, 46, 48, 52, 59, 70, 72, 78, 79, 87, 104, 115, 117];
BoxRewards := ['XP','xp','lamp'];
LampSkill := Skill_Slayer;
Active := True;
end;
end;
Procedure SiphonEssling(EsslingUpText:TStringArray; Color, Tol:integer; Hue, Sat:extended);
var
Data:TIntegerArray;
TPA: TPointArray;
ATPA: Array of TPointArray;
Box:Tbox;
begin
SetLength(Data, 4);
Data[3]:=GetColorToleranceSpeed;
ColorToleranceSpeed(2);
SetColorSpeed2Modifiers(3.47, 1.75);
FindColorsSpiralTolerance(MSCX, MSCY, TPA, 6442547, MSX1, MSY1, MSX2, MSY2, 7)
ColorToleranceSpeed(Data[3]);
ATPA:= TPAToATPAEx(TPA, 15, 15);
Data[1]:=High(ATPA);
for Data[0] := 0 to Data[1] do
begin
MiddleTPAEx(ATPA[Data[0]], x, y);
Box.X1:=x;
Box.Y1:=y;
Box.X2:=x+2;
Box.Y2:=y+2;
MouseTBox(Box, Move);
if WaitUpTextMulti(EsslingUptext, 300) then
begin
case Random(2) of
0: begin
ClickMouse2(True);
if(DidRedClick())then
Wait(RandomRange(28000, 32000));
Break;
end;
1: begin
ClickMouse2(False);
if(WaitOptionMulti(['iphon','Air', 'ssling'], 300))then
Wait(Randomrange(28000, 30000))
else
Break;
end;
end;
end;
end;
end;
begin
{$IFDEF SMART}
{$IFDEF SIMBAMAJOR980}
Smart_Server := 72;
Smart_Members := True;
Smart_Signed := True;
Smart_SuperDetail := False;
{$ELSE}
SRL_SixHourFix := True;
Smart_FixSpeed := True;
{$ENDIF}
{$ENDIF}
if(Forcenew)then
ForcenewC:=true;
DeclarePlayers;
SetupSRL;
mousespeed:=25+random(5);
if(not(Loggedin))then
begin
LoginPlayerToLob;
ChangeWorld(RandomWorld(True, False));
sleep(4000+Random(3000));
Setangle(0);
if(FindColorTolerance(x,y,3978996,485, 58,506, 79, 5))then
begin
Mmouse(x,y,3,3);
Sleep(100+Random(100));
Clickmouse2(True);
Sleep(100+Random(100));
end;
end;
repeat
FindNormalRandoms;
Case Essling of
'Air': begin SiphonEssling(['iphon Air', 'hon Air', 'hon Air Essling'], 6442547, 7, 3.47, 1.75); end;
'Fire': begin SiphonEssling(['iphon Fire', 'hon Fire', 'hon Fire Essling'], 5194866, 7, 0.10, 0.75); end;
'Earth': begin SiphonEssling(['iphon Earth', 'hon Earth', 'hon Earth Essling'], 5334428, 7, 0.09, 0.68); end;
'Water': begin SiphonEssling(['iphon Water', 'hon Water', 'hon Water Essling'], 5194866, 7, 2.69, 0.70); end;
End;
until not LoggedIn;
end. Only does esslings right now, but I'm going to add more today!program TrollnRunespan;
{$DEFINE SMART}
{$i SRL/SRL.simba}
const
Version = '3.0'; // Don't Touch.
NumbOfPlayers = 1; //Number of Players That You Will Be using.
StartPlayer = 0; //Start Which Player?
Forcenew = False; //Force a New Client When Starting or not?
RuneSpanSiphonType = 'Esshound'; //Essling, Esshound, Nebula,
Element = 'Air'; //Esslings: Air, Water, Fire, Earth, Mind.
//Esshound: Body, Law, Cosmic, Nature.
//Esswraith: Blood, Death, Soul.
var
Color, Tol:integer;
Hue, Sat:Extended;
UptextArray:TstringArray;
x, y: Integer;
Ess, Exp: Integer;
procedure DeclarePlayers;
begin
HowManyPlayers := 1;
NumberOfPlayers(HowManyPlayers);
CurrentPlayer := 0;
with Players[0] do
begin
Name := ''; // Your Username.
Pass := ''; // Your Password.
Pin := ''; // Your Bank Pin. (Leave Blank If You Don't Have One.)
WorldInfo := [27, 42, 45, 46, 48, 52, 59, 70, 72, 78, 79, 87, 104, 115, 117];
BoxRewards := ['XP','xp','lamp'];
LampSkill := Skill_Slayer;
Active := True;
end;
end;
procedure FindRandoms;
begin
FindNormalRandoms;
Wait(3000);
end;
function Siphon(EsslingUpText:TStringArray; Color, Tol:integer; Hue, Sat:extended): Boolean;
var
Data:TIntegerArray;
TPA: TPointArray;
ATPA: Array of TPointArray;
Box:Tbox;
x,y: Integer;
begin
SetLength(Data, 4);
Data[3]:=GetColorToleranceSpeed;
ColorToleranceSpeed(2);
SetColorSpeed2Modifiers(3.47, 1.75);
FindColorsSpiralTolerance(MSCX, MSCY, TPA, 6442547, MSX1, MSY1, MSX2, MSY2, 7)
ColorToleranceSpeed(Data[3]);
ATPA:= TPAToATPAEx(TPA, 15, 15);
Data[1]:=High(ATPA);
for Data[0] := 0 to Data[1] do
begin
MiddleTPAEx(ATPA[Data[0]], x, y);
Box.X1:=x;
Box.Y1:=y;
Box.X2:=x+2;
Box.Y2:=y+2;
MouseTBox(Box, Move);
if WaitUpTextMulti(EsslingUptext, 300) then
begin
case Random(2) of
0: begin
ClickMouse2(True);
if(DidRedClick())then
Wait(RandomRange(28000, 32000));
Break;
end;
1: begin
ClickMouse2(False);
if(WaitOptionMulti(['iphon','Air', 'ssling'], 300))then
Wait(Randomrange(28000, 30000))
else
FindRandoms;
Break;
end;
end;
begin
Result:= True;
end;
end;
end;
end;
procedure SetupArguments;
begin
case RuneSpanSiphonType of
'Essling':
begin
case Element of
'Air': begin UpTextArray:=['iphon Air', 'hon Air', 'hon Air Essling']; Color:=6442547; Tol:=7; Hue:=3.47; Sat:=1.75; FindRandoms; end;
'Fire': begin UpTextArray:=['iphon Fire', 'hon fire', 'hon Fire Essling']; Color:=5194866; Tol:=7; Hue:=0.10; Sat:=0.75; FindRandoms; end;
'Earth': begin UpTextArray:=['iphon earth', 'hon earth', 'hon earth Essling']; Color:=5334428; Tol:=7; Hue:=0.09; Sat:=0.68; FindRandoms; end;
'Water': begin UpTextArray:=['iphon Water', 'hon Water', 'hon Water Essling']; Color:=5194866; Tol:=7; Hue:=0.10; Sat:=0.75; FindRandoms; end;
'Mind': begin UpTextArray:=['iphon Mind', 'hon mind', 'hon mind Essling']; Color:=5194866; Tol:=7; Hue:=0.35; Sat:=0.48; FindRandoms; end;
end;
end;
'Esshound':
begin
case Element of
'body': begin UpTextArray:=['iphon body', 'body', 'hon body Esshound']; Color:=7093602; Tol:=7; Hue:=2.40; Sat:=0.83; FindRandoms; end;
'law': begin UpTextArray:=['iphon law', 'hon law', 'hon law Esshound']; Color:=16771982; Tol:=7; Hue:=0.68; Sat:=1.28; FindRandoms; end;
'astral': begin UpTextArray:=['iphon astral', 'hon astral', 'hon astral Esshound']; Color:=13346751; Tol:=7; Hue:=1.07; Sat:=0.35; FindRandoms; end;
end;
end;
{'Esswraith':
begin
'blood': begin UpTextArray:=['iphon Esswraith', 'hon blood', 'hon blood Esswraith']; Color:=; Tol:=7; Hue:=; Sat:=; end;
'soul': begin UpTextArray:=['iphon soul', 'hon soul', 'hon soul esswraith']; Color:=; Tol:=7; Hue:=; Sat:=; end;
'death': begin UpTextArray:=['iphon death', 'hon death', 'hon death Esswraith']; Color:=; Tol:=7; Hue:=; Sat:=; end;
end;}
end;
end;
begin
{$IFDEF SMART}
{$IFDEF SIMBAMAJOR980}
Smart_Server := 72;
Smart_Members := True;
Smart_Signed := True;
Smart_SuperDetail := False;
{$ELSE}
SRL_SixHourFix := True;
Smart_FixSpeed := True;
{$ENDIF}
{$ENDIF}
if(Forcenew)then
ForcenewC:=true;
DeclarePlayers;
SetupSRL;
mousespeed:=25+random(5);
if(not(Loggedin))then
begin
LoginPlayerToLob;
ChangeWorld(RandomWorld(True, False));
sleep(4000+Random(3000));
Setangle(0);
if(FindColorTolerance(x,y,3978996,485, 58,506, 79, 5))then
begin
Mmouse(x,y,3,3);
Sleep(100+Random(100));
Clickmouse2(True);
Sleep(100+Random(100));
end;
end;
SetupArguments;
repeat
FindNormalRandoms;
Siphon(UpTextArray, Color, Tol, Hue, Sat)
until not LoggedIn;
end.Update! Yay! Added FindNormanRandoms; and made it where, no matter what you're doing, it'll check. Also added full support for Esshounds. Commented out Esswraiths, I have yet to get those colors. Critique?
program TrollnRunespan;
{$DEFINE SMART}
{$i SRL/SRL.simba}
const
Version = '3.0'; // Don't Touch.
NumbOfPlayers = 1; //Number of Players That You Will Be using.
StartPlayer = 0; //Start Which Player?
Forcenew = False; //Force a New Client When Starting or not?
RuneSpanSiphonType = 'Essling'; //Essling, Esshound, Nebula,
Element = 'air'; //Esslings: Air, Water, Fire, Earth.
//Esshound: Body, Law, Cosmic, Nature.
//Esswraith: Blood, Death, Soul.
var
Color, Tol:integer;
Hue, Sat:Extended;
UptextArray:TstringArray;
x, y: Integer;
Exp, StartEXP, EXPH, TP: Integer;
procedure DeclarePlayers;
begin
HowManyPlayers := 1;
NumberOfPlayers(HowManyPlayers);
CurrentPlayer := 0;
with Players[0] do
begin
Name := ''; // Your Username.
Pass := ''; // Your Password.
Pin := ''; // Your Bank Pin. (Leave Blank If You Don't Have One.)
WorldInfo := [27, 42, 45, 46, 48, 52, 59, 70, 72, 78, 79, 87, 104, 115, 117];
BoxRewards := ['XP','xp','lamp'];
LampSkill := Skill_Runecrafting;
Active := True;
end;
end;
procedure FindRandoms;
begin
FindNormalRandoms;
Wait(3000);
end;
procedure FindEssence;
var
x, y: integer;
begin
if FindObjCustom(x, y, ['coll', 'ect'], [5263955, 3750459], 7) then
begin
MMouse(x, y, 3, 3);
ClickMouse2(2);
end;
end;
procedure DTMWalk;
var
x, y, DTM: Integer;
begin
DTM := DTMFromString('mggAAAHicY2NgYJBiYmDQBeKPjAwMu4B4AhAnArEHEN8Cyj8H4v9ALAnkKwNxRrIeBKfrMaTE6zBU1pozTFnkwYALMOLAEAAANmAMyA==');
if(FindDTM(DTM, X,Y, MIX1, MIY1, MIX2, MIY2)) then
begin
MMouse(x, y, 3, 3);
ClickMouse2(2);
end;
end;
function Siphon(EsslingUpText:TStringArray; Color, Tol:integer; Hue, Sat:extended): Boolean;
var
Data:TIntegerArray;
TPA: TPointArray;
ATPA:T2DPointArray;
Box: Tbox;
x,y: Integer;
begin
SetLength(Data, 4);
Data[3]:=GetColorToleranceSpeed;
ColorToleranceSpeed(2);
SetColorSpeed2Modifiers(3.47, 1.75);
FindColorsSpiralTolerance(MSCX, MSCY, TPA, 6442547, MSX1, MSY1, MSX2, MSY2, 7)
ColorToleranceSpeed(Data[3]);
ATPA:= TPAToATPAEx(TPA, 15, 15);
Data[1]:=High(ATPA);
for Data[0] := 0 to Data[1] do
begin
MiddleTPAEx(ATPA[Data[0]], x, y);
Box.X1:=x;
Box.Y1:=y;
Box.X2:=x+2;
Box.Y2:=y+2;
MouseTBox(Box, Move);
if WaitUpTextMulti(EsslingUptext, 300) then
begin
case Random(2) of
0: begin
ClickMouse2(True);
if FindBlackChatMessage('You do not have the Rune Essence required to Siphon from the creature.') then
begin
FindEssence;
end else
if(DidRedClick())then
Wait(RandomRange(28000, 32000));
DTMWalk;
Break;
end;
1: begin
ClickMouse2(False);
Wait(Randomrange(28000, 30000));
DTMWalk;
FindRandoms;
Break;
end;
end;
begin
Result:= True;
end;
end;
end;
end;
procedure SetupArguments;
begin
case RuneSpanSiphonType of
'Essling':
begin
case Element of
'Air': begin UpTextArray:=['iphon Air', 'hon Air', 'hon Air Essling']; Color:=6442547; Tol:=7; Hue:=3.47; Sat:=1.75; FindRandoms; end;
'Fire': begin UpTextArray:=['iphon Fire', 'hon fire', 'hon Fire Essling']; Color:=5194866; Tol:=7; Hue:=0.10; Sat:=0.75; FindRandoms; end;
'Earth': begin UpTextArray:=['iphon earth', 'hon earth', 'hon earth Essling']; Color:=5334428; Tol:=7; Hue:=0.09; Sat:=0.68; FindRandoms; end;
'Water': begin UpTextArray:=['iphon Water', 'hon Water', 'hon Water Essling']; Color:=5194866; Tol:=7; Hue:=0.10; Sat:=0.75; FindRandoms; end;
end;
end;
'Esshound':
begin
case Element of
'body': begin UpTextArray:=['iphon body', 'body', 'hon body Esshound']; Color:=7093602; Tol:=7; Hue:=2.40; Sat:=0.83; FindRandoms; end;
'law': begin UpTextArray:=['iphon law', 'hon law', 'hon law Esshound']; Color:=16771982; Tol:=7; Hue:=0.68; Sat:=1.28; FindRandoms; end;
'astral': begin UpTextArray:=['iphon astral', 'hon astral', 'hon astral Esshound']; Color:=13346751; Tol:=7; Hue:=1.07; Sat:=0.35; FindRandoms; end;
end;
end;
{'Esswraith':
begin
'blood': begin UpTextArray:=['iphon blood', 'hon blood', 'hon blood Esswraith']; Color:=; Tol:=7; Hue:=; Sat:=; FindRandoms; end;
'soul': begin UpTextArray:=['iphon soul', 'hon soul', 'hon soul esswraith']; Color:=; Tol:=7; Hue:=; Sat:=; FindRandoms; end;
'death': begin UpTextArray:=['iphon death', 'hon death', 'hon death Esswraith']; Color:=; Tol:=7; Hue:=; Sat:=; FindRandoms; end;
end;}
end;
begin
DTMWalk;
end;
end;
procedure Proggy;
begin //Credits to Kyle, he made the actual thing. I cbf to go look at a tut now. <3 u Kyle! ;P ////This is temporary, going to do an On-screen proggie, soon.
ClearDebug();
EXP := (GetXPBarTotal - StartEXP);
EXPH:= Round(((EXP) / (GetTimeRunning / 1000)) * 3600);
Writeln('+++++++++++++++++ Vinyl''s Everything Runecrafter -----------------');
WriteLn('Version ' + Version);
Writeln('Time Running: ' + TimeRunning);
Writeln('Experience Earned: ' + IntToStr(EXP));
Writeln('Experience/Hour: ' + IntToStr(EXPH));
Writeln('±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±');
MarkTime(TP);
end;
begin
{$IFDEF SMART}
{$IFDEF SIMBAMAJOR980}
Smart_Server := 72;
Smart_Members := True;
Smart_Signed := True;
Smart_SuperDetail := False;
{$ELSE}
SRL_SixHourFix := True;
Smart_FixSpeed := True;
{$ENDIF}
{$ENDIF}
if(Forcenew)then
ForcenewC:=true;
DeclarePlayers;
SetupSRL;
mousespeed:=25+random(5);
if(not(Loggedin))then
begin
LoginPlayerToLob;
ChangeWorld(RandomWorld(True, False));
sleep(4000+Random(3000));
Setangle(0);
if(FindColorTolerance(x,y,3978996,485, 58,506, 79, 5))then
begin
Mmouse(x,y,3,3);
Sleep(100+Random(100));
Clickmouse2(True);
Sleep(100+Random(100));
end;
end;
SetupArguments;
repeat
FindNormalRandoms;
Siphon(UpTextArray, Color, Tol, Hue, Sat)
until not LoggedIn;
end.Added some new stuff, DTM walking, Proggie (I know, it's from Kyle's Esswraith Extractor. It's temporary. Going to do an on-screen proggie.) What do I need to do? Ideas on Island hopping?
program TrollnRunespan;
{$DEFINE SMART}
{$i SRL/SRL.simba}
{$i SRL/SRL/misc/Debug.simba}
const
Version = '3.0'; // Don't Touch.
NumbOfPlayers = 1; //Number of Players That You Will Be using.
StartPlayer = 0; //Start Which Player?
Forcenew = False; //Force a New Client When Starting or not?
RuneSpanSiphonType = 'Essling'; //Essling, Esshound, Nebula,
Element = 'air'; //Esslings: Air, Water, Fire, Earth.
//Esshound: Body, Law, Cosmic, Nature.
//Esswraith: Blood, Death, Soul.
var
Color, Tol:integer;
Hue, Sat:Extended;
UptextArray:TstringArray;
x, y: Integer;
Exp, StartEXP, EXPH, TP: Integer;
procedure DeclarePlayers;
begin
HowManyPlayers := 1;
NumberOfPlayers(HowManyPlayers);
CurrentPlayer := 0;
with Players[0] do
begin
Name := 'presmanpeace@gmail.com'; // Your Username.
Pass := 'yesman2'; // Your Password.
Pin := ''; // Your Bank Pin. (Leave Blank If You Don't Have One.)
WorldInfo := [27, 42, 45, 46, 48, 52, 59, 70, 72, 78, 79, 87, 104, 115, 117];
BoxRewards := ['XP','xp','lamp'];
LampSkill := Skill_Runecrafting;
Active := True;
end;
end;
procedure FindRandoms;
begin
FindNormalRandoms;
Wait(3000);
end;
procedure Proggy;
begin //Credits to Kyle, he made the actual thing. I cbf to go look at a tut now. <3 u Kyle! ;P ////This is temporary, going to do an On-screen proggie, soon.
ClearDebug();
Stats_Commit;
EXP := (GetXPBarTotal - StartEXP);
EXPH:= Round(((EXP) / (GetTimeRunning / 1000)) * 3600);
Writeln('+++++++++++++++++ Vinyl''s Everything RuneSpan -----------------');
WriteLn('Version ' + Version);
Writeln('Time Running: ' + TimeRunning);
//Writeln('Experience Earned: ' + IntToStr(EXP));
//Writeln('Experience/Hour: ' + IntToStr(EXPH));
Writeln('±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±');
MarkTime(TP);
end;
procedure FindEssence;
var
x, y: integer;
begin
if FindObjCustom(x, y, ['coll', 'ect'], [5263955, 3750459], 7) then
begin
MMouse(x, y, 3, 3);
ClickMouse2(2);
end;
end;
procedure DTMWalk;
var
x, y, WalkDTM: Integer;
begin
WalkDTM := DTMFromString('mggAAAHicY2NgYJBiYmDQBeKPjAwMu4B4AhAnArEHEN8Cyj8H4v9ALAnkKwNxRrIeBKfrMaTE6zBU1pozTFnkwYALMOLAEAAANmAMyA==');
if(FindDTM(WalkDTM, X,Y, MIX1, MIY1, MIX2, MIY2)) then
begin
MMouse(x, y, 3, 3);
ClickMouse2(2);
end;
end;
function Siphon(EsslingUpText:TStringArray; Color, Tol:integer; Hue, Sat:extended): Boolean;
var
Data:TIntegerArray;
TPA: TPointArray;
ATPA:T2DPointArray;
Box: Tbox;
x,y: Integer;
begin
SetLength(Data, 4);
Data[3]:=GetColorToleranceSpeed;
ColorToleranceSpeed(2);
SetColorSpeed2Modifiers(3.47, 1.75);
FindColorsSpiralTolerance(MSCX, MSCY, TPA, 6442547, MSX1, MSY1, MSX2, MSY2, 7)
ColorToleranceSpeed(Data[3]);
ATPA:= TPAToATPAEx(TPA, 15, 15);
Data[1]:=High(ATPA);
for Data[0] := 0 to Data[1] do
begin
MiddleTPAEx(ATPA[Data[0]], x, y);
Box.X1:=x;
Box.Y1:=y;
Box.X2:=x+2;
Box.Y2:=y+2;
MouseTBox(Box, Move);
if WaitUpTextMulti(EsslingUptext, 300) then
begin
case Random(2) of
0: begin
ClickMouse2(True);
if FindBlackChatMessage('You do not have the Rune Essence required to Siphon from the creature.') then
begin
FindEssence;
end else
if(DidRedClick())then
Wait(RandomRange(28000, 32000));
//DTMWalk;
Break;
end;
1: begin
ClickMouse2(False);
WaitOptionMulti(['iphon', 'air', 'ssling'], 300);
Wait(Randomrange(28000, 30000));
DTMWalk;
FindRandoms;
Break;
end;
end;
begin
Result:= True;
Proggy;
end;
end;
end;
end;
procedure SetupArguments;
begin
case RuneSpanSiphonType of
'Essling':
begin
case Element of
'Air': begin UpTextArray:=['iphon Air', 'hon Air', 'hon Air Essling']; Color:=6442547; Tol:=7; Hue:=3.47; Sat:=1.75; FindRandoms; end;
'Fire': begin UpTextArray:=['iphon Fire', 'hon fire', 'hon Fire Essling']; Color:=5194866; Tol:=7; Hue:=0.10; Sat:=0.75; FindRandoms; end;
'Earth': begin UpTextArray:=['iphon earth', 'hon earth', 'hon earth Essling']; Color:=5334428; Tol:=7; Hue:=0.09; Sat:=0.68; FindRandoms; end;
'Water': begin UpTextArray:=['iphon Water', 'hon Water', 'hon Water Essling']; Color:=5194866; Tol:=7; Hue:=0.10; Sat:=0.75; FindRandoms; end;
end;
end;
'Esshound':
begin
case Element of
'body': begin UpTextArray:=['iphon body', 'body', 'hon body Esshound']; Color:=7093602; Tol:=7; Hue:=2.40; Sat:=0.83; FindRandoms; end;
'law': begin UpTextArray:=['iphon law', 'hon law', 'hon law Esshound']; Color:=16771982; Tol:=7; Hue:=0.68; Sat:=1.28; FindRandoms; end;
'astral': begin UpTextArray:=['iphon astral', 'hon astral', 'hon astral Esshound']; Color:=13346751; Tol:=7; Hue:=1.07; Sat:=0.35; FindRandoms; end;
end;
end;
'Esswraith':
begin
'blood': begin UpTextArray:=['iphon blood', 'hon blood', 'hon blood Esswraith']; Color:=3826285; Tol:=7; Hue:=0.39; Sat:=0.93; FindRandoms; end;
'soul': begin UpTextArray:=['iphon soul', 'hon soul', 'hon soul esswraith']; Color:=8026467; Tol:=7; Hue:=4.16; Sat:=0.24; FindRandoms; end;
'death': begin UpTextArray:=['iphon death', 'hon death', 'hon death Esswraith']; Color:=7692132; Tol:=7; Hue:=1.69; Sat:=0.24; FindRandoms; end;
end;
end;
begin
DTMWalk;
end;
end;
{procedure FreDTMs;
begin
FreeDTM(WalkDTM);
end;}
{procedure Proggy2;
begin
AddOnTerminate(Proggy);
end;}
begin
{$IFDEF SMART}
{$IFDEF SIMBAMAJOR980}
Smart_Server := 72;
Smart_Members := True;
Smart_Signed := True;
Smart_SuperDetail := False;
{$ELSE}
SRL_SixHourFix := True;
Smart_FixSpeed := True;
{$ENDIF}
{$ENDIF}
if(Forcenew)then
ForcenewC:=true;
DeclarePlayers;
SetupSRL;
mousespeed:=25+random(5);
if(not(Loggedin))then
begin
LoginPlayerToLob;
ChangeWorld(RandomWorld(True, False));
sleep(4000+Random(3000));
Setangle(0);
if(FindColorTolerance(x,y,3978996,485, 58,506, 79, 5))then
begin
Mmouse(x,y,3,3);
Sleep(100+Random(100));
Clickmouse2(True);
Sleep(100+Random(100));
end;
end;
SetupArguments;
repeat
FindNormalRandoms;
Siphon(UpTextArray, Color, Tol, Hue, Sat);
until not LoggedIn;
if not LoggedIn then
//FreDTMs;
Proggy; //else
//Proggy2;
end.Finally! Got Esswraiths done, general idea of the script is coming together. Still trying to figure out how to island hop without ref, or injection.Going to look at some tuts on on-screen proggies, because that's nicer. I'm planning on applying after I finish this script. I might not be able to do island hopping, sorry guys. But yeah, tell me how this works for you. if it works well, I'm going to iron it out, and release it to the public. <3
E: I left that username and pasword in on accident, but it won't matter, no good stats, just a test account to keep my main from getting stolen. Thank you all for not changing the pass or taking anything, you guys are awesome!
This is to make up for my past mistakes. I hope all of you forgive me!