SRL Archive - RS3 Outdated / Broken Scripts

Advanced Barbarian Agility


JN13

2012-02-16 18:11:13



Needs SPS 2, Currently Not working. If you would like to pick up this project, PM Me PLZ!

99's:

Zockuito




This script was originally written by Anyhow, Dug up by Failed4Life, and further reworked by Johnnimms13.

To use the Alert Feature: I have included my favorite alert sound, unzip it and place it in simba/scripts. it will play 5x by default. if you do not like it or want your script to blast "something's wrong by (guess who) then make it 0! Also, if you know how, just change the path to whatever sound you desire :)



v1.06 - Fixed Annoying Logout Glitch, added more human like behavior. Now checks for pies alot*.
v1.07 - Breaks, Standards, StatsGuise, Reports, Timesaving shortcuts, and lots of goodies.
v1.08 - Fixes Due to SRL update.
v1.081 - Tweaks
v1.082 - Tweaks.
v1.083 - Faster, Better, More robust code (TY Rice), and a .txt save report for those of you using SMARTManager.
v1.1 - Stable Version.


program AdvanceBarbarianAgility;
{$DEFINE SMART}
{$i srl/srl.simba}
{$i sps/sps.simba}

{~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Developer Log:

Original Author: Anyhow
Rewritten by: Failed4life
Johnnimms13


A hattip to [Nathan] for his skeleton of this script
--------------------------------------------------------------------------------
Version History:

0: Original by Anyhow
v1.0 - Initial Release
v1.01 - DTMs added, antiban fixed
v1.02 - Progress Report added! Thanks RyGuy for the help :)
v1.021 - Pie Support Added!
v1.022 - Bug fixes and SMART Paint added
v1.023 - New gap DMT, Pie Toggle Switch added
v1.03 - Customizable Hp checker, logs out if Hp is low
v1.031 - Bug Fixes
v1.04 - Code Overhaul
v1.05 - faster leaner code and more randomness. TY FootballJDS
v1.051 - more failsafes.
v1.06 - Multiple DTM's and better failsafes.
v1.07 - Standards, StatsGuise, Breaks, Report, ShortCuts, better Pie & Random Support.
v1.08 - Bug fixes from recent SRL updates.
v1.081 - Tweaks.
v1.082 - Tweaks.
v1.083 - Faster runs, Text file report, and tweaks.
-------------------------------------------------------------------------------

Instructions:
Use the Setup and position your player in the agility course by the ropes.

If you wish to use Summer Pies to boost your Agility level, have them in your
inventory.

Note: This Script requires atleast 85 agility to run with boosts, 90 to run
Without boosts, and 93+ to run without mistakes.

I don't recommend you run this with 85 without constant supervision.

The Report will save to simba/scripts apon termination, and will be named
ABBA_Report.Txt. This script is usable with the Script manager.

---------------------------------------SETUP-----------------------------------}
const
//User Options
SERVER = 23; //Replace with desired server number
Username = ''; //Enter your Username
Password = ''; //Enter your Password
Nickname = ''; //Enter 3-4 digits of your Username

Alert = 5; //How many times should it warn you?
SoundP = 'C:/Simba/Scripts/alert.wav'; // Alarm, use your own file, or the one provided

TakeBreaks = True; //Will you take breaks?
WhenBreakMin = 180; //won't take a break before this (In Minutes)
WhenBreakMax = 200; //Maximum time before a Break (In Minutes)

ar = True; //AntiRandom switch, turn of at your own risk.
amount = 100; //How much antiban? --> 5 (highest) <-> 200 (lowest)
PieLevel = 0; //What level would u like to eat a summer pie at? (0 to disable)
PLogOut = False; //True logs out when summer pies are gone
HP = 20; //LogsOut if below this percentage of HP

{-----------------------------------------------------------------------------}

var
x,y:LongInt;
loads, BreakTime, LogTime,
LedgeCount, PF, Sound:Integer;
aFound, EXP:Extended;
myPos: TPoint;
DTM: array [0..9] of integer;

procedure AntiBan;
begin
if not(LoggedIn)then
Exit;

case random(Amount) of
0: HoverSkill('Agility', false);
1: PickUpMouse;
3: RandomRClick;
//4: BoredHuman; Uncomment this at your own risk (moves camera)
//5: Wait(40000 + Random(1000)); This gives you a 'mini break' I just didn't like it.
end;
end;

procedure LogPlayer;
begin
WriteLn('********************************************************************');
WriteLn('Thank you for using Abba! Due to something wrong we are logging out');
WriteLn(' ABBA V 1.07 Johnnimms13, Failed4Life, Anyhow ' );
WriteLn('********************************************************************');
if Alert > 0 then
begin
WriteLn(' Sounding Alarm');
repeat
Playsound(SoundP);
IncEx(Sound, 1);
wait(1025);
until(Sound = Alert);
end;
SRLRandomsReport;
Logout;
TerminateScript;
end;

procedure SetDTMs;
begin
DTM[0] := DTMFromString('mbQAAAHicY2UAAkYGBn4gfgBk/gNiAyB7B5DezgChDwDxViDWUuVhqCtNAGNJMXYwnx8ojo4ZsWAwAAC5iwmk');
DTM[1] := DTMFromString('mWAAAAHicY2FgYHgBxM+h+BAQKzIyMIgDsQ4QqwLx4im9DH6+EgwW5oIMWooyDPxANciYEQ2DAADa9geo');
DTM[2] := DTMFromString('mbQAAAHicY2VgYLgIxLeA+DYQnwLinUDsxcjAEA/EwUAcAcRWQLx86UQGd2sxBj93U4Zkbx2GKeUhDPxAteiYEQsGAwBGHQtq');
DTM[3] := DTMFromString('mggAAAHicY2MAAkYGBm4g/g9kfgNiUSD7FZDeB8RzgHgBEM8H4iVAvAaIXczVGHLCbRmS/MzBOCPYmiElwIKBHyiHDTPiwBAAADIaDKM=');
DTM[4] := DTMFromString('mggAAAHicY2NgYKgD4kVA3AvE/UC8CohnAPEuIN4JxMeBeAUQHwDirUDcU+bHMKEygOHU0fUMTlY6DJ3FPgzNeZ4M/EA5bJgRB4YAAFk6EE0=');
DTM[5] := DTMFromString('mbQAAAHicY2VgYGBmZGB4A6RlGCFsFiC+DeQ/BuInQPwHiE8C8a6tCxm6S3wZ6jLdGG5d2cNwdk0RAz9QHB0zYsFgAAC8QA6x');
DTM[6] := DTMFromString('mggAAAHicY2NgYHBlZGCwBWIbIJYD4lwgbgbitUC59UC8EogrgPglEM8H4iAPc4bw0GCGmqoyhrXLixmig20ZfKzEGfiBctgwIw4MAQANxwzJ');
DTM[7] := DTMFromString('mggAAAHicY2NgYJBiZGAwBGIlINYG4u9AMTUgvRZIrwHio0A8CYgrgZgBKF5SlM8Q7mPFEOsuw+BkJMKwfmUJQ1qMCwMuwIgDQwAAl3MLPQ==');
DTM[8] := DTMFromString('mbQAAAHicY2VgYPjLyMBwCYhrgPglEL8H4hlA8UVA/B6IS4E4C4jd7dQZ9NXlGXh5eBhCfS0YPK0VGPiB4uiYEQsGAwAmrQpK');
DTM[9] := DTMFromString('mlwAAAHicY2dgYDgHxLuB+AWULcbIwHAdSB8EYl0g9gBidyCOBGJXIPYCYh8glpXkYDDSVGSw0FVl8HRzY7A31mJwt1Nn8HTQZOAHyuPCTHgwFAAAvJkLcA==');
end;

procedure StatsGuise(wat:String);
begin
//Ty YoHoJo
Status(wat);
Disguise(wat);
end;

procedure Report;
begin
ClearDebug;
Exp := (Loads * 740.7);
WriteLn('******************************************************************');
WriteLn(' AdvancedBarBarianAgility v1.07 by Johnnimms13 & Co.');
WriteLn('Time: ' + TimeRunning + ' Laps ' + IntToStr(Loads));
WriteLn('We have gained ' + ToStr(Round(Exp)) + ' Agility Experience!');
WriteLn('******************************************************************');
end;

function OnPole: Boolean;
begin
If FindColorTolerance(x, y, SRL_BlackColor, 627, 82, 627, 82, 15) then
result := True;
end;
procedure AntiRandoms;
begin
if ((not LoggedIn) or (ar = False) or (OnPole)) then
Exit;
FindNormalRandoms
AntiBan;
end;

procedure ResetBreakTimer;
begin
BreakTime := GetSystemTime + RandomRange((WhenBreakMin) * 60000, (WhenBreakMax) * 60000);
end;
procedure TakeBreak;
var //ty Inception
H, M, S, T, BreakFor: Integer;
begin
if (GetSystemTime >= BreakTime) and TakeBreaks then
begin
Logout;
BreakFor := RandomRange(10 * 60000, 25 * 60000); // Between 10-25 minutes
ConvertTime(BreakFor, H, M, S);
Writeln('Break for: ' + IntToStr(M)+ 'm:' + IntToStr(S)+ 's');
MarkTime(T);
Repeat
Wait(1000);
until (BreakFor < TimeFromMark(T))
LogInPlayer;
ResetBreakTimer;
Wait(4000);
FindNormalRandoms;
end;
end;

procedure EatPie;
var SPie, HPie, x, y: integer;
begin
if PieLevel > 0 then
begin

SPie := DTMFromString('mlwAAAHicY2dgYPjIxMDwFoi/I9FfgPgDEL9kZGB4xgih3wPxYyB+B8SPgDhLTxGOK9JMGVJCdRiyovQZov00GPiB5uLCjHgwFAAAE+UTaw==');
HPie := DTMFromString('mggAAAHicY2NgYHBhYmAwB2JHIHYCYmsg9gTiB0C5R0D8AojvAPFdIH4MxGGqUgyZkXoMEb7WDLkJtgwJQVoM5Rn+DPxAOWyYEQeGAAAW8Qy0');

if GetSkillInfo('agility', True) < (PieLevel+1) then
begin
StatsGuise('below 91 agility, trying to find pie');
if ExistsItemDTM(spie, x, y) then
begin
StatsGuise('found pie');
mouse(x, y, 2, 2, true);
end else
if ExistsItemDTM(hpie, x, y) then
begin
StatsGuise('found 1/2 pie');
mouse(x, y, 2, 2, true);
end else
begin
StatsGuise('no pies!')
if PLogOut = True then
begin
WriteLn('Logging out: Logout When Pies is ON');
logPlayer;
end;
end;
end else
begin
StatsGuise('No Pie for you!');
end;
freedtm(SPie);
FreeDtm(HPie);
end;
end;


function Wfloor:Integer;

begin
result:= 99;

if((FindColorTolerance(x,y,2247007,633,56,633,56,15) or
FindColorTolerance(x,y,2247007,629,52,629,52,15) or
FindColorTolerance(x,y,2247007,628,60,628,60,15) or
FindColorTolerance(x,y,2247007,634,51,634,51,15) or
FindColorTolerance(x,y,2247007,633,60,633,60,15) or
FindColorTolerance(x,y,2247007,629,49,629,49,15)) and
FindColorTolerance(x,y,395009,634,84,634,84,15) and
(PercentBlackMM > 95)) then
result:= 10;

if((FindColorTolerance(x,y,1655633,615,84,615,84,15) or
FindColorTolerance(x,y,1521998,621,57,621,57,15)) and
(PercentBlackMM > 95)) then
result:= 11;

if((FindColorTolerance(x,y,1853268,630,113,630,113,15) or
FindColorTolerance(x,y,1853268,636,116,636,116,15)) and (PercentBlackMM > 95)) then
result:= 12;

if(FindColorTolerance(x,y,4873321,530,184,530,184,15) and (PercentBlackMM > 95)) then
result:= 13;

if((FindColorTolerance(x,y,2180188,621,113,621,113,15) or
FindColorTolerance(x,y,2180188,625,114,625,114,15) or
FindColorTolerance(x,y,2180188,627,112,627,112,15) or
FindColorTolerance(x,y,2180188,622,113,622,113,15)) and
FindColorTolerance(x,y,393218,643,114,643,114,15) and
FindColorTolerance(x,y,393218,632,114,632,114,15) and
not(FindColorTolerance(x,y,4873321,530,184,530,184,15))and
(PercentBlackMM > 95)) then
result:= 14;

end;

function distanceTo(var point:TPoint): Extended;
var myLoc:TPoint;
begin
myLoc:= SPS_GetMyPos();
Result:= Distance(point.x, point.y, myLoc.x, myLoc.y);
end;

procedure sleepWhileMoving();
var t:Integer;

begin
t := 0;
while((PixelShift(IntToBox(MMCX-75, MMCY-75, MMCX+75, MMCY+75), 500) > 200) and (t < 7)) do
begin
StatsGuise('Sleeping '+tostr(t));
sleep(250+random(5))
t:=t+1;
end;
end;

procedure WBack;
begin
SPS_WalkToPos(Point(2045, 2430));
end;

function getLocation(): integer;
var First, Second, Third, Fourth, Fifth: TPoint;
begin
result := 0;
if (PercentBlackMM > 96) then
result := Wfloor()
else
begin
First := Point(2045, 2430); //Beginning Point
Second := Point(2045, 2445); //After swinging the rope
Third := Point(2005, 2460); //After log balancing
Fourth := Point(1995, 2475); //Before running up the wall
Fifth := Point(2015, 2430); //After Slide

if ((distanceTo(First) <= 6) and (myPos.y < 2435)) then
begin
result:=1;
exit;
end;

if (distanceTo(Second) <= 7) then
begin
result:=2;
exit;
end;

if (distanceTo(Third) <= 10) then
begin
result:=3;
exit;
end;

if (distanceTo(Fourth) <= 10) then
begin
result:=4;
exit;
end;

if (distanceTo(Fifth) <= 10) then
begin
result:=15;
exit;
end;

end;
end;
procedure handleObstacle(spot: integer);
begin
SetDTMs;
begin

case spot of

0:
begin
LedgeCount := 0;
StatsGuise('Walk to beginning');
WBack;
sleepWhileMoving();
end;

1:
begin
begin

if FindDTMRotated(DTM[0], x, y, 135, 135, MSX2, MSY2, -Pi, Pi, Pi/30, aFound) then
begin
StatsGuise('rope');
Mouse(x, y, 3, 3, True);
sleep(3000+random(175));
sleepWhileMoving();
end;
end
end;

2:
begin
StatsGuise('log');
if FindDTMRotated(DTM[1], x, y, MSX1, MSY1, MSX2, MSY2, -Pi, Pi, Pi/30, aFound) then
begin
Mouse(x, y, 3, 3, True);
sleep(1900+random(150));
sleepWhileMoving();
end;
end;

{////////////////////////////////Added by Rice/////////////////////////////////}
3:
begin
StatsGuise('Going To Jump');
MakeCompass('280');
sleep(100 + random(50));
if FindDTMRotated(DTM[2], x, y, MSX1, MSY1, MSX2, MSY2, -Pi, Pi, Pi/30, aFound) then
begin
MMouse(x, y, 0, 0);
wait(10)
clickmouse2(true);
flag;
sleep(3900 + random(50));
sleepWhileMoving();
ClickNorth(SRL_ANGLE_HIGH);
end;
end;
{//////////////////////////////////////////////////////////////////////////////}
4:
begin
StatsGuise('hitting plate');
if FindDTMRotated(DTM[3], x, y, 189, 132, 295, 218, -Pi, Pi, Pi/30, aFound) then
begin
Mouse(x, y, 3, 3, True);
sleep(3300+random(150));
sleepWhileMoving();
end
end;

10:
begin
IncEx(LedgeCount, 1);
WriteLn(ToStr(LedgeCount));
if LedgeCount > 20 then
begin
WriteLn('Sat at the Ledge too Long, Logging out');
LogPlayer;
end;

MMouse(205, 120, 3, 3);
wait(100 + random(25));
StatsGuise('Climb up Ledge');
if isUptextEx('all') then
begin
ClickMouse2(true);
sleep(4400+random(150));
sleepWhileMoving();
exit;
end
end;

11:
begin
LedgeCount := 0;
case random(5) of
1:
mmouse(142, 177, 3, 3);
2:
mmouse(134, 192, 3, 3);
3:
mmouse(160, 192, 3, 3);
4:
mmouse(147, 202, 3, 3);
5:
mmouse(132, 210, 3, 3);
end;

wait(100 + random(25));

if isuptext('pring') then
begin
StatsGuise('Firing Spring');
clickmouse2(true);
if DidRedClick then
begin
sleep(4600+random(150));
sleepWhileMoving();
end else

begin
WriteLn('blind spring Click Failed... trying first DTM');
if FindDTMRotated(DTM[5], x, y, MSX1, MSY1, MSX2, MSY2, -Pi, Pi, Pi/30, aFound) then
begin
Mouse(x, y, 3, 3, True);
sleep(3000+random(150));
sleepWhileMoving();
end else
begin
WriteLn('Second spring DTM failed... Trying second');
if FindDTMRotated(DTM[4], x, y, MSX1, MSY1, MSX2, MSY2, -Pi, Pi, Pi/30, aFound) then
begin
Mouse(x, y, 3, 3, True);
sleep(3000+random(150));
sleepWhileMoving();
end;
end;
end;
end;
end;

12:
begin
StatsGuise('Pole');
if FindDTMRotated(DTM[6], x, y, MSX1, MSY1, MSX2, MSY2, -Pi, Pi, Pi/30, aFound) then
begin
Mouse(x, y, 0, 0, True);
sleep(2500+random(150));
sleepWhileMoving();
end else

begin
writeln('Pole 2');
if FindDTMRotated(DTM[7], x, y, MSX1, MSY1, MSX2, MSY2, -Pi, Pi, Pi/30, aFound) then
begin
Mouse(x, y, 0, 0, True);
sleep(2500+random(150));
sleepWhileMoving();
end else
begin

If PF >= 10 then
LogPlayer;

IncEx(PF, 1);
exit;
end;
end;
end;

13:
begin
StatsGuise('Gap');
case random(3) of
1:
MMouse(267, 176, 5, 5);
2:
MMouse(276, 176, 5, 5);
3:
MMouse(267, 162, 5, 5);
end
PF := 0;
if isUptextEx('ump') then
begin
ClickMouse2(True);
wait(3000+random(100));
end else
exit;
end;

14:
begin
StatsGuise('WEEEEEE!');
IncEx(Loads, 1);
MMouse(330, 178, 10, 10);
wait(50 + random(50));

if isUptextEx('oof') then
begin
ClickMouse2(True);
wait(2500+random(100));
sleepWhileMoving;
wait(200 + random(100));
end;
end;

15:
begin
report;
if FindDTMRotated(DTM[8], x, y, MSX1, MSY1, MSX2, MSY2, -Pi, Pi, Pi/30, aFound) then
begin
StatsGuise('ShortCut');
Mouse(x, y, 3, 3, True);
sleep(600+random(70));
MMouse(255, 185, 5, 5);
sleep(200+random(70));
sleepWhileMoving();
end else
begin
StatsGuise('SPS...');
WBack;
end;
end;


end;
end;
MarkTime(LogTime);
FreeDTMs(DTM);
end;
procedure DeclarePlayers;
begin
HowManyPlayers := 1;
NumberOfPlayers(HowManyPlayers);
CurrentPlayer := 0;
Players[0].Name := Username;
Players[0].Pass := Password;
Players[0].Nick := Nickname;
Players[0].Active := True;

end;
procedure LogMeIn;
begin
LoginPlayer;
end;

{//////////////////////////////////Main Loop///////////////////////////////////}
begin

Smart_Server := SERVER;
Smart_Members := True;

SetupSRL;
DeclarePlayers;
SPS_Setup(RUNESCAPE_SURFACE, ['4_5','4_6']);

ResetBreakTimer;

if not(LoggedIn) then
LogMeIn;

while not(LoggedIn) do
sleep(1000);

ClickNorth(SRL_ANGLE_HIGH);

while(true) do //Main loop
begin

while not(LoggedIn) do
LoginPlayer;

EatPie; // if 93+ agility comment this line to speed up your script.
TakeBreak; // Same if not breaking
AntiRandoms;// Ditto.

handleObstacle(getLocation());
myPos := SPS_GetMyPos();
if TimeFromMark(LogTime) > 100000 Then
begin
WriteLn('Idle Too Long');
LogPlayer;
end;
end;
end.

footballjds

2012-02-16 18:17:59

oh god, i don't like the way that is coded. :P

Kidlington

2012-02-16 18:33:52

From: footballjds
oh god, i don't like the way that is coded. :P


In what way? :spongebob:

JN13

2012-02-16 18:37:37

From: footballjds
oh god, i don't like the way that is coded. :P


LOL! ill work on it tonight, I'm still new, care to help me?

footballjds

2012-02-16 18:45:39

From: Kidlington
In what way? :spongebob:


Procedure FreeDTMs;
begin
FreeDTM(DTM[0]);
FreeDTM(DTM[1]);
FreeDTM(DTM[2]);
FreeDTM(DTM[3]);
FreeDTM(DTM[4]);
FreeDTM(DTM[5]);
FreeDTM(DTM[6]);
FreeDTM(DTM[7]);
FreeDTM(DTM[8]);
end;

point in case…

From: johnnimms13
LOL! ill work on it tonight, I'm still new, care to help me?


Sure I can help if you have something specific. I'd rather not just edit your entire script though :P

JN13

2012-02-16 18:47:10

ok, so more TPA use for long lists?

footballjds

2012-02-16 18:49:56

From: johnnimms13
ok, so more TPA use for long lists?


you're using an array, why not loop through it?

for example: "For i := 0 to High(DTM) do FreeDTM(DTM);"

JN13

2012-02-16 18:51:35

tutorials here I come :)

Procedure FreeDTMs; //Thank you Footballjds
var
i:integer;
begin
for i := 0 to High(DTM) do FreeDTM(DTM[i]);

end;

btw, is there a way to not call High(DTM) all the time?

InHuman

2012-02-16 21:04:37

still fails at crossing the pole :/

JN13

2012-02-16 22:08:54

From: InHuman
still fails at crossing the pole :/


ok, please explain further. where and why does it fail?

InHuman

2012-02-17 00:02:43

From: johnnimms13
ok, please explain further. where and why does it fail?


usually right when it crosses the gap, it says "finding pole" forever and doesnt find it :P


Reinier

2012-02-17 04:50:12

Is this the same version that u posted in failed4life's thread?
It climbs up the wall very slow, clicks to get near and then it says that it is climbing up, but it doesn't so then the failsafes starts and then it finaly climbs up, 5 seconds later then…
After climbing up the wall, it is up the building and has to climb another thing, but after like 5 rounds it doesn't click it anymore.
Still best barb adv script I have used so far.

footballjds

2012-02-17 10:28:26

From: johnnimms13
tutorials here I come :)

Procedure FreeDTMs; //Thank you Footballjds
var
i:integer;
begin
for i := 0 to High(DTM) do FreeDTM(DTM[i]);

end;

btw, is there a way to not call High(DTM) all the time?


Glad you asked! Yes, in fact you're right. Calling High(DTM) each time is not efficient!

Procedure FreeDTMs; //Thank you Footballjds
var
i, TempInt :integer;
begin
TempInt := High(DTM);//Now you call it only once!
for i := 0 to TempInt do FreeDTM(DTM[i]);

end;

JN13

2012-02-17 12:54:35

From: Reinier
Is this the same version that u posted in failed4life's thread?
It climbs up the wall very slow, clicks to get near and then it says that it is climbing up, but it doesn't so then the failsafes starts and then it finaly climbs up, 5 seconds later then…
After climbing up the wall, it is up the building and has to climb another thing, but after like 5 rounds it doesn't click it anymore.
Still best barb adv script I have used so far.


Ya I'm still working on that part… It seems that I'll have to go back to DTM to do that, but it might be slightly slower.

InHuman, Ive been running the script all night, and I have yet to see it fail the pole on my end… I wonder if you have 1.04?

And Thank you again Footballjds!

InHuman

2012-02-17 21:17:44

its this version :/
i'll try it again when i get home doe

Lavaert

2012-02-19 11:35:59

It's failing a lot at the log (second agility object)
Actuality it always fails there.

JN13

2012-02-19 12:43:43

Hmm… It must somehow work different when it leaves my computer… I'll have an update up soon. (5 days or so)

jabookman

2012-02-21 17:01:01

how is this script doing? any proggies? can it run for over an hour? im very interested in using this, instead of ry guys ape atol agility runner…

edit: It ran for an hour, there was a few missclicks causing it to sit until i fixed it. other than that ran ok. im level 87 using summer pies. If this had a few failsafes were it could realize if i didnt finish an obsticale and clicked it again, it would be perfect. Also if it could check agility more often for summer pies. That would be great

tdawg777

2012-02-21 22:29:24

It needs to check the agility lvl for summer pies at the wall climb obstacle rather than the start of the lap otherwise it will drop below 90 before it reaches the wall climb and gets stuck

Reinier

2012-02-25 09:02:51

6 days later, anything new?

tdawg777

2012-02-25 19:01:35

Time: 44 Minutes and 50 Seconds
We have gained 103174846 Agility Experience!
We are gaining 776452 Agility Experience per Hour!

Forgot to open xp tab when I ran it but it worked well, probably the highest agility xp/hr on the site atm. Only problem was it started to hover just a pixel or two away from the climb ledge thing, but it always found it after a couple of seconds.

I'll do another run now and post the results.

JN13

2012-02-25 20:22:17

Sigh, tried to put that new OGL plugin in it, got it working kinda… just to glitchy(plus I don't have the time to figure out why yet). so ill get some failsafes in it and fix some hovers.


So EXCITED FOR OGL!~!!

From: tdawg777
Time: 44 Minutes and 50 Seconds
We have gained 103174846 Agility Experience!
We are gaining 776452 Agility Experience per Hour!


Ya… I think the Report needs fixed too :/

tdawg777

2012-02-25 21:17:09

From: johnnimms13
Sigh, tried to put that new OGL plugin in it, got it working kinda… just to glitchy(plus I don't have the time to figure out why yet). so ill get some failsafes in it and fix some hovers.


So EXCITED FOR OGL!~!!



Ya… I think the Report needs fixed too :/


Looking forward to it. The report works fine btw, you just need to have the xp tab open when you start the script. It got stuck once when it click a space north of the ledge and just sat there.

JN13

2012-02-25 22:19:34

From: tdawg777

We are gaining 776452 Agility Experience per Hour!.



If I got that amount of XP per hour, I'd have 99 years ago :p

tdawg777

2012-02-26 04:16:47

From: johnnimms13
If I got that amount of XP per hour, I'd have 99 years ago :p


Same lol, I'd even consider getting 200m xp hahaha.

Robot91292

2012-02-26 22:03:26

This script works very nice. Thank you so much! i'm getting almost 50k proggies =)

JN13

2012-02-28 19:14:57

Just want to let everyone know, I'm starting nursing school and won't be able to update till umm… the future? probably weekend.

ChorizoConWebo

2012-02-28 19:32:16

:( aww, oh well

bobowns

2012-02-29 19:58:05

fixed some flaws but great script otherwise :p

JN13

2012-02-29 20:35:05

** Updated to v1.05 **

ChorizoConWebo

2012-02-29 20:36:22

From: johnnimms13
** Updated to v1.05 **


:spot: thanks

JN13

2012-02-29 20:37:00

From: ChorizoConWebo
:spot: thanks



Note: Report is disabled, I did the core work, but that is still a future update.

JN13

2012-02-29 20:46:34

** Do to a lack of brain, here is v1.051 ROFL

tdawg777

2012-02-29 23:26:57

Doesn't detect the balance log, it just loops the rope swing :s

Edit: On second run its been working better, but it got stuck when it click one square north of the ledge climb.

JN13

2012-02-29 23:52:23

From: tdawg777
Doesn't detect the balance log, it just loops the rope swing :s


Hmm… Ill look into it. It is probably a SPS problem, to fix it I advise changing this line (236 or so):

      if (distanceTo(Second) <= 5) then
begin
result:=2;
exit;
end;

To this:

      if (distanceTo(Second) <= 10) then // This value was 5, which is appx. 1 tile, so if you change it to ten it should give a 2 tile radius
begin
result:=2;
exit;
end;

If that doesn't work please tell me~

The ledge issue is and has been an issue from the beginning. I'm working on it :) shouldn't be to hard to fix, maybe tomorrow.

tdawg777

2012-03-01 00:01:53

From: johnnimms13
Hmm… Ill look into it. It is probably a SPS problem, to fix it I advise changing this line (236 or so):

      if (distanceTo(Second) <= 5) then
begin
result:=2;
exit;
end;

To this:

      if (distanceTo(Second) <= 10) then // This value was 5, which is appx. 1 tile, so if you change it to ten it should give a 2 tile radius
begin
result:=2;
exit;
end;

If that doesn't work please tell me~

The ledge issue is and has been an issue from the beginning. I'm working on it :) shouldn't be to hard to fix, maybe tomorrow.


Okay awesome will give it a try, thanks for updating this btw.

phamxboa

2012-03-01 00:31:53

The only problem i had doing it was the grip holder part it gets stuck

Kajutsky

2012-03-01 07:14:41

if im 85 agility do i fill in 89 when it says when to eat summer pie? how does it pot up when i first run it?

corretje

2012-03-01 07:29:38

Thank you for using ABBA! Due to something wrong we're logging out.

I runned the script twice and this happend twice within 3 minuts,

lordworkman

2012-03-01 16:17:28

it closed down when i put inn all the details

edit: i put in the codes and the game loaded and i got inn, but hes just standing by the rope, is there anything i do so it starts?

JN13

2012-03-01 16:21:53

ill take a look at everything on sat.

tdawg777

2012-03-01 16:53:03

From: dgpro
if im 85 agility do i fill in 89 when it says when to eat summer pie? how does it pot up when i first run it?


Your best bet is to do it at 90, because if it drops down from 90 to 89 between the rope swing and the wall climb it will get stuck.

Wats

2012-03-02 00:15:50

I too had a problem with it repeating the rope, but changing that line seems to have solved the problem. Great script :)

JN13

2012-03-02 01:20:33

***Updated to v1.06***

Fixed that annoying error that logs you out :duh:

I'm trying to make it more human-like and reliable, its still BETA but its promising :)

Sigh… I ALWAYS find something I want to change after a release… Next issue, Random Events. v1.065 Sat. Probably.

ChorizoConWebo

2012-03-02 09:23:14

Very nice, you can see the improvements right away, so far it seems to find the obstacles faster and doesnt log out, im going to leave it on while im at school school and see what happens, thanks man :)

FayBro

2012-03-02 19:54:09

Theres an annoying problem, the script works extremely fast and well, except it randomly logs out an doesnt log back in.. and i dont know why? help meh?

ChorizoConWebo

2012-03-02 20:48:26

Same, i was about to leave to school, then the script stopped and it had randomly logged out, he said there may be fixes by tomorrow though. :)

FayBro

2012-03-03 02:28:33

So yeah.. this is script is amazing, its alot faster than the one before and i havnt seen it fail an obstacle yet, the only problem is, its logging me out randomly.. can anyone help?

FayBro

2012-03-03 02:33:47

From: ChorizoConWebo
Same, i was about to leave to school, then the script stopped and it had randomly logged out, he said there may be fixes by tomorrow though. :)

Oh i didnt see you wrote that, and sweet, im looking forward to it! im 350k till 96 agility :D

corretje

2012-03-03 08:57:07

It runned 1 lap and it logged out again with the same bug lol, at the pole it still wants to log out maybe add more failsafes?

JN13

2012-03-03 16:56:55

Ya, I've been working on it all day :/ Its going to be a big update, so it might be tonight or so that I get it done. It ran stable for about 2 hours without me touching it so its getting there :) (thats with a Forester random)

Kidlington

2012-03-03 17:13:41

From: johnnimms13
Ya, I've been working on it all day :/ Its going to be a big update, so it might be tonight or so that I get it done. It ran stable for about 2 hours without me touching it so its getting there :) (thats with a Forester random)


Good stuff, can't wait for the release :)

What's your xp rate?

JN13

2012-03-03 17:19:20

From: Kidlington
Good stuff, can't wait for the release :)

What's your xp rate?


Exp is ranging from 35~55k exp per hour. Its usually around 50, but the more errors there are, the slower she goes :)

Right now the biggest issue is the Rope. I might have to sacrifice some speed to get the rope perfect.

JN13

2012-03-03 20:26:30

***Updated to v1.07***

Lots of changes, mostly for the better :p

Note to users: Please post proggies? I need some testerz Plz :)

I might make a form for v1.1 just gotta get ready to do it

******************************************************************
AdvancedBarBarianAgility v1.07 by Johnnimms13
Time: 27 Minutes and 10 Seconds Laps 40
We have gained 20282 Agility Experience!
******************************************************************
Debug Stats:
Blind Rope Failure: 28
Total Ledge Failures: 32
First Spring DTM Failure: 10
Second Spring DTM Failure: 0
Times Clicked Pole over laps: 29/40
Roof Failure: 0
SPS Start Count over Laps: 23/40
******************************************************************


Just to let everybody know, The Debug Stats let me know what I REALLY need to work on :)

FayBro

2012-03-03 23:17:41

From: johnnimms13
***Updated to v1.07***

Lots of changes, mostly for the better :p

Note to users: Please post proggies? I need some testerz Plz :)

I might make a form for v1.1 just gotta get ready to do it



Just to let everybody know, The Debug Stats let me know what I REALLY need to work on :)


Well done, mine has been running for like an hour without a random or failure, only bad thing is the speed is alot slower. But still well done! (:

himpox

2012-03-04 00:08:09

Great script, I am just curious what that "antiRandom" does since i dont believe it does random events? :P

(Oh yeah, and make the Debugscreen not appear after every obstacle, it smaps it after every one :D Otherwise great job mate, i Find this script safe enough to use with my old main from 2k6 :)

JN13

2012-03-04 00:46:11

From: himpox
Great script, I am just curious what that "antiRandom" does since i dont believe it does random events? :P

(Oh yeah, and make the Debugscreen not appear after every obstacle, it smaps it after every one :D Otherwise great job mate, i Find this script safe enough to use with my old main from 2k6 :)


Antirandom is a custom FindNormalRandoms tailored to the script. Ya, sorry about the report I liked having it up, If you don't you can take it out of the main loop and put report; in the rope section :) (probably will make it faster anyway.)

corretje

2012-03-04 05:36:32

I've added a failsafe for the ledge, as its missclicks sometimes.

10:
begin
begin
MMouse(205, 120, 3, 3);
wait(100 + random(25));
StatsGuise('Climb up Ledge');
if isUptextEx('all') then
begin
ClickMouse2(true);
sleep(3300+random(150));
sleepWhileMoving();
exit;
end else
if FindObjEx(x, y, ['limb', 'up'], [3624802], 5, 40, 174, 78, 253, 247) then
begin
Mouse(x, y, 0, 0, True);
sleep(3300+random(150));
sleepWhileMoving();
end;
end
end;


I got an idea to make this script faster, make it like it turns the camera at the log so it's able to see the wall thingy without walking towards is so it'll click instantly on it when the log is done. At the end of the course turn the camera to a position so it's able to detect the ropes from a distance. I've tried this and I would've succeeded in doing this but something in your script keeps clicking on the north, so it keeps changing the angle to it. I've deleted everything which I was able to find to stop clickingnorth, didn't succeed so lol.

2 small edits and this script would be able to run around 50k an hour.

JN13

2012-03-04 11:11:20

From: corretje
I've added a failsafe for the ledge, as its missclicks sometimes.



I got an idea to make this script faster, make it like it turns the camera at the log so it's able to see the wall thingy without walking towards is so it'll click instantly on it when the log is done. At the end of the course turn the camera to a position so it's able to detect the ropes from a distance. I've tried this and I would've succeeded in doing this but something in your script keeps clicking on the north, so it keeps changing the angle to it. I've deleted everything which I was able to find to stop clickingnorth, didn't succeed so lol.

2 small edits and this script would be able to run around 50k an hour.


Actually, The first version of this script used FindOBJ functions, and it tends to make the player click quick capes and stuff.

Its actually a really good idea for there to be a failsafe for the misclick on the ledge, but I advise that it be a DTM not a findObj.

Also, I do get 51k exp/hr :p It depends on your comp and how different your client was compared to the one I made the script with. (sometimes quite different) So thats why all input is great!

The procedure from the log to the plate usually clicks while its "on the way" even facing north. I have done EVERYTHING I possibly could to change this thing to make it faster. I have about 7 versions I have made from scratch using ObjDTM, TPA positioning, a special color finding method I made on my own, and even one facing south…

I'll put something out today to speed it up quite a bit, if you want to have a jump on it remove the Report; from the mainloop and put it in the HandleObsticals procedure over here:

  begin
if FindDTMRotated(DTM[8], x, y, MSX1, MSY1, MSX2, MSY2, -Pi, Pi, Pi/30, aFound) then
begin
StatsGuise('ShortCut');
Mouse(x, y, 1, 1, True);
sleep(600+random(70));
MMouse(255, 185, 5, 5);
sleep(200+random(70));
sleepWhileMoving();
end;
end;
Report; // Put Report here so it is only called 1x instead of constantly.
end;
end;
MarkTime(LogTime);
FreeDTMs;
end;
procedure DeclarePlayers;
begin
HowMa

Also, if you don't use Pie Support, Comment out the pie support :) It will make it faster as well.

I plan on adding a miss click failsafe for the Ledge and the roof. Then I will put my focus on speed, then a form. Then we should be out of beta~

corretje

2012-03-04 11:40:20

After removing the pie support I've noticed that it actually clicks on the way to the wall, didn't see that before.

I've deleted the sleeping from running to plate, let's see how that works.

Oh and delete the logging out from pole2, or change the way of deciding(Like 10x failed = logout) to logout. Sometimes it attempts to do the Pole before the character landed yet, making the script fail twice after each other causing the script to log out the charcacter.

JN13

2012-03-04 12:27:52

From: corretje
After removing the pie support I've noticed that it actually clicks on the way to the wall, didn't see that before.

I've deleted the sleeping from running to plate, let's see how that works.

Oh and delete the logging out from pole2, or change the way of deciding(Like 10x failed = logout) to logout. Sometimes it attempts to do the Pole before the character landed yet, making the script fail twice after each other causing the script to log out the charcacter.


:) 10x fail for pole would work well. I'll probably add that.

corretje

2012-03-04 14:17:49

Oh yeah, i forgot the slide roof part I replaced it with the one of your older versions as the in the new version it missclicks sometimes getting the script stuck.

What settings are you running your Runescape?

JN13

2012-03-04 16:15:19

Alright, I did a small tweak on things, fixed some errors. its up at the beginning of the post.

Kidlington

2012-03-04 16:43:40

Thanks John! Will use it when possible :)

corretje

2012-03-04 16:55:23

btw, there's a problem with freeing DTM's

The following DTMs were not freed: [2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, 378, 379, 380, 381]

JN13

2012-03-04 17:26:57

ya… not quite sure how to fix dat. tuts we go!

ChorizoConWebo

2012-03-04 17:49:03

Ive noticed that it starts looping on the rope too often, more than before :l

JN13

2012-03-04 18:00:44

From: ChorizoConWebo
Ive noticed that it starts looping on the rope too often, more than before :l



Ok, then heres the problem. I Had a switch that when you do the rope once, it wont let it do the rope again till you do the log.

Then, (probably due to this script) TONS of people showed up. If your man clicks on the rope at the same time as someone else you get the message:

The Rope swing is being used at the moment.


But it also triggers the switch, which means you are stuck at the rope never to continue the loop again.

Tough problem. I need to look at it another way, I know, but i just havent been able to tackle it!

Edit: Possible Solution might be more wait time when you call rope. its working for me

 1:
begin
begin
StatsGuise('rope');
if IsUpTextMultiCustom(['ope', 'wing']) then
Begin
ClickMouse2(true);
sleep(3000+random(175)); // change this to 3000 or more. slows it down slightly, but it will fix the rope issue (fingers crossed)
sleepWhileMoving();
Report;
exit;
end else
if FindDTMRotated(DTM[0], x, y, MSX1, MSY1, MSX2, MSY2, -Pi, Pi, Pi/30, aFound) then
begin
WriteLn('Blind Method Failed... Trying DTM (this happens Most of the time dont worry)');
IncEx(RF, 1);
Mouse(x, y, 3, 3, True);
sleep(2300+random(175));
sleepWhileMoving();
end;
end
end;

ChorizoConWebo

2012-03-04 18:18:10

That seems to have fixed it, thank you :)

Sin

2012-03-04 21:00:11

John, I did this with my script -


click the rope;
if DidRedClick then
begin
wait(500 + random(100));
if FindBlackChatMessage('used') then
Rope;
exit;
end;

Have fun.

zebada

2012-03-04 21:01:58

Why do I keep getting this error?

Exception in Script: Unable to find file 'SRL\SRL.simba' used from ''

Is it because reflection scripts are broken? Sorry, I'm new to this…

Andres

2012-03-04 21:09:49

From: zebada
Why do I keep getting this error?

Exception in Script: Unable to find file 'SRL\SRL.simba' used from ''

Is it because reflection scripts are broken? Sorry, I'm new to this…

I think you need to update SRL.

JN13

2012-03-04 21:17:27

Thank you Sin! I believe that will do great!

to zebada: Please get acquainted with this thread:

http://villavu.com/forum/showthread.php?t=47714

If you have any problems after that let me know :)

rice

2012-03-05 00:52:46

how about world switch instead of log out?

dangerousgoods

2012-03-05 09:17:02

******************************************************************
AdvancedBarBarianAgility v1.07 by Johnnimms13 & Co.
Time: 52 Minutes and 1 Seconds Laps 65
We have gained 42219 Agility Experience!
******************************************************************
Debug Stats:
Blind Rope Failure: 41
Total Ledge Failures: 59
First Spring DTM Failure: 21
Second Spring DTM Failure: 0
Times Clicked Pole over laps: 67/65
Roof Failure: 0
SPS Start Count over Laps: 13/65
******************************************************************
Blind Method Failed… Trying DTM (this happens Most of the time dont worry)
Sat at the Ledge too Long, Logging out
********************************************************************
Thank you for using Abba! Due to something wrong we are logging out
ABBA V 1.07 Johnnimms13, Failed4Life, Anyhow 8
********************************************************************

94 agility, pretty happy with the report / xp , too bad something went wrong :D

Keep up the good work, +rep for you mister :)


edit: much better :p

******************************************************************
AdvancedBarBarianAgility v1.07 by Johnnimms13 & Co.
Time: 1 Hours, 59 Minutes and 59 Seconds Laps 158
We have gained 97032 Agility Experience!
******************************************************************
Debug Stats:
Blind Rope Failure: 95
Total Ledge Failures: 136
First Spring DTM Failure: 56
Second Spring DTM Failure: 0
Times Clicked Pole over laps: 140/158
Roof Failure: 0
SPS Start Count over Laps: 37/158
******************************************************************

corretje

2012-03-05 09:37:13

i've found out something weird.. at school it clicks the ground to walk back to the rope, at my home it uses the minimap(making it slow), I use same script derp.

JN13

2012-03-05 15:03:14

From: corretje
i've found out something weird.. at school it clicks the ground to walk back to the rope, at my home it uses the minimap(making it slow), I use same script derp.


Yep. Thats why it all depends on your system.

rice

2012-03-05 16:09:08

From: corretje
btw, there's a problem with freeing DTM's


Johnn to fix this do this


Procedure freedtms;
begin
FreeDtm(1);
And so on
End;

At the end of your script. Not in your loop or else it does one round then it fails

corretje

2012-03-05 16:47:42

From: rice
Johnn to fix this do this


Procedure freedtms;
begin
FreeDtm(1);
And so on
End;

At the end of your script. Not in your loop or else it does one round then it fails


i've already atempted that one(3 days ago, used RyGuy's script as example), gives a compiling order for some weird reason to busy to find a fix that lol.

From: johnnimms13
Yep. Thats why it all depends on your system.


Pretty weird as my system at my home is way better then at school lol. Ehm, I'm running safemode at my home I tried to run it on Software again but it kept going back to safemode immidiality, any-one knows how to get rid of safemode(pressed S at loading to get safemode)?

******************************************************************
AdvancedBarBarianAgility v1.07 by Johnnimms13 & Co.
Time: 2 Hours, 2x Minutes and xx Seconds Laps 203
We have gained 100667 Agility Experience!
******************************************************************
Debug Stats:
Blind Rope Failure: 185
Total Ledge Failures: 0
First Spring DTM Failure: 120
Second Spring DTM Failure: 0
Times Clicked Pole over laps: 138/203
Roof Failure: 0
SPS Start Count over Laps: 187/203
******************************************************************


Using a light edited version, first run for me which hold it up for longer then 2 hours. As you can see I only get 40k XP each our instead of 45-50k.

zebada

2012-03-05 18:20:51

So I read the thread, uninstalled and reinstalled Simba and now I'm getting this.

Error: Exception: Access violation at line 101
The following DTMs were not freed: [SRL - Lamp bitmap, 1]
The following bitmaps were not freed: [SRL - Mod bitmap, SRL - Admin bitmap, SRL - Flag bitmap]

JN13

2012-03-05 19:39:26

***Updated to v1.071!!!***

Small update to manage Antiban, and include the PlaySound function when logging out!

GL guys, I'm off to School.

JN13

2012-03-05 19:43:06

To rice: I know there's an issue somewhere, but i need to do some serous code searching to find it.

To correctje: Ty for posting those proggies! even at the 40-50 range, 2+ hours is great! I'm excited! Idk about changing your settings though…

Anyhow! I am almost through the "play a sound when it gets stuck" add-on and I beefed up the antiban because… *ahem* it might have been lacking a bit.

well now, I am so tired I adjacently accidentally double posted! sorry guys!

From: zebada
So I read the thread, uninstalled and reinstalled Simba and now I'm getting this.

Error: Exception: Access violation at line 101
The following DTMs were not freed: [SRL - Lamp bitmap, 1]
The following bitmaps were not freed: [SRL - Mod bitmap, SRL - Admin bitmap, SRL - Flag bitmap]



http://villavu.com/forum/showthread.php?p=859233&postcount=826 (its on that thread :p)

rice

2012-03-05 20:19:39

From: johnnimms13
To rice: I know there's an issue somewhere, but i need to do some serous code searching to find it.

To correctje: Ty for posting those proggies! even at the 40-50 range, 2+ hours is great! I'm excited! Idk about changing your settings though…

Anyhow! I am almost through the "play a sound when it gets stuck" add-on and I beefed up the antiban because… *ahem* it might have been lacking a bit.

well now, I am so tired I adjacently accidentally double posted! sorry guys!




http://villavu.com/forum/showthread.php?p=859233&postcount=826 (its on that thread :p)



Johnn The problem is simple, you need to name your DTM's instead of having it all numbers

IE this is how my DTM looks like from my astral crafting script
procedure EatFood;
begin
if not LoggedIn Then
Exit;
if not BankScreen Then
begin
ibank;
end;
case lowercase(Food) of
'lobster' : F00D := DTMFromString('mbQAAAHicY2VgYOgB4g4g7gPiyUA8FYjPA/F1IL4CxHeA+DQQrw+TAJJMKJiLARMwYsFgAACaUQgl');
'swordfish' : F00D := DTMFromString('mlwAAAHicY2dgYGhmZGDoBuKJQNwHxJ2MELFyIJZhgGAFIFYCYmUglofSzTFdQJIJK+YCknI4MCMeDAUA/+8G2A==');
'monkfish': F00D := DTMFromString('mggAAAHicY2NgYJjEyMAwEYgXQPE8IJ4GxB+Bct+A+A0DhP0diH8AsbejJcP8miogiwkFcwFJEEYHjDgwBAAAZ90L0w==');
'shark' : F00D := DTMFromString('mggAAAHicY2NgYLBjZGAwB2JHIHYHYg8g1gfiEqBcAxBXA3EzEJcCcQsQd+RHAUkmDMzFgB0w4sAQAAAltwXX');
end;
if FindDTM(F00D, X, Y, MSX1, MSY1, MSX2, MSY2) Then
begin
MMouse(X, Y, 2, 2);
ClickMouse2(True);
Wait(Random(1500));
MMouse(490, 34, 2, 2);
ClickMouse2(True);
if FindDTM(F00D, X, Y, 540, 190, 730, 460) Then
begin
MMouse(X, Y, 2, 2);
ClickMouse2(True);
Ibank;
end;
end;
FreeDTM(F00D);
end;


Yours look like this

procedure SetDTMs;
begin
DTM[0] := DTMFromString('mlwAAAHicY2dgYFjNyMAwF4h3MELYa4B4HxBPA+ImIK6D4i6oGIhdD8RaqrwMlYWxYGygzc+gq8EH5/MDzcWFGfFgKAAA+1wPEQ==');
DTM[1] := DTMFromString('m6wAAAHic42ZgYMhgZGBIZ4TQAUAcBMTNQFwBxIFQ2hGKZwLxciCeAMTrgLgdiFcDcQcQzwbiGUC8Foi7gbi/qZohNFSKwd9PgiEq0IYhyV+bIT1IlyE91oXB1VANTKcXdTHU96xk4Ae6g1jMRAJGAgB2cRcQ');
DTM[2] := DTMFromString('mFQEAAHic42VgYHgHxHuB+AQjA8NnIF4OxP+B/GdA/BmIpYB8ASC+AsQXgPgfUKwOSIsBsSAQOwPxU6DYWyB2ALK9gDgLiKuAmAuIDYCYGYj93E0YEnxMGSrblzDkVk1mcDFUY8hL8WQIsJVgiA62ZQh1lGLwc1JiaOpbwZBZ3MVQkRvAwA80k1TMSAZGAQACvBzJ');
DTM[3] := DTMFromString('mkwEAAHicE2ZgYKhhZGAoBuIiIC4E4gJGiFg7EHdAcRuUDxKPB+J6IF4OxIlAXAfE04F4IxBrAbEVEOsAsQwQCwCxMJSWBmJVINaDqjEEYk8g9oZiFiD+BXQPO5AWAuKqJBeGzjxfhuIYB4byeCeG2TXhDPPrIxlmVocxlMY6MlQkOINxd74fWK2/owQYh7pJMQTbSzL4WIkzxIXagzE/0FxqYSYqYiwAAPEbInA=');
DTM[4] := DTMFromString('mbQAAAHicY2VgYOgD4kogXgXEM4G4BYj3AvERID4GZe8B4jvX9jG0FXoz9JUHgOmuEl8GfqA4OmbCgsEAAPGVDn0=');
DTM[5] := DTMFromString('mlwAAAHicY2dgYJjJyMDgBcT7gXg1EHcCcQ0Q7wXiRiDuB+JnQNwGxM1A3APEE4H40Z0jDMEpugx+NhIMMxvDGdoKfRi6S/0Z1k9JZuAHmosLM+LBUAAA9ScSYg==');
DTM[6] := DTMFromString('m6wAAAHic42ZgYNjOyMCwD4i3AfE5IL4BxK+BeC4QLwDiaiCuA+I5QHwcqu42EO8G4ptAfAKITwLxZiDuAeL7QPwMiPMSvBi8rcQZoj01GAJsJcF0fUEoQ7i/M4ONqQbD788rGQqi7MGYH+gOYjEjCRgJAAB0PRxC');
DTM[7] := DTMFromString('mggAAAHicY2NgYPBjZGDgAeIYIF4ExAuBYh1AegOQTgTid0B8H4gfAnECEBen+jK8fb6dIT3OlSE+zJ4hwkWaIcxVjYEfKIcNM+LAEAAAnJAOMg==');
DTM[8] := DTMFromString('m6wAAAHic42ZgYHBkYmBQAuI9jAwMl4DYGMjmBGIhJgj7IFDsIhBvA+IyIL4GxE+A2BGItYG4FIgFgVgLqPYPkH4IxMeAONzfmkFJToqBj4+Xwd1SgSHcWZohLtSewc9GgiHURY0h2FmVwcdWCYz5ge4gFjOSgJEAAGFaEp8=');
DTM[9] := DTMFromString('m1gAAAHic42JgYPgNxO+AmJ+RgeEJkOYF0h+gYqxA9h8ovRlIXwDiy0A8CYinAfFWIF4IxAuAeB8QbwTiikQXBj8HCTAOd5ZmiAu1ZyiLd2aYXRPBML0qjKEoxhHM5wfZSQRmJBIjAAAQ1BeE');
end;

do you see the difference?

Just by naming you DTM it will help you pinpoint the problem easier. I hoped I helped. Rep me if I did.

ChorizoConWebo

2012-03-05 21:13:10

Lol i keep getting these DTM errors now and it wont let me load the script :(

Edit: Nevermind, working fine for the mean time

rice

2012-03-05 21:27:32

From: ChorizoConWebo
Lol i keep getting these DTM errors now and it wont let me load the script :(




Alot of times just restart the client will solve the issue

ChorizoConWebo

2012-03-05 21:45:38

[Hint] C:\Simba\Includes\SRL/SRL/core/antirandoms\beekeeper.simba
(194:3): Variable 'T' never used at line 193
[Error] (122:11): Duplicate identifier 'FREEDTMS' at line 121
Compiling failed.

Got this all of a sudden, dont know what it has to do with randoms since it was working fine.

rice

2012-03-05 21:50:57

From: ChorizoConWebo
[Hint] C:\Simba\Includes\SRL/SRL/core/antirandoms\beekeeper.simba
(194:3): Variable 'T' never used at line 193
[Error] (122:11): Duplicate identifier 'FREEDTMS' at line 121
Compiling failed.

Got this all of a sudden, dont know what it has to do with randoms since it was working fine.


this is a conflict between the random and his script. Hopefully he can name is DTM's and change his freeDTM procedure so there wont be a duplicate identifier when a random appears

JN13

2012-03-06 00:30:15

Rice, I did that because it makes freeing them easier :) if i have time this week ill work on it, but for now im swamped.

FayBro

2012-03-06 01:10:47

Theres an error soon as i load the script as i go to press play..

procedure FreeDTMs; //Thank you Footballjds

not sure if it is an error but it wont let me use the bot.

rice

2012-03-06 04:19:36

From: johnnimms13
Rice, I did that because it makes freeing them easier :) if i have time this week ill work on it, but for now im swamped.


Oh I see. Just let me know if you need some more help with your script.

From: FayBro
Theres an error soon as i load the script as i go to press play..

procedure FreeDTMs; //Thank you Footballjds

not sure if it is an error but it wont let me use the bot.

try restarting the client

ChorizoConWebo

2012-03-06 09:19:35

I get the same error as FayBro now, points me to the same line, restarting the client doesnt seem to work and whilst trying to use other scripts it does the same thing :(

corretje

2012-03-06 11:56:01

Seems like you need to update the script to the new SRL version.

Compiling failed.
[Hint] C:\Simba\Includes\SRL/SRL/core/text.simba(684:3): Variable 'I' never used at line 683
[Hint] C:\Simba\Includes\SRL/SRL/core/text.simba(684:3): Variable 'J' never used at line 683
[Hint] C:\Simba\Includes\SRL/SRL/core/antirandoms\beekeeper.simba(194:3): Variable 'T' never used at line 193
[Warning] (1:1): "and True" is not needed at line 0
[Error] (206:6): Unknown identifier 'PercentBlackMM' at line 205
Compiling failed.

Also FreeDTMs needs to be deleted, it's now included in the SRL(I suppose). Using an older version of SRL untill its fixxed, well actually I fixxed it myself by using an older script with the function mmblack instead of Percentblackmm.

Ouch new graphic update has broken your script.. sad.

Update: Took me 10-15 minuts to make new DTMs and update the current one to the new graphics update, only 3-4 DTMs needs to be updated. I did now 2k XP in just 2:16 minuts, seems to be faster then with the old DTMs :P

rice

2012-03-06 18:24:12

Which dtm did u updated

corretje

2012-03-06 19:07:49

From: rice
Which dtm did u updated


The DTMs which the script got stuck at? Use some common sense :cartman:

JN13

2012-03-06 19:12:44

heres a quick fix till tomorrow!

… nvm. Compiles does not equal works. Gotta study the new antirandom.

Hellevoetsluis

2012-03-07 10:21:21

what do you mean with this?:

AntiRandom switch, turn of at your own risk

tdawg777

2012-03-07 15:15:20

From: Hellevoetsluis
what do you mean with this?:

AntiRandom switch, turn of at your own risk


You either have it on or off. Usually antiban reduces the possibility of getting banned. So if you turn it off it is your fault if you get banned.

Hellevoetsluis

2012-03-07 17:24:33

From: tdawg777
You either have it on or off. Usually antiban reduces the possibility of getting banned. So if you turn it off it is your fault if you get banned.


what does he mean with switch? what does it switch?

JN13

2012-03-07 18:35:25

antiban or no. thats the switch. Although right now, I have no clue whats up with the script. -_- Its so frustrating.

tdawg777

2012-03-07 18:45:48

From: Hellevoetsluis
what does he mean with switch? what does it switch?


Switch the antiban 'on' or 'off.' Like a lightswitch that controls a light. However it's for the antiban.

rice

2012-03-08 03:27:20

Your DTM needs to be updated johnn.

JN13

2012-03-08 15:05:58

wfloor too.

corretje

2012-03-09 04:43:23

I'll post my updated/working script when I reach 99 agility, that will be like sunday.

ChorizoConWebo

2012-03-09 09:19:07

lol what? please release it sooner, im about to get 99 myself >_<

corretje

2012-03-09 11:32:45

From: ChorizoConWebo
lol what? please release it sooner, im about to get 99 myself >_<


how about you get of your lazy chair and fix it yourself, it aint that hard. I succeeded in doing it without doing any tutorial(only DTM) on this forum, and i've never coded before you just gotta think the right way.

and as this aint my thread it aint my duty to update the script for the public.

JN13

2012-03-09 15:10:04

yep. agreed Correct, but I do enjoy doing it, so I'll release mine today. I advise this tutorial if you want to understand how this particular script runs:

http://villavu.com/forum/showthread.php?t=58300


*** Updated to v1.08***

Its running, but it has New problems with some procedures, Please let me know *fingers crossed*

*** Updated to v1.081***

Made a new dtm, Reworked a few issues with the slide, all in all works GREAT. (comment out the Wait line in Antiban)

rice

2012-03-10 01:29:00

Impressive script. The only problem I ran into was the plate jump. I fixed that on my end. If you like I could suggest a solution for it.

grumpy ruby

2012-03-10 01:49:43

the bot walks to the plate and then hits the square directly east of the "hit plate" so doesn't climb up it and spam clicks the wrong spot

FayBro

2012-03-10 02:08:08

From: grumpy ruby
the bot walks to the plate and then hits the square directly east of the "hit plate" so doesn't climb up it and spam clicks the wrong spot


Yeah mine does the same.

grumpy ruby

2012-03-10 02:11:52

ive tried playing with the settings for the walking to plate spot but doesn't make a difference
re ran it a few times about 1 in 5 times it walks to same spot and then for unknown reason hits the plate correctly

JN13

2012-03-10 12:22:54

Its the DTM, I'll make a new one. I've been toying around with it a bit, trying to make it faster. Ill see what I can do :0

if u want to replace 4 in HandleObstical with this it will help. but it slows things down

  4:
begin
StatsGuise('hitting plate');
if FindDTMRotated(DTM[3], x, y, 189, 132, 325, 218, -Pi, Pi, Pi/30, aFound) then
begin
MMouse(x, y, 3, 3);
if IsUpText('all') then
begin
ClickMouse2(true);
sleep(3300+random(150));
sleepWhileMoving();
end else
begin
wait(50+random(50));
exit;
end;
end;
end;

grumpy ruby

2012-03-10 15:07:27

replacing that in 4 doesn't work it walks to the wrong square before it calls no.4 and clicks the wrong bit its the dtm for no.3 thats wrong somehow it needs to click on square 1 west on floor

grumpy ruby

2012-03-10 15:27:24

just been messing with this and this seems to be working for me


4:
begin
StatsGuise('hitting plate');
if FindDTMRotated(DTM[3], x, y, 189, 132, 295, 218, -Pi, Pi, Pi/30, aFound) then
begin
Mouse(x, y, 3, 3, True);
sleep(3300+random(150));
sleepWhileMoving();
end
end;

its just the 325 in the dtm changed to 295 was playing with the position it chooses to click the plate

completed approx. 25 laps flawlessly once more
changing the 295 back to 325 causes it to fail

JN13

2012-03-10 15:39:06

hmm. I'm betting its another "works for me but not for you" error. Ill try that Grumpy.

Edit: Grumpy, you were right, I had a typo in there. I changed the value.

Also, I'm toying with the idea of making DTM's work while the Character is moving… instead of stationary. maybe as a first choice, then the stationary ones as failsafes… I'll have to look into it (=

grumpy ruby

2012-03-10 15:40:25

i tried on 3 diff pcs it works epicly using new figure but fails on the 325 very strange but ty for an awesome script im using this on my main its getting me close to completion cape!
yeah dtm on the go would also speed up the xp rate as well!

ive been playing with the wait times to maximise the xp rate and got a pretty good rate going now

Edit 1 only thing is i wish the point it clicks after the "WEEEEE" ie the slide was slightly different as it looks very bot like as it clicks miles away from the rope clicking in a straight line closer to the rope would be more human like

Edit 2 played with start pos and got it much closer to rope the first click looks so much better looking at the clicking pattern

JN13

2012-03-10 16:03:17

From: grumpy ruby
i tried on 3 diff pcs it works epicly using new figure but fails on the 325 very strange but ty for an awesome script im using this on my main its getting me close to completion cape!


Thank you :) I'm using it on my main as well, but serious… from 92-99 is a LONG stretch.

From: grumpy ruby
Edit 1 only thing is i wish the point it clicks after the "WEEEEE" ie the slide was slightly different as it looks very bot like as it clicks miles away from the rope clicking in a straight line closer to the rope would be more human like

Edit 2 played with start pos and got it much closer to rope the first click looks so much better looking at the clicking pattern


Can you Elaborate on that? I'm not sure what you mean.

I'm getting around 45k, which isn't as great as before, but I'll keep tweaking it till I find that magic zone.

rice

2012-03-11 03:38:29

From: johnnimms13
Thank you :) I'm using it on my main as well, but serious… from 92-99 is a LONG stretch.



Can you Elaborate on that? I'm not sure what you mean.

I'm getting around 45k, which isn't as great as before, but I'll keep tweaking it till I find that magic zone.




when i tested the script it got stuck at the plate. it was towards the right of it and it was missclicking. maybe you could use the DTM of the top 3 horns or something to update it

corretje

2012-03-11 05:55:09

From: johnnimms13
Thank you :) I'm using it on my main as well, but serious… from 92-99 is a LONG stretch.



Can you Elaborate on that? I'm not sure what you mean.

I'm getting around 45k, which isn't as great as before, but I'll keep tweaking it till I find that magic zone.


How close are you till 99? I'm getting it today I hope :spot: 400-500k left. :p

yasoof0wnz

2012-03-11 09:24:02

I'm 400k away from 98, so close…

JN13

2012-03-11 12:05:37

Lol, Ive probably seen you guys while I'm ironing out issues. I'm at 92-3 right now.

corretje

2012-03-11 12:20:43

From: johnnimms13
Lol, Ive probably seen you guys while I'm ironing out issues. I'm at 92-3 right now.


i saw a guy with herblore cape alot of times.. pm me your name lol, im about to reach 99 in like 3-4 hours. 150k to go

JN13

2012-03-11 13:48:31

I see a TON of guys with Herb capes/farming capes. Idk y…

rice

2012-03-11 15:21:36

=) i dont know if you seen me or not but i been tweak your script aswell lol.

grumpy ruby

2012-03-11 16:43:18

rice can i have a look see at your tweaked script please as im working on getting mine better up to 51k xp an hour now

corretje

2012-03-11 17:24:57

thanks! i got 99 agility now by using Advancaed Barbarian Agility and Ryguy's ApeToll course!

gf jagex

rice

2012-03-11 18:03:35

From: grumpy ruby
rice can i have a look see at your tweaked script please as im working on getting mine better up to 51k xp an hour now


i can give you advice, like adjust the sleep time, fix minor clicking bugs, and fix some DTMs

JN13

2012-03-11 19:31:52

From: rice
=) i dont know if you seen me or not but i been tweak your script aswell lol.


From: corretje
thanks! i got 99 agility now by using Advancaed Barbarian Agility and Ryguy's ApeToll course!

gf jagex



Rice, If you want to post your edited one here, you can. this Project has many people involved, and adding another isn't a problem.

ConGrats CorrectJE~

Oh, and a thought keeps occurring to me, that I should somehow make a script to do the talent scout challenges, do you guys think its worth it? It might get your character stuck in a loop or something. I was just wondering if it was worth the headache.

rice

2012-03-11 20:55:05

Ok, I didn't know if you would get offended if i posted some of my fixes for it

JN13

2012-03-11 20:59:52

Thats fine with me~ I'm still learning, and I am not opposed to getting help :)

rice

2012-03-11 21:22:26

  3:
begin
writeln('Going To Jump');
MakeCompass('280');
sleep(100 + random(50));
if FindColorSpiralTolerance(x, y, 9545384, 0, 0, 232, 189, 14) then
begin
MMouse(x, y, 0, 0);
wait(10)
clickmouse2(true);
flag;
sleep(3900 + random(50));
sleepWhileMoving();
ClickNorth(SRL_ANGLE_HIGH);
end;
end;

This is my fix for it. As for 4. i just removed it

JN13

2012-03-11 21:27:05

Ah. I thought of doing this! off to try it :)

looks great, works great, Added~ TY man.

Edit: guy was wearing white… totally clicked on him a ton. maybe make it a DTM?

rice

2012-03-11 21:49:43

DTM is a good idea too, my end else is a dtm too

JN13

2012-03-11 21:53:44

Im also experimenting with your method for 15

rice

2012-03-11 21:55:29

there is too many similar colors if your gonna do that for 15 i say do a DTM

JN13

2012-03-11 22:09:28

ya, and then it becomes a nightmare because the compass must be exactly right. its doable though.

Its in testing, It works well, but sometimes it misclicks.

rice

2012-03-11 23:54:27

let me know if you need some help. my fixes are running for 6hrs+

JN13

2012-03-12 00:39:13

agreed! the rope fix is wayyyyy to hard to do. it misclicks more than succeeds.

rice

2012-03-12 01:15:11

your first procedure for it was fine with the sps and loopback.

JN13

2012-03-12 02:20:34

Just watched the script successfully do a maze and continue, I am happy leaving it over night now :)

Ashihtaka

2012-03-12 04:16:05

From: johnnimms13
Just watched the script successfully do a maze and continue, I am happy leaving it over night now :)


a maze..as in an old man maze?!

rice

2012-03-12 05:12:52

From: ashihtaka
a maze..as in an old man maze?!

Yea, Simba random Developers has updated a lot of randoms. I believe there are only 3 they have left to fix but they do an excellent job in fixing and updating randoms.

corretje

2012-03-12 05:38:15

From: rice
let me know if you need some help. my fixes are running for 6hrs+


I've runned my edited versions for more then 12 hours at saturday and sunday by using smart manager, without it getting stucked. Only had 2-3 randoms in 24 hour lol, SRL fixxed 2 of them had to do one random myself.

@ Johnnimms13 thanks, btw my name's corretje xD

JN13

2012-03-12 09:24:16

did i misspell it somewhere :0 if you guys want to post your edits i'm all ears

BTW: it needs 4 to stay as a failsafe, a timer between the plate and ledge, and a DTM for the plate is needed.

The next update I'm going to do is fix the report to run with the Script manager and save reports as text files.

corretje

2012-03-12 10:21:43

program AdvanceBarbarianAgility;
{$DEFINE SMART}
{$i srl/srl.simba}
{$i sps/sps.simba}

{~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Developer Log:

Original Author: Anyhow
Rewritten by: Failed4life
Johnnimms13


A hattip to [Nathan] for his skeleton of this script
--------------------------------------------------------------------------------
Version History:

0: Original by Anyhow
v1.0 - Initial Release
v1.01 - DTMs added, antiban fixed
v1.02 - Progress Report added! Thanks RyGuy for the help :)
v1.021 - Pie Support Added!
v1.022 - Bug fixes and SMART Paint added
v1.023 - New gap DMT, Pie Toggle Switch added
v1.03 - Customizable Hp checker, logs out if Hp is low
v1.031 - Bug Fixes
v1.4 - Code Overhaul
v1.05 - faster leaner code and more randomness. TY FootballJDS
v1.05a - more failsafes.
v1.06 - Multiple DTM's and better failsafes.
v1.07 - Standards, StatsGuise, Breaks, Report, ShortCuts, better Pie & Random Support.
-------------------------------------------------------------------------------

Instructions:
Use the Setup and position your player in the agility course by the ropes.

If you wish to use Summer Pies to boost your Agility level, have them in your
inventory.

Note: This Script requires atleast 85 agility to run with boosts, 90 to run
Without boosts, and 93+ to run without mistakes.

I don't recommend you run this with 85 without constant supervision.


---------------------------------------SETUP-----------------------------------}
const
//User Options
SERVER = 23; //Replace with desired server number
Username = ''; //Enter your Username
Password = ''; //Enter your Password
Nickname = '';
mmdebug = 0; //Enter 3-4 digits of your Username

TakeBreaks = True; //Will you take breaks?
WhenBreakMin = 45; //won't take a break before this (In Minutes)
WhenBreakMax = 120; //Maximum time before a Break (In Minutes)

ar = 1; //AntiRandom switch, turn of at your own risk (0 to disable)
PieLevel = 0; //What level would u like to eat a summer pie at? (0 to disable)
PLogOut = False; //True logs out when summer pies are gone
HP = 20; //LogsOut if below this percentage of HP

var
x,y:LongInt;
TimeBegan, Exp, NorthFace, loads, BreakTime,
StartingXP, LedgeCount, PF, LogTime:Integer;
aFound:Extended;
myPos: TPoint;
DTM: array [0..11] of integer;

var // debug vars please run, post proggies, support the script :)
RF, RoF, SC, LC, S2, S3, PC: Integer;

procedure AntiBan;
begin
if not(LoggedIn)then
Exit;
case 20 of
0: HoverSkill('Agility', false);
1: PickUpMouse;
2: RandomMovement;
3: RandomRClick;
end;
end;
procedure LogPlayer;
begin
WriteLn('********************************************************************');
WriteLn('Thank you for using Abba! Due to something wrong we are logging out');
WriteLn(' ABBA V 1.07 Johnnimms13, Failed4Life, Anyhow ' + ToStr(NorthFace));
WriteLn('********************************************************************');
Logout;
TerminateScript;
end;
procedure SetDTMs;
begin
DTM[0] := DTMFromString('mggAAAHicY2NgYMhlhuAQIK4D4jggbgHiNYwMDHsYIfRaIN4AxOuAWE2Jm0FSjJ2hujgOjPU1pcA0P9AsbJgRB4YAAPyFDAs=');
DTM[1] := DTMFromString('mbQAAAHicY2VgYPgCxA+A+D2U/R+I+5gYGCYAcS0QLwbibiBeNn0Cg7m2KkNajDMc8wPVomNGLBgMAOHvDUI=');
DTM[2] := DTMFromString('mAAEAAHic42FgYNjNxMAwGYiXA/FXIH4IxFeBuBOIhZgZGL4B6Q9A/BuIs4D8RkYGhhQgdgbiKUCcAcT2QDwZiOuAuBQqnwDEfCD5OFeGcCdpBnsjZYZIH3UI302NIS3GBSjGyeBmwcVgY8DBEOutyeBiqMbAD3QTKZiRRIwMACJAFwk='); //DTMFromString('m6wAAAHic42ZgYOgF4gQgngrEX4GYjZGBoRJI7wViTiDbDEinAfFNILZhYmBQBmJmIOYHYncgFgRiRiA2AeJwIL7PCJGP9tVgsNLjYEiLcWao71nGEOlnCGYn+mkxRPsYgdmxIXZgPj/QbGIxIwkYCQAA6qUSjQ==');
DTM[3] := DTMFromString('mPwEAAHic42dgYHgMxIeA+BUQXwfis0D8B4ifA/E7IL4MxJ+BWIqRgeERkH4DxNJA9jkg3QCkc4C4AIgzgbgbiDuBuAOImxkh8jVAnADEYUC8AohXQbGplixDiLM+Q06YDUNWiDWDra4Ug6m6OIOtgRKDkaoYGFtpSzKkxTgzhDtJMbjbiTL4uSkxeDqIMfAD7SYXM1KA0QAApVUd/A==');
DTM[4] := DTMFromString('mlwAAAHicY2dgYDjCxMBwCIinA/FTID4AxC+BeB0QSzMyMPwFqlEE0m5AbA7Er4B8diB9aO8KhrJkJ4aiBAeGkkRHhivndzCkhDszZMQHMPAD1eDCjHgwFAAAHCMSZQ=='); //DTMFromString('mbQAAAHicY2VgYOgD4kogXgXEM4G4BYj3AvERID4GZe8B4jvX9jG0FXoz9JUHgOmuEl8GfqA4OmbCgsEAAPGVDn0=');
DTM[5] := DTMFromString('mlwAAAHicY2dgYLjHxMCwBojPAvFOIH4BxAeA+D0QqzBCMCcQywGxHhC7A/E/oL7mPC+GvvIAhr3zsxg6i30ZFnZEM1w4tYWhLNmJgR8ojwsz4sFQAAAOWBKh'); //DTMFromString('mlwAAAHicY2dgYJjJyMDgBcT7gXg1EHcCcQ0Q7wXiRiDuB+JnQNwGxM1A3APEE4H40Z0jDMEpugx+NhIMMxvDGdoKfRi6S/0Z1k9JZuAHmosLM+LBUAAA9ScSYg==');
DTM[6] := DTMFromString('mlwAAAHicY2dgYKhhZGCIAuLFQJwJxEFAHAnE5UCcDMRaUDofiL2BOA6IbYG4orSIYev6CoZIP2uGvBhbBidTHYboABuG7TPTGPiB5uLCjHgwFAAAQUIOMw==');
DTM[7] := DTMFromString('mwQAAAHic42RgYJjKyMDQCMTVQDwXiHcA8SIgngjEi4G4BYhToTgBiKcD8RQgXgnETlCsB8QBbqZgXFtdwRDrLsMQ4KDMkBzlxGBvpMxga6DEkOhnxsAPtI8QZiQCwwEAtkIRHA==');
DTM[8] := DTMFromString('m6wAAAHic42ZgYHBkYmBQAuI9jAwMl4DYGMjmBGIhJgj7IFDsIhBvA+IyIL4GxE+A2BGItYG4FIgFgVgLqPYPkH4IxMeAONzfmkFJToqBj4+Xwd1SgSHcWZohLtSewc9GgiHURY0h2FmVwcdWCYz5ge4gFjOSgJEAAGFaEp8=');
DTM[9] := DTMFromString('m1gAAAHic42JgYPgNxO+AmJ+RgeEJkOYF0h+gYqxA9h8ovRlIXwDiy0A8CYinAfFWIF4IxAuAeB8QbwTiikQXBj8HCTAOd5ZmiAu1ZyiLd2aYXRPBML0qjKEoxhHM5wfZSQRmJBIjAAAQ1BeE');
DTM[10] := DTMFromString('m6wAAAHic42ZgYFjAyMDgC8T2QDwJiOuAeDoQqwLxfCCOBuIjQHXaQPobkF4GxJ+A2B3IZwTi20B2KpDeBqRvAvF8IFYB8kN8LBhczNQYvG24GWysLMH8yEBrBj5eXgZPKwWGtBgXMB3uJM3AD9RDLGYkASMBAC+fE7E=');
DTM[11] := DTMFromString('mggAAAHicY2NgYPgFxD+B+DoQrwPifUC8EojvMTIwbALi+0B8FIiZmBgYpgDppdP6GZL8dRhMNJUZarqWMzT1LGeI9TdlwAUYcWAIAACXJRAn');
end;
(*procedure FreeDTMs; //Thank you Footballjds
var
i, TempInt :integer;
begin
TempInt := High(DTM);
for i := 0 to TempInt do FreeDTM(DTM[i]);
end; *)

procedure StatsGuise(wat:String);
begin //Ty YoHoJo
Status(wat);
Disguise(wat);
end;

procedure Report;
begin
ClearDebug;
Exp := (GetXPBarTotal - StartingXP);
WriteLn('******************************************************************');
WriteLn(' AdvancedBarBarianAgility v1.07 by Johnnimms13 & Co.');
WriteLn('Time: ' + TimeRunning + ' Laps ' + IntToStr(Loads));
WriteLn('We have gained ' + IntToStr(Exp) + ' Agility Experience!');
WriteLn('******************************************************************');
WriteLn('Debug Stats:');
WriteLn('Blind Rope Failure: ' + IntToStr(Rf));
WriteLn('Total Ledge Failures: ' + IntToStr(LC));
WriteLn('First Spring DTM Failure: ' + IntToStr(S2));
WriteLn('Second Spring DTM Failure: ' + IntToStr(S3));
WriteLn('Times Clicked Pole over laps: ' + IntToStr(PC) + '/' + IntToStr(Loads));
WriteLn('Roof Failure: ' + IntToStr(RoF));
WriteLn('SPS Start Count over Laps: ' + IntToStr(SC) + '/' + IntToStr(Loads));
WriteLn('******************************************************************');
end;

function OnPole: Boolean;
begin
If FindColorTolerance(x, y, SRL_BlackColor, 627, 82, 627, 82, 15) then
result := True;
end;
procedure AntiRandoms;
begin
if ((not LoggedIn) or (ar = 0) or (OnPole)) then
Exit;
FindNormalRandoms;
AntiBan;
end;

procedure ResetBreakTimer;
begin
BreakTime := GetSystemTime + RandomRange((WhenBreakMin) * 60000, (WhenBreakMax) * 60000);
end;
procedure TakeBreak;
var //ty Inception
H, M, S, T, BreakFor: Integer;
begin
if (GetSystemTime >= BreakTime) and TakeBreaks then
begin
Logout;
BreakFor := RandomRange(10 * 60000, 25 * 60000); // Between 10-25 minutes
ConvertTime(BreakFor, H, M, S);
Writeln('Break for: ' + IntToStr(M)+ 'm:' + IntToStr(S)+ 's');
MarkTime(T);
Repeat
Wait(1000);
until (BreakFor < TimeFromMark(T))
LogInPlayer;
ResetBreakTimer;
Wait(4000);
FindNormalRandoms;
end;
end;

function mmBlack:Boolean;
var blackSpot : array [0..7] of TPoint;
var color : array [0..7] of Integer;
var i,kk,res:Integer;
begin

result:= false;
blackSpot[0]:= Point(587,43);
blackSpot[1]:= Point(575,112);
blackSpot[2]:= Point(577,115);
blackSpot[3]:= Point(672,122);
blackSpot[4]:= Point(627,139);
blackSpot[5]:= Point(611,134);
blackSpot[6]:= Point(622,152);
blackSpot[7]:= Point(622,152);

color[0]:= 512;
color[1]:= 393990;
color[2]:= 198400;
color[3]:= 65537;
color[4]:= 131072;
color[5]:= 1797;
color[6]:= 459782;
color[7]:= 328705;

res := 0;
for i := 0 to 7 do
begin
for kk := 0 to 7 do
begin
if(FindColorTolerance(x,y,color[kk],blackSpot[i].x,blackSpot[i].y,blackSpot[i].x,blackSpot[i].y,7)) then
begin
res := res + 1;
//debug
if mmdebug = 1 then
writeln('i = ' + inttostr(i) + ' kk = ' + inttostr(kk));
end;
end;
end;

if(res > 7) then
result:= true;
end;

function Wfloor:Integer;


begin
result:= 99;

if((FindColorTolerance(x,y,2247007,633,56,633,56,15) or
FindColorTolerance(x,y,2247007,629,52,629,52,15) or
FindColorTolerance(x,y,2247007,628,60,628,60,15) or
FindColorTolerance(x,y,2247007,634,51,634,51,15) or
FindColorTolerance(x,y,2247007,633,60,633,60,15) or
FindColorTolerance(x,y,2247007,629,49,629,49,15)) and
FindColorTolerance(x,y,395009,634,84,634,84,15) and
(mmblack())) then
result:= 10;

if((FindColorTolerance(x,y,1655633,615,84,615,84,15) or
FindColorTolerance(x,y,1521998,621,57,621,57,15)) and
(mmblack())) then
result:= 11;

if((FindColorTolerance(x,y,1853268,630,113,630,113,15) or
FindColorTolerance(x,y,1853268,636,116,636,116,15)) and (mmblack())) then
result:= 12;

if(FindColorTolerance(x,y,4873321,530,184,530,184,15) and (mmblack())) then
result:= 13;

if((FindColorTolerance(x,y,2180188,621,113,621,113,15) or
FindColorTolerance(x,y,2180188,625,114,625,114,15) or
FindColorTolerance(x,y,2180188,627,112,627,112,15) or
FindColorTolerance(x,y,2180188,622,113,622,113,15)) and
FindColorTolerance(x,y,393218,643,114,643,114,15) and
FindColorTolerance(x,y,393218,632,114,632,114,15) and
not(FindColorTolerance(x,y,4873321,530,184,530,184,15))and
(mmblack())) then
result:= 14;

(*function Wfloor:Integer;

begin
result:= 99;

if((FindColorTolerance(x,y,2247007,633,56,633,56,15) or
FindColorTolerance(x,y,2247007,629,52,629,52,15) or
FindColorTolerance(x,y,2247007,628,60,628,60,15) or
FindColorTolerance(x,y,2247007,634,51,634,51,15) or
FindColorTolerance(x,y,2247007,633,60,633,60,15) or
FindColorTolerance(x,y,2247007,629,49,629,49,15)) and
FindColorTolerance(x,y,395009,634,84,634,84,15) and
(PercentBlackMM > 95)) then
result:= 10;

if((FindColorTolerance(x,y,1655633,615,84,615,84,15) or
FindColorTolerance(x,y,1521998,621,57,621,57,15)) and
(PercentBlackMM > 95)) then
result:= 11;

if((FindColorTolerance(x,y,1853268,630,113,630,113,15) or
FindColorTolerance(x,y,1853268,636,116,636,116,15)) and (PercentBlackMM > 95)) then
result:= 12;

if(FindColorTolerance(x,y,4873321,530,184,530,184,15) and (PercentBlackMM > 95)) then
result:= 13;

if((FindColorTolerance(x,y,2180188,621,113,621,113,15) or
FindColorTolerance(x,y,2180188,625,114,625,114,15) or
FindColorTolerance(x,y,2180188,627,112,627,112,15) or
FindColorTolerance(x,y,2180188,622,113,622,113,15)) and
FindColorTolerance(x,y,393218,643,114,643,114,15) and
FindColorTolerance(x,y,393218,632,114,632,114,15) and
not(FindColorTolerance(x,y,4873321,530,184,530,184,15))and
(PercentBlackMM > 95)) then
result:= 14;

end; *)
end;

function distanceTo(var point:TPoint): Extended;
var myLoc:TPoint;
begin
myLoc:= SPS_GetMyPos();
Result:= Distance(point.x, point.y, myLoc.x, myLoc.y);
end;

procedure sleepWhileMoving();
var t:Integer;

begin
t := 0;
while((IsMoving) and (t < 7)) do
begin
StatsGuise('Sleeping '+tostr(t));
sleep(250+random(5))
t:=t+1;
end;
end;

procedure EatPie;
var SPie, HPie, x, y: integer;
begin
if PieLevel > 0 then
begin

SPie := DTMFromString('mlwAAAHicY2dgYPjIxMDwFoi/I9FfgPgDEL9kZGB4xgih3wPxYyB+B8SPgDhLTxGOK9JMGVJCdRiyovQZov00GPiB5uLCjHgwFAAAE+UTaw==');
HPie := DTMFromString('mggAAAHicY2NgYHBhYmAwB2JHIHYCYmsg9gTiB0C5R0D8AojvAPFdIH4MxGGqUgyZkXoMEb7WDLkJtgwJQVoM5Rn+DPxAOWyYEQeGAAAW8Qy0');

if GetSkillInfo('agility', True) < (PieLevel+1) then
begin
StatsGuise('below 91 agility, trying to find pie');
if ExistsItemDTM(spie, x, y) then
begin
StatsGuise('found pie');
mouse(x, y, 2, 2, true);
end else
if ExistsItemDTM(hpie, x, y) then
begin
StatsGuise('found 1/2 pie');
mouse(x, y, 2, 2, true);
end else
begin
StatsGuise('no pies!')
if PLogOut = True then
begin
WriteLn('Logging out: Logout When Pies is ON');
logPlayer;
end;
end;
end else
begin
StatsGuise('No Pie for you!');
end;
freedtm(SPie);
FreeDtm(HPie);
end;
end;

function getLocation(): integer;
var First, Second, Third, Fourth: TPoint;
begin
result := 0;
if (mmblack = true) then
//if (blackmm > 96) then
result := Wfloor()
else
begin
First := Point(2045, 2430); //Beginning Point
Second := Point(2045, 2445); //After swinging the rope
Third := Point(2005, 2460); //After log balancing
Fourth := Point(1995, 2475); //Before running up the wall

if ((distanceTo(First) <= 6) and (myPos.y < 2435)) then
begin
result:=1;
exit;
end;

if (distanceTo(Second) <= 7) then
begin
result:=2;
exit;
end;

if (distanceTo(Third) <= 10) then
begin
result:=3;
exit;
end;

if (distanceTo(Fourth) <= 10) then
begin
result:=4;
exit;
end;
end;
end;
procedure handleObstacle(spot: integer);
begin


If NorthFace >= 10 then
begin
ClickNorth(SRL_ANGLE_HIGH);
DecEx(NorthFace, 10);
end;

case spot of

0:
(*if FindDTMRotated(DTM[10], x, y, MSX1, MSY1, MSX2, MSY2, -Pi, Pi, Pi/30, aFound) then
begin
Mouse(x, y, 3, 3, True);
StatsGuise('Walking to begin by DTM')
sleepWhileMoving();
exit;
end; *)
begin
LedgeCount := 0;
IncEx(SC, 1);
StatsGuise('Walk to beginning');
SPS_WalkToPos(Point(2045, 2430));
sleepWhileMoving();
end;




1:
begin
begin
StatsGuise('rope');
if IsUpTextMultiCustom(['ope', 'wing']) then
Begin
ClickMouse2(true);
sleep(2700+random(175));
sleepWhileMoving();
Report;
exit;
end else
if FindDTMRotated(DTM[0], x, y, MSX1, MSY1, MSX2, MSY2, -Pi, Pi, Pi/30, aFound) then
begin
WriteLn('Blind Method Failed... Trying DTM (this happens Most of the time dont worry)');
IncEx(RF, 1);
Mouse(x, y, 3, 3, True);
sleep(2300+random(175));
sleepWhileMoving();
end;
end
end;

2:
begin
StatsGuise('log');
if FindDTMRotated(DTM[1], x, y, MSX1, MSY1, MSX2, MSY2, -Pi, Pi, Pi/30, aFound) or FindDTMRotated(DTM[11], x, y, MSX1, MSY1, MSX2, MSY2, -Pi, Pi, Pi/30, aFound) then
begin
Mouse(x, y, 3, 3, True);
sleep(1900+random(150));
sleepWhileMoving();
IncEx(NorthFace, 1);
end;
end;

3:
begin
StatsGuise('Walking To plate');
if FindDTMRotated(DTM[2], x, y, MSX1, MSY1, MSX2, MSY2, -Pi, Pi, Pi/30, aFound) then
begin
Mouse(x, y, 3, 3, True);
sleep(200 + random(50));
//sleepWhileMoving();
end;
end;

4:
begin
StatsGuise('hitting plate');
if FindDTMRotated(DTM[3], x, y, MSX1, MSY1, MSX2, MSY2, -Pi, Pi, Pi/30, aFound) then
begin
Mouse(x, y, 3, 3, True);
sleep(6000+random(150));
sleepWhileMoving();
end
end;

10:
begin
begin
MMouse(205, 120, 3, 3);
wait(100 + random(25));
StatsGuise('Climb up Ledge');
if isUptextEx('all') then
begin
ClickMouse2(true);
sleep(3300+random(150));
sleepWhileMoving();
exit;
end else
if FindObjEx(x, y, ['limb', 'up'], [3624802], 5, 40, 174, 78, 253, 247) then
begin
Mouse(x, y, 0, 0, True);
sleep(3300+random(150));
sleepWhileMoving();
end;
end
end;

11:
begin
begin
case random(5) of
1:
mmouse(142, 177, 3, 3);
2:
mmouse(134, 192, 3, 3);
3:
mmouse(160, 192, 3, 3);
4:
mmouse(147, 202, 3, 3);
5:
mmouse(132, 210, 3, 3);
end;

wait(100 + random(25));

if isuptext('pring') then
begin
StatsGuise('Firing Spring');
clickmouse2(true);
sleep(4500+random(150));
sleepWhileMoving();
exit;
end else

begin
WriteLn('blind spring Click Failed... trying first DTM');
if FindDTMRotated(DTM[4], x, y, MSX1, MSY1, MSX2, MSY2, -Pi, Pi, Pi/30, aFound) then
begin
IncEx(S2, 1);
Mouse(x, y, 3, 3, True);
sleep(4000+random(150));
sleepWhileMoving();
end else
begin
WriteLn('Second spring DTM failed... Trying second');
if FindDTMRotated(DTM[5], x, y, MSX1, MSY1, MSX2, MSY2, -Pi, Pi, Pi/30, aFound) then
begin
IncEx(S3, 1);
Mouse(x, y, 3, 3, True);
sleep(4000+random(150));
sleepWhileMoving();
end;
end;
end;
end;
end;
12:
begin
StatsGuise('Pole');
if FindDTMRotated(DTM[7], x, y, MSX1, MSY1, MSX2, MSY2, -Pi, Pi, Pi/30, aFound) then
begin
Mouse(x, y, 0, 0, True);
sleep(2500+random(150));
sleepWhileMoving();
end else

begin
writeln('Pole 2');
if FindDTMRotated(DTM[6], x, y, MSX1, MSY1, MSX2, MSY2, -Pi, Pi, Pi/30, aFound) then
begin
Mouse(x, y, 0, 0, True);
sleep(2500+random(150));
sleepWhileMoving();
end else
begin

If PF >= 10 then
LogPlayer;

IncEx(PF, 1);
exit;
end;
end;
IncEx(PC, 1);
end;

13:
begin
StatsGuise('Gap');
case random(3) of
1:
MMouse(267, 176, 5, 5);
2:
MMouse(276, 176, 5, 5);
3:
MMouse(267, 162, 5, 5);
end
PF := 0;
if isUptextEx('ump') then
begin
ClickMouse2(True);
wait(3000+random(100));
end else
exit;
end;

14:
begin
StatsGuise('WEEEEEE!');
IncEx(Loads, 1);
MMouse(330, 178, 10, 10);
wait(50 + random(50));

if isUptextEx('oof') then
begin
ClickMouse2(True);
Sleep(1300 + random(200));
wait(2500+random(100));
end;
begin
if FindDTMRotated(DTM[8], x, y, MSX1, MSY1, MSX2, MSY2, -Pi, Pi, Pi/30, aFound) then
begin
StatsGuise('ShortCut');
Mouse(x, y, 1, 1, True);
sleep(600+random(70));
MMouse(255, 185, 5, 5);
sleep(200+random(70));
sleepWhileMoving();
end;
end;
Report;
end;
end;
MarkTime(LogTime);

end;
procedure DeclarePlayers;
begin
HowManyPlayers := 1;
NumberOfPlayers(HowManyPlayers);
CurrentPlayer := 0;
Players[0].Name := Username;
Players[0].Pass := Password;
Players[0].Nick := Nickname;
Players[0].Active := True;



end;
procedure LogMeIn;
begin
LoginPlayerToLob;
OpenWorldScreen;
SelectWorld(SERVER);
LoginPlayer;
end;

{//////////////////////////////////Main Loop///////////////////////////////////}
begin

Smart_Server := SERVER;
Smart_Members := True;

SetupSRL;
DeclarePlayers;
SPS_Setup(RUNESCAPE_SURFACE, ['4_5','4_6']);

TimeBegan := GetSystemTime;
ToggleXPBar(True);
StartingXP := (GetXPBarTotal);
ResetBreakTimer;
SetDTMs;
if not(LoggedIn) then
LogMeIn;
while not(LoggedIn) do
sleep(1000);
ClickNorth(SRL_ANGLE_HIGH);
while(true) do //Main loop
begin
MarkTime(LogTime);
while not(LoggedIn) do
LoginPlayer;
// EatPie; //comment this to speed up your script! Disables pies.
//TakeBreak;
AntiRandoms;
handleObstacle(getLocation());
myPos := SPS_GetMyPos();
if TimeFromMark(LogTime) > 100000 Then
begin
WriteLn('Idle Too Long');
LogPlayer;
end;

end;
end.

Here it is, aint that fast 43k XP an hour but it is flawless. oh .. and i copy pasted the mmblack from another barbarian agility script.

Iamthewindow

2012-03-12 13:08:07

Okay, I am a total noob to Simba. This script looks great and would like to use it. When I download it and open it in Simba and run the scrip, my character just stands there. What should I do?

grumpy ruby

2012-03-12 14:13:32

From: Iamthewindow
Okay, I am a total noob to Simba. This script looks great and would like to use it. When I download it and open it in Simba and run the scrip, my character just stands there. What should I do?


you need to read the tutorials on how to properly set up samba ie SRL and SPS cos all scripts use this one way or another and gotta keep them uptodate as well

JN13

2012-03-12 15:05:08

******************************************************************
AdvancedBarBarianAgility v1.07 by Johnnimms13 & Co.
Time: 5 Hours, 3 Minutes and 21 Seconds Laps 342
We have gained 211034 Agility Experience!
******************************************************************

heres an awesome proggie I just racked up. I put a DTM on the plate procedure.

JN13

2012-03-12 15:08:52

From: corretje

Here it is, aint that fast 43k XP an hour but it is flawless. oh .. and i copy pasted the mmblack from another barbarian agility script.



Ah! ok, so u used the original mmblack (basically a custom autocolor). With the new random update they took out the mmblack functions I was using, but Harry put them back in:spot: Also, the thing that probably cuts the speed, is in your version you have all the "fat" that can be simplified with srl procedures. That was my biggest problem.

my phone must hate me, sorry about the double post.

Iamthewindow

2012-03-12 15:17:29

I've setup everything successfully. Im having problem with the script.

grumpy ruby

2012-03-12 15:23:07

From: Iamthewindow
I've setup everything successfully. Im having problem with the script.


so explain what the script is or isn't doing!

grumpy ruby

2012-03-12 15:24:07

From: johnnimms13
******************************************************************
AdvancedBarBarianAgility v1.07 by Johnnimms13 & Co.
Time: 5 Hours, 3 Minutes and 21 Seconds Laps 342
We have gained 211034 Agility Experience!
******************************************************************

heres an awesome proggie I just racked up. I put a DTM on the plate procedure.


oooh when u releasing this version john?

JN13

2012-03-12 16:10:48

From: grumpy ruby
oooh when u releasing this version john?


I'm going to take the Debug variables out, hopefully add random events to the report, and make the report a .txt file.

Probably tonight. :)

rice

2012-03-12 16:33:45

Did you use my move compass johnn also u should put antirandoms after every section to be safer

JN13

2012-03-12 16:42:44

Antirandoms is called after Every movement except for the pole, and yes :)

rice

2012-03-12 17:00:18

Sweet I can make a procedure for eating that u can incorporate if u like

Iamthewindow

2012-03-12 17:17:18

Okay when I start the script my character is by the rope swing and then the script keeps clicking on the northeast corner of the screen. what should i do?

grumpy ruby

2012-03-12 18:30:48

From: Iamthewindow
Okay when I start the script my character is by the rope swing and then the script keeps clicking on the northeast corner of the screen. what should i do?


pause the script and disable smart then complete a lap on your own and after it does the slide enable smart then click play on the script this should start it off correctly

JN13

2012-03-12 18:36:28

***Updated to v1.083*** TY RICE :)

This is quite an eventful update, I'm finally feeling like its shaping up as a good script. With the AntiRandom Update its even better than I could have hoped for.

grumpy ruby

2012-03-12 19:23:08

From: johnnimms13
***Updated to v1.083*** TY RICE :)

This is quite an eventful update, I'm finally feeling like its shaping up as a good script. With the AntiRandom Update its even better than I could have hoped for.


trying it out now john glued to your script page! cant wait to see what you come up with next

rice

2012-03-12 20:13:02

eating for your script

EDIT: removed my script for eating PM if you need it

JN13

2012-03-12 22:35:05

That makes a great addition. The more I think about it, the more I find that I need a version with eating, and one without. You see, summer pies are great food, and for all the people who can fail (anyone below 93) they will probably use pies. But back to the point: Checking for pies throws the breaks on this script.

I think for the big 1.1 release I'll end up making a pie/food version and a no food version.

Right now I'm Most concerned about making this thing blazing fast and flawless :)

Ty Rice though, your eating will definitively find a home here.

rice

2012-03-12 22:36:59

Yea man anytime, I wanted to help your script get better and better. When I get the chance and free up one of my bots Ill test the script and see where I can improve it to make it quicker and post an update.


edit: i made a fix to your ledge part before the firing crossbow. I dont know if you have the same problems i do where the char gets stuck

JN13

2012-03-13 10:00:46

Thanks man, I just ran the script for 24 hours. the only time it got stuck was in a certer. All in all, I call that stable :)

Also, it makes around 50~55k exp per hour, which from my understanding is great for a color script. The theoretical max exp per hour is 78k, I'm hoping to pump it up while keeping it flawless like it is now :)

I'm seriously doubting I'll put a form in this now, as it would mess with the script manager and crashsmart.

corretje

2012-03-13 10:08:37

From: johnnimms13
Ah! ok, so u used the original mmblack (basically a custom autocolor). With the new random update they took out the mmblack functions I was using, but Harry put them back in:spot: Also, the thing that probably cuts the speed, is in your version you have all the "fat" that can be simplified with srl procedures. That was my biggest problem.

my phone must hate me, sorry about the double post.


******************************************************************
AdvancedBarBarianAgility v1.07 by Johnnimms13 & Co.
Time: 4 Hours, 15 Seconds Laps 349
We have gained 170515 Agility Experience!
******************************************************************
Debug Stats:
Blind Rope Failure: 175
Total Ledge Failures: 0
First Spring DTM Failure: 126
Second Spring DTM Failure: 0
Times Clicked Pole over laps: 245/349
Roof Failure: 0
SPS Start Count over Laps: 225/349
******************************************************************

******************************************************************
AdvancedBarBarianAgility v1.07 by Johnnimms13 & Co.
Time: 4 Hours, 18 Minutes and 4 Seconds Laps 348
We have gained 170184 Agility Experience!
******************************************************************
Debug Stats:
Blind Rope Failure: 222
Total Ledge Failures: 0
First Spring DTM Failure: 154
Second Spring DTM Failure: 0
Times Clicked Pole over laps: 250/348
Roof Failure: 0
SPS Start Count over Laps: 284/348
******************************************************************

******************************************************************
AdvancedBarBarianAgility v1.07 by Johnnimms13 & Co.
Time: 4 Hours, 44 Seconds Laps 347
We have gained 176528 Agility Experience!
******************************************************************
Debug Stats:
Blind Rope Failure: 205
Total Ledge Failures: 0
First Spring DTM Failure: 73
Second Spring DTM Failure: 1
Times Clicked Pole over laps: 260/347
Roof Failure: 0
SPS Start Count over Laps: 147/347
******************************************************************
Successfully executed.

Time: 5 Hours, 1 Minutes and 7 Seconds Laps 418
We have gained 216791 Agility Experience!
******************************************************************
Debug Stats:
Blind Rope Failure: 259
Total Ledge Failures: 0
First Spring DTM Failure: 96
Second Spring DTM Failure: 0
Times Clicked Pole over laps: 306/418
Roof Failure: 0
SPS Start Count over Laps: 221/418
******************************************************************

Here are proggies with my version.

I would test your newest version but hey.. I'm 99 lol.Goodluck with tuning the script.

rice

2012-03-13 14:57:56

Nice corretje. Johnn, so you not looking to update it anymore?

JN13

2012-03-13 16:21:16

i am, need to put SRL stats in now. Ah, looks like they are broke. O well…

Kidlington

2012-03-13 17:02:12

Good stuff john and rice :)

Looking forward to using this script!

Quintessence

2012-03-13 18:59:54

Looks like great progress has been made. I will definitely test this out tonight.

rice

2012-03-13 19:08:39

From: Quintessence
Looks like great progress has been made. I will definitely test this out tonight.


Let us know how it works out. John is the primary scripter i just happen to help out lol

lilpjer

2012-03-13 20:02:25

How did you add the alert thing?

JN13

2012-03-13 20:38:02

take the file, unzip it, put it in your simba/scripts folder. or if you want to change the path you can. you can also use any .wav file you want.

Oh, and guess who it is :P

lilpjer

2012-03-13 21:39:02

I mean how did you implicate it into your script and make it work.

JN13

2012-03-13 22:07:35

look up

PlaySound(sound : String)

if <condition> then playsound(c:/somewhere) .

Sogalishis

2012-03-13 22:50:30

Sweeet! Finally an agility script worth me using! Thank you :)))

JN13

2012-03-13 23:52:39

From: Sogalishis
Sweeet! Finally an agility script worth me using! Thank you :)))


Thank you! Now that this only needs a few fixes to be flawless… I might go on and try for members :)

rice

2012-03-14 01:47:29

From: johnnimms13
Thank you! Now that this only needs a few fixes to be flawless… I might go on and try for members :)


Good luck on your attempt man.

vicariousness

2012-03-14 15:55:30

Hmm I get this error when I run your script

[Hint] C:\Simba\Includes\SRL/SRL/core/login.simba(528:3): Variable 'X' never used at line 527
[Hint] C:\Simba\Includes\SRL/SRL/core/login.simba(528:3): Variable 'Y' never used at line 527
[Hint] C:\Simba\Includes\SRL/SRL/core/antirandoms\demon.simba(167:3): Variable 'C' never used at line 166
[Warning] (1:1): "and True" is not needed at line 0
[Error] (265:6): Unknown identifier 'PercentBlackMM' at line 264
Compiling failed.


Any Idea on how to fix?

grumpy ruby

2012-03-14 16:03:55

which version are you using v1.083 is latest and greatest and is almost flawless

vicariousness

2012-03-14 16:09:23

:o yeah i was using the 1.083

JN13

2012-03-14 17:03:40

redownload Simba/srl. if PercentMMBlack doesn't work you are not using a recent SRL version.

vicariousness

2012-03-14 17:27:08

Thanks you soo much! its fixed..

Btw love the script :)

Zockuito

2012-03-14 19:51:47

Flawless script… Hopefully I can get the dreaded 99 with this! :)

JN13

2012-03-14 19:59:52

im a workin on it myself :) Ty Guys, tell me if there's anything you would like to see, or a bug you spot. At this point the only things I can do with the script is

1. Somehow make the rope faster.
2. Do a form or a paint on the client (Form would make it unusable with Crashsmart/Manager)
3. Update whenever something crashes or when I find more efficient ways to code things.

besides those, this baby is pretty flawless.

rice

2012-03-14 21:40:28

You shouldnt make unnecessary paints it just slows down the script. thats just my 2 cents on it

JN13

2012-03-15 00:15:54

Agreed! thats why I think its a finished product :)

I'll just fix the report to look really nice, and fix the text file.

******************************************************************
AdvancedBarBarianAgility v1.083 by Johnnimms13 & Co.
Time: 7 Hours, 5 Minutes and 59 Seconds Laps 526
We have gained 389608 Agility Experience!
******************************************************************

Quintessence

2012-03-15 03:13:08

No problems with it so far! I might consider using this during the bonus experience weekend.

Great job.

Kidlington

2012-03-15 12:57:12

From: johnnimms13
Agreed! thats why I think its a finished product :)

I'll just fix the report to look really nice, and fix the text file.


Cool proggy there, good job on the script!

lilpjer

2012-03-15 18:31:15

Agreed! Very nice script!

rice

2012-03-15 20:04:21

John you can make a basic add on so your script does both sections

Quintessence

2012-03-15 20:12:40

The progress report inflates experience gained by nearly 100%.

JN13

2012-03-15 22:06:06

hmm. ill think about that. O and, I know… thats the next update.

exilednoob

2012-03-15 23:46:23

so this is working? :D

vicariousness

2012-03-15 23:49:28

Ohai

Just an error i get

1
Pole 2
Pole 2
Pole 2
Pole 2
Pole 2
Pole 2
Pole 2
Pole 2
Pole 2
Pole 2
Pole 2
********************************************************************
Thank you for using Abba! Due to something wrong we are logging out
ABBA V 1.07 Johnnimms13, Failed4Life, Anyhow
********************************************************************
|====================================|
| ~ SRL ~ |
| Randoms Report |
|&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;|
| |
| |
|&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;|
|====================================|
ReWriteFile - Exception. Could not create file: C:\Simba\Scripts\ABBA_Report09:40:05 PM.txt
Error: Exception: Invalid FileNum passed: -1 at line 110
The following DTMs were not freed: [SRL - Lamp bitmap, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271]
The following bitmaps were not freed: [SRL - Mod bitmap, SRL - Admin bitmap, SRL - Flag bitmap]

JN13

2012-03-16 00:30:27

well, sometimes it doesn't free the DTMS. only sometimes though! grr Your Issue is the pole, you can make a new DTM if you know how (hit up Demise's Tut). Some people just have something different about their computer that makes the DTM's I make not work for them. DTM[6], and DTM[7] are the pole respectively.



O and this is most definitively working.

corretje

2012-03-16 06:57:17

From: johnnimms13
well, sometimes it doesn't free the DTMS. only sometimes though! grr Your Issue is the pole, you can make a new DTM if you know how (hit up Demise's Tut). Some people just have something different about their computer that makes the DTM's I make not work for them. DTM[6], and DTM[7] are the pole respectively.



O and this is most definitively working.


Only call once the SetDTMs, at the mainloop I did it aswell.

Iced_Liquid

2012-03-16 19:17:45

I keep getting this error after it starts logs in and sometimes does an obstacle.

Error: Exception: Access violation at line 89
The following DTMs were not freed: [SRL - Lamp bitmap, 1]
The following bitmaps were not freed: [SRL - Mod bitmap, SRL - Admin bitmap, SRL - Flag bitmap]

rice

2012-03-16 23:30:43

are you hitting stop or something iced

Iced_Liquid

2012-03-17 01:19:11

Nope, several different scripts are throwing up this error I can barely bot..

rice

2012-03-17 03:53:15

what version is your java? i havent seen this problem in a long time.

GtfoDeezNutz

2012-03-18 03:39:16

i keep getting this error when i run the script. it runs for a little then i get this :(
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
Sat at the Ledge too Long, Logging out
********************************************************************
Thank you for using Abba! Due to something wrong we are logging out
ABBA V 1.07 Johnnimms13, Failed4Life, Anyhow
********************************************************************
|====================================|
| ~ SRL ~ |
| Randoms Report |
|&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;|
| |
| |
|&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;|
|====================================|
ReWriteFile - Exception. Could not create file: C:\Simba\Scripts\ABBA_Report03:37:26 AM.txt
Error: Exception: Invalid FileNum passed: -1 at line 110
The following DTMs were not freed: [SRL - Lamp bitmap, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11]
The following bitmaps were not freed: [SRL - Mod bitmap, SRL - Admin bitmap, SRL - Flag bitmap]

JN13

2012-03-18 11:50:33

ok, that is probably because somehow you are not facing north with your camera angle high.

GtfoDeezNutz

2012-03-18 16:49:19

From: johnnimms13
ok, that is probably because somehow you are not facing north with your camera angle high.


is there some way to change this then?

JN13

2012-03-18 17:25:35

Woot! Finally after Weeks of coding to get to the point where I would use it on my main, It is finished.

This script took me there all the way from 85 :) Ty all for your support!

I'm going to keep working on it, but its mostly done :)




rice

2012-03-18 19:23:29

congrats on your 99! someday ill see my 99's on my accounts

tounsi

2012-03-19 01:52:05

Congrats on 99 Agility :D

I just tried out your script, and man is it a beast!!

******************************************************************
AdvancedBarBarianAgility v1.07 by Johnnimms13 & Co.
Time: 1 Hours, 17 Seconds Laps 73
We have gained 54071 Agility Experience!

momotron

2012-03-20 07:46:23

For some reason it's not running reliably for me, I have noticed a few things, it gets stuck on the ledge quite often for me and it wastes a lot of time after it's completed a lap + using the rope :P

ChorizoConWebo

2012-03-20 09:42:07

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
Sat at the Ledge too Long, Logging out
************************************************** ******************
Thank you for using Abba! Due to something wrong we are logging out
ABBA V 1.07 Johnnimms13, Failed4Life, Anyhow
************************************************** ******************
|====================================|
| ~ SRL ~ |
| Randoms Report |
|&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;|
| |
| |
|&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;|
|====================================|
The following DTMs were not freed: [SRL - Lamp bitmap, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11]
The following bitmaps were not freed: [SRL - Mod bitmap, SRL - Admin bitmap, SRL - Flag bitmap]

I started getting this, and it's always after running up on the wall it misclicks the ledge and so just sits there and eventually logs out, the wierd thing is that it happens exactly after 1 hour and 30 minutes, sometimes it makes it too two hours but eventually misclicks.

JN13

2012-03-20 09:44:56

hmm… the ledge has always been a thorn in my side. Plus, I'm aware of the rope, the problem is if you speed it up it loops around the rope multiple times O_o

Kidlington

2012-03-20 09:59:02

Seems to be running smoothly. Although screen positions can be changed to increase xp rate.

rice

2012-03-20 13:42:56

i Fixed that issue on my script johnn. Its faily simple fix Dtm is a factor in it

JN13

2012-03-21 00:43:18

If you want to post it its fine :) I'm currently working on school, I'll work on the script when i get done

rice

2012-03-21 01:09:42

i will upload it when i get the chance. I made it even more stable too btw

Ashihtaka

2012-03-21 02:55:59

From: rice
i will upload it when i get the chance. I made it even more stable too btw


I'd also like to try out your changes, rice

bilka

2012-03-21 09:23:23

From: rice
i will upload it when i get the chance. I made it even more stable too btw


id love too see your script too, the original script is ok -but if yours better then :thumbsup:

Jameschen1222

2012-03-21 19:48:27

Doesn't work for me :(
It logs me on and it does nothing.
The debug just repeats this over and over again
Current player: Username
Current player: Username
Current player: Username
Current player: Username

JN13

2012-03-21 20:22:08

From: Jameschen1222
Doesn't work for me :(
It logs me on and it does nothing.
The debug just repeats this over and over again
Current player: Username
Current player: Username
Current player: Username
Current player: Username


I have seen this error… Gotta research it. Anybody spot the offending code?

shefaked1t

2012-03-21 21:22:20

hey i know this probably isnt on the top of your prioritys but when i use the pie option it gets stuck on the ledge right after you hop up the wall and the roof you slide down. It keeps hovering over the agility skill (to check if its above 89 im assuming) and then it hovers over one of the two obstacles and repeats until it counts to 21 in the cmd prompt and logs out.


okay so after looking at it a little it seems for the ledge if you move the camera angle a little the bot hits face north again and does the obstacle correctly it doesnt work for the roof though.

rice

2012-03-21 22:59:26

From: johnnimms13
I have seen this error… Gotta research it. Anybody spot the offending code?


I believe its a smart coding or updated Simba

JN13

2012-03-22 09:59:17

From: shefaked1t
hey i know this probably isnt on the top of your prioritys but when i use the pie option it gets stuck on the ledge right after you hop up the wall and the roof you slide down. It keeps hovering over the agility skill (to check if its above 89 im assuming) and then it hovers over one of the two obstacles and repeats until it counts to 21 in the cmd prompt and logs out.


okay so after looking at it a little it seems for the ledge if you move the camera angle a little the bot hits face north again and does the obstacle correctly it doesnt work for the roof though.


Unfortunately I no longer have an account that needs pie support, so I can't do much there. The only solution I can see is to call pies individually like it was in the beginning so that it doesn't interfere with it

corretje

2012-03-22 10:46:06

From: johnnimms13
Woot! Finally after Weeks of coding to get to the point where I would use it on my main, It is finished.

This script took me there all the way from 85 :) Ty all for your support!

I'm going to keep working on it, but its mostly done :)





nice! second one to reach 99 with this script(after me)? :f:

Ashihtaka

2012-03-22 18:03:25

It's working well, but sometimes laps completed and xp/hour is way off.
Doesn't matter too much, the main thing is the agility which is doing well.

Imanoobbot

2012-03-22 18:08:23

Sounds really good. Sadly agility is my only skill below 80…

Ashihtaka

2012-03-22 19:02:23

The only Error I get from this script (The only time it stops, otherwise would probably go for ever):

******************************************************************
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
Sat at the Ledge too Long, Logging out

rice

2012-03-22 23:44:58

for this error just adjust the sleep time at the ledge

ChorizoConWebo

2012-03-23 00:27:47

What line would that be, if I may ask?

shefaked1t

2012-03-23 15:27:16

okay i think i figured out the pie problem myself i tinkered around with it and i just increased the wait times slightly on each obstacle and it seems to be working so far
its in handle obstacle i just changed lines:
407
442
456
469
and 556 to: sleep(200 + random(50)); although it only gets 30kish xp per hour this way its still xp i didnt have to get it
Thanks a lot :D

rhino_king

2012-03-23 16:15:42

Thanks for all the hard work on this awesome script, got to 99 with it :smarty:

rice

2012-03-25 04:58:52

From: rhino_king
Thanks for all the hard work on this awesome script, got to 99 with it :smarty:


congrats on you 99

JN13

2012-03-25 16:20:09

WOO congrats Rhino_king and Rice on members!

begginer

2012-03-25 16:26:06

Will try this when I have enough agility

mikuz

2012-03-25 16:39:29

Thank you, very good.

PLogOut crashes the script at gap. I think it's because you can't check the inventory when you are on the plank.

rougarou

2012-03-25 18:08:17

Does this still get suck on the ledge after the ballista thing?

JN13

2012-03-25 18:22:19

From: rougarou
Does this still get suck on the ledge after the ballista thing?


It shouldnt.

kllj

2012-03-27 00:09:55

I <3 you

rice

2012-03-27 03:26:10

From: johnnimms13
WOO congrats Rhino_king and Rice on members!


thanks man, I was glad my hard work paid off and I hope to see you in there soon, This script is still amazing but, there are some failsafes you should consider at the ledges

JN13

2012-03-27 18:49:40

From: rice
thanks man, I was glad my hard work paid off and I hope to see you in there soon, This script is still amazing but, there are some failsafes you should consider at the ledges


Ya, I've been at nursing school and am having trouble finding time for it.

eska

2012-03-30 03:38:40

Can you fail anything else than the balance beam? So far it's the only place I fell down.

I wanted to practice with pixel shift and I also need to get 99 agility so I decided to test it out at this agility course but turns out I basicaly wrote the whole thing and it work better than expected so I might release it eventualy.

Alvarito

2012-03-30 10:40:59

Thank you very much for the hard work.

Usually works pretty smooth, just logging from time to time.

Still a great script. Thank you again :)

illuminatiswag

2012-03-30 10:45:41

Yea this script works decently it gets about 50k xp an hour ill stick to ape atoll though i dont think ill be able to run this one nearly as close as to how long i run ape atoll due to no randoms last run was 32 hours :o

JN13

2012-03-30 19:17:34

From: illuminatiswag
Yea this script works decently it gets about 50k xp an hour ill stick to ape atoll though i dont think ill be able to run this one nearly as close as to how long i run ape atoll due to no randoms last run was 32 hours :o


Its true, it gets randoms, but it also gets significantly more xp/h and it does the arduous task of getting the agile top. When I used it I used Teamviewer on my smartphone to keep it on task. To be completely honest guys, I don't plan on continuing this script. It is not mine, first off, it was a dug up old skeleton that Failed4life found and I just so happened to be making my own version at the time (so I decided to help with the project).

This script has been and will always be a group thing. Whoever wants to take the reigns on it please step up, cuz I'm movin' on to something I can really tack my name onto :)

redgiant61

2012-03-31 03:06:52

Could you post a normal version of barb assault?

I tried deleting the advanced part, and the pie eating part, to try to make it work for normal barb course, but it dint work :(

JN13

2012-03-31 03:16:00

hmm. maybe, but for now im working on a honeycomber/lava flow miner.

iskill4u

2012-03-31 03:56:09

looks pretty cool to me cant wait to test it out after i get 99 fletch

kllj

2012-03-31 18:22:11

I know this is a noob question, but how do you get scripts to run for over 6 hours, i check the forums for a while and i couldnt figure it out.

lilpjer

2012-03-31 18:46:10

This got me 92-99 agility. Thanks so much!!!

JN13

2012-04-01 01:50:03

From: kllj
I know this is a noob question, but how do you get scripts to run for over 6 hours, i check the forums for a while and i couldnt figure it out.


look up crash smart, or if you want to make it really easy on yourself, download SMARTManager (thats what I do, it does all the work for you)

GL man :)

TY for using the script~! Congrats lilpjer~

i3egoHan

2012-04-01 17:05:29

From: johnnimms13
look up crash smart, or if you want to make it really easy on yourself, download the script manager (thats what I do, it does all the work for you)

GL man :)

TY for using the script~! Congrats lilpjer~


Goodjob, btw thats SMARTManager… :D

JN13

2012-04-01 23:37:20

From: i3egoHan
Goodjob, btw thats SMARTManager… :D


Right! Sorry bout that :)

jabookman

2012-04-02 18:01:24

85-97, I will be 99 in no time! :)

anvi89

2012-04-03 18:14:14

******************************************************************
AdvancedBarBarianAgility v1.07 by Johnnimms13 & Co.
Time: 1 Hours, 16 Minutes and 34 Seconds Laps 91
We have gained 67404 Agility Experience!
******************************************************************

great script man, thumbs up.

illuminatiswag

2012-04-03 18:27:49

From: johnnimms13
Its true, it gets randoms, but it also gets significantly more xp/h and it does the arduous task of getting the agile top. When I used it I used Teamviewer on my smartphone to keep it on task. To be completely honest guys, I don't plan on continuing this script. It is not mine, first off, it was a dug up old skeleton that Failed4life found and I just so happened to be making my own version at the time (so I decided to help with the project).

This script has been and will always be a group thing. Whoever wants to take the reigns on it please step up, cuz I'm movin' on to something I can really tack my name onto :)


ive actually been using this for my last 1.1m till 99 like 150k more to go :)

******************************************************************
AdvancedBarBarianAgility v1.07 by Johnnimms13 & Co.
Time: 2 Hours, 14 Minutes and 5 Seconds Laps 155
We have gained 114808 Agility Experience!
******************************************************************

Should be done in 3 hours

kllj

2012-04-03 19:14:48

This just started happening but i get this really long code of numbers and this line gets highlighted in orange - WriteFileString(theFile, '******************************************************************' + #13 + #10); help please, this is a great script and i want to get it running again

Jake

2012-04-03 21:28:29

^ working fine for me
try restarting simba

illuminatiswag

2012-04-03 22:11:05

Ty for this script used it to get the last 1.1m xp got in 2 days 99 agility ftw !!!

kllj

2012-04-03 22:30:58

Nvm i fixed it

Google

2012-04-03 23:26:06

************************************************** ****************
AdvancedBarBarianAgility v1.07 by Johnnimms13 & Co.
Time: 1 Hours, 21 Minutes and 46 Seconds Laps 83
We have gained 61478 Agility Experience!
************************************************** ****************

quick proggy to test.

JN13

2012-04-04 00:35:20

From: kllj
Nvm i fixed it


Awesome :) Ya, I might just remove that from the script, I had plans to make it do logs so that when CrashSmart or SMARTManager restarted you could have individual ones, but I never got it to work before i got 99 :(

dicin

2012-04-04 01:29:23

I get this error


1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
Sat at the Ledge too Long, Logging out

and i wanted to know the best way to fix this problem..

thanks

Demiedd

2012-04-04 07:06:40

From: dicin
I get this error


1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
Sat at the Ledge too Long, Logging out

and i wanted to know the best way to fix this problem..

thanks


I got that one too, and i think smartmanager couldnt revive the script after it, gotta log in to see exp rates first to be sure…

JN13

2012-04-04 12:09:44

From: Demiedd
I got that one too, and i think smartmanager couldnt revive the script after it, gotta log in to see exp rates first to be sure…


It should revive it, however that means that it failed the ledge :/

Sogalishis

2012-04-05 15:37:01

******************************************************************
AdvancedBarBarianAgility v1.07 by Johnnimms13 & Co.
Time: 35 Minutes and 1 Seconds Laps 28
We have gained 20740 Agility Experience!
******************************************************************

why am i getting such low xp an hour my agiity 87 and im using summer pies and its with the skull boots

JN13

2012-04-05 19:29:21

From: Sogalishis
******************************************************************
AdvancedBarBarianAgility v1.07 by Johnnimms13 & Co.
Time: 35 Minutes and 1 Seconds Laps 28
We have gained 20740 Agility Experience!
******************************************************************

why am i getting such low xp an hour my agiity 87 and im using summer pies and its with the skull boots


well, it could be that you are eating a lot of pies (I warn at the top about this). Other than that… idk :D I would think its the pies though.

derik

2012-04-06 12:35:45

Currently 88 Agility, going for 90 to use this script Is it still 60k xp/h? and is it running flawless not :)

You say its got good Failsafes and antibans, must be better than the script im using atm then :) ill check out asap

kllj

2012-04-07 00:23:08

The problem i stated earlier that i thought i fixed is happening again. Any idea about how to fix it. The line was : WriteFileString(theFile, '************************************************* *****************' + #13 + #10); It gets highlighted oragne and im stuck on climb up wall to the spring shooter. please help

JN13

2012-04-07 14:50:21

I updated the script.

kllj

2012-04-07 22:28:01

******************************************************************
AdvancedBarBarianAgility v1.07 by Johnnimms13 & Co.
Time: 6 Hours, 53 Seconds Laps 478
We have gained 354055 Agility Experience!
******************************************************************
Great update thanks so much!

goober123

2012-04-08 13:52:07

400k till 98 agility!

kllj

2012-04-08 23:40:09

Thanks so much for the fix and great script but now it seems to mess up on the wall again in the same spot climbing to the launch pad. It clicks past it now and then loggs out. Any suggestion on fixing this? (it usually doesnt occur right away, last time it was 3 hours in and then i saw what the problem was)

JN13

2012-04-09 00:51:01

From: kllj
Thanks so much for the fix and great script but now it seems to mess up on the wall again in the same spot climbing to the launch pad. It clicks past it now and then loggs out. Any suggestion on fixing this? (it usually doesnt occur right away, last time it was 3 hours in and then i saw what the problem was)


Well, I have 99, which puts a serious cramp on me wanting to continue this project sadly. However, I advise you to use a DTM or some other creative way to clear the wall. If you can and you want to post your fix and another person vouches for it I will totally add it to the script and give you credit (or you can just keep it to yourself, get 99, and make other people figure it out :p).

That said, I might go back to it in the future if the other Adv Barb doesn't happen (Which it TOTALLY IS thanks to sir eska eau)

Vla

2012-04-09 17:02:15

I'm level 91 Agility, i am using Summer pie's and when i start the script, it eats a pie, check my skills, check my inventory, check my skills over and over and over.. :(

Help, please?

kllj

2012-04-09 17:07:04

Alright well thanks ill try to figure it out

JN13

2012-04-09 19:28:26

From: Vla
I'm level 91 Agility, i am using Summer pie's and when i start the script, it eats a pie, check my skills, check my inventory, check my skills over and over and over.. :(

Help, please?


Hmm… never heard that one before, are u running RS on low/safe display? did you alter the script in any way? just need to get some more details thanks :)

rice

2012-04-10 06:48:41

From: Vla
I'm level 91 Agility, i am using Summer pie's and when i start the script, it eats a pie, check my skills, check my inventory, check my skills over and over and over.. :(

Help, please?


what are ur settings in RS make sure your on LOW detail and high brightness

Zockuito

2012-04-10 16:21:41

Sweet… I can't wait to get my agile top with this… Never like agility. :P I will post some proggies shortly. :P

tpar

2012-04-12 01:07:11

This script doesn't seem to work properly..

It gets to this position -
Then it says it's out of Summer Pies.

Logging out: Logout When Pies is ON
********************************************************************
Thank you for using Abba! Due to something wrong we are logging out
ABBA V 1.07 Johnnimms13, Failed4Life, Anyhow
********************************************

I'm turning logout when out of pies off, I'll just babysit if it ends up working:l

JN13

2012-04-12 03:02:22

From: tpar
This script doesn't seem to work properly..

It gets to this position

Then it says it's out of Summer Pies.

Logging out: Logout When Pies is ON
********************************************************************
Thank you for using Abba! Due to something wrong we are logging out
ABBA V 1.07 Johnnimms13, Failed4Life, Anyhow
********************************************

I'm turning logout when out of pies off, I'll just babysit if it ends up working:l



Alright, so if I recall correctly, pie support was my first code ever made. It probably sucks @!E#@, but I can't test it anymore due to the fact that I have no account to run it on except my main, who is occupied atm :) I'll look into it, but honestly I doubt its something I can fix.

Agh I figured it out. :duh:

procedure EatPie;
var SPie, HPie, x, y: integer;
begin
if PieLevel > 0 then
begin

SPie := DTMFromString('mlwAAAHicY2dgYPjIxMDwFoi/I9FfgPgDEL9kZGB4xgih3wPxYyB+B8SPgDhLTxGOK9JMGVJCdRiyovQZov00GPiB5uLCjHgwFAAAE+UTaw==');
HPie := DTMFromString('mggAAAHicY2NgYHBhYmAwB2JHIHYCYmsg9gTiB0C5R0D8AojvAPFdIH4MxGGqUgyZkXoMEb7WDLkJtgwJQVoM5Rn+DPxAOWyYEQeGAAAW8Qy0');

if GetSkillInfo('agility', True) < (PieLevel+1) then
begin
StatsGuise('below 91 agility, trying to find pie');
if ExistsItemDTM(spie, x, y) then
begin
begin
StatsGuise('found pie');
mouse(x, y, 2, 2, true);
end;
end else
if ExistsItemDTM(hpie, x, y) then
begin
StatsGuise('found 1/2 pie');
mouse(x, y, 2, 2, true);
end else
begin
StatsGuise('no pies!')
if PLogOut = True then
begin
WriteLn('Logging out: Logout When Pies is ON');
logPlayer;
end;
end;
end else
begin
StatsGuise('No Pie for you!');
end;
freedtm(SPie);
FreeDtm(HPie);
end;
end;

I can't test it, but I think if you replace EatPie with this it will work. Let me know :)

Pokeguyx

2012-04-13 00:22:22

Um. Does it support SPS 2.0? Cause it just sit there. I got 2 other 99's with this script BTW. :D

JN13

2012-04-13 02:54:20

Pokeguyx, Where does it sit? I have it running right now and its doing quite well

Pokeguyx

2012-04-13 15:30:14

Yesterday i Re-installed Simba, but it never started up just logged me in. So i'm using the SPS that came with Simba.

JN13

2012-04-13 15:39:03

From: Pokeguyx
Yesterday i Re-installed Simba, but it never started up just logged me in. So i'm using the SPS that came with Simba.


Ya, I just downloaded SPS 2.0, and it isn't doing well with the script. I think some major changes have been made that need my attention. Ill look into it :)

Pokeguyx

2012-04-13 16:04:28

Okay now i updated a Plugin now it just sits there again. No rush mate. :)

kllj

2012-04-13 16:31:32

The script doesn't even load it says there is like an sps error and it gets highlighted, line 299 in sps. Ive updated it too

Edit: Nvm i read how to fix it, but now i am experiencing the same problem which the bot just sits there

JN13

2012-04-13 17:51:57

yes, it needs to be reworked to use the new SPS. I'm working on it :)

kllj

2012-04-13 19:43:06

thanks man, your like hero im soo close now

JN13

2012-04-14 13:22:09

For all those who want the script to work now, you can Downgrade to SPS1 and it works great. Kyle Undefined tells u how here http://villavu.com/forum/showthread.php?t=70466&page=79

Pokeguyx

2012-04-14 22:53:20

^
i get this error now.
This is the SPS i downgraded to.
[Error] C:\Simba\Includes\sps/sps.simba(38:17): Unknown type 'T4DIntegerArray' at line 37
Compiling failed.
This is my line 37:
  SPS_Worldmap: T4DIntegerArray;      

I'm not sure what other error's i would get. But if you could PM me your SPS1 (sps.simba) code you have or post it here? Thanks :)

jabookman

2012-04-15 12:02:18

Best script ever. i got 99 4 days ago!

JN13

2012-04-15 14:46:52

From: jabookman
Best script ever. i got 99 4 days ago!


:D Thank you man~

Gestapo

2012-04-15 15:58:59

it just stands?

Pokeguyx

2012-04-16 01:53:46

From: Xenophis
it just stands?


It doesn't Support SPS2 yet. If you updated your SPS here is a link for you to downgrade http://villavu.com/forum/showthread.php?t=70466&page=79

exilednoob

2012-04-18 19:08:09

Man its messing up at "climb up ledge" a lot now.

JN13

2012-04-18 22:59:58

I'm currently looking for somebody to pick this project up, I'm unable to fix it at this time.

exilednoob

2012-04-19 01:44:20

ive been fooling around with it.
i dont know much about scripting but im actually learning from this script.
ive been fooling around with the code, to make it more stable.
maybe i'll learn a thing a two and post an updated version.

at the moment the only thing thats going wrong with me is that its getting stuck climbing up the ledge to get shot across the air.

shadow131

2012-04-24 21:09:28

I tried using your bot with summer pie support system but didn't work. player consumed the pie as soon as I started the script but wouldn't move. the bot was just flicking between my inventory and stats tab - not sure why this is happening yet

JN13

2012-04-25 11:39:16

From: shadow131
I tried using your bot with summer pie support system but didn't work. player consumed the pie as soon as I started the script but wouldn't move. the bot was just flicking between my inventory and stats tab - not sure why this is happening yet


SPS 2 is way more sensitive than SPS 1, and I have yet to use it in a script. I'm planning on re-learning it and then applying it to this script, but this one uses the distance formula to find if you are close to an obstical, which I guess doesn't fly for sps 2.

jelle013

2012-04-26 07:53:06

i get 58k on gnome extended , and this is 55k a hour? k

tomthebomb80

2012-04-26 11:57:57

I downgraded back to SPS 1 and I get this error when i try and compile & run


[Error] (38:17): Unknown type 'T4DIntegerArray' at line 37
Compiling failed.

I just replaced the file inside of the Simba directory and turned off Automatic Updates. Is there anything i missed out on that's not making it work?

EDIT:
I apologize for asking before looking, i found out what I needed here if anybody else was having the same problem as myself.

JN13

2012-04-27 12:23:43

From: tomthebomb80
I downgraded back to SPS 1 and I get this error when i try and compile & run


[Error] (38:17): Unknown type 'T4DIntegerArray' at line 37
Compiling failed.

I just replaced the file inside of the Simba directory and turned off Automatic Updates. Is there anything i missed out on that's not making it work?

EDIT:
I apologize for asking before looking, i found out what I needed here if anybody else was having the same problem as myself.


I'm starting to get a handle on SPS2, so we shall see if i can upgrade it!

andy9673

2012-05-10 20:46:05

does not type in pass or user

bigperk

2012-05-12 11:10:18

downgraded sps and took auto update off and i get this :

[Hint] C:\Simba\Includes\SRL/SRL/core/animation.simba(257:3): Variable 'X' never used at line 256
[Hint] C:\Simba\Includes\SRL/SRL/core/animation.simba(257:3): Variable 'Y' never used at line 256
[Error] sps/sps.simba(300:3): Unknown identifier 'SPS_FilterMinimap' at line 299
Compiling failed.
[Error] (43:35): Unknown identifier 'MMCX' at line 42
Compiling failed.

JN13

2012-05-13 14:19:41

if mmcx isnt registering you have a problem with SRL

Johnnychan

2012-05-16 13:57:50

'One minute has passed… Debug: 299'

Help?

JN13

2012-05-16 18:03:09

this script requires sps 1

LIM

2012-06-07 18:54:59

This script is just awesome. im getting 55k+ an hour and it works flawless. im just a bit worried cause of the scout, since i think jagex uses it as anti-bot possibility. Maybe implementing him or just playing a sound when he calls would be a good thing. im still nto sure if jagex rlly uses him as a bot detecting device.
anyway: great script :D

Flavor

2012-06-08 09:18:01

Im definitely going to give this a shot this weekend.

JN13

2012-06-08 12:00:40

From: LIM
This script is just awesome. im getting 55k+ an hour and it works flawless. im just a bit worried cause of the scout, since i think jagex uses it as anti-bot possibility. Maybe implementing him or just playing a sound when he calls would be a good thing. im still nto sure if jagex rlly uses him as a bot detecting device.
anyway: great script :D


lots of people don't do the D&D. it would be easy to add a sound for him, but I went 3 weeks of 24/7 botting this a few months ago and still here :)

Zockuito

2012-06-08 16:49:18

Add me to that 99 list!! :)

LIM

2012-06-09 07:38:55

From: JN13
lots of people don't do the D&D. it would be easy to add a sound for him, but I went 3 weeks of 24/7 botting this a few months ago and still here :)


oh ok, then nvm my comment :P ty for the info :)

TheTimo007

2012-06-10 07:01:43

When starting the script, error comes…

Error: Exception: Access violation at line 89
The following DTMs were not freed: [SRL - Lamp bitmap, 1]
The following bitmaps were not freed: [SRL - Mod bitmap, SRL - Admin bitmap, SRL - Flag bitmap]

line 89 "function IsFKeyDown(FKey : integer) : boolean;"

bjbarksdale

2012-06-10 12:05:54

It just sits there when it gets to the rope swing:(

JN13

2012-06-10 12:39:32

lol this script has been outdated for a couple months. it still works fine if you have sps 1 though

bjbarksdale

2012-06-10 14:33:23

Oh okay, thank you sir!

redic

2012-06-17 18:45:40

nevermind, figured it out

Jointz

2012-06-18 21:34:23

Script did two laps then got caught up going across the rope swing and checking the stats and then going back to the beginning rope swing. The script also checks the skills tab after every obstacle complete. I unzipped the folder Kyle posted is that the correct way for it to function?

Doubtersalo

2012-06-20 03:25:41

I had to downgrade my client to SPS1, but it's now working perfectly :spot:

Awesome work!

Doubtersalo

2012-06-20 18:50:05

Actually, it isn't working perfectly at all.. When I start the script it runs a couple courses succesfully, but then it starts to walking to the starting point, goes through ropeswing obstacle, and begins to repeat this until I stop the script.

I have a no idea what's wrong. Any ideas from you guys?

JN13

2012-06-21 03:03:09

From: Doubtersalo
Actually, it isn't working perfectly at all.. When I start the script it runs a couple courses succesfully, but then it starts to walking to the starting point, goes through ropeswing obstacle, and begins to repeat this until I stop the script.

I have a no idea what's wrong. Any ideas from you guys?


its the SPS 1 maps. they are outdated, and I haven't gotten around to fixing it to function with SPS 2

redic

2012-06-29 19:45:44

works great, must of been my desktop

Jagex Mod

2012-07-01 12:53:12

This works perfect if you set logging out if out of pies to false and use the sps 1 maps.

One question though, how do I stop it from checking the skills tab after every obstacle? Maybe it could check after every other obstacle or after 3 obstacles. I'm sure it's not gonna go from 93-90 in 10 seconds. (takes 3 mins).

Saiga

2012-07-03 15:22:49

It won't work for me. It's standing in front of the rope swings and says "walk to beginning". I'm pretty sure I'm not doing anything wrong I have the latest SPS and everything.

CharlesTheEpic

2012-07-05 13:51:03

From: Saiga
It won't work for me. It's standing in front of the rope swings and says "walk to beginning". I'm pretty sure I'm not doing anything wrong I have the latest SPS and everything.


That's your problem. It hasn't been upgraded to SPS 2.