Hello
Nice tut only I got an problem. I made my own map and when I make a path to go straight(on the Y example to the right) on at the Y split. It always click one time at the wrong direction. Is this problem in my map? I made it on 100% and resize it to 500x500.
It is in the Misthalin Underground. The dungeon @ Edgeville.
Fixed it my map was wrong.
Wow thanks, this really simplified it. When I first heard about SPS I was like lolwut? It actually works quite well though.
I got this error.... How can i fix this ?Simba Code:[Hint] C:\Simba\Includes\SRL/SRL/core/mapwalk.simba(1353:3): Variable 'BOX' never used at line 1352
Compiled successfully in 515 ms.
SPS_GetArea ERROR: Exception: Error while reading stream: Unable to open file "C:\Simba\Includes\SPS\img\runescape_surface\12_9.png"
Hey. Thank you for the Tut. I got it to work perfectly.. But i don't really have ANY idea how to intregate it into a proper script.. Could you maybe explain more on that please?
does all this go above the main procedure/functions and when you need them, you just call the SPS_WALKPATH() string? I tried using multiple paths (to and fro a bank) and called both up in different procedures but nothing worked xD
Last edited by rjk1990; 04-16-2012 at 04:57 PM.
Question!
I followed the guide to the end and it worked perfectly, I was able to walk from castle wars to the ogre place with this. I noticed though that as it walked, it waited till my char stopped before it clicked the next point.
How do I make it to click the next point when my char is x distance from the flag thing?
And also if you don't mind, how do I check for if the door in castle wars is closed or not so that it does not get stuck?
You can't the only way I found of speeding SPS up is using a Custom Map.
On the Door, you could try making it walk through it and then check the area of your Player then carry on, if its through the gate.
Mat
^^
Whenever I use the SPS generator it always gives me (RUNESCAPE_SURFACE, ['0_0']. I know what map it should be but it always gives me 0_0 when I generate it in sps generator.
Finished B.S. Program in Radiology!!
Projects: A big one! Total secret! hehe
just change 0_0 to the name of your image file, without the file extension
My scripts: LunarPlanker
---
My Utilities: Cross Platform, Open Source, SPS Path Generator
Join the Unoficial SRL Skype Group by clicking here, or visiting this thread.
I will try to answer all Runescape related questions!
paste your code please. We can only speculate to your problem as we have not seen the code.
My scripts: LunarPlanker
---
My Utilities: Cross Platform, Open Source, SPS Path Generator
Join the Unoficial SRL Skype Group by clicking here, or visiting this thread.
Is there no way to use fflag to help stop the player stoping looks really bot like but really good tut helped me a lot
Learning To Code - So Excuse the n00b questions!
Simba Code:
[Hint] C:\Simba\Includes\SRL/SRL/core/mapwalk.simba(1353:3): Variable 'BOX' never used at line 1352
[Error] C:\Simba\Includes\sps/sps.simba(300:3): Unknown identifier 'SPS_FilterMinimap' at line 299
Compiling failed.
I'm getting that, but my sps.dll in in Simba/Plugins?
Finished B.S. Program in Radiology!!
Projects: A big one! Total secret! hehe
Nice guide.
Help please!
![]()
Your tutorial was very easy to follow and helped me a lot. Unfortunately I ran into a problem if you can please help me out with:
Begin;
program TravsAstral;
{$i srl/srl.simba}
{$i sps/sps.simba}
Var
myPath:TPointArray;
begin
SetupSRL;
SPS_Setup(RUNESCAPE_SURFACE,['0_2']);
myPath := [Point(458, 1179), Point(417, 1200), Point(383, 1157), Point(332, 1128), Point(295, 1085), Point(288, 1029), Point(289, 979), Point(246, 957), Point(97, 930), Point(205, 1212), Point(494, 1192), Point(488, 923), Point(295, 963)];//Path
SPS_WalkPath(myPath);
end.
[Error] (6:1): Identifier expected at line 5
Compiling failed.
^Which is the bold part above
If you can help me that would be great, thanks!
Last edited by tmn16; 05-18-2012 at 07:00 PM.
You have a 'Begin;' above the program TravsAstral..;
Your going to need a bit more code to get it going thought, Especially if your starting with the Runescape client closed.Code:program TravsAstral; {$i srl/srl.simba} {$i sps/sps.simba} Var myPath:TPointArray; begin SetupSRL; SPS_Setup(RUNESCAPE_SURFACE,['0_2']); myPath := [Point(458, 1179), Point(417, 1200), Point(383, 1157), Point(332, 1128), Point(295, 1085), Point(288, 1029), Point(289, 979), Point(246, 957), Point(97, 930), Point(205, 1212), Point(494, 1192), Point(488, 923), Point(295, 963)];//Path SPS_WalkPath(myPath); end.
Last edited by WeLoveTrees; 05-19-2012 at 12:26 AM.
I am trying to walk to one position.
I followed the guide but I get "Type mismatch" error at line 6 when compiling.
Edit: I figured out the answer.Code:procedure GetIntoPos; var myPath:TPoint; begin if OutsideRange then myPath := [Point(2519, 2977)]; SPS_WalkToPos(myPath); end;
line 5 should be removed and 6 should be written like this:
SPS_WalkToPos(Point(x,y))
Last edited by University; 05-21-2012 at 09:37 PM.
I got problems with walking. I have made 3 custom maps but neither of them is working. It do nothing, it isnt clicking. Is this my map that is wrong?
Wow this is epic just what i was looking for nice, clear and simple thanks very much for the time you put into the guide+ rep
Does this work on a RsPs? Im trying but it doesnt seem to do anything :S
My code:
Simba Code:program Fungus;
{$i srl/srl.simba}
{$i sps/sps.simba}
Var
MyPath:TPointArray;
begin
SPS_Setup(RUNESCAPE_SURFACE,['14_6']);
myPath := [Point(215, 352), Point(211, 311), Point(186, 319), Point(167, 333), Point(143, 345), Point(117, 355), Point(121, 374), Point(122, 392), Point(123, 406), Point(128, 423)];//Path
SPS_WalkPath(myPath);
end.
There are currently 1 users browsing this thread. (0 members and 1 guests)