Page 3 of 6 FirstFirst 12345 ... LastLast
Results 51 to 75 of 142

Thread: SPS Walking Guide (The Basics) By Aligndude

  1. #51
    Join Date
    Feb 2012
    Posts
    386
    Mentioned
    2 Post(s)
    Quoted
    2 Post(s)

    Default

    Great guide, Helped me out with a few things!

  2. #52
    Join Date
    Feb 2012
    Posts
    46
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by Mat View Post
    Your could create a box with sps points and say is ur pos in this box if not then walk back the the area
    Wow, thanks. It finally made sense and after playing around and looking at this tut, it worked. Now I Just need to work on an antiban and I will have my first script.

    Anyways, appreciate your help.

  3. #53
    Join Date
    Jan 2012
    Posts
    46
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Edit: never mind saw error by looking at older posts multiple times. got it running perfectly!!! thank you so much!!!
    Last edited by blazingrobin; 03-03-2012 at 11:26 AM.

  4. #54
    Join Date
    Feb 2012
    Posts
    4
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Is it possible/wise to include multiple paths from A-B in a script using this method? i would assume that using the exact same path over a period of time would become quite noticable, or is this not an issue?

    I like the simplicity of this method and until i get a few hours to wrap my head around DTMs and RadialWalk i wouldnt mind messing about with it. cheers in advance!

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

    Default

    Quote Originally Posted by craggs View Post
    Is it possible/wise to include multiple paths from A-B in a script using this method? i would assume that using the exact same path over a period of time would become quite noticable, or is this not an issue?

    I like the simplicity of this method and until i get a few hours to wrap my head around DTMs and RadialWalk i wouldnt mind messing about with it. cheers in advance!
    Well you SPS isn't very accurate anyway, so its not gonna looks bot like but you can make a random case of 1 and have two paths and every time it will randomly choose one of them
    Mat



    ^^

  6. #56
    Join Date
    Dec 2011
    Location
    New York, USA
    Posts
    1,242
    Mentioned
    12 Post(s)
    Quoted
    193 Post(s)

    Default

    Also, SPS has a built in x+y randomness of 1. So the point will be automatically be randomized a bit, then randomized even more by the accurateness.

  7. #57
    Join Date
    Feb 2012
    Posts
    4
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    awesome, tyvm!

  8. #58
    Join Date
    Feb 2012
    Location
    SRL Jail
    Posts
    1,319
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Thanks a lot! I had no idea the SPS map files were IN simba... I was stressing out trying to find links to map surfaces.
    *LIFESAVER*

  9. #59
    Join Date
    Mar 2012
    Posts
    10
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    How to put that code in an other script ?

  10. #60
    Join Date
    Nov 2011
    Location
    MA
    Posts
    545
    Mentioned
    3 Post(s)
    Quoted
    10 Post(s)

    Default

    Quote Originally Posted by gabrieldu832 View Post
    How to put that code in an other script ?
    Simba Code:
    {$i sps/sps.simba}

    press Ctrl + space, type "sps" for a list of functions

  11. #61
    Join Date
    Feb 2012
    Posts
    14
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    hey mat im just starting scripting and im trying to get banking working on living rock caverns though when i extract the dungeons file all the folders are empty without the picture of the map. What is rong? to i need to update/re dl simba?

  12. #62
    Join Date
    Feb 2012
    Posts
    14
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    i got a map from somebody but which was (if u can see that)
    i keep getting this error this is my script so far:


    SetupSRL;
    SPS_Setup(living_rock_caverns),['0_1','0_0','];//SPS Areas
    myPath := myPath := [Point(310,413),Point(306,402),Point(303,391),
    Point(300,380),Point(292,374),Point(282,364),Point (271,353),
    Point(269,339),Point(268,324),Point(267,314),Point (267,296),
    Point(267,283),Point(267,273),Point(266,263),Point (259,255),
    Point(245,250)];//Path
    SPS_WalkPath(myPath);
    end.

    error is [Error] (10:11): Unknown identifier 'living_rock_caverns' at line 9
    Compiling fail. Please help

  13. #63
    Join Date
    Mar 2012
    Location
    Canada
    Posts
    870
    Mentioned
    1 Post(s)
    Quoted
    5 Post(s)

    Default

    Quote Originally Posted by surfboards2 View Post
    i got a map from somebody but which was *removed img, too damn big* (if u can see that)
    i keep getting this error this is my script so far:


    SetupSRL;
    SPS_Setup(living_rock_caverns),['0_1','0_0','];//SPS Areas
    myPath := myPath := [Point(310,413),Point(306,402),Point(303,391),
    Point(300,380),Point(292,374),Point(282,364),Point (271,353),
    Point(269,339),Point(268,324),Point(267,314),Point (267,296),
    Point(267,283),Point(267,273),Point(266,263),Point (259,255),
    Point(245,250)];//Path
    SPS_WalkPath(myPath);
    end.

    error is [Error] (10:11): Unknown identifier 'living_rock_caverns' at line 9
    Compiling fail. Please help
    Im no expert on SPS but did you make a living_rock_caverns folder in C:\Simba\Includes\SPS\img and put the 0_1 and 0_1 image in it?

    From what I can understand it fails to find the folder.
    My scripts:
    Advanced Barb Agility Course(outdated), MonkeyThieverV0.11, MahoganyTableV0.4(outdated)
    Questions? I bet that for 98% of those, you'll find answer HERE

  14. #64
    Join Date
    Feb 2012
    Posts
    14
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    yeh i put the map in there if that what you mean.

  15. #65
    Join Date
    Jan 2012
    Posts
    117
    Mentioned
    1 Post(s)
    Quoted
    6 Post(s)

    Default

    Ok i got this to run and compile but it dosnt typ my user name and password i dont know whats going on anyone help =((( ????
    program falador wine;
    {$DEFINE SMART} /////
    {$I SRL/SRL.SIMBA} /////
    {$I SI/MAIN.SIMBA} /////
    {$DEFINE SRL/SRL/MISC/PAINTSMART.SIMBA}
    {$i sps/sps.simba}
    const
    ////////////////////////////////////////////////////////////////////////////////
    ////////// Global Settings ///////////////////////////////
    ////////////////////////////////////////////////////////////////////////////////
    ///// http://stats.villavu.com /////
    SRLStats_Username = ''; ///// SRL Stats Username /////
    SRLStats_Password = ''; ///// SRL Stats Password /////
    ////////////////////////////////////////////////////////////////////////////////
    ////////// Player Settings ///////////////////////////////
    ////////////////////////////////////////////////////////////////////////////////
    Procedure DeclarePlayers; /////
    Var /////
    HowManyPlayers: Integer; /////
    Begin /////
    HowManyPlayers := 1; /////
    NumberOfPlayers(HowManyPlayers); /////
    CurrentPlayer := 0; /////
    With Players[0] Do ////////////////////////////////////////////////
    Begin ///// /////
    Name := ''; ///// Runescape Login /////
    Pass := ''; ///// Runescape Password /////
    Pin := ''; ///// Runescape Bank Pin /////
    Active := True; ///// Use this Player /////
    End; ///// /////
    End; ///// /////
    ////////////////////////////////////////////////////////////////////////////////
    ////////// End of Settings ////////////////////////////
    ////////////////////////////////////////////////////////////////////////////////

    var
    myPath:TPointArray;
    begin
    SetupSRL;
    SPS_Setup(RUNESCAPE_SURFACE,['20_11']);//SPS Areas
    myPath := [Point(137, 343), Point(171, 294), Point(136, 189),
    Point(127, 135), Point(124, 90), Point(122, 55), Point(110, 55)];//Path
    SPS_WalkPath(myPath);
    end.

  16. #66
    Join Date
    Dec 2011
    Location
    New York, USA
    Posts
    1,242
    Mentioned
    12 Post(s)
    Quoted
    193 Post(s)

    Default

    You have to put "LoginPlayer;" in the mainloop.

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

    Default

    go look at my separate tutorial for map making explains about making new areas.



    ^^

  18. #68
    Join Date
    Nov 2010
    Posts
    86
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Simba Code:
    SPS_Setup(RUNESCAPE_SURFACE,['6_6','7_6','6_5','6_4','5_4','5_5','5_7','6_7','7_7','8_7','8_6','7_5','7_4']);
      Path_ToBank := [Point(2530, 1789), Point(2533, 1837), Point(2528, 1881), Point(2512, 1924), Point(2507, 1969), Point(2493, 2011), Point(2482, 2029), Point(2486, 2065), Point(2491, 2103), Point(2489, 2128), Point(2488, 2177), Point(2456, 2208), Point(2452, 2243), Point(2450, 2296), Point(2449, 2333), Point(2460, 2351), Point(2477, 2375), Point(2477, 2410), Point(2528, 2418), Point(2538, 2447), Point(2559, 2461), Point(2586, 2455), Point(2614, 2466), Point(2636, 2472), Point(2659, 2467), Point(2713, 2469), Point(2745, 2473), Point(2766, 2479), Point(2787, 2488), Point(2801, 2506), Point(2803, 2563), Point(2801, 2613), Point(2801, 2660), Point(2776, 2692), Point(2754, 2702), Point(2740, 2705), Point(2737, 2681)];
      if SPS_WalkPath(Path_ToBank) then
     begin
     SPS_WalkPath(Path_ToBank);
     writeln('We are at the bank!');

    Can you see anything wrong with that? It's meant to walk from rockcrabs to bank. It DID work a day or so ago, but now it walks to a certain point and gets stuck. I've tried redoing the points, redoing the SPS_Areas. All no luck. Gets stuck same place.

    Not sure how to fix it..

    Cheers,
    Luke

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

    Default

    try changing the tolerance on SPS.



    ^^

  20. #70
    Join Date
    Mar 2012
    Location
    Shenzhen China
    Posts
    19
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    thanks, it's helpful for beginners

  21. #71
    Join Date
    Nov 2010
    Posts
    86
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by Mat View Post
    try changing the tolerance on SPS.
    I already whacked it up to 0.5. I'll try it on 1.5 and see how it goes.. Not sure how sensitive it is.

    Luke



    EDIT:
    Changed tolerance to 0.7 1.0 and 1.5. Anything above 0.6 for me lags the SMART client out.
    0.6 didn't help - made it worse. 0.1 doesn't work. ARGH.. It walks halfway and just stops! there's this one gap in the map it just doesn't want to walk across. It'll get to it from either direction(To crabs or To bank) and just stop.
    Hmm
    miniEDIT(PS - I no longer lagout when tol is above 0.9)

    EDIT2:

    I give up. SPS is broken for that area. Pretty sure it's the runescape_surface_map. No idea where to get the new one. I tried other map walking methods but they're all too unreliable to walk all the way from crabs to bank. Toooo many windy roads/bridges/trees

    /defeated
    Last edited by Zota; 03-22-2012 at 11:37 AM.

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

    Default

    Quote Originally Posted by Zota View Post
    I already whacked it up to 0.5. I'll try it on 1.5 and see how it goes.. Not sure how sensitive it is.

    Luke



    EDIT:
    Changed tolerance to 0.7 1.0 and 1.5. Anything above 0.6 for me lags the SMART client out.
    0.6 didn't help - made it worse. 0.1 doesn't work. ARGH.. It walks halfway and just stops! there's this one gap in the map it just doesn't want to walk across. It'll get to it from either direction(To crabs or To bank) and just stop.
    Hmm
    miniEDIT(PS - I no longer lagout when tol is above 0.9)

    EDIT2:

    I give up. SPS is broken for that area. Pretty sure it's the runescape_surface_map. No idea where to get the new one. I tried other map walking methods but they're all too unreliable to walk all the way from crabs to bank. Toooo many windy roads/bridges/trees

    /defeated
    can I ask where are you trying to walk>?



    ^^

  23. #73
    Join Date
    Nov 2010
    Posts
    86
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Seers to Rockcrabs.

    I've got it working now. ALMOST. It's still very buggy.
    Spent AGES adding about a bajillion failsafe checks to the walking.
    I find that these failsafes help if your SPS path is not working: going from most effective to least.

    1. Logout and in.
    2. Use mainscreen and move a couple points.
    3. Teleport to a nearby lodestone/location(walk from lodestone to desired spot)
    4. Rotate camera(not sure if this works at all but it doesn't hurt) (reset to north/high)

    DEPENDANT ON LOCATION:
    1. Combination of DTMs etc.
    2. Symbol Finding/sps

    Cheers,
    Luke
    Last edited by Zota; 03-24-2012 at 03:28 PM.

  24. #74
    Join Date
    Mar 2012
    Location
    127.0.0.1
    Posts
    3,383
    Mentioned
    95 Post(s)
    Quoted
    717 Post(s)

    Default

    Edit: Never mind, fixed that problem.
    But uh, do I have to declare the path and then use WalkPath in the same procedure/function?
    Kept saying it couldn't find it.
    Last edited by NKN; 03-25-2012 at 08:49 PM.

  25. #75
    Join Date
    Jan 2012
    Posts
    31
    Mentioned
    0 Post(s)
    Quoted
    2 Post(s)

    Default

    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

Page 3 of 6 FirstFirst 12345 ... 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
  •