Log in

View Full Version : File access error



Jason2gs
02-20-2007, 12:49 AM
File access error

I keep getting this error whenever I try running my AutoResponder. Help, please?

Mjordan
02-20-2007, 12:52 AM
post it?

Smartzkid
02-20-2007, 01:53 AM
is it read-only or something?

Maybe try saving it to your desktop and running it?

Might have been deleted or renamed while you were editing it, now, when you try to run it, scar can't find the file...

btw congrats on 100th post :p

Jason2gs
02-20-2007, 02:01 AM
I'll try that Smartz =)

And thanks, I didn't even notice =)

Mjordan
02-20-2007, 03:19 AM
btw congrats on 100th post :p

how about my 500th post huh?!?! lol :p

Jason2gs
02-20-2007, 03:24 AM
I don't really want to post my AR, but this script also has the same problem-

program New;
{.include SRL/SRL.scar}
procedure Logger;
begin
SetupSRL;
if(InChat('goodbye'))then
Logout;
end;

begin
repeat
Logger;
until(false)
end.

Ejjman
02-20-2007, 03:48 AM
program New;
{.include SRL/SRL.scar}

procedure Logger;
begin
if(InChat('goodbye'))then
Logout;
end;

begin
SetupSRL;
repeat
Logger;
until(false);
end.

If that don't work, then you must have something wrong with placing the SRl file somewhere. Look at tuts on how to install it if you do then.

Jason2gs
02-20-2007, 03:54 AM
I saw the orange lettered name and knew I could be helped ;)

Thanks man, I'll test it.

Jason2gs
02-20-2007, 04:00 AM
IT WORKS!!!

Thank you, Ejj =)

Jason2gs
02-20-2007, 04:02 AM
Oh, wait.

Why is it better to have the SetupSRL; where you put it? It does the same thing in both places, doesn't it?

Ejjman
02-20-2007, 04:30 AM
No, SetupSRL always goes in the main loop. Or I no, I don't mean that, it always goes before you do other stuff, like, in your main loop, yes, SetupSRL; but ify ou had something like this


procedure SetupScript;
begin
SetupSRL;
GetYa'llLvls;
Getminimapface north;
end;

haha, crud like that, then have

begin
SetupScript;
TypeJunk;
end.

:)

I know I pwn :garfield:

Jason2gs
02-20-2007, 04:42 AM
Lol. That was quite confusing =)