SRL's F.A.Q. (Error fixes) | How to Convert SRL-5 Scripts to SRL-6 | Draynor Chop N' Bank (RS3)| AIO Superheater (RS3)
T - E - A - MTogether Everyone Achieves More
I'm not sure which part you want so I'll post how I use it in the script as well as my simple tile-finder.
Simba Code:Function SPS_WalkPath_F(Path: TPointArray): boolean;
var
I, H, T, D: integer;
P, MM: TPoint;
begin
ColorToleranceSpeed(1);
H := High(Path);
T := GetSystemTime + 20000 + Random(5000);
while (not Result) and (GetSystemTime < T) do
begin
RunEnergy(20);
P := SPS_GetMyPos;
for I := H downto 0 do
begin
MM.X := MMCX + Path[I].X - P.X;
MM.Y := MMCY + Path[I].Y - P.Y;
D := Distance(MM.X, MM.Y, MMCX, MMCY);
if (D < 10) then
break
else begin
if (D < 70) then
begin
Writeln(IntToStr(I)); //For debugging purposes
HumanMMouse(MM.X, MM.Y, 0, 0);
ClickMouse2(True);
WaitFunc(@IsMoving_F, 10, 2500);
if (I = H) then
FFlag(15)
else
FFlag(25);
T := getSystemTime + 20000 + Random(1000);
Break;
end;
end;
end;
Result := (I = H);
end;
end;
Simba Code:program MyCoords;
{$DEFINE SMART}
{$i SRL/srl.simba}
{$i SPS/sps.simba}
begin
Smart_Server := 86;
Smart_Members := True;
Smart_Signed := True;
Smart_SuperDetail := False;
setupSRL();
SPS_Setup(RUNESCAPE_OTHER, ['ourania_altar']);
//SPS_MatchesPercent := 0.30;
SPS_Debug := True;
Repeat
ClearDebug;
SPS_GetMyPos();
Wait(500);
Until(False)
end.
I'm not exactly sure what you're asking for, as I don't see how those would provide any useful information.
Current projects:
[ AeroGuardians (GotR minigame), Motherlode Miner, Blast furnace ]
"I won't fall in your gravity. Open your eyes,
you're the Earth and I'm the sky..."
Hm, I really have no idea why that would mess up, unless the minimap is completely different from the SPS map. If you could lend me an account I could test myself and see what I can come up with.
SRL's F.A.Q. (Error fixes) | How to Convert SRL-5 Scripts to SRL-6 | Draynor Chop N' Bank (RS3)| AIO Superheater (RS3)
T - E - A - MTogether Everyone Achieves More
getting this error
Code:[Error] (28:17): Unknown identifier 'SPS_WindWalk' at line 27 Compiling failed.
The script you're using has SPS 1, not 2.
Away for awhile, life is keeping me busy. | Want to get my attention in a thread? @Kyle Undefined; me.
{ MSI Phoenix || SRL Stats Sigs || Paste || Scripts || Quotes || Graphics }
When posting a bug, please post debug! Help us, help you!
I would love to change the world, but they won't give me the source code. || To be the best, you've got to beat the rest. || Logic never changes, just the syntax.
If you PM me with a stupid question or one listed in FAQ, or about a script that is not mine, I will NOT respond.
SRL is a Library of routines made by the SRL community written for the Program Simba. We produce Scripts for the game Runescape.
^ Do not click that link!
Last known as Jonno.
There are currently 1 users browsing this thread. (0 members and 1 guests)