Log in

View Full Version : Hey, problem with SMART!



Sandstorm
10-17-2008, 01:39 AM
Don't tell me the c+p "Blablabla smart is down blablabla wait for Ben to fix it blablabla".

I'm trying to get a script to work, WITHOUT scar, but it's giving me this error:

[Runtime Error] : Exception: Access violation at address 032F138A in module 'Embedded_SMART.dll'. Read of address 0000087C in line 48 in script C:\Program Files\SCAR 3.15\includes\srl/srl/misc/smart.scar

Any ideas? >.<.

function GetColor(x, y: Integer): Integer;
begin
result:= SmartGetColor(x, y);
end;

Bolded is line 48.

Method
10-17-2008, 02:14 AM
Don't include SMART if you don't want to use it. :p

Sandstorm
10-17-2008, 02:31 AM
Wow, I totally forgot to remove the include line - thanks!

ridwan23
10-17-2008, 04:43 AM
wow, that was a brainbuster:p

Still though, if we remove the include line, some parts of the script have something to do with SMART, so an error would still come, right?

TViYH
10-17-2008, 05:31 AM
Ridwan, if you removed the include then you would obviously have to remove the functions you use in your script that are in the include.