Log in

View Full Version : what does this error mean?



luke
07-22-2008, 02:35 PM
[Runtime Error] : Exception: Access violation at address 006D3B83 in module 'scar.exe'. Read of address 00000000 in line 660 in script C:\SCAR 3.15\includes\SRL/SRL/Core/Text.scar


thanks

Shuttleu
07-22-2008, 02:39 PM
have you called setupsrl; at the top of your script?

~shut

luke
07-22-2008, 02:47 PM
what do u mean?

Krim0407
07-22-2008, 03:33 PM
At the beginning of your script's main loop, is there a SetupSRL; there? If you still don't understand, try reading som tuts, found in the Tutorial Island section.

Shuttleu
07-22-2008, 03:46 PM
baisically your script should be something like this

program whatever;
{.include srl/srl.scar}
var
i, x, y: integer;

procedure whatever;
begin
what ever you have in your procedure
end;

procedure whatever2;
begin
what ever you have in this procedure
end;

begin
SetUpSrl;
whatever;
whatever2;
end.

hope this helps

~shut

luke
07-22-2008, 04:20 PM
Hmm i see what you are getting at but is this a new thing becuase ive never had to do this before? and im using narcles fast fighter if it helps you explain?

Shuttleu
07-22-2008, 04:39 PM
Hmm i see what you are getting at but is this a new thing becuase ive never had to do this before? and im using narcles fast fighter if it helps you explain?
how long does it run for so i can help you and see if it does the same for me

if this has only happend once then try restarting scar

if that still doesnt work then try reinstalling scar and redownload srl

~shut

luke
07-22-2008, 04:45 PM
what happends is it changes the brightness then error comes up

luke
07-22-2008, 04:54 PM
big thanks to you it works now, but one problem now it says that Logged In Player is not in Players array. what does this mean?

Shuttleu
07-22-2008, 05:03 PM
are you using smart?

because i got this error in smart and all you have to do is add SetTargetDC(SmartGetDC); after smartsetup

eg.
wrong
begin
smartsetupex(123, true, true, false);
setupsrl;

right
begin
smartsetupex(123, true, true, false);
SetTargetDC(SmartGetDC);
setupsrl;


~shut

luke
07-22-2008, 05:06 PM
ok kool, where abouts is it in the script cuz its one long script lol

Shuttleu
07-22-2008, 05:16 PM
it will be right at the bottom

if you cant find it just post the script and i will fix it for you :)

~shut

luke
07-22-2008, 05:22 PM
ok thanks see if you can find it =D

13364

just in case you are wondering i do normally have mr srl pass in but ive removed it so know one can hack it etc okay =D