SRL Archive - Help and Support

My randoms are messed up.


Secet

2007-03-21 14:59:53

I have a problem, my randoms stopped working today.
I changed something in my script (Dont remember what, doh.) and it still works and finds randoms.

But when it finds the random, SCAR crashes. Here is the debug:

Spotted a random…
[Runtime Error] : Exception: Access violation at address 00653F79 in module 'scar.exe'. Read of address 0170FFFE in line 1084 in script D:\SCAR 2.03\includes\srl\srl\core\AntiRandoms\AntiRandoms.scar

Any help?

Mjordan

2007-03-21 15:07:09

i'd say just redownload SCAR maybe?

Pentti

2007-03-21 15:12:26

Did you change anything in antirandoms.scar file?

From: mjordan
i'd say just redownload SCAR maybe?

that wont help! :D The error is in SRL's antirandoms file.

Secet

2007-03-21 16:21:09

Never even opened it. Only changed my own script.

Special Ed

2007-03-22 15:05:44

I think you might have moved a procedure above a procedure that uses it so it can't access it because it hasn't been compiled yet…

procedure Something;
begin
Dothis;
end;

procedure Dothis;
begin
whatever....
end;

Pentti

2007-03-22 15:15:53

From: Special Ed
I think you might have moved a procedure above a procedure that uses it so it can't access it because it hasn't been compiled yet…

procedure Something;
begin
Dothis;
end;

procedure Dothis;
begin
whatever....
end;

Nah, its not that, things like that would give "Unknow identifier 'Dothis' in script…"-error.

I think this error is something to do with texts.
Did you put SetUpSRL;? (I bet you did.)
SetUpSRL; loads chars of Upchars, and error is something to do with upcahrs, I think.

Secet

2007-03-23 09:37:30

It's weird, it started working now. I changed position of FreeDTM() and restarted SCAR and computer. Good to have it working now.

Thanks for all the help.