SRL Archive - RS3 Help

SPS Help please :) Just started scripting :)


Qosmiof2

2014-07-30 12:47:24

Hello,

i started using Simba a week ago, because i really enjoy scripting and here you have great community :)

I would kindly ask you to help me witih SPS.

This is my code:

my path:
path : TPointArray := [Point(182, 180), Point(185, 186), Point(202, 191), Point(215, 178), Point(230, 160), Point(247, 140), Point(284, 158), Point(296, 187), Point(309, 207), Point(328, 227), Point(338, 250), Point(355, 251)];

procedure walkToBank();
begin
sps.WalkPath(path);
end;


then in the main loop

sps.setup('map', RUNESCAPE_OTHER, 4, 600.0, 0.40);   

and this is the output i get:

-- sps.getPlayerPos(): result = {X = 94, Y = 90}, took 125 ms
-- sps.getPlayerPos(): result = {X = 94, Y = 90}, took 140 ms
-- sps.getPlayerPos(): result = {X = 94, Y = 90}, took 140 ms
-- sps.getPlayerPos(): result = {X = 94, Y = 90}, took 141 ms
-- sps.getPlayerPos(): result = {X = 94, Y = 90}, took 141 ms
-- sps.getPlayerPos(): result = {X = 94, Y = 90}, took 171 ms
-- sps.getPlayerPos(): result = {X = 94, Y = 90}, took 156 ms
-- sps.walkPath(): result = False


I have a map.png in the runescape_other map



Thanks in advance :)

Cheers