xtrapsp
2012-03-03 22:15:07
How Long have You Played Runescape?
7 Year(s)
Are you affilated in anyway with Jagex LTD?
No
Were you Referred to SRL?
What is your general programming knowledge?
Pascal
C#
Java (A Little)
Are you a member of any other communities?
Moderator (Eric Clapton) at Runedream
Tell us about yourself…
Please show us one (or multiple) of your scripts.
Scripts:
XtraIvy - FLAWLESS
XtraMonk V 0.0.1
7 Year(s)
Are you affilated in anyway with Jagex LTD?
No
Were you Referred to SRL?
What is your general programming knowledge?
Pascal
C#
Java (A Little)
Are you a member of any other communities?
Moderator (Eric Clapton) at Runedream
Tell us about yourself…
From: xtrapsp
Originally Posted by xtrapsp
I own various websites, I code for my stepdad. I work with films and at the moment am working for Michelle Wraight who is making her first Feature Film.
I work at KFC, Although I want to move up in the world (Obviously haha)
My interests are:
Helping others. I make RS guides etc
Shooting films.
Writing films.
Studying a films cinematography and other aspects such as Mise én scene and sound
I own:
http://bradsblog.co.uk/
http://cheapseo4u.co.uk/
This is actually my second attempt of SRL and looking back I can see why I was rejected.. I hadn't done much and I was still learning.
Now, however I've pushed myself. I've made a flawless Ivy chopper (which after my next few releases I will add banking to(Bank nests for those who use the crash smart)).
I have 3 scripts in the making. 2 of which are requested.
I've also grown fond of the community here… that making it one of my hobbies. I often converse with various members here when talking about scripting. Most of which are new because I hang around in the Help section every now and again
Please show us one (or multiple) of your scripts.
http://villavu.com/forum/showthread.php?t=75528 - Flawless
[url]http://villavu.com/forum/showthread.php?t=76595[/url] - Requested however still in early stages ( I work on this when I get frustrated with other scripts)
[url]http://villavu.com/forum/showthread.php?t=76315[/url] - Not released to public yet, however RISK has seen parts of itScripts:
XtraIvy - FLAWLESS
program xtraivy;
{$DEFINE SMART}
{$i SRL\SRL.simba}
{$i SRL/SRL/skill/woodcutting.simba}
{include SPS/SPS.simba}
{♠===================================================================♠
Instructions:
1. Start by IVY (This script was written for CastleWars but it should work
elsewhere.
2. Make sure hatchet is equiped
3.Leave bot to work it's magic
4. Check every now and again as Simba hasn't done all Randoms!
♠XtraIVY♠
♠Release Date♠: 17/02/2012
♠Author♠: xtrapsp
♠Support♠: [url]http://villavu.com/forum/showthread.php?t=75528[/url]
Changelog:
23/02/2012 - Changed around with the Nest Settings
20/02/2012 - Cleaned up script a bit + Setup script for addons
17/02/2012 - Chopping done.
18/02/2012 - Added Various antiban.
19/02/2012 - Added elements which aren't in use yet.
♠===================================================================♠}
Const
SRLStats_Username = '';
SRLStats_Password = '';
NumbOfPlayers= 1;
StartPlayer= 0;
Debug = True;
procedure DeclarePlayers;
begin
HowManyPlayers := 1;
NumberOfPlayers(HowManyPlayers);
CurrentPlayer := 0;
with Players[0] do
begin
Name := '';
Pass := '';
Nick := '';
Pin := '';
BoxRewards := ['Xp', 'mote', 'ostume', 'ssence'];
Member := True;
Active := True;
end;
end;
Procedure AFK;
begin
if not loggedIn then Exit;
Case Random (100) Of
1..15 : Wait(1000 + Random (3050));
16..24 : Wait (1340 + Random (1093));
25..45: Wait (1211 + Random (6000));
46..47: Wait (20000 + Random (10000)); // This looks like you've gone to get a drink
end;
end;
function MyFindBirdsNest: Boolean; // Modified from VineVanguisher
var
x, y, i: Integer;
TileArray: array [0..5] of TPoint;
BirdLine, ChopLine: Integer;
begin
if Debug then Writeln('Looking for a birds nest');
BirdLine:= -1;
ChopLine:= -1;
for i:=8 downto 1 do
if (Pos('A bird', GetChatBoxText(i, 255))<>0) then
begin
BirdLine:= i;
AFK;
end;
if (BirdLine = -1) then
Exit;
if Debug then Writeln('Found uptext for nests');
for i:=8 downto 1 do
if (Pos('wing you', GetChatBoxText(i, clMessage))<>0) then
begin
ChopLine:= i;
Break;
end;
if (ChopLine < BirdLine) then
begin
if Debug then Writeln('Havent Chopped the vines yet');
for i:=0 to 5 do
TileArray[i]:= GridCoords(Point((i mod 3)-2, i div 3));
for i:=0 to 5 do
begin
MMouse(TileArray[i].x-5, TileArray[i].y-5, 11, 11)
if WaitUptextMulti(['ake B', 'Bird', 'nest'], 1000) then
begin
GetMousePos(x, y);
if Debug then Writeln('Found a birds nest!');
Mouse(x, y, 0, 0, True);
Result:= True;
AFK;
Exit;
end;
end;
if FindObjEx(x, y, ['ake B', 'Bird', 'nest'], [2767422, 2961972, 3818051], 5, 50, 191, 149, 354, 252) then
begin
Mouse(x, y, 0, 0, True);
Result:= True;
Wait(1500+Random(500))
Exit;
end;
end;
if Debug then Writeln('Finished looking for a birds nest');
end;
procedure CheckSRLStats;
begin
if ((SRLStats_Username= '') and (SRLStats_Password = '')) then
begin
case MessageBox('No Stats account entered, would you like to register?','SRL Stats',mbYesNoCancel) of
mrYes:
begin
OpenWebPage('http://stats.villavu.com/register');
TerminateScript;
end;
mrNo:
begin
SetupSRLStats(837, 'Anonymous', 'anon1337');
Exit;
end;
mrCancel: TerminateScript;
end;
end else
SetupSRLStats(837, SRLStats_Username, SRLStats_Password);
end;
procedure x_Stats_Commit;
begin
stats_IncVariable('Woodcutting EXP (Gained)', 4725);
Stats_Commit;
Writeln('Updated SRL Stats')
end;
Procedure ProgressReport;
var
startEXP, newExp, Gained : Integer;
begin
startExp := Players[CurrentPlayer].Integers[0];
newExp := GetXPBarTotal;
Gained := newExp - startExp;
WriteLn('Exp gained: ' + ToStr(Gained));
x_Stats_Commit;
end;
{♠===================================================================♠}
////////////////////////////////////////////////////////////////////////////////
////////////AutoColour Feature (I'm British I spell it like Colour)/////////////
function IVYColour: Integer;
var
arP: TPointArray;
arC: TIntegerArray;
tmpCTS, i, arL: Integer;
begin
tmpCTS := GetColorToleranceSpeed;
ColorToleranceSpeed(2);
SetColorSpeed2Modifiers(0.03, 0.08);
if not (FindColorsTolerance(arP, 4619873, MSX1, MSY1, MSX2, MSY2, 10)) then
begin
Writeln('Failed to find the color, no result.');
ColorToleranceSpeed(tmpCTS);
SetColorSpeed2Modifiers(0.2, 0.2);
Exit;
end;
arC := GetColors(arP);
ClearSameIntegers(arC);
arL := High(arC);
for i := 0 to arL do
begin
Result := arC[i];
Writeln('AutoColor = ' + IntToStr(arC[i]));
Break;
end;
ColorToleranceSpeed(tmpCTS);
SetColorSpeed2Modifiers(0.2, 0.2);
if (i = arL + 1) then
Writeln('AutoColor failed in finding the color.');
end;
////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////
function Nestcolour: Integer;
var
arP: TPointArray;
arC: TIntegerArray;
tmpCTS, i, arL: Integer;
begin
tmpCTS := GetColorToleranceSpeed;
ColorToleranceSpeed(2);
SetColorSpeed2Modifiers(0.39, 0.74);
if not (FindColorsTolerance(arP, 2964028, MSX1, MSY1, MSX2, MSY2, 10)) then
begin
Writeln('Failed to find the nest, cannot pickup.');
ColorToleranceSpeed(tmpCTS);
SetColorSpeed2Modifiers(0.2, 0.2);
Exit;
end;
arC := GetColors(arP);
ClearSameIntegers(arC);
arL := High(arC);
for i := 0 to arL do
begin
Result := arC[i];
Writeln('AutoColor = ' + IntToStr(arC[i]));
Break;
end;
ColorToleranceSpeed(tmpCTS);
SetColorSpeed2Modifiers(0.2, 0.2);
if (i = arL + 1) then
Writeln('Failed to find the nest, cannot pickup.');
end;
procedure Chop;
var
X, Y: Integer;
begin
if not LoggedIn then
Exit;
FindNormalRandoms;
SetColorToleranceSpeed(2);
SetColorSpeed2Modifiers(0.02, 0.07);
if FindObj(X, Y, 'Iv', 4619873, 8) then
begin
mouse( x, y, 2, 2, true);
wait(687 + random(15000))
end;
(* We revert back to the defaults here. *)
SetColorSpeed2Modifiers(0.2, 0.2);
SetColorToleranceSpeed(1);
end;
Procedure StatsGuise(wat:String); // Thanks YoHoJo
Begin
Status(wat);
Disguise(wat);
End;
Procedure Antiban_Upgrade;
var
I: Integer;
CurrentCompassDegree: Extended;
begin
I := Random(1000);
StatsGuise('AntiBan');
case (I) of
0..99 :
begin
GameTab(tab_Stats);
HoverSkill('Woodcutting', False);
GameTab(28);
end;
100..200 :
begin
SleepAndMoveMouse(7000 + Random(500));
MakeCompass(CurrentCompassDegree-18+Random(32));
end;
200..210 :
begin
GameTab(Tab_Stats);
MakeCompass(CurrentCompassDegree-2+Random(34));
Wait(3000 + Random(500));
GameTab(28);
end;
211..220 :
begin
BoredHuman;
MakeCompass('N')
end;
221..300 :
begin
GameTab(Tab_Stats);
Wait(100 + Random(1000));
end;
end;
end;
Procedure FindNest_old;
var
X, Y: Integer;
Begin
if not LoggedIn then
Exit;
FindNormalRandoms;
If FindObjCustom(x, y, ['Ne', 'st'], [3290938,3883332], 5) Then
begin
Mouse( x, y, 2, 2, True);
Writeln('Found a nest... Attempting to pickup');
MakeCompass(10 + random(50));
end;
End;
Procedure X_FindNest; ///FINISH THIS WHEN YOU HAVE A NEST
var
X, Y, Colour: Integer;
begin
if not LoggedIn then
Exit;
FindNormalRandoms;
Colour := NestColour;
if FindObj(X, Y, 'Nes', NestColour, 10) then
begin
mouse( x, y, 2, 2, true);
end;
If Not FindObj (X, Y, 'Nes', NestColour, 10) then
begin
Chop;
end;
end;
Procedure FindEmptyNest; //Probably not needed. It's a procedure incase the script drops a nest randomly?
var
X, Y, EmptyNest: Integer;
Begin
if not LoggedIn then
Exit;
FindNormalRandoms;
EmptyNest := DTMFromString('mlwAAAHicY2dgYMhmZGDIAuI4IE4B4nwgLgfiIiCew8TAsByIFwDxDCCeDsTzoGKeHhYMjo4WDN7ejkC2PYObmxmDjY0Gg56eBgM+wIgHQwEA+fEMeg==')
If FindDTM(EmptyNest, X, Y, MSX1, MSY1, MSX2, MSY2) Then
Begin
Writeln('Found a nest... Attempting to pickup');
MMouse (x, y, 5, 5);
MakeCompass(0 + random(50));
If IsUpText('nes') Then
Mouse(x, y, 0, 0, True);
End;
FreeDTM(EmptyNest);
End;
Procedure X_CrushNest;
var
X, Y, CrushNest: Integer;
Begin
if not LoggedIn then
Exit;
FindNormalRandoms;
CrushNest := DTMFromString('mggAAAHicY2NgYOADYiEgFgNiGSDmZYAATijNCGULQWkTAw0gyYSBuRiwA0YcGAIAboABOg==')
If FindDTM(CrushNest, X, Y, MIX1, MIY1, MIX2, MIY2) Then
Begin
Writeln('Found a nest inside Inventory, Attempting to crush');
MMouse (x, y, 5, 5);
If IsUpText('cru') Then
Mouse(x, y, 0, 0, True);
End;
FreeDTM(CrushNest);
End;
Procedure Joincommunity;
begin
case MessageBox('While the bot is running, would you like to browse our other scripts?','Community Site',mbYesNoCancel) of
mrYes:
begin
OpenWebPage('http://bot.lizardguru.com');
end;
mrNo:
begin
Exit;
end;
mrCancel: TerminateScript;
end;
end;
begin
SetupSRL;
//Joincommunity;
DeclarePlayers;
CheckSRLStats;
LoginPlayer;
ToggleXPBar(True);
Players[CurrentPlayer].Integers[0] := GetXPBarTotal;
Writeln('Your using XtraIvy V 1.00');
Writeln('Please report any bugs on the thread');
Writeln('Thanks for using the most flawless IVY script on Simba :)');
Repeat
Chop;
MyFindBirdsNest
Antiban_Upgrade;
AFK;
X_CrushNest;
ProgressReport;
until(Not LoggedIn);
End.XtraMonk V 0.0.1
program xtramonk;
//{$DEFINE SMART}
{$i SRL\SRL.simba}
{include SPS/SPS.simba}
Const
SRLStats_Username = '';
SRLStats_Password = '';
BreakEvery = 120;
BreakFor = 5;
NumbOfPlayers= 1;
StartPlayer= 0;
ColourTolerance = 3;
var
x, y : Integer;
MonkColours: TIntegerArray;
procedure DeclarePlayers;
begin
HowManyPlayers := 1;
NumberOfPlayers(HowManyPlayers);
CurrentPlayer := 0;
with Players[0] do
begin
Name := '';
Pass := '';
Nick := '';
Pin := '';
BoxRewards := ['Xp', 'mote', 'ostume', 'ssence'];
Member := True;
Active := True;
end;
end;
Procedure searchmonk;
var
X, Y: Integer;
begin
MakeCompass('N');
wait(100 + Random(500));
End;
procedure Heal;
var
i: Integer;
begin
end;
procedure CheckHP;
begin
if not LoggedIn then
Exit;
FindNormalRandoms;
if FindObj(X, Y, 'talk', 2109238, 6) then
end;
Procedure Findmonk;
var
X, Y, T: Integer;
begin
if not LoggedIn then
Exit;
FindNormalRandoms;
MonkColours := [3491920, 2769483, 2635581, 2110266];
SetColorToleranceSpeed(2);
SetColorSpeed2Modifiers(0.41, 1.01);
MarkTime(T);
repeat
begin
if not LoggedIn then
Exit;
FindNormalRandoms;
if TimeFromMark(T) > 150000 then
begin
CheckHP;
end;
if FindObjEx(x, y, ['ttack','mon'], MonkColours, ColourTolerance, 50, 10, 20, 600, 400) then
begin
Mouse(x, y, 2, 2, True);
wait(10000+ Random (1000));
end;
(* We revert back to the defaults here. *)
SetColorSpeed2Modifiers(0.2, 0.2);
SetColorToleranceSpeed(1);
end;
Until(false);
end;
procedure Checkfight;
begin
if (srl_InFight) then
begin
wait(2000+ Random (1000));
end;
if NOT(srl_InFight) then
begin
Findmonk;
end;
end;
begin
SetupSRL;
DeclarePlayers;
LoginPlayer;
Writeln('Your using XtraMonk V0.0.1');
Writeln('Please report any bugs on the thread');
Writeln('*************************************');
Writeln('******It will be buggy!!!!!**********');
Writeln('*************************************');
repeat;
Findmonk;
Checkfight;
until(Not Loggedin);
End.