SRL Archive - Help

Error after running script


trickz

2013-01-21 12:11:55

Hi everyone, Im trying to use a script i found here http://villavu.com/forum/showthread.php?t=92211 i changed the paths and everything that need to be changed for what i need it to walk to, i think. here is the script im using now.

program Roflme;

{$DEFINE SMART}
{$i SRL/SRL.simba}
{$i SPS/SPS.simba}
{$i SRL/SRL/Misc/Debug.simba}
{$I SRL/SRL/Misc/Online.simba}


procedure WalkAroundGE;
var
First, Second, Third, Fourth, Fifth, Sixth, Seventh, Eighth, Ninth, Tenth, Eleventh, Twelfth, Thirteenth, Fourteenth, Fifteenth, Sixteenth, Seventeenth, Eighteenth, Nineteenth, Twentieth, twentyfirst, twentysecond, twentythird, twentyfourth, twentyfifth:TPoint;
begin
SPS_Setup(RUNESCAPE_SURFACE, ['1_3', '2_3', '2_2', '1_2', '1_1', '1_0']);
First := Point(861, 1273);
Second := Point(839, 1234);
Third := Point(833, 1189);
Fourth := Point(809, 1154);
Fifth := Point(788, 1115);
Sixth := Point(787, 1073);
Seventh := Point(748, 906);
Eighth := Point(741, 857);
Ninth := Point(715, 814);
Tenth := Point(687, 770);
Eleventh := Point(680, 715);
Twelfth := Point(683, 658);
Thirteenth := Point(680, 605);
Fourteenth := Point(674, 549);
Fifteenth := Point(664, 528);
Sixteenth := Point(640, 482);
Seventeenth := Point(621, 456);
Eighteenth := Point(571, 438);
Nineteenth := Point(521, 432);
Twentieth := Point(503, 406);
twentyfirst := Point(503, 371);
twentysecond := Point(503, 329);
twentythird := Point(503, 281);
twentyfourth := Point(505, 245);
twentyfifth := Point(496, 211);
repeat
SPS_WalkToPos(First);
SPS_WalkToPos(Second);
SPS_WalkToPos(Third);
SPS_WalkToPos(Fourth);
SPS_WalkToPos(Fifth);
SPS_WalkToPos(Sixth);
SPS_WalkToPos(Seventh);
SPS_WalkToPos(Eighth);
SPS_WalkToPos(Ninth);
SPS_WalkToPos(Tenth);
SPS_WalkToPos(Eleventh);
SPS_WalkToPos(Twelfth);
SPS_WalkToPos(Thirteenth);
SPS_WalkToPos(Fourteenth);
SPS_WalkToPos(Fifteenth);
SPS_WalkToPos(Sixteenth);
SPS_WalkToPos(Seventeenth);
SPS_WalkToPos(Eighteenth);
SPS_WalkToPos(Nineteenth);
SPS_WalkToPos(Twentieth);
SPS_WalkToPos(twentyfirst);
SPS_WalkToPos(twentysecond);
SPS_WalkToPos(twentythird);
SPS_WalkToPos(twentyfourth);
SPS_WalkToPos(twentyfifth);
until(false);
end;


begin
Cleardebug;
SRL_SixHourFix := True;
Smart_FixSpeed := True;
SetupSRL;
SmartSetRefresh(40);
SetAngle(SRL_ANGLE_HIGH);
repeat
WalkAroundGE;
until(false);
end.


i run the script it loads and run but when it clicks to walk i get this http://gyazo.com/37027ecef9dc95d703dadc455d0262fa what am i doing wrong?

Thanks for taking the time to look/read this.

Sjoe

2013-01-21 12:26:30

Firstly , put the script in Simba Codes! Its' the lion's head when you're editing .

And apparently u don't have the RUnescape_surface\1_0.png

https://github.com/SRL/SPS/tree/master/img U can download the maps here.
put it in C:\Simba\Includes\SPS\img

Hope this helps

7x7x

2013-01-21 16:40:16

lol that thread was mine, i figured how to do it now.