SRL Archive - OSR Help

Need SPS path walking help urgently


Athylus

2013-08-14 11:22:33

Hey everyone, I've been working on a script and I only need to do the walking part. This is how far I got.

I've given up all hope on SPS AND Radialwalking, I'm trying DTM now instead but it does nothing either.


var
MinimapClick1, X, Y: integer;

BLABLABLBLLAL;

procedure GOFUCKYOURSELF;
begin

MinimapClick1 := DTMFromString('mWAAAAHicY2FgYGAHYkYgZmWAAGYGBACx4yMiGN69e8cQ5inHEOYsx2DEgAoY0TAIAAADvQWb');

If FindDTM(MinimapClick1, X, Y, MMX1, MMY1, MMX2, MMY2) Then
begin
writeln('MMC1 has been found')
MMouse(x, y, 3, 3);
ClickMouse(X, Y, mouse_Left);
end;
FreeDTM(MinimapClick1);
end;

BLABLABLA;
begin
ALL KINDS OF BULLSHIT;
GOFUCKYOURSELF;
end.

Athylus

2013-08-14 13:56:17

No one knows how to fix this? >.< I'd like to finish my script this evening.

All it does now when I run the script is nothing and it immediately says succesfuly executed.

Itankbots

2013-08-14 20:38:57

From: Athylus
No one knows how to fix this? >.< I'd like to finish my script this evening.

All it does now when I run the script is nothing and it immediately says succesfuly executed.


Are you using rs3 or oldschool? SRL hasn't been updated publicly for rs3, most people are waiting for srl6 to come out to script.

If you want to make it work, you have to change globals for mini map and stuff to fit your interface.

Also, you map tiles are set for 0,1 and 0,0, are those the correct images? I believe they start at 1.1 if im not mistaken.

If its old school rs i wont be much help unless its a standards/code problem, since i dont play 07 scape :(

Post more info/Script and i can try to help :)

Athylus

2013-08-15 08:50:23

Hey! I play Oldschool. 0_1 and 0_0 was actually something else, yes it was the correct png. So it's weird. I got those two numbers using the SPS walkpath generator, but I used the one .png from runescape_surface07.

I'm not sure what you mean with changing globals for my minimap. Keep in mind this is my first script and I have no prior knowledge of simba programming. I remember that walking on powerbot wasn't such a hassle, every tile had it's own integer. Grr… why did they have to make it so hard? haha