ne lg
2012-06-04 12:31:00
Hi, im trying to creat a death walker for Er1k's wilderness agility course, i've got pretty far but i'm at the part with the web and i have this so far:
Untill what? i cant really think of a function that i know of to help, Obviously there is one, i only have like three or four functions that i use because i've only just watched YoHo's first scripting tutorial and attempted to make a deathwalker, if you read over my script so far you can see how little i know, lol.
Here is the full script
I know is looks awful compaired to a real script but it acctually works so far when i tested it.
And anyway, it's not a full script just a death walk.
So TLDR: Any help with the slashing web part of a deathwalker?
if FindObj(x,y,'Web',9802901,10) then
Repeat
Mouse(x,y,3,3,true);
Wait(2000);
Until(
Untill what? i cant really think of a function that i know of to help, Obviously there is one, i only have like three or four functions that i use because i've only just watched YoHo's first scripting tutorial and attempted to make a deathwalker, if you read over my script so far you can see how little i know, lol.
Here is the full script
program new;
{$DEFINE SMART}
{.include SRL/SRL.simba}
{.include custom/DDTM.simba}
{.include SPS/SPS.simba}
const
SmartWorld = 7;
Members = False;
SignedClient = True;
HighDetail = False;
NumbOfPlayers = 1;
StartPlayer= 1;
procedure DeclarePlayers;
var i:integer;
begin
NumberOfPlayers(NumbOfPlayers);
CurrentPlayer := StartPlayer;
for i := 0 to NumbOfPlayers-1 do
Players[i].BoxRewards := ['mote', 'ostume', 'XP', 'Gem', 'ithril', 'oal', 'une', 'oins'];
with Players[0] do
begin
Name := ''; //Player username.
Pass := ''; //Player password.
Nick := ''; //Player nickname - 3-4 letters of Player username.
Active := True;
end;
end;
function FromEdgToArdy:boolean;
Var
EdgPath:TPointArray;
X,cx,vx,vy,cy,Y:integer;
begin;
ClickNorth(SRL_ANGLE_HIGH);
SPS_Setup(RUNESCAPE_SURFACE,['10_6','10_7']);
EdgPath := [Point(4244, 2662), Point(4217, 2658)];
SPS_WalkPath(EdgPath);
Wait(5000);
if FindObj(cx,cy,'Banker',5001645,30) then
begin;
Mouse(cx,cy,3,3,false);
ChooseOption('Bank Banker');
Wait(1000);
Withdraw(0,0,28);
CloseBank;
end else
begin;
Logout;
TerminateScript;
end;
GameTab(28);
if FindColorSpiralTolerance(x,y,8333644,564,222,586,240,10) then
begin;
Mouse(x,y,3,3,true);
end;
Wait(1000);
if FindColorSpiralTolerance(vx,vy,1579371,155,197,183,225,10) then
begin;
Mouse(vx,vy,3,3,true);
Wait(15000);
end;
end;
function FromArdyToWildy:Boolean;
var
ArdyPath:TPointArray;
x,qx,qy,y:integer;
begin;
ClickNorth(SRL_ANGLE_HIGH);
SPS_Setup(RUNESCAPE_SURFACE,['5_8','6_8','5_7','6_7']);
ArdyPath := [Point(2379, 3266), Point(2379, 3282), Point(2379, 3296), Point(2369, 3318), Point(2356, 3322), Point(2341, 3316), Point(2334, 3311), Point(2309, 3303), Point(2283, 3302), Point(2270, 3314), Point(2269, 3331), Point(2266, 3341), Point(2266, 3358), Point(2265, 3369), Point(2263, 3381), Point(2264, 3389), Point(2261, 3402), Point(2261, 3415), Point(2262, 3427), Point(2262, 3444), Point(2260, 3458), Point(2259, 3470), Point(2246, 3473), Point(2220, 3473), Point(2212, 3470), Point(2212, 3439), Point(2200, 3421), Point(2185, 3409), Point(2170, 3405), Point(2156, 3405), Point(2141, 3406), Point(2127, 3408), Point(2116, 3410), Point(2102, 3414), Point(2091, 3416)];
SPS_WalkPath(ArdyPath);
Wait(3000);
if FindObj(x,y,'Lever',4026508,10) then
begin;
Mouse(x,y,2,2,true);
Wait(5000);
end;
end;
function FromWildyToCourse:boolean;
var
WildyPath:TPointArray;
x,y:integer;
begin;
ClickNorth(SRL_ANGLE_HIGH);
SPS_Setup(RUNESCAPE_SURFACE,['11_2','10_2']);
WildyPath := [Point(4455, 934), Point(4457, 920), Point(4457, 913), Point(4457, 899), Point(4460, 888), Point(4462, 866), Point(4467, 848), Point(4467, 832), Point(4468, 825)];
SPS_WalkPath(WildyPath);
Wait(3000);
if FindObj(x,y,'Web',9802901,10) then
Repeat
Mouse(x,y,3,3,true);
Wait(2000);
Until(
begin
Smart_Server := SmartWorld;
Smart_Members := Members;
Smart_Signed := SignedClient;
Smart_SuperDetail := HighDetail;
setupSRL();
DeclarePlayers;
FromEdgToArdy;
FromArdyToWildy;
end.
I know is looks awful compaired to a real script but it acctually works so far when i tested it.
And anyway, it's not a full script just a death walk.
So TLDR: Any help with the slashing web part of a deathwalker?