Log in

View Full Version : Im not gonna lie.



laakerules
04-14-2012, 04:27 PM
What the *Bleep* happened to SPS i know... Look at all the posts blah blah blah.



Ive seen all the posts, i was using my own function in one of my scripts that is exactly the same as the path in the SPS extension. Except it adds my own checking if in fight and if dead. Now nothing works. character barely moves. and so on.

begginer
04-14-2012, 04:29 PM
Did u try or are u using the SPS 2. Maybe that's the problem,

newb cheater
04-14-2012, 04:33 PM
Well, you can revert to SPS 1.

It was posted by Kyle Undefined on Flights ZMI Extreme thread.

http://www.fileswap.com/dl/4A2UsnPJMb/SPS.zip.html

You can go there if you dont trust this link here. But by replacing the current SPS folder with the one at the link and replacing sps.dll in plugins you would basically be back to normal.

laakerules
04-14-2012, 04:37 PM
Ya, issue is all my people who have my private scripts. They arent smart enough to do that. And ya begginer i switched it over to the new SPS file. i think its my personall fuction, since the normal SPS_WalkPAth works but not mine.


procedure Walker(Path: TPointArray);
var
I, H, T, D: integer;
P, MM, A, B: TPoint;
begin
H := High(Path);
begin

P := SPS_GetMyPos;
for I := H downto 0 do
begin
A := Sps_GetMyPos;
MM.X := MMCX + Path[I].X - P.X;
MM.Y := MMCY + Path[I].Y - P.Y;

D := Distance(MM.X, MM.Y, MMCX, MMCY);

if (D < 10) then
break
else
if (D < 70) then
begin
if (SPS_MultiMouse) then
MultiMouse(MM.X, MM.Y, 25, 3, false)
else
Mouse(MM.X, MM.Y, 1, 1, mouse_Left);

FFlag(Integer(I <> H) * 15);
repeat
Wait(50);
until Not isMoving;

B := Sps_GetMyPos;
if (Distance(A.X, A.Y, B.X, B.Y) < 6) then Exit;
If InFight or BlueDead then Exit;

Break;
end;
end;


end;
end;


dont hate on code, ive been outa simba for a while.

Sir Ducksworthy
04-15-2012, 05:19 PM
Theirs nothing wrong with SPS it work's perfectly for me, it's just that the Path Maker tool doesn't list the correct coordinates anymore so you need to get the coordinates in game also sometimes you may need to include more map pieces around the area to get it working correctly.