Page 1 of 13 12311 ... LastLast
Results 1 to 25 of 317

Thread: SRL Positioning System (OFFICIAL THREAD)

  1. #1
    Join Date
    Apr 2008
    Location
    Marquette, MI
    Posts
    15,256
    Mentioned
    121 Post(s)
    Quoted
    677 Post(s)

    Default SRL Positioning System (OFFICIAL THREAD)

    SRL Positioning System
    Status: Working for RS3 as of July 5th, 2014. SPS does not work for OSR.

    Introduction:

    SRL Positioning System (a.k.a. SPS) is a 100% color positioning system that allows for easy and accurate color walking. SPS was originally developed by marpis, and has since been developed by the SRL community. The original SPS thread can be found here, and the new SPS source can be found here.


    Table of Contents:

    • Introduction
    • Table of Contents
    • Features
    • Download and Installation
    • Development
    • Adding SPS to a Script
    • Credits
    • Conclusion


    Features:

    • 100% color.
    • Works without SMART.
    • It is very, very simple to use.
    • The mathematics behind SPS can be found here.


    Download & Installation:

    • Close any instances of Simba you have open.
    • SPS is included with the SRL updater, so if you've installed SRL, you should already have an SPS heading in your Simba. If you don't have this heading, follow this short tutorial.
    • To install manually, download SPS from here, and extract it to Simba/Includes/. Make sure you rename the folder to SPS.
    • Open the new SPS folder and copy the sps.dll file that's in SPS/plugins/.
    • Paste that file in Simba/Plugins/.
    • Done!


    Development:

    Since SPS is hosted on GitHub, anyone can fork it, change whatever they want, and send a pull request. If you're interested in helping out, please post on this thread.


    Adding SPS to a Script:

    @The Mayer; has written a fantastic RS3 scripting tutorial here. The section on SPS is "Section 6, Sub-Tutorial 1". Again, SPS does not currently work for OSR.


    Credits:

    • marpis for the original SPS development.
    • Wizzup** and mastaraymond of helping with the plugin.
    • Smidqe for continually updating the world map and map pieces.
    • Dgby714 for some cleaning up and plugin optimization.
    • Nava2 for increasing the speed significantly.
    • mika for the Dominion Tower implementation.
    • Someone (please tell me who you are, I can't remember, sorry ) for the Runecrafting Altar maps.
    • Hero for most of the dungeon map.
    • J J and Ollybest for making SPS work at any compass angle.


    Conclusion:

    I have seen SPS used in a lot of scripts and has always proven to work quite well. If you have any issues getting it to work, don't be afraid to ask.

    Lastly, I want to say thank you to anyone who has contributed and to anyone who will contribute in the future. With this project, we are able to provide a reliable walking method to keep SRL 100% color.


    Cheers,
    Coh3n
    Last edited by Coh3n; 07-05-2014 at 03:00 PM.

  2. #2
    Join Date
    Jan 2007
    Location
    Stavanger, Norway
    Posts
    8,794
    Mentioned
    114 Post(s)
    Quoted
    301 Post(s)

    Default

    Is the map updated? If not it wont work in some areas

  3. #3
    Join Date
    Mar 2011
    Location
    Oklahoma
    Posts
    98
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    SPS sounds amazing!!! Developing a walking path is by far the hardest part of developing an all color script.
    ---- Kanah ----

    “If God did not exist then surely man would create him" - Voltiare

  4. #4
    Join Date
    Feb 2006
    Location
    Finland
    Posts
    3,031
    Mentioned
    4 Post(s)
    Quoted
    16 Post(s)

  5. #5
    Join Date
    Apr 2008
    Location
    Marquette, MI
    Posts
    15,256
    Mentioned
    121 Post(s)
    Quoted
    677 Post(s)

    Default

    Quote Originally Posted by Zyt3x View Post
    Is the map updated? If not it wont work in some areas
    Yes it has.

    Quote Originally Posted by Smidqe View Post
    I've updated it and it's currently waiting to be pushed.

    Only thing that I found that wasn't working correctly was SPS_GetMyPos, it doesn't give accurate location. This will affect MSI.
    It works for me? I tested it in a few locations before making this thread.

    Quote Originally Posted by Home View Post
    Thank you.

  6. #6
    Join Date
    Apr 2008
    Location
    Marquette, MI
    Posts
    15,256
    Mentioned
    121 Post(s)
    Quoted
    677 Post(s)

    Default

    Quote Originally Posted by Smidqe View Post
    Huh? I tested with account in Varrock East bank, it gave locations that were far away
    You may have been using the SPS area that doesn't work. Look at the entire map, when you updated just the F2P area, it's like a lighter box around the whole F2P area. There are two areas with VEB, one worked for me, one didn't.

    We really need a script to just create the entire map. Would make that all easier.

  7. #7
    Join Date
    Aug 2008
    Location
    Finland
    Posts
    2,852
    Mentioned
    2 Post(s)
    Quoted
    2 Post(s)

    Default

    Prepare yourselves for an SPS worldwalking system in 3 weeks
    I know just the technique. I get my laptop here in the army next weekend (hopefully) and I'll start writing the base whenever I have time.

    Marpis will be back in the game! Temporarily, at least.

  8. #8
    Join Date
    Feb 2006
    Location
    Finland
    Posts
    3,031
    Mentioned
    4 Post(s)
    Quoted
    16 Post(s)

    Default

    Quote Originally Posted by marpis View Post
    Prepare yourselves for an SPS worldwalking system in 3 weeks
    I know just the technique. I get my laptop here in the army next weekend (hopefully) and I'll start writing the base whenever I have time.

    Marpis will be back in the game! Temporarily, at least.
    Great to hear !

    Koska on TJ0? : ) Aamujaa!

    ~Home

  9. #9
    Join Date
    Aug 2008
    Location
    Finland
    Posts
    2,852
    Mentioned
    2 Post(s)
    Quoted
    2 Post(s)

    Default

    Quote Originally Posted by Home View Post
    Great to hear !

    Koska on TJ0? : ) Aamujaa!

    ~Home
    Tammikuun 6. pääsee pois
    Itse et varmaan ole armeijas vielä käynytkään, älä niitä aamuja huutele!

  10. #10
    Join Date
    Feb 2006
    Location
    Finland
    Posts
    3,031
    Mentioned
    4 Post(s)
    Quoted
    16 Post(s)

    Smile

    Quote Originally Posted by marpis View Post
    Tammikuun 6. pääsee pois
    Itse et varmaan ole armeijas vielä käynytkään, älä niitä aamuja huutele!
    Ehei. Käyty on Olin PSTK:ssa Säkylässä.

    Mutta jaksamisia sinne!

    ~Home

  11. #11
    Join Date
    Apr 2008
    Location
    Marquette, MI
    Posts
    15,256
    Mentioned
    121 Post(s)
    Quoted
    677 Post(s)

    Default

    Quote Originally Posted by marpis View Post
    Prepare yourselves for an SPS worldwalking system in 3 weeks
    I know just the technique. I get my laptop here in the army next weekend (hopefully) and I'll start writing the base whenever I have time.

    Marpis will be back in the game! Temporarily, at least.
    Awesome!

  12. #12
    Join Date
    Apr 2008
    Location
    Marquette, MI
    Posts
    15,256
    Mentioned
    121 Post(s)
    Quoted
    677 Post(s)

    Default

    UPDATED ~ Essence mine added:
    Progress Report:
    Cohen Adair (4):
          Updated sps.simba to work with dungeons (involves a slightly different setup)
          Essence mine now works + added an easy setup for other dungeons
          Added a Constant field to TSPSSurface
          Added a Tolerance field to TSPSSurface
    With this update there is a different setup involved (old one will still work, it will just use the Runescape Surface as the defauly surface), so there shouldn't be any scripts that break because of this.

    Updating the first post now.

  13. #13
    Join Date
    Aug 2008
    Location
    Oklahoma, USA
    Posts
    173
    Mentioned
    0 Post(s)
    Quoted
    11 Post(s)

    Default

    Looks like tomorrow will be a fun coding day, it sure has been a long week..

  14. #14
    Join Date
    Apr 2008
    Location
    Marquette, MI
    Posts
    15,256
    Mentioned
    121 Post(s)
    Quoted
    677 Post(s)

    Default

    Quote Originally Posted by sf411 View Post
    Looks like tomorrow will be a fun coding day, it sure has been a long week..
    I also just found out that the entire Essence mine map is dynamic. Basically if you look at the top left corner of this map, that top left corner could be at the top right, bottom right or bottom left. It changes every time you enter the mine. Obviously, the same goes for the rest of the corners.

    This shouldn't run in to issues since they're basically the same shape, but if it does, I can make 4 different images so the top left corner appears in all four corners (like a rotation images).

    Also sf411, make sure you keep that list I sent you in a PM, it'll be a good reference. Let me know how it goes, and PM me for any help.

  15. #15
    Join Date
    Apr 2008
    Location
    Marquette, MI
    Posts
    15,256
    Mentioned
    121 Post(s)
    Quoted
    677 Post(s)

    Default

    Made an update today that tremendously sped up SPS_GetMyPos. The ClickNorth call was causing it to wait an extra 1500-2000ms (setAngle in SRL waits no matter what the current angle is at).

  16. #16
    Join Date
    Jul 2007
    Location
    Right now? Chair.
    Posts
    8,460
    Mentioned
    2 Post(s)
    Quoted
    5 Post(s)

    Default

    Can we get an extension to download SPS? would be awesome.

    ~RM

    I & I know Zion. It is in the spirit, body and mind of every one of us
    RMouse(obj: TMSIObject): boolean;

  17. #17
    Join Date
    Jan 2008
    Location
    Ontario, Canada
    Posts
    7,810
    Mentioned
    4 Post(s)
    Quoted
    2 Post(s)

    Default

    I feel like a system for this should be implemented that uses a "delta" of sorts to work with the images. They are already very large, and its hard to ship that many easily. Thus, having a system that would update each image when it needs to be, rather than the entire bulk would be ideal.

    This is not the easiest system to implement, but I think doing a grrep/regex of commit information would return which files are needed, then the update package could be updated as well. I can look into this as well, but it would involve someone hosting /two/ packages. One of the system in its entirety, and the other of deltas.
    Writing an SRL Member Application | [Updated] Pascal Scripting Statements
    My GitHub

    Progress Report:
    13:46 <@BenLand100> <SourceCode> @BenLand100: what you have just said shows you 
                        have serious physchological problems
    13:46 <@BenLand100> HE GETS IT!
    13:46 <@BenLand100> HE FINALLY GETS IT!!!!1

  18. #18
    Join Date
    Apr 2008
    Location
    Marquette, MI
    Posts
    15,256
    Mentioned
    121 Post(s)
    Quoted
    677 Post(s)

    Default

    Quote Originally Posted by Sir R. M8gic1an View Post
    Can we get an extension to download SPS? would be awesome.

    ~RM
    It's planned for the near future.

    Quote Originally Posted by Nava2 View Post
    I feel like a system for this should be implemented that uses a "delta" of sorts to work with the images. They are already very large, and its hard to ship that many easily. Thus, having a system that would update each image when it needs to be, rather than the entire bulk would be ideal.

    This is not the easiest system to implement, but I think doing a grrep/regex of commit information would return which files are needed, then the update package could be updated as well. I can look into this as well, but it would involve someone hosting /two/ packages. One of the system in its entirety, and the other of deltas.
    That would be ideal, yes, but Wizzup? said the size isn't a big deal.

  19. #19
    Join Date
    Jan 2008
    Location
    Ontario, Canada
    Posts
    7,810
    Mentioned
    4 Post(s)
    Quoted
    2 Post(s)

    Default

    Quote Originally Posted by Coh3n View Post
    It's planned for the near future.

    That would be ideal, yes, but Wizzup? said the size isn't a big deal.
    It is for people downloading.. :/
    Writing an SRL Member Application | [Updated] Pascal Scripting Statements
    My GitHub

    Progress Report:
    13:46 <@BenLand100> <SourceCode> @BenLand100: what you have just said shows you 
                        have serious physchological problems
    13:46 <@BenLand100> HE GETS IT!
    13:46 <@BenLand100> HE FINALLY GETS IT!!!!1

  20. #20
    Join Date
    Dec 2009
    Location
    R_GetPlayerLoc;
    Posts
    2,231
    Mentioned
    0 Post(s)
    Quoted
    12 Post(s)

    Default

    Quote Originally Posted by Coh3n View Post
    That would be ideal, yes, but Wizzup? said the size isn't a big deal.
    He is getting a new server with crazy bandwith so...
    The Cutting Edge - Outdated

    Current Project: Request Me Something

    "Logic never changes, just the syntax" - Kyle Undefined?


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

  21. #21
    Join Date
    Oct 2006
    Location
    Finland
    Posts
    433
    Mentioned
    1 Post(s)
    Quoted
    8 Post(s)

    Default

    Ok, gotta admit this looks like something pretty god damn amazing.

  22. #22
    Join Date
    Dec 2006
    Location
    Sydney, New South Wales, Australia
    Posts
    4,514
    Mentioned
    15 Post(s)
    Quoted
    42 Post(s)

    Default

    Quote Originally Posted by Yago View Post
    He is getting a new server with crazy bandwith so...
    Not everyone lives in the Europe.
    You may contact me with any concerns you have.
    Are you a victim of harassment? Please notify me or any other staff member.

    | SRL Community Rules | SRL Live Help & Chat | Setting up Simba | F.A.Q's |

  23. #23
    Join Date
    Feb 2006
    Location
    Amsterdam
    Posts
    13,663
    Mentioned
    109 Post(s)
    Quoted
    108 Post(s)

    Default

    Quote Originally Posted by Daniel View Post
    Not everyone lives in the Europe.
    I'm sure we can think of something.
    Perhaps even incremental updates, depending on the way SPS needs to be updated.



    The best way to contact me is by email, which you can find on my website: http://wizzup.org
    I also get email notifications of private messages, though.

    Simba (on Twitter | Group on Villavu | Website | Stable/Unstable releases
    Documentation | Source | Simba Bug Tracker on Github and Villavu )


    My (Blog | Website)

  24. #24
    Join Date
    Feb 2006
    Location
    Franklin, Ohio, USA
    Posts
    991
    Mentioned
    1 Post(s)
    Quoted
    0 Post(s)

    Default

    Two ways would be good, if server bandwidth is a concern, why not distribute it via bittorrent?

    But if you want to just download changes from a HTTP server, then this is the way to go:
    http://zsync.moria.org.uk/

  25. #25
    Join Date
    Feb 2006
    Location
    Amsterdam
    Posts
    13,663
    Mentioned
    109 Post(s)
    Quoted
    108 Post(s)

    Default

    Quote Originally Posted by moparisthebest View Post
    Two ways would be good, if server bandwidth is a concern, why not distribute it via bittorrent?

    But if you want to just download changes from a HTTP server, then this is the way to go:
    http://zsync.moria.org.uk/
    RSync is nice yes, but you'd need a client implementation?



    The best way to contact me is by email, which you can find on my website: http://wizzup.org
    I also get email notifications of private messages, though.

    Simba (on Twitter | Group on Villavu | Website | Stable/Unstable releases
    Documentation | Source | Simba Bug Tracker on Github and Villavu )


    My (Blog | Website)

Page 1 of 13 12311 ... LastLast

Thread Information

Users Browsing this Thread

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

Posting Permissions

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