Page 3 of 3 FirstFirst 123
Results 51 to 59 of 59

Thread: SPS 2.0 Beta ~ TESTING NEEDED

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

    Default

    Quote Originally Posted by Flight View Post
    I combined the normal ourania_altar with a piece of the runescape_surface, so there's no need to swap SPS areas every time the player teleports above ground.

    If you'd rather not that's fine, I'll have a file-checker on my script that will download my custom SPS map if it's not already there.

    Edit:
    Well it looks like I might have to do 2 different SPS areas, as SPS 2 is really not agreeing with my map, I'm having lots of trouble with it. Let me play around a bit with separate SPS area loading and I'll get back to you.

    Edit2:
    Yeah that didn't work either. About half of my walking path returns my position as (-1,-1). I've adjusted the "SPS_MatchesPercent" down to 0.30 so I'd always have a result > -1 X/Y but as a result my tiles are very inconsistent. I'm not sure what else to do, ZMI-Extreme simply won't work with SPS 2. I'm running short on ideas so if you have any do send 'em my way. It would sure be a shame to have to resort to DTM-walking...
    Can you post how you're using it? The way SPS 2 works isn't very different from 1, so I'm sure it's something small.

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

    Default

    Quote Originally Posted by Coh3n View Post
    Can you post how you're using it? The way SPS 2 works isn't very different from 1, so I'm sure it's something small.
    I'm not sure which part you want so I'll post how I use it in the script as well as my simple tile-finder.

    Simba Code:
    Function SPS_WalkPath_F(Path: TPointArray): boolean;
      var
        I, H, T, D: integer;
        P, MM: TPoint;
      begin
        ColorToleranceSpeed(1);
        H := High(Path);
        T := GetSystemTime + 20000 + Random(5000);
        while (not Result) and (GetSystemTime < T) do
        begin
          RunEnergy(20);

          P := SPS_GetMyPos;
          for I := H downto 0 do
          begin
            MM.X := MMCX + Path[I].X - P.X;
            MM.Y := MMCY + Path[I].Y - P.Y;

            D := Distance(MM.X, MM.Y, MMCX, MMCY);

            if (D < 10) then
              break
            else begin
              if (D < 70) then
              begin
                Writeln(IntToStr(I));  //For debugging purposes
                HumanMMouse(MM.X, MM.Y, 0, 0);
                ClickMouse2(True);
                WaitFunc(@IsMoving_F, 10, 2500);
                if (I = H) then
                  FFlag(15)
                else
                  FFlag(25);
                T := getSystemTime + 20000 + Random(1000);
                  Break;
              end;
            end;
          end;
          Result := (I = H);
        end;
      end;

    Simba Code:
    program MyCoords;
      {$DEFINE SMART}

      {$i SRL/srl.simba}
      {$i SPS/sps.simba}

    begin
      Smart_Server := 86;
      Smart_Members := True;
      Smart_Signed := True;
      Smart_SuperDetail := False;
      setupSRL();

      SPS_Setup(RUNESCAPE_OTHER, ['ourania_altar']);
      //SPS_MatchesPercent := 0.30;
      SPS_Debug := True;

      Repeat
        ClearDebug;
        SPS_GetMyPos();
        Wait(500);
      Until(False)
    end.

    I'm not exactly sure what you're asking for, as I don't see how those would provide any useful information.

    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..."


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

    Default

    Hm, I really have no idea why that would mess up, unless the minimap is completely different from the SPS map. If you could lend me an account I could test myself and see what I can come up with.

  4. #54
    Join Date
    Jan 2012
    Posts
    468
    Mentioned
    3 Post(s)
    Quoted
    200 Post(s)

    Default

    getting this error

    Code:
    [Error] (28:17): Unknown identifier 'SPS_WindWalk' at line 27
    Compiling failed.

  5. #55
    Join Date
    Oct 2008
    Location
    C:\Simba\Includes\
    Posts
    7,566
    Mentioned
    19 Post(s)
    Quoted
    180 Post(s)

    Default

    The script you're using has SPS 1, not 2.
    Away for awhile, life is keeping me busy. | Want to get my attention in a thread? @Kyle Undefined; me.
    { MSI Phoenix || SRL Stats Sigs || Paste || Scripts || Quotes || Graphics }

    When posting a bug, please post debug! Help us, help you!

    I would love to change the world, but they won't give me the source code. || To be the best, you've got to beat the rest. || Logic never changes, just the syntax.
    If you PM me with a stupid question or one listed in FAQ, or about a script that is not mine, I will NOT respond.


    SRL is a Library of routines made by the SRL community written for the Program Simba. We produce Scripts for the game Runescape.


  6. #56
    Join Date
    Jul 2007
    Location
    Melbourne, Victoria, Australia.
    Posts
    665
    Mentioned
    0 Post(s)
    Quoted
    17 Post(s)

    Default

    ^ Do not click that link!
    Last known as Jonno.

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

    Default

    Quote Originally Posted by Jonno View Post
    ^ Do not click that link!
    What link?
    "Logic never changes, just the syntax" - Kyle Undefined?

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

  8. #58
    Join Date
    May 2007
    Location
    England
    Posts
    4,140
    Mentioned
    11 Post(s)
    Quoted
    266 Post(s)

    Default

    Quote Originally Posted by Yago View Post
    What link?
    Some guy was posting a phishing link all across the forums. I think all/most of his posts have been deleted.
    <3

    Quote Originally Posted by Eminem
    I don't care if you're black, white, straight, bisexual, gay, lesbian, short, tall, fat, skinny, rich or poor. If you're nice to me, I'll be nice to you. Simple as that.

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

    Default

    Quote Originally Posted by Rich View Post
    Some guy was posting a phishing link all across the forums. I think all/most of his posts have been deleted.
    Oh, im always late... Thanks rich
    "Logic never changes, just the syntax" - Kyle Undefined?

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

Page 3 of 3 FirstFirst 123

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
  •