SRL Archive - Help and Support

open bank help


BraK

2006-03-12 19:54:39

[Runtime Error] : Exception: Access violation at address 006549BC in module 'scar.exe'. Read of address 00000000 in line 43 in script C:\Program Files\SCAR 2.03\includes\srl\srl\core\Bank.scar


can some one show me the correct way to use openbank3 and deposit procedure.

Sdcit

2006-03-12 20:06:31

you forgot SetupSRL didnt you

Jagex_Fagex

2006-03-13 03:13:08

another thing that could cause that error is that SetupSRL; isnt in ur main loop.

so you might have:

Procedure Setup;
begin
players[1].pass :=pass1
SetupSRL;
end;

begin
Setup;
end.

You must have SetupSRL; in the main loop like this:

Procedure Setup;
begin
players[1].pass :=pass1
end;

begin
SetupSRL;
Setup;
end.

BraK

2006-03-13 05:56:26

thanks everyone for the help i figured it out.