Page 2 of 3 FirstFirst 123 LastLast
Results 26 to 50 of 54

Thread: Request Me A Custom SPS Minimap Map For Outdated Areas

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

    Default

    Quote Originally Posted by Google View Post
    If you send me the link I would be glad to test them out after my exams are over. I was planning on doing a project on creating a new world map out of mini-map screen shots but I never got around to making the thread to gather the snaps (needs a-lot of community help to gather all the areas). If it was done this way the world map would not need updating for a very long time.
    You may be interested in this then, cuts the and crops minimap out and saves it for you

    Simba Code:
    program SPS_MapMaker;
    {$DEFINE SMART}
    {$I SRL/SRL.Simba}
    {$I SRL/SRL/Misc/Debug.Simba}

    Const
    SAVEPATH = 'C:/Users/Olly/Desktop/map/';


    Procedure GetMinimap(Name: String);
    var
      TPA, Draw: TPointArray;
      TIA: TIntegerArray;
      I, BMP: Integer;
    begin
      BMP:= CreateBitmap(MMX2 - MMX1 + 1, MMY2 - MMY1 + 1);
      TPA:= TPAFromBox(MMBox);
      FilterPointsPie(TPA, 0.0, 360.0, 0.0, 75.0, MMCX, MMCY);
      TIA:= GetColors(TPA);

      TPA:= TPAFromBox(IntToBox(0, 0, MMX2 - MMX1, MMY2 - MMY1));
      DrawTPABitmap(BMP, TPA, 16777215);
      FilterPointsPie(TPA, 0.0, 360.0, 0.0, 75.0, (MMX2 - MMX1)/2, (MMY2 - MMY1)/2);

      For I:= 0 To High(TPA) do
      begin
        SetLength(DRAW, 1);
        Draw[0]:= TPA[I];
        DrawTPABitmap(BMP, Draw, TIA[I]);
      end;

      DebugBitmap(BMP);
      SaveBitmap(BMP, SavePath + Name + '.png');
      FreeBitmap(BMP);
    end;

    var
      I: Integer;

    begin
      SetupSRL;
      while true do
      begin
        wait(1000);
        while (Not SMARTENABLED) do
          wait(25);
        GetMinimap('MM' + ToStr(I));
        Inc(I);
      end;
    end.

    Credits to Brandon for the original (i think? were going back agess here)

  2. #27
    Join Date
    Apr 2008
    Location
    Marquette, MI
    Posts
    15,252
    Mentioned
    138 Post(s)
    Quoted
    680 Post(s)

    Default

    Quote Originally Posted by Ollybest View Post
    Yeah its quite useful, I was actually surprised at how accurate it was on world map(an outdated map at that). It could do with some extra features such as loading maps from runescape_surface and maybe some cleaning up.
    Replying in the other thread because it's more relative there.

    Quote Originally Posted by Google View Post
    If you send me the link I would be glad to test them out after my exams are over. I was planning on doing a project on creating a new world map out of mini-map screen shots but I never got around to making the thread to gather the snaps (needs a-lot of community help to gather all the areas). If it was done this way the world map would not need updating for a very long time.
    That's what the map creator does now... sort of. Instead of minimap screenshots, it opens the world map and takes screen shots from there, then pieces all the screenshots together. Only issue with that is the minimap is a little more detailed than the world map; however, in most cases that doesn't make a difference. E: There's no efficient/easy way of getting the exact minimap images as far as I know, unless you want to spend the time walking in every single part of RS. E2: OR, if you can figure out how to get the SafeMode map images from the Jagex game files (which would probably be illegal).

    E: The link to download the new images is in my last post.
    Last edited by Coh3n; 12-12-2012 at 05:28 AM.

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

  4. #29
    Join Date
    Apr 2008
    Location
    Marquette, MI
    Posts
    15,252
    Mentioned
    138 Post(s)
    Quoted
    680 Post(s)

    Default

    Quote Originally Posted by Google View Post
    At least from my experience custom maps editing the tolerance and SPS matches percent I've been able to walk anywhere flawless(snowy and desert conditions). From your last post you said it doesn't make a difference if its more detailed, etc. Could you explain a little on this? Educate me more on how exactly SPS works in a sense?

    p.s I'll come back tomorrow and re-post on this since I am not clear minded right now I am out celebrating posting from my phone(sorry for broken rule).
    The easiest way to explain it is that is compares the minimap image to the world map image (i.e. the SPS area currently loaded). The minimap images have shading (that's what I meant by detail) on paths, in buildings, etc. while the world map does not. In most cases, this isn't a problem.

    BUT, I'm 99% sure that's the reason why snowy and sandy places don't work well. IF we could somehow get a world map that includes the shading, I believe SPS would be flawless.

    E: What I could do is add your custom maps to the SPS repo. So, if the world map doesn't work for, say, Al-Kharid, and you make a custom map (using screenshots from the minimap) that works perfectly, I'd be willing to add a custom/ directory to SPS and add those maps so they're easily available to everybody.
    Last edited by Coh3n; 12-12-2012 at 05:45 AM.

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

    Default

    Quote Originally Posted by Coh3n View Post

    BUT, I'm 99% sure that's the reason why snowy and sandy places don't work well. IF we could somehow get a world map that includes the shading, I believe SPS would be flawless.
    So once Ben and Brandon find a good way of making smart work with ogl...




    win?

  6. #31
    Join Date
    Apr 2008
    Location
    Marquette, MI
    Posts
    15,252
    Mentioned
    138 Post(s)
    Quoted
    680 Post(s)

    Default

    That looks just like the Safe Mode minimap as well, no? If you got images like that for the entire world map, that may work a lot better. E: I also edited my post above if you didn't see that part.

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

    Default

    That's the OGL (the minimap is different in direct x, ogl, safemode) map runescape passes to the minimap, so im pretty sure its the minimap, you could always ask Brandon.

    more here: http://villavu.com/forum/showpost.ph...&postcount=379

  8. #33
    Join Date
    Apr 2008
    Location
    Marquette, MI
    Posts
    15,252
    Mentioned
    138 Post(s)
    Quoted
    680 Post(s)

    Default

    Yeah it actually wouldn't work because the minimap includes symbols and the OGL map doesn't. Symbols are a key part to the map matching process, especially for places like banks.

    E: When Ben and Brandon get OGL working with SMART, there will be no need for color scripting at all. OGL hooking will become the new Reflection.

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

    Default

    Really? I thought symbols were bad lol, Ive always removed them since they have a huge "wander" radius

    Edit to your edit : i couldn't agree more, not quite as good as reflection but close enough (even more so that hooks never go down).
    Last edited by Olly; 12-12-2012 at 06:05 AM.

  10. #35
    Join Date
    Nov 2012
    Posts
    2,351
    Mentioned
    55 Post(s)
    Quoted
    603 Post(s)

    Default

    Quote Originally Posted by Coh3n View Post
    Yeah it actually wouldn't work because the minimap includes symbols and the OGL map doesn't. Symbols are a key part to the map matching process, especially for places like banks.

    E: When Ben and Brandon get OGL working with SMART, there will be no need for color scripting at all. OGL hooking will become the new Reflection.
    Theres always going to be a need for Color jagex will go after that like everything else


    Programming is like trying keep a wall of shifting sand up, you fix one thing but somewhere else starts crumbling

  11. #36
    Join Date
    Apr 2008
    Location
    Marquette, MI
    Posts
    15,252
    Mentioned
    138 Post(s)
    Quoted
    680 Post(s)

    Default

    Quote Originally Posted by Ollybest View Post
    Really? I thought symbols were bad lol, Ive always removed them since they have a huge "wander" radius
    Maybe, but they appear on the minimap, and can cover important areas sometimes. Basically what we want to SPS is to have the world map and minimap to look as close as possible.

    You're saying you've always removed them from your custom maps? You've never had any issues without them?

  12. #37
    Join Date
    Jan 2012
    Posts
    79
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    Default



    is this the right format ?
    Last edited by marc2333; 12-12-2012 at 07:40 PM.

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

    Default

    Quote Originally Posted by Coh3n View Post
    Maybe, but they appear on the minimap, and can cover important areas sometimes. Basically what we want to SPS is to have the world map and minimap to look as close as possible.

    You're saying you've always removed them from your custom maps? You've never had any issues without them?
    If the end point im walking to is close to a symbol I remove it, a perfect example of this is banks its not much of a big deal but I think its more accurate without symbols.

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

    Default

    Quote Originally Posted by marc2333 View Post


    is this the right format ?
    Angle must be exactly north, your angle is at around 10 degrees.
    OpenGL is nice and I can know it after making a couple OpenGL based scripts :P You can get your RelativePosition on the 512x512 map Olly posted with the shaders. You can then make a 100% accurate walking system if you are walking on the same cached map at all times

    Examples:
    Abyss
    Essence mine
    All runecrafting altars
    Pest Control
    Possibly soul wars
    etc.

    I've made a walking system like that :P
    Also nearly managed to make a color based walking system that works at any angle. It's still in development. I might convert it to use with Simba. But once we have OpenGL it is better to use that.

    Also, you know your position on the cached map right? You can grab a 100x100 box around your position and have a 100% accurate minimap with 100% the same colors as another map. Simply make an OpenGL map and you can get it working with rotation!


    Script source code available here: Github

  15. #40
    Join Date
    Apr 2008
    Location
    Marquette, MI
    Posts
    15,252
    Mentioned
    138 Post(s)
    Quoted
    680 Post(s)

    Default

    Quote Originally Posted by Ollybest View Post
    If the end point im walking to is close to a symbol I remove it, a perfect example of this is banks its not much of a big deal but I think its more accurate without symbols.
    Fair enough. However, I don't think I can generate a world map without the symbols. As far as I know, there's no option to remove the symbols from the in game world map.

    Quote Originally Posted by J J View Post
    Also, you know your position on the cached map right? You can grab a 100x100 box around your position and have a 100% accurate minimap with 100% the same colors as another map. Simply make an OpenGL map and you can get it working with rotation!
    Theoretically, SPS will work at any angle with a few simple calculations. That being said, I think a few people have tried and have just been unsuccessful.

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

    Default

    Quote Originally Posted by Coh3n View Post
    I updated the maps a long time ago, but no one every tested them for me. I can't remember where the post is now, but if someone would like to test the new maps that would be great. Keep in mind that the coords might be slightly off, so it's best to pick new points.

    http://coh3n.com/srl/runescape_surface_new.zip

    Those were also created a month or so ago, so it's possible the map was updated again.
    Anyways I gave this a shot today in most areas that were having trouble ( running wrong directions or constantly running ) and these maps are fairly stable. Haven't tested snowy or desert areas yet though.

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

    Default

    Quote Originally Posted by Coh3n View Post
    Theoretically, SPS will work at any angle with a few simple calculations. That being said, I think a few people have tried and have just been unsuccessful.
    Yeah it's not that hard, but by rotating the minimap back to a north angle some pixels get distorted. But that is neglected slightly because everything gets converted to 5x5 color boxes anyways.

    Script source code available here: Github

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

    Default

    Quote Originally Posted by J J View Post
    Yeah it's not that hard, but by rotating the minimap back to a north angle some pixels get distorted. But that is neglected slightly because everything gets converted to 5x5 color boxes anyways.
    I'm waiting for it then....

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

    Default

    Quote Originally Posted by Ollybest View Post
    I'm waiting for it then....
    What would have it work at any angle accomplish?

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

    Default

    Quote Originally Posted by Google View Post
    What would have it work at any angle accomplish?
    Way more human like...
    and would speed my agility script up :P

  21. #46
    Join Date
    Apr 2008
    Location
    Marquette, MI
    Posts
    15,252
    Mentioned
    138 Post(s)
    Quoted
    680 Post(s)

    Default

    Quote Originally Posted by Google View Post
    Anyways I gave this a shot today in most areas that were having trouble ( running wrong directions or constantly running ) and these maps are fairly stable. Haven't tested snowy or desert areas yet though.
    That's good, if no one thinks it's a bad idea, I'll add the new map to the repo.

    Quote Originally Posted by J J View Post
    Yeah it's not that hard, but by rotating the minimap back to a north angle some pixels get distorted. But that is neglected slightly because everything gets converted to 5x5 color boxes anyways.
    It's something to look into. I have too many commitments right now, but if no one else does it's something I've wanted to do for a while.

    Quote Originally Posted by Google View Post
    What would have it work at any angle accomplish?
    Right now SPS calls clickNorth() before walking. It's arguable whether that is more or less human like. When I played RS I always walked with the camera at north, but I know not everyone does that.

    If it worked at every camera angle, there would definitely be the option for it to run at north (like it does now).

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

    Default

    Quote Originally Posted by Coh3n View Post
    That's good, if no one thinks it's a bad idea, I'll add the new map to the repo.

    It's something to look into. I have too many commitments right now, but if no one else does it's something I've wanted to do for a while.

    Right now SPS calls clickNorth() before walking. It's arguable whether that is more or less human like. When I played RS I always walked with the camera at north, but I know not everyone does that.

    If it worked at every camera angle, there would definitely be the option for it to run at north (like it does now).
    Honestly I don't think running at north is an issue there are some good snippets out there to replicate camera movement for downtime. Anyways you should re-bump your testing thread so more people can test out the new areas. Or I can create the thread for you. I did a ton of testing all today since I knew majority of the places where the community reported walking issues, all worked on the new surface you provided me.

    Edit: Nevermind I saw that you could not find your old post, I will make a thread for testing.

  23. #48
    Join Date
    Apr 2008
    Location
    Marquette, MI
    Posts
    15,252
    Mentioned
    138 Post(s)
    Quoted
    680 Post(s)

    Default

    Quote Originally Posted by Google View Post
    Honestly I don't think running at north is an issue there are some good snippets out there to replicate camera movement for downtime. Anyways you should re-bump your testing thread so more people can test out the new areas. Or I can create the thread for you. I did a ton of testing all today since I knew majority of the places where the community reported walking issues, all worked on the new surface you provided me.
    That's fantastic news.

  24. #49
    Join Date
    Mar 2012
    Posts
    121
    Mentioned
    0 Post(s)
    Quoted
    37 Post(s)

    Post

    Google can u still make me a custom map of piscatoris if I send u the images ????
    Get 270 Quest points !

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

    Default

    Yes just upload or message me them although I do encourage you to try out the new runescape surface before using a custom map. I will provide the link below and the instructions are on that thread of how to install.

    Link : http://villavu.com/forum/showthread.php?t=93787

Page 2 of 3 FirstFirst 123 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
  •