Page 1 of 4 123 ... LastLast
Results 1 to 25 of 79

Thread: The path maker for SPS[2.0]

  1. #1
    Join Date
    May 2012
    Location
    Moscow, Russia
    Posts
    661
    Mentioned
    35 Post(s)
    Quoted
    102 Post(s)

    Default The path maker for SPS[2.0]

    Hi all. I present to you path maker for Simba version 2.

    Last Update: 18.02.2013, current version 2.5.8

    Current state: STABLE.

    Features:
    - Multipath (max path = 16)
    - Working with sps surface map or custom map for sps
    - Generate walking code
    - Load\Save the map project files
    - Crossplatform
    - Opensource
    - Antialiasing path drawing
    Hint:
    - if you select a point in the point list, and move the mouse with pressed shift you can move selected the point to new position.
    - if you want delete a point then select a point and press Delete or Del.
    - Navigation on the map - left mouse click with pressed ctrl.

    Screenshot's:



    The application has been rewritten from scratch. More faster, more better. Thank for you attention!

    Credits: Coh3n - many interesting observations.

    Sources: https://github.com/CynicRus/sps_path
    Attached Files Attached Files
    Last edited by CynicRus; 03-12-2013 at 08:01 AM.
    Per aspera ad Astra!
    ----------------------------------------
    Slow and steady wins the race.

  2. #2
    Join Date
    May 2012
    Location
    Moscow, Russia
    Posts
    661
    Mentioned
    35 Post(s)
    Quoted
    102 Post(s)

    Default

    *fixes* exe has been updated.
    Per aspera ad Astra!
    ----------------------------------------
    Slow and steady wins the race.

  3. #3
    Join Date
    Jan 2012
    Posts
    915
    Mentioned
    13 Post(s)
    Quoted
    87 Post(s)

    Default

    Rep.

    You're doing so much for this community. Thanks.

  4. #4
    Join Date
    Feb 2012
    Location
    UK
    Posts
    909
    Mentioned
    10 Post(s)
    Quoted
    191 Post(s)

    Default

    I tried out your other version and it had a few bugs but still made making SPS paths very easy.
    Thanks for an updated version!
    Solar from RiD.

  5. #5
    Join Date
    Jul 2011
    Location
    /home/litoris
    Posts
    2,226
    Mentioned
    0 Post(s)
    Quoted
    159 Post(s)

    Default

    Haven't checked it yet but is there any chance you can add an option to blindwalk to each point? Thanks for cross-platform!
    Miner & Urn Crafter & 07 Chicken Killer
    SPS BlindWalk Tutorial

    Working on: Nothing

    teacher in every art, brought the fire that hath proved to mortals a means to mighty ends

  6. #6
    Join Date
    Nov 2011
    Location
    England
    Posts
    3,072
    Mentioned
    296 Post(s)
    Quoted
    1094 Post(s)

    Default

    This should be shipped with sps :P

  7. #7
    Join Date
    Jan 2012
    Posts
    915
    Mentioned
    13 Post(s)
    Quoted
    87 Post(s)

    Default

    Quote Originally Posted by Ollybest View Post
    This should be shipped with sps :P
    Vouch

  8. #8
    Join Date
    Dec 2011
    Location
    The Netherlands
    Posts
    1,631
    Mentioned
    47 Post(s)
    Quoted
    254 Post(s)

    Default

    When loading the full RuneScape surface it crashes


    Other than that it worked well for smaller maps.

    Script source code available here: Github

  9. #9
    Join Date
    May 2012
    Location
    Moscow, Russia
    Posts
    661
    Mentioned
    35 Post(s)
    Quoted
    102 Post(s)

    Default

    Quote Originally Posted by J J View Post
    When loading the full RuneScape surface it crashes


    Other than that it worked well for smaller maps.
    thanks for you feedback. How many free memory you have?


    upd:
    Last edited by CynicRus; 11-13-2012 at 05:06 PM.
    Per aspera ad Astra!
    ----------------------------------------
    Slow and steady wins the race.

  10. #10
    Join Date
    May 2012
    Location
    Moscow, Russia
    Posts
    661
    Mentioned
    35 Post(s)
    Quoted
    102 Post(s)

    Default

    Quote Originally Posted by litoris View Post
    Haven't checked it yet but is there any chance you can add an option to blindwalk to each point? Thanks for cross-platform!
    Of course, I can add. If you give me a snippet for this would be great.
    Per aspera ad Astra!
    ----------------------------------------
    Slow and steady wins the race.

  11. #11
    Join Date
    Jul 2011
    Location
    /home/litoris
    Posts
    2,226
    Mentioned
    0 Post(s)
    Quoted
    159 Post(s)

    Default

    Quote Originally Posted by CynicRus View Post
    Of course, I can add. If you give me a snippet for this would be great.
    Simba Code:
    for i=0 to High(PathArray) do
      repeat
      Wait(600);
      until(SPS_BlindWalk(PathArray[i]));

    PathArray has to be an array of points, basically what the user picked, and i an integer obviously.
    Could remove the wait, it's just there because that's what I do.
    Miner & Urn Crafter & 07 Chicken Killer
    SPS BlindWalk Tutorial

    Working on: Nothing

    teacher in every art, brought the fire that hath proved to mortals a means to mighty ends

  12. #12
    Join Date
    May 2012
    Location
    Moscow, Russia
    Posts
    661
    Mentioned
    35 Post(s)
    Quoted
    102 Post(s)

    Default

    Ok, i will add it tomorrow I think.
    Per aspera ad Astra!
    ----------------------------------------
    Slow and steady wins the race.

  13. #13
    Join Date
    Jan 2012
    Posts
    1,104
    Mentioned
    18 Post(s)
    Quoted
    211 Post(s)

    Default

    Great job. Ill try it out later.

  14. #14
    Join Date
    Dec 2011
    Location
    Hyrule
    Posts
    8,662
    Mentioned
    179 Post(s)
    Quoted
    1870 Post(s)

  15. #15
    Join Date
    Dec 2011
    Location
    The Netherlands
    Posts
    1,631
    Mentioned
    47 Post(s)
    Quoted
    254 Post(s)

    Default

    Quote Originally Posted by CynicRus View Post
    thanks for you feedback. How many free memory you have?


    upd:
    More than enough around 7gb ram around that time. Will try again tomorrow.

    Maybe windows 8 related?

    Script source code available here: Github

  16. #16
    Join Date
    May 2012
    Location
    Moscow, Russia
    Posts
    661
    Mentioned
    35 Post(s)
    Quoted
    102 Post(s)

    Default

    Quote Originally Posted by litoris View Post
    Simba Code:
    for i=0 to High(PathArray) do
      repeat
      Wait(600);
      until(SPS_BlindWalk(PathArray[i]));

    PathArray has to be an array of points, basically what the user picked, and i an integer obviously.
    Could remove the wait, it's just there because that's what I do.
    Ok, the code generator has been updated now.

    Code example:
    Simba Code:
    program Walker;
       //The code was generated with the path generator for SPS version 2 by Cynic
       //In that code uses the BlindWalk snippet by litoris.
       {$DEFINE SMART}
       {$i SRL/srl.simba}
       {$i sps/sps.simba}



       var
         //place your variables here
         Status: string;



      procedure DeclarePlayers;
       begin
          HowManyPlayers:=1;
          NumberOfPlayers(HowManyPlayers);
          CurrentPlayer:=0;
          with Players[0] do
          begin
             Name:='';
             Pass:='';
             BoxRewards:=[''];
             LampSkill:=SKILL_PRAYER;
             Pin:='';
             Active:=true;
          end;
     end;



      procedure  test;
       var
         testVar: TPointArray;
         I: integer;
       begin
         testVar:=[Point(338,363),Point(376,331),Point(372,305),Point(362,277),Point(364,231),Point(356,170),Point(333,122),Point(312,106),Point(292,106),Point(262,102),Point(233,104),Point(204,101),Point(198,115),Point(198,133),Point(198,145)];
         for i:=0 to High(testVar) do
          repeat
           wait(RandomRange(500,800));
          until (SPS_BlindWalk(testVar[i]));
         end;



      procedure  Invertedtest;
       var
         InvertedtestVar: TPointArray;
         I: integer;
       begin
         InvertedtestVar:=[Point(198,145),Point(198,133),Point(198,115),Point(204,101),Point(233,104),Point(262,102),Point(292,106),Point(312,106),Point(333,122),Point(356,170),Point(364,231),Point(362,277),Point(372,305),Point(376,331),Point(338,363)];
         for i=0 to High(InvertedtestVar) do
          repeat
           wait(RandomRange(500,800));
          until (SPS_BlindWalk(InvertedtestVar[i]));
         end;



      procedure SetupWalker;
       begin
         SRL_SIXHOURFIX := TRUE;
         SMART_FIXSPEED := TRUE;
         SetupSRL;
         DeclarePlayers;
         LoginPlayer;
          Wait(653+ Random(238));
         ClickNorth(SRL_ANGLE_HIGH);
         SPS_Setup(RUNESCAPE_OTHER,['varrokminer']);
      end;
    Last edited by CynicRus; 11-14-2012 at 06:30 AM.
    Per aspera ad Astra!
    ----------------------------------------
    Slow and steady wins the race.

  17. #17
    Join Date
    May 2012
    Location
    Moscow, Russia
    Posts
    661
    Mentioned
    35 Post(s)
    Quoted
    102 Post(s)

    Default

    Quote Originally Posted by J J View Post
    More than enough around 7gb ram around that time. Will try again tomorrow.

    Maybe windows 8 related?
    Maybe. But I do not use and will never use Windows 8 so I can not test it.
    Per aspera ad Astra!
    ----------------------------------------
    Slow and steady wins the race.

  18. #18
    Join Date
    May 2012
    Location
    Moscow, Russia
    Posts
    661
    Mentioned
    35 Post(s)
    Quoted
    102 Post(s)

    Default

    Version 2.1 released now.

    Add a two new buttons for the pack your map to the file with all your a waypoints. After that you may load this file to the application, or load this map file to the script directly when i finish plugin(extension for sps). (The map file contains your custom map as string)

    Unpack test file and upload that to your app for testing.
    Last edited by CynicRus; 11-14-2012 at 12:14 PM.
    Per aspera ad Astra!
    ----------------------------------------
    Slow and steady wins the race.

  19. #19
    Join Date
    Jul 2011
    Location
    /home/litoris
    Posts
    2,226
    Mentioned
    0 Post(s)
    Quoted
    159 Post(s)

    Default

    TYVM, I will definitely use this.
    Miner & Urn Crafter & 07 Chicken Killer
    SPS BlindWalk Tutorial

    Working on: Nothing

    teacher in every art, brought the fire that hath proved to mortals a means to mighty ends

  20. #20
    Join Date
    May 2012
    Location
    Moscow, Russia
    Posts
    661
    Mentioned
    35 Post(s)
    Quoted
    102 Post(s)

    Default

    Per aspera ad Astra!
    ----------------------------------------
    Slow and steady wins the race.

  21. #21
    Join Date
    May 2012
    Location
    Moscow, Russia
    Posts
    661
    Mentioned
    35 Post(s)
    Quoted
    102 Post(s)

    Default

    Version 2.4 has been released now.

    Changes:
    - Optimized for use with the custom SPS maps.
    - The RS world map support is for backward compatibility only now
    - Antialiasing path drawing
    - Fixed bug with packing your map to the file with all your a waypoints.
    Per aspera ad Astra!
    ----------------------------------------
    Slow and steady wins the race.

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

    Default

    I don't know about other people and if they'd use this:

    Suggestion:

    -Exporting/Loading Paths to File...
    "Logic never changes, just the syntax" - Kyle Undefined?

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

  23. #23
    Join Date
    May 2012
    Location
    Moscow, Russia
    Posts
    661
    Mentioned
    35 Post(s)
    Quoted
    102 Post(s)

    Default

    Quote Originally Posted by Yago View Post
    I don't know about other people and if they'd use this:

    Suggestion:

    -Exporting/Loading Paths to File...
    This feature is implemented
    Per aspera ad Astra!
    ----------------------------------------
    Slow and steady wins the race.

  24. #24
    Join Date
    Jan 2012
    Posts
    713
    Mentioned
    3 Post(s)
    Quoted
    9 Post(s)

    Default

    Quote Originally Posted by CynicRus View Post
    This feature is implemented
    I noticed you removed your auto code generator in the new one?

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

    Default

    Seems like I have an older version then. Time to update!
    "Logic never changes, just the syntax" - Kyle Undefined?

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

Page 1 of 4 123 ... 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
  •