Page 4 of 6 FirstFirst ... 23456 LastLast
Results 76 to 100 of 142

Thread: SPS Walking Guide (The Basics) By Aligndude

  1. #76
    Join Date
    Dec 2009
    Location
    R_GetPlayerLoc;
    Posts
    2,235
    Mentioned
    0 Post(s)
    Quoted
    14 Post(s)

    Default

    Quote Originally Posted by vacacow1 View Post
    Hey i keep getting a compiling error even though i have done everything in your guide i wanted to know if you could help me please

    Code:
    program LRCwalker;
    {$i SRL/SRL.simba}
    {$i SPS/SPS.simba}
    Var
      myPath:TPointArray;
    begin
      SetupSRL;
      SPS_Setup(LIVING_ROCK_CAVERNS,['0_1','0_0']);//SPS Areas
      myPath := [Point(307, 412), Point(300, 389), Point(294, 377),
      Point(286, 362), Point(281, 343), Point(276, 325), Point(273, 310),
      Point(269, 288), Point(267, 273), Point(260, 257), Point(241, 262)];//Path
      SPS_WalkPath(myPath);
    end
    Error

    Code:
    [Hint] C:\Simba\Includes\SRL/SRL/core/mapwalk.simba(1353:3): Variable 'BOX' never used at line 1352
    [Error] (1:1): period ('.') expected at line 0
    Compiling failed.
    I don't know it's giving me a Hint, but i went to mapwalk.simba and looked at line 1352's procedure and didn't find the BOX Variable, so i don't know what is wrong if you could please help me i'm trying to do my first script but it's hard as hell
    the last end is missing a period.

    Simba Code:
    end.
    "Logic never changes, just the syntax" - Kyle Undefined?

    Remember, The Edit Button Is There For A Reason!!!

  2. #77
    Join Date
    Feb 2012
    Posts
    42
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    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.

  3. #78
    Join Date
    Feb 2012
    Posts
    42
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Fixed it my map was wrong.

  4. #79
    Join Date
    Dec 2007
    Location
    Los Angeles, California
    Posts
    606
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Wow thanks, this really simplified it. When I first heard about SPS I was like lolwut? It actually works quite well though.

  5. #80
    Join Date
    Apr 2012
    Location
    Portugal
    Posts
    144
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    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"
    I got this error.... How can i fix this ?

  6. #81
    Join Date
    Apr 2012
    Posts
    31
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    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.

  7. #82
    Join Date
    Dec 2011
    Location
    -bash
    Posts
    515
    Mentioned
    0 Post(s)
    Quoted
    27 Post(s)

    Default

    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?

  8. #83
    Join Date
    Nov 2011
    Posts
    1,589
    Mentioned
    9 Post(s)
    Quoted
    17 Post(s)

    Default

    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



    ^^

  9. #84
    Join Date
    Jun 2007
    Posts
    532
    Mentioned
    1 Post(s)
    Quoted
    68 Post(s)

    Default

    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

  10. #85
    Join Date
    Dec 2011
    Posts
    733
    Mentioned
    2 Post(s)
    Quoted
    7 Post(s)

    Default

    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.

  11. #86
    Join Date
    Dec 2011
    Location
    Berlin
    Posts
    795
    Mentioned
    0 Post(s)
    Quoted
    5 Post(s)

    Default

    Quote Originally Posted by Mat View Post
    Yea my Grammar and English is terrible Even tho I am English
    Mat
    For me as I am not english it is perfect hehe I am understanding it better as if someone is talking as in a lexicon or something like that

    Good tut! +rep!

    I will try to answer all Runescape related questions!

  12. #87
    Join Date
    Jun 2007
    Posts
    532
    Mentioned
    1 Post(s)
    Quoted
    68 Post(s)

    Default

    Quote Originally Posted by m34tcode View Post
    just change 0_0 to the name of your image file, without the file extension
    Still doesn't seem to work.
    Finished B.S. Program in Radiology!!

    Projects: A big one! Total secret! hehe

  13. #88
    Join Date
    Dec 2011
    Posts
    733
    Mentioned
    2 Post(s)
    Quoted
    7 Post(s)

    Default

    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.

  14. #89
    Join Date
    Apr 2007
    Location
    Rimmington
    Posts
    168
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    Default

    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!

  15. #90
    Join Date
    Jun 2007
    Posts
    532
    Mentioned
    1 Post(s)
    Quoted
    68 Post(s)

    Default

    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

  16. #91
    Join Date
    Mar 2012
    Posts
    24
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Nice guide.

  17. #92
    Join Date
    May 2012
    Posts
    83
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Help please!


  18. #93
    Join Date
    May 2012
    Posts
    3
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    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.

  19. #94
    Join Date
    May 2012
    Posts
    1
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    You have a 'Begin;' above the program TravsAstral..;

    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.
    Your going to need a bit more code to get it going thought, Especially if your starting with the Runescape client closed.
    Last edited by WeLoveTrees; 05-19-2012 at 12:26 AM.

  20. #95
    Join Date
    May 2012
    Posts
    3
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by WeLoveTrees View Post
    You have a 'Begin;' above the program TravsAstral..;

    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.
    Your going to need a bit more code to get it going thought, Especially if your starting with the Runescape client closed.
    Genius. Thank you very much. I'm going through the tutorials and it seems challenging but I got this! Thanks again

  21. #96
    Join Date
    May 2012
    Posts
    12
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    I am trying to walk to one position.
    I followed the guide but I get "Type mismatch" error at line 6 when compiling.

    Code:
    procedure GetIntoPos;
    var
      myPath:TPoint;
    begin
      if OutsideRange then
        myPath := [Point(2519, 2977)];
        SPS_WalkToPos(myPath);
    end;
    Edit: I figured out the answer.
    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.

  22. #97
    Join Date
    Feb 2012
    Posts
    42
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    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?

  23. #98
    Join Date
    May 2012
    Posts
    59
    Mentioned
    0 Post(s)
    Quoted
    3 Post(s)

    Default

    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

  24. #99
    Join Date
    Feb 2012
    Posts
    107
    Mentioned
    0 Post(s)
    Quoted
    21 Post(s)

    Default

    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.

  25. #100
    Join Date
    Nov 2011
    Posts
    1,589
    Mentioned
    9 Post(s)
    Quoted
    17 Post(s)

    Default

    Quote Originally Posted by spin3x View Post
    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.
    From the look of that mate, your using the points on that map, you need to use the RS Large Map, which is found in the same folder.
    Thanks
    Mat



    ^^

Page 4 of 6 FirstFirst ... 23456 LastLast

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •