SRL Archive - OSR Help

Radial Walking, help!


Shorteh96

2013-03-04 07:36:45

So I am trying to create a script that nets for fish south of lumbridge near the mining spot that proceeds on full inventory to walk north to the tree behind the graveyard and chops down one of the two trees and cooks all the fish then drops and repeats. I, for the life of me, can't get radial walking to work. What is wrong? I think it is my RadialWalk(RoadColor, 315, 22, 65, -1, 0); but from the guide I was reading last night that is what it is supposed to be, or will it not work because it is a dirt road on that path? Please help!

program NETFisher;

{$I SRL/SRL.Simba}
{$I SRL/SRL/Misc/Debug.Simba}
{$I P07Include.Simba}

var
x,y,fishDTM,logDTM,tinderDTM,test: Integer;
Text: TStringArray;
procedure DTMS;
Begin
fishDTM := DTMFromString('mFQEAAHicncsxCsJAFEXRN2AQMUoWa28jYrC2tjIwINE1iKCFYjspYoKiIEM2oIXeYhpL/XCKx+X3JHWNFKONCB20ghf9iTcStkEfF7bHA1dUKFGgDq0J3eEMe2y03HnZvdd4ddPQOqV5pUHmZLd3zdYnTfKDprTRwmm+qRXx9yvzh6/7APp8Kzs=');
logDTM := DTMFromString('maQEAAHicE2RgYNjBxMCwB4iPAfEJKD4IxLugYmeB+DQQbwXiLUB8GIiPAvE5qNq9QPwYaM59IL4HxLeB+AkQvwbil0D8AoifQtnPoXIgdbegYiB174B4RUc8Q1u6HRiXx1iAcV++M1gcRFfHWYLpWbXhDCWRZgyd2Q4MvtbKcHVTi10YWIHmUIoZqYAxAAAEpDDy');
tinderDTM:= DTMFromString('mfgEAAHicE2JgYIhnYmBIB+IyIM4F4hQgTgLiDCAuAOJSIK4E4kIgLoLSOUCcB8QVUBqk7ynQrLtAfBOIHwPxMyB+A8TvoPgFED8B4ldI8iD2R6jcHSB+AMRrFy5kaCgvZ4iLiGBYNG0aw9JZMxmWz57NsGTGdIY5EycydNTXMeSnp4PlEh054XhmXx9QNyNDTXExw/TeHgZWII8amJFKGBMAAK26MVs=');
WriteLn('Loaded DTM''s');
end;

procedure DTMFree;
Begin
FreeDTM(fishDTM);
FreeDTM(logDTM);
FreeDTM(tinderDTM);
WriteLn('Freed DTM''s');
end;

procedure goFish;
Begin
P07_TabInventoryTab(4);
repeat
If P07_FindObjCustom(x, y, ['Raw', 'et', 'Fishing', 'pot'], [13475438, 14199172, 15124146, 15252893, 15920354], 5) Then
begin
ClickMouse2(mouse_left);
WriteLn('Fishin''');

Wait(RandomRange(8000,10000))
end
else
P07_MakeCompassDegree(Random(360));
Wait(Random(1000));
until(P07_InvFull)
end;
procedure toTree;
Begin
RadialWalk(RoadColor, 315, 22, 65, -1, 0);
end;

Begin
SetupSRL;
SetupP07Include;
DTMS;
AddOnTerminate('DTMFree');
repeat
toTree;
until(P07_Loggedin);
end.

Shorteh96

2013-03-04 19:20:23

Would someone please help me with a way to walk to an area, essentially walking to a tree, then banking and walking back to the spot. I've tried Radial walking as seen above and looked into SPS walking and don't understand, please help! Message me on here, post here, skype me: Shorteh96 . . . I don't care, I might even pay if someone can help well enough.

kyang1993

2013-03-06 15:46:12

Radial walking isn't working for me either. I made sure that the color of the road was right, and still nothing :/ Can someone please advise? Does RadialWalk not work for Old School for some reason?

x[Warrior]x3500

2013-03-06 15:58:21

well to use radial walk in osr, you need to convert the function over to it. all you have to do is change all MM coordinates with MM07 coordinates (lines 776 and 730 of mapwalk.simba) . Once you do that, it will function normally in osr. Or wait for the official include to come out, that will have it updated.