SRL Archive - OSR Help

SPS: Character gets stuck in a circle


SomeGuyFromHere

2012-12-22 11:19:19

Hi,

my script has a procedure that makes the character walk from the starting area where you get after skipping the tutorial to a gate.

I used wolygon's path creator to make the path:

SPS_Setup(RUNESCAPE_SURFACE,['8_6','8_7']);//SPS Areas
myPath := [Point(3426, 2514), Point(3437, 2561), Point(3428, 2605), Point(3470, 2618), Point(3497, 2652), Point(3518, 2686), Point(3523, 2727), Point(3530, 2776), Point(3530, 2827), Point(3570, 2824), Point(3584, 2849), Point(3584, 2893)];
SPS_WalkPath(myPath);
Wait(2000);

Apart from other problems there is a bug that occurs really often: A few feet before the targeted location is reached the script lets the character walk in a loop: It has placed the flag in the right location and the character has almost reached its goal, then the script places another flag far away. As soon as the character has almost reached it it places another flag at the right location…. and so on.

Ideas?

J J

2012-12-22 11:26:58

The path creator might be outdated because SPS got updated a few days ago. I believe some maps have changed aswell.

Try using http://villavu.com/forum/showpost.php?p=992277&postcount=1 or http://villavu.com/vb/showthread.php?p=1127118&postcount=1

Make sure your SPS is updated.