Page 5 of 7 FirstFirst ... 34567 LastLast
Results 101 to 125 of 171

Thread: [NEED TESTING!] SPS-OSR (2007Scape)

  1. #101
    Join Date
    Mar 2013
    Posts
    13
    Mentioned
    0 Post(s)
    Quoted
    5 Post(s)

    Default

    Quote Originally Posted by SeanStar View Post
    Lol? I'm not stupid, that map is crap.
    oh...well sorry to offend you, how about this map?
    http://images1.wikia.nocookie.net/__...d-map-2007.jpg
    if not that then someones gonna have to start taking alot of screenshots.....
    Last edited by akadhox; 04-07-2013 at 08:20 PM.

  2. #102
    Join Date
    Jul 2012
    Posts
    113
    Mentioned
    7 Post(s)
    Quoted
    34 Post(s)

    Default

    Quote Originally Posted by akadhox View Post
    oh...well sorry to offend you, how about this map?
    http://images1.wikia.nocookie.net/__...d-map-2007.jpg
    if not that then someones gonna have to start taking alot of screenshots.....
    The resolution must be of that inside the minimap ingame. The maps you're sending are not high enough resolution, plus they have compression artifacts.

    If you could find a map the resolution and quality of runescape_surface07.jpg during the exact time period, I'd more than happily use it to regenerate the sps maps.
    .---. ``````````` .---. .
    \___ `,-. ,-. ,-. \___ ยท|- ,-. ,-
    ``` \ |-'`,-| | | ``` \ | `,-| |
    `---' `-' `-^ ' ' `---' `' `-^ '

  3. #103
    Join Date
    Mar 2013
    Posts
    5
    Mentioned
    0 Post(s)
    Quoted
    3 Post(s)

    Default

    SPS_Setup(): ERROR: SPS areas are not set!
    SPS ERROR: SPS_Setup was never called
    SPS returns -1,-1
    SPS ERROR: SPS_Setup was never called
    Successfully executed. [COLOR="#can some 1 help me?"][/COLOR]

  4. #104
    Join Date
    Mar 2007
    Posts
    41
    Mentioned
    0 Post(s)
    Quoted
    7 Post(s)

    Default

    So I'm trying to learn SPS walking, but it always throws
    Code:
    SPS returns -1,-1
    at me when I try to get my location.
    This is with my own made map and also when using the surface07.

    Code:
    Simba Code:
    program TestSPS;
    {$DEFINE SMART}
    {$I SRL-OSR/SRL.Simba}
    {$I SPS/sps-osr.simba}
    var
      MyLoc: TPoint;
      ToPlace:TPointArray;

    Procedure DeclarePlayers;
    Begin
      HowManyPlayers := 1;
      NumberOfPlayers(HowManyPlayers);
      CurrentPlayer := 0;

       Players[0].Name := '';
       Players[0].Pass :='';
       Players[0].Nick :='';
       Players[0].Active:=True;
    End;


    begin
     SetupSRL;
     DeclarePlayers;
     LoginPlayer;
     SPS_AnyAngle := True;
     SPS_Setup(runescape_surface, ['8_6','8_7','8_8','9_7']);
     MyLoc:=sps_getMyPos;
     writeln('SPS returns '+inttostr(myloc.x)+','+inttostr(myloc.y));

    end.

  5. #105
    Join Date
    Aug 2010
    Posts
    173
    Mentioned
    0 Post(s)
    Quoted
    9 Post(s)

    Default

    Someone wanna help me out and tell me how to get the SPS extension. I looked around and saw someone say you need the original SPS before you can use SPS-OSR which makes sense. I have the OSR folder, there just isnt and SPS folder in it to put these files. If SPS is an extension, I definitely dont have it because the last extension I put on was msi.remote.. Its been awhile. I have SRL-OSR, I just dont have an SPS folder in it. Just need someone to point me in the right direction

    My exact error is: Exception in Script: Unable to find file 'SPS/sps-osr.simba' used from 'C:\Simba\Scripts\ineedbot's AIO Chopper[2.1].simba'

  6. #106
    Join Date
    Mar 2007
    Posts
    41
    Mentioned
    0 Post(s)
    Quoted
    7 Post(s)

    Default

    Quote Originally Posted by Big Tom View Post
    Someone wanna help me out and tell me how to get the SPS extension. I looked around and saw someone say you need the original SPS before you can use SPS-OSR which makes sense. I have the OSR folder, there just isnt and SPS folder in it to put these files. If SPS is an extension, I definitely dont have it because the last extension I put on was msi.remote.. Its been awhile. I have SRL-OSR, I just dont have an SPS folder in it. Just need someone to point me in the right direction

    My exact error is: Exception in Script: Unable to find file 'SPS/sps-osr.simba' used from 'C:\Simba\Scripts\ineedbot's AIO Chopper[2.1].simba'
    Enable Enable extensions.sex. Then update simba. And update SPS when it appears in Simba. It should generate the SPS folder in your includes folder. Then you also have to download the 07 pack.

    Uhh.. Just check the simba install guides. Tons of threads about it.

  7. #107
    Join Date
    Aug 2010
    Posts
    173
    Mentioned
    0 Post(s)
    Quoted
    9 Post(s)

    Default

    Ya I downloaded smart a long time ago and the extension extension didnt even exist. I just completely redownloaded simba and got everything working. Thanks for the help

  8. #108
    Join Date
    Apr 2013
    Posts
    1
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    missing an image i think 0_6 from runescapsurface07.zip

  9. #109
    Join Date
    Apr 2013
    Posts
    3
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    Default

    Exception in Script: Unable to find file 'SPS/sps-osr.simba'

    can someone help me?

  10. #110
    Join Date
    Apr 2013
    Posts
    15
    Mentioned
    0 Post(s)
    Quoted
    7 Post(s)

    Default

    Exception in Script: Unable to find file 'SPS/sps-osr.simba' used from 'C:\Users\bot\Downloads\ineedbot's AIO Chopper[2.1] (1).simba'


    ;L

  11. #111
    Join Date
    Apr 2013
    Posts
    4
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    Default

    Exception in Script: Unable to find file 'SPS/sps-osr.simba' used from ''

    i still get this after adding it any help?

  12. #112
    Join Date
    Feb 2013
    Posts
    8
    Mentioned
    0 Post(s)
    Quoted
    2 Post(s)

    Default

    Download is down:/

  13. #113
    Join Date
    Mar 2013
    Posts
    55
    Mentioned
    3 Post(s)
    Quoted
    23 Post(s)

    Default

    Why it walks only few meters and stops? It doesn't know where to walk...
    Last edited by Kuriamas; 04-13-2013 at 10:30 AM.

  14. #114
    Join Date
    Mar 2013
    Posts
    6
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    Default

    Quote Originally Posted by adrian38 View Post
    Exception in Script: Unable to find file 'SPS/sps-osr.simba' used from 'C:\Users\bot\Downloads\ineedbot's AIO Chopper[2.1] (1).simba'


    ;L
    Quote Originally Posted by GoodKush View Post
    Exception in Script: Unable to find file 'SPS/sps-osr.simba'

    can someone help me?
    You need to download the script in the first post and place it in the Includes/SPS/ directory

  15. #115
    Join Date
    Nov 2007
    Posts
    73
    Mentioned
    0 Post(s)
    Quoted
    2 Post(s)

    Default

    Debug:
    SPS returns 4484,3716
    Successfully executed.
    I tried putting points close, and everything, just not working
    Never Play Runescape Only Macro On It!!!!!

  16. #116
    Join Date
    Apr 2013
    Posts
    5
    Mentioned
    0 Post(s)
    Quoted
    3 Post(s)

    Default

    SPS returns -1,-1 trying to run the alkharid leather tanner pleeeeaaaseee help

  17. #117
    Join Date
    Feb 2013
    Posts
    465
    Mentioned
    6 Post(s)
    Quoted
    221 Post(s)

    Default

    Quote Originally Posted by kid cudi View Post
    SPS returns -1,-1 trying to run the alkharid leather tanner pleeeeaaaseee help
    What map segments have you loaded?

  18. #118
    Join Date
    Apr 2013
    Posts
    5
    Mentioned
    0 Post(s)
    Quoted
    3 Post(s)

    Default

    im not exactly sure what that means im not very good at this stuff

  19. #119
    Join Date
    Feb 2013
    Posts
    465
    Mentioned
    6 Post(s)
    Quoted
    221 Post(s)

    Default

    Quote Originally Posted by kid cudi View Post
    im not exactly sure what that means im not very good at this stuff
    Well, you need to load specific bits of the map.... ie if the tiles of map you have loaded are around castle wars and you're in varrock its obviously going to return -1, -1....

  20. #120
    Join Date
    Apr 2013
    Posts
    2
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    I'm trying to run a script that uses SPS for OSR but Simba opens up a new tab for SPS-OSR.simba with this error.

    [Error] C:\Simba\Includes\SPS/sps-osr.simba(357:9): Unknown identifier 'ClickNorth' at line 356

    Code:
      else begin
        if (inRange(a, 10, 350)) then
          if (SPS_ClickNorth) then
            ClickNorth(SRL_ANGLE_HIGH) // That "ClickNorth" is giving the error.
          else
            MakeCompass('N');
    Last edited by Member Monroe; 04-21-2013 at 04:14 AM.

  21. #121
    Join Date
    Apr 2013
    Posts
    17
    Mentioned
    0 Post(s)
    Quoted
    6 Post(s)

    Default

    It keeps giving this error, even though I set SPS:
    SPS_Setup(): ERROR: SPS areas are not set!
    SPS ERROR: SPS_Setup was never called
    SPS returns -1,-1
    SPS ERROR: SPS_Setup was never called
    Successfully executed.

  22. #122
    Join Date
    Mar 2013
    Posts
    57
    Mentioned
    0 Post(s)
    Quoted
    26 Post(s)

    Default

    For me it doesn't follow the path i created at all, sometimes it clicks other times it does nothing. Im using the whole runescape map that was in the img/ folder

  23. #123
    Join Date
    Sep 2008
    Posts
    754
    Mentioned
    8 Post(s)
    Quoted
    275 Post(s)

    Default

    Quote Originally Posted by ikillthechickens View Post
    For me it doesn't follow the path i created at all, sometimes it clicks other times it does nothing. Im using the whole runescape map that was in the img/ folder
    Use a small map from the list (the 0_1,0_2.. etc files)

    Then when you load it get your position using this:

    Simba Code:
    begin
      SPS_Setup(RUNESCAPE_SURFACE, ['0_0']);
      SPS_AnyAngle := True;
      MyPos:=SPS_GetMyPos;
      Writeln('My position is  x: '+inttostr(MyPos.x)+' y: '+inttostr(MyPos.y));
    end;

    That will write your proper position on the map, of course change 0_0 with your proper image, works for me when i fish at Jaitszo, the big map just never worked for me.
    Last edited by samerdl; 04-30-2013 at 01:18 PM.

  24. #124
    Join Date
    Aug 2007
    Location
    Colorado
    Posts
    7,421
    Mentioned
    268 Post(s)
    Quoted
    1442 Post(s)

    Default

    Hey guys. So previously I tried over and over to use Wizzup?'s old 'GetWallAngle' to work correctly in order to force our MiniMap into a perfect(ish) north for accurate SPS detection. Unfortunately the function is outdated and I simply could not fix it. So as an alternative I made a quick 10-minute procedure that will attempt to set your compass to perfect north. It simply rotates your compass (in the same way of the normal 'MakeCompass') while searching for both a straight horizontal wall and a straight vertical wall (10-12 in length). If either are found it's assumed the the compass has been aligned to perfect(ish) north.

    It's dirty way of aligning the map but it's worked great for me so far and has improved my SPS accuracy by a huge amount.

    Simba Code:
    Procedure ForceMapNorth;
    var
      Left: Boolean;
      StartAngle: Extended;
      X,Y,DTM_VertWall,
      DTM_HorWall,T,F,T2: Integer;
    label
      Start;
    begin
      DTM_VertWall := DTMFromString('mFQEAAHicpcvHDQAgDMBAeqh7sP9uEV+8QsDSPb3cexMDHQ0VgoKMhIgAj6NqtvmsvrsYaCfR');
      DTM_HorWall  := DTMFromString('mFQEAAHicpcvJCQAgEMBA79s+7L+3xa8BK1gNzDPT3AY6GioKMhIiAjwcrHlri6gtPq3vDihAJ9E=');

      Start:
      StartAngle := (rs_GetCompassAngleDegrees);
      Left := (Round((360 - StartAngle)) mod 360 <= Round((StartAngle + 360)) mod 360);
      if (F = 0) then
        T2 := 1500
      else
        T2 := 2500;
      KeyDown((Ord(not Left) * 2) + 37);
      MarkTime(T);
      Repeat
        if (FindDTM(DTM_VertWall, X, Y, MMx1, MMy1, MMx2, MMy2) or
            FindDTM(DTM_HorWall, X, Y, MMx1, MMy1, MMx2, MMy2)) then
              break;
        Wait(16);
      Until(TimeFromMark(T) >= T2)

      if Left then
        KeyUp(VK_Left)
      else
        KeyUp(VK_Right);

      if ((not FindDTM(DTM_VertWall, X, Y, MMx1, MMy1, MMx2, MMy2)) and
          (not FindDTM(DTM_HorWall, X, Y, MMx1, MMy1, MMx2, MMy2))) then
      begin
        Inc(F);
        if (F < 2) then
          GoTo Start;
      end;

      FreeDTM(DTM_VertWall);
      FreeDTM(DTM_HorWall);
    end;

    I simply call this procedure right before walking a path in SPS, and I'd recommend any users doing the same. So...any thoughts or suggestions?

    Edit:
    Oh yes, obviously this will only work in an area with walls visible on the minimap.

    Edit2:
    Fixed a silly typo as well as improved the DTMs.
    Last edited by Flight; 05-03-2013 at 02:16 PM.

    Current projects:
    [ AeroGuardians (GotR minigame), Motherlode Miner, Blast furnace ]

    "I won't fall in your gravity. Open your eyes,
    you're the Earth and I'm the sky..."


  25. #125
    Join Date
    Apr 2013
    Posts
    395
    Mentioned
    1 Post(s)
    Quoted
    177 Post(s)

    Default

    Quote Originally Posted by Flight View Post
    Hey guys. So previously I tried over and over to use Wizzup?'s old 'GetWallAngle' to work correctly in order to force our MiniMap into a perfect(ish) north for accurate SPS detection. Unfortunately the function is outdated and I simply could not fix it. So as an alternative I made a quick 10-minute procedure that will attempt to set your compass to perfect north. It simply rotates your compass (in the same way of the normal 'MakeCompass') while searching for both a straight horizontal wall and a straight vertical wall (10-12 in length). If either are found it's assumed the the compass has been aligned to perfect(ish) north.

    It's dirty way of aligning the map but it's worked great for me so far and has improved my SPS accuracy by a huge amount.

    Simba Code:
    Procedure ForceMapNorth;
    var
      Left: Boolean;
      StartAngle: Extended;
      X,Y,DTM_VertWall,
      DTM_HorWall,T,F: Integer;
    label
      Start;
    begin
      DTM_VertWall := DTMFromString('mFQEAAHicpcu5DQAgDMBA/vB27L9lRItXCFi60su95xEQkZBRIKho6BiYOKpmm8/quwu1bSbN');
      DTM_HorWall  := DTMFromString('mFQEAAHicpcu5DQAgDMBA/p+O/beMaLHEBAFLV3qam4WDR0BEQkZBRUPHMG9tEbXFp/XdAcVFJs0=');

      Start:
      StartAngle := (rs_GetCompassAngleDegrees);
      Left := (Round((360 - StartAngle)) mod 360 <= Round((StartAngle + 360)) mod 360);

      KeyDown((Ord(not Left) * 2) + 37);
      MarkTime(T);
      Repeat
        if (FindDTM(DTM_VertWall, X, Y, MMx1, MMy1, MMx2, MMy2) or
            FindDTM(DTM_HorWall, X, Y, MMx1, MMy1, MMx2, MMy2)) then
              break;
        Wait(16);
      Until(TimeFromMark(T) >= 1500)

      if Left then
        KeyUp(VK_Left)
      else
        KeyUp(VK_Right);

      if ((not FindDTM(DTM_VertWall, X, Y, MMx1, MMy1, MMx2, MMy2)) and
          (not FindDTM(DTM_HorWall, X, Y, MMx1, MMy1, MMx2, MMy2))) then
      begin
        Inc(F);
        if (F < 2) then
          GoTo Start;
      end;

      FreeDTM(DTM_VertWall);
      FreeDTM(DTM_HorWall);
    end;

    I simply call this procedure right before walking a path in SPS, and I'd recommend any users doing the same. So...any thoughts or suggestions?

    Edit:
    Oh yes, obviously this will only work in an area with walls visible on the minimap.

    Edit2:
    Fixed a silly typo as well as improved the DTMs.
    I have thought of making something like this, but didn't have the idea of using just vertical and horizontal wall. This would be a very useful procedure! I like the idea and the DTMs can be easily changed to a wall angle that I wanted. Would try to use this procedure in my fighter to bank.

    Btw, hows the ObjDTM fix doing so far?

Page 5 of 7 FirstFirst ... 34567 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
  •