Results 1 to 24 of 24

Thread: SPS Access Denied?

  1. #1
    Join Date
    Jan 2012
    Posts
    160
    Mentioned
    0 Post(s)
    Quoted
    19 Post(s)

    Default SPS Access Denied?

    Says I need to run Simba as admin, but I dont have that option.
    Tried restarting, didn't help.
    Only stops when script calls upon anything SPS related.
    Here is my code regarding SPS:
    Simba Code:
    {$DEFINE SMART8}
    {$DEFINE SPS}

    {$i SRL\SRL.simba}

    {$i sps\sps.simba}

    and

    Simba Code:
    procedure HomePosition;
    begin
     SPS_Setup(DWARVEN_MINE,['0_2']);
     HomePos :=   Point(48,54);
       SPS_WalkToPos(HomePos);
    end ;

    then I call for "HomePosition" in the mainloop.
    Thoughts?


    Also, What's a good way to find my position?
    I've tried
    Simba Code:
    SPS_GetMyPos
    but it gave me the same error.

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

    Default

    Look at a guide for making a path, and use SPS_WalkPath();,

    I've never seen {DEFINE SPS} used, try removing that and re-run

    And your SPS_SETUP(); is wrong, the 0_2 is the map you need Runescape_Surface or the folder your map is inside in the first half not the map place

    e.g.
    Simba Code:
    SPS_Setup(RUNESCAPE_SURFACE, '0_2');

    SPS_Setup(RUNESCAPE_OTHER, '0_2');

    Also try using http://villavu.com/forum/forumdisplay.php?f=184 for faster help in the future
    Last edited by DannyRS; 02-01-2013 at 04:25 PM.


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

  3. #3
    Join Date
    Jan 2012
    Posts
    160
    Mentioned
    0 Post(s)
    Quoted
    19 Post(s)

    Default

    Quote Originally Posted by DannyRS View Post
    Look at a guide for making a path, and use SPS_WalkPath();,

    I've never seen {DEFINE SPS} used, try removing that and re-run

    And your SPS_SETUP(); is wrong, the 0_2 is the map you need Runescape_Surface or the folder your map is inside in the first half not the map place

    e.g.
    Simba Code:
    SPS_Setup(RUNESCAPE_SURFACE, '0_2');

    SPS_Setup(RUNESCAPE_OTHER, '0_2');

    Also try using http://villavu.com/forum/forumdisplay.php?f=184 for faster help in the future

    Not trying to walk a path, just set a location where my char would return to. just one set of coords.
    Tried

    SPS_Setup(RUNESCAPE_OTHER, '0_2');
    Didn't work.
    Can I make my own map, which folder would I have to put it in tho?

  4. #4
    Join Date
    Mar 2006
    Location
    Belgium
    Posts
    3,564
    Mentioned
    111 Post(s)
    Quoted
    1475 Post(s)

    Default

    u forgot the [ ] brackets I think: SPS_Setup(RUNESCAPE_Other,['0_2']);
    And yeah u can make a custom map, doesn't mather which folder u put in, just call it righT.

    Creds to DannyRS for this wonderful sig!

  5. #5
    Join Date
    Jan 2012
    Posts
    160
    Mentioned
    0 Post(s)
    Quoted
    19 Post(s)

    Default

    Got the brackets right, thanks. Still says denying access.

  6. #6
    Join Date
    Mar 2006
    Location
    Belgium
    Posts
    3,564
    Mentioned
    111 Post(s)
    Quoted
    1475 Post(s)

    Default

    Quote Originally Posted by Ilya View Post
    Got the brackets right, thanks. Still says denying access.
    Guess you really have to run admin on it?
    how does your script look like atm.

    Creds to DannyRS for this wonderful sig!

  7. #7
    Join Date
    Jan 2012
    Posts
    160
    Mentioned
    0 Post(s)
    Quoted
    19 Post(s)

    Default

    how would i run admin on it?

  8. #8
    Join Date
    Mar 2006
    Location
    Belgium
    Posts
    3,564
    Mentioned
    111 Post(s)
    Quoted
    1475 Post(s)

    Default

    Quote Originally Posted by Ilya View Post
    how would i run admin on it?
    If you're a windows user, just right click on the file and run as administrator.

    Creds to DannyRS for this wonderful sig!

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

    Default

    You don't need to define SPS.

  10. #10
    Join Date
    Jan 2012
    Posts
    160
    Mentioned
    0 Post(s)
    Quoted
    19 Post(s)

    Default

    Still not working for me guys.


    Simba Code:
    Procedure Walking;
    begin
    ToBankPath := [Point(4076, 1094), Point(4058, 1099), Point(4045, 1102), Point(4033, 1120), Point(4015, 1134), Point(3989, 1148), Point(3970, 1163), Point(3946, 1175), Point(3917, 1181),
     Point(3892, 1193), Point(3862, 1206), Point(3856, 1243), Point(3856, 1271), Point(3857, 1307), Point(3857, 1340), Point(3857, 1381), Point(3855, 1425), Point(3853, 1457), Point(3853, 1497),
      Point(3853, 1525), Point(3851, 1557), Point(3850, 1590), Point(3850, 1634), Point(3856, 1680), Point(3856, 1729), Point(3858, 1769), Point(3862, 1804), Point(3869, 1839), Point(3869, 1881),
       Point(3869, 1922), Point(3869, 1962), Point(3869, 2014)];

       SPS_WalkPath(ToBankPath);

       end;

    Begin
      ClearDebug;
      SetupSRL;
      Attempts := 0;
      DeclarePlayers;
      LoginPlayer;
      FindSpinTicket()
      ClickNorth(SRL_ANGLE_HIGH);
    SPS_Setup(RUNESCAPE_SURFACE,['10_2','9_2','9_3','9_4','9_5']);




      Repeat
        if (InvFull) then
          Begin
            Writeln('Ending - Inventory is full');
            Logout();
            TerminateScript();
          End;
          Walking;
        //MainLoop;
      Until (Not Loggedin);
    End.
    What am I doing wrong?
    Last edited by Ilya; 02-04-2013 at 07:21 PM.

  11. #11
    Join Date
    Mar 2006
    Location
    Belgium
    Posts
    3,564
    Mentioned
    111 Post(s)
    Quoted
    1475 Post(s)

    Default

    Quote Originally Posted by Ilya View Post
    Still not working for me guys.
    What am I doing wrong?
    Simba tags please

    What's the problem.

    Creds to DannyRS for this wonderful sig!

  12. #12
    Join Date
    Jan 2012
    Posts
    160
    Mentioned
    0 Post(s)
    Quoted
    19 Post(s)

    Default

    Still says SPS access denied. When I right click on my script, It does not give me an option to run as administrator. I have Windows 7 if that makes any difference.

  13. #13
    Join Date
    Jan 2012
    Posts
    1,596
    Mentioned
    78 Post(s)
    Quoted
    826 Post(s)

    Default

    Quote Originally Posted by Ilya View Post
    Still says SPS access denied. When I right click on my script, It does not give me an option to run as administrator. I have Windows 7 if that makes any difference.
    Run simba as admin, then load the script through the file-open menu?

  14. #14
    Join Date
    Feb 2012
    Location
    Discord
    Posts
    3,114
    Mentioned
    37 Post(s)
    Quoted
    538 Post(s)

    Default

    Quote Originally Posted by Ilya View Post
    Still says SPS access denied. When I right click on my script, It does not give me an option to run as administrator. I have Windows 7 if that makes any difference.
    Errm, are you on an admin account? if not try on one.

  15. #15
    Join Date
    Jan 2012
    Posts
    160
    Mentioned
    0 Post(s)
    Quoted
    19 Post(s)

    Default

    I am on an admin account. It gives me the option to "Run as Admin" with .exe files, but not with .simba files. Is there something in Computer Settings that I need to change?

  16. #16
    Join Date
    Sep 2012
    Location
    Here.
    Posts
    2,007
    Mentioned
    88 Post(s)
    Quoted
    1014 Post(s)

    Default

    Run it on Simba.exe, not an individual script. Then in the opened SIMBA, open the script.

  17. #17
    Join Date
    Jan 2012
    Posts
    160
    Mentioned
    0 Post(s)
    Quoted
    19 Post(s)

    Default

    Quote Originally Posted by Turpinator View Post
    Run simba as admin, then load the script through the file-open menu?
    Trying this now. Thanks!

  18. #18
    Join Date
    Jan 2012
    Posts
    160
    Mentioned
    0 Post(s)
    Quoted
    19 Post(s)

    Default

    No luck. Still brings up the same message.

  19. #19
    Join Date
    Jan 2012
    Posts
    160
    Mentioned
    0 Post(s)
    Quoted
    19 Post(s)

    Default

    Quote Originally Posted by nivek1989 View Post
    Run it on Simba.exe, not an individual script. Then in the opened SIMBA, open the script.
    Did this EXACTLY! Doesnt work. Script compiles just fine, when it's supposed to start walking, pops up that message.
    Any more ideas before i give up?

  20. #20
    Join Date
    Sep 2012
    Location
    Here.
    Posts
    2,007
    Mentioned
    88 Post(s)
    Quoted
    1014 Post(s)

    Default

    Quote Originally Posted by Ilya View Post
    Did this EXACTLY! Doesnt work. Script compiles just fine, when it's supposed to start walking, pops up that message.
    Any more ideas before i give up?
    Sorry, I mean right click the Simba.Exe to run as administrator. Is that what you did exactly?

  21. #21
    Join Date
    Jan 2012
    Posts
    160
    Mentioned
    0 Post(s)
    Quoted
    19 Post(s)

    Default

    Yup. This has been a 3 day battle against SPS for me.

  22. #22
    Join Date
    Sep 2012
    Location
    Here.
    Posts
    2,007
    Mentioned
    88 Post(s)
    Quoted
    1014 Post(s)

  23. #23
    Join Date
    Jan 2012
    Posts
    160
    Mentioned
    0 Post(s)
    Quoted
    19 Post(s)

    Default

    Not exactly, it's an outdated script, but i'm writing my own walking and banking.
    What difference would it make anyway?

  24. #24
    Join Date
    Jan 2012
    Posts
    160
    Mentioned
    0 Post(s)
    Quoted
    19 Post(s)

    Default

    RESOLVED!!!
    Just had to update my SPS...

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
  •