SRL Archive - OSR Help

SPS Help Me plz Access voilation


sm0k3

2011-03-27 14:20:18

help plz.

does this make sense to you . wats wrong i dont understand

heres my code .

program SnapeRunner;
//{$DEFINE SMART} //Uncomment for SMART
{.include SRL/SRL.scar}
{.i SRL/SRL/core/SPS/SPS.simba}

const

sUser = '';//Stats username
sPass = '';//Stats Password
Debug = True; //Print Debug Info To Simba Leave on for beta
SMARTstats = True; // set false if you dont want Stats Shown in SMART
Version = 'Beta'; // Scripts Version Name


var

MainPath1, MainPath2, MainPath3: TPointArray; // Main Path Between snapegrass and Bank TPointArray
Movestart: TPointArray; // Path From Tele poin in Fallador
Picked, Runs, earns, antibans: Integer;

procedure WalkToStart;
begin
SPS_WalkPath(Movestart)
end;
Procedure WalkToWall;
begin
SPS_WalkPath(MainPath1)
end;
begin
SetupSRL;
SPS_Areas := ['8_3', '8_4'];

Movestart:=[Point(3484, 1576),Point(3434, 1579),Point(3405, 1603)];

MainPath1:=[Point(3405, 1613),Point(3405, 1603),Point(3309, 1605),
Point(3381, 1617),Point(3378, 1603),Point(3378, 1644),
Point(3387, 1657),Point(3378, 1603),Point(3371, 1678)];

if SPS_WalkPath(movestart) then
Writeln('Walked To Starting Position');
if SPS_WalkPath(MainPath1) then
Writeln('Walked To Wall');
end.

it moves my player to any one of the points in Movestart and then stops and jusst spams debug with [ERROR] GATHERMINIMAP:: Exception: Access violation


[Hint] C:\Simba\Includes\SRL/SRL/core/SPS/SPS.simba(115:3): Variable 'I' never used at line 114
[Hint] C:\Simba\Includes\SRL/SRL/core/SRLlog.scar(17:3): Variable 'THEFILE' never used at line 16
[Hint] (20:3): Variable 'PICKED' never used at line 19
[Hint] (20:3): Variable 'RUNS' never used at line 19
[Hint] (20:3): Variable 'EARNS' never used at line 19
[Hint] (20:3): Variable 'ANTIBANS' never used at line 19
Compiled succesfully in 1763 ms.
SRL Compiled in 31 msec
New window: 2556602
Walked To Starting Position
[ERROR] GATHERMINIMAP:: Exception: Access violation
[ERROR] GATHERMINIMAP:: Exception: Access violation
[ERROR] GATHERMINIMAP:: Exception: Access violation
[ERROR] GATHERMINIMAP:: Exception: Access violation
[ERROR] GATHERMINIMAP:: Exception: Access violation
[ERROR] GATHERMINIMAP:: Exception: Access violation
[ERROR] GATHERMINIMAP:: Exception: Access violation
[ERROR] GATHERMINIMAP:: Exception: Access violation
[ERROR] GATHERMINIMAP:: Exception: Access violation
[ERROR] GATHERMINIMAP:: Exception: Access violation
[ERROR] GATHERMINIMAP:: Exception: Access violation
or is it my sps install
SOMEONE please try it
start in falador . were you tele in

is it just me?

Floor66

2011-03-27 14:32:17

Make sure that none of the files associated with SPS (like the pics) are opened in any other programs and that you've got full read/write permissions (open Simba with admin rights in win vista/7).

sm0k3

2011-03-27 14:40:43

Oh my god .. let me reiterate
OH MY GOD …:duh:

Yep that was the one .. Win7 x64 . The bane of my life …

it was admin right allright .. shoulda guessed lol
thanks +rep