meep152
2015-04-14 16:31:33
EDIT: this problem has been resolved by reinstalling SIMBA and restarting my PC. Looking at the actual code for TSPSArea.walkPath(path: TPointArray), I assume the problem had something to do with getSystemTime() not returning the correct value.
Hi, I am currently experiencing a problem with SPS: the character moves to the first listed point, but seems to ignore all the other points listed in the Tpointarray.
For example, given the following procedure
the character will only walk to Point(216, 201), then he will stop and move on to the next procedure - even though he has not reached the balloon yet.
The script used to walk all the Tpoints, all the way up to the balloon; but as of 2-3 days ago, it ignores all points other than the first. I am wondering if there was an update to SIMBA, changing how SPS.walkPath works? Because otherwise, I am baffled as to why the script will no longer walk properly, when I did not change anything in the walking procedures.
I already tried updating my SPS map twice, and that did not work either.
Help with this [confusing] issue is greatly appreciated. :)
Hi, I am currently experiencing a problem with SPS: the character moves to the first listed point, but seems to ignore all the other points listed in the Tpointarray.
For example, given the following procedure
procedure walkballoon();
var
castlewars: TSPSArea;
pathtoball: Tpointarray;
begin
if tabBackpack.isfull then
begin
castlewars.setup('castlewars3', RUNESCAPE_OTHER);
pathtoball := [Point(216, 201), Point(230, 182), Point(250, 179), Point(271, 179), Point(276, 160), Point(273, 142), Point(273, 124), Point(278, 113), Point(283, 107)];
castlewars.walkPath(pathtoball);
minimap.waitPlayerMoving();
end;
end; the character will only walk to Point(216, 201), then he will stop and move on to the next procedure - even though he has not reached the balloon yet.
The script used to walk all the Tpoints, all the way up to the balloon; but as of 2-3 days ago, it ignores all points other than the first. I am wondering if there was an update to SIMBA, changing how SPS.walkPath works? Because otherwise, I am baffled as to why the script will no longer walk properly, when I did not change anything in the walking procedures.
I already tried updating my SPS map twice, and that did not work either.
Help with this [confusing] issue is greatly appreciated. :)