SRL Archive - S.M.A.R.T. General and Q/A.

Runtime Error -.-


[-jesus-]

2007-11-18 19:32:18

SRL Compiled in 359 msec
[Runtime Error] : Exception: Access violation at address 02D710AB in module 'Embedded SMART.dll'. Read of address 000006DC in line 38 in script C:\Program Files\SCAR 3.12c\includes\SRL/SRL/Misc/Smart.scar

I followed the tut exactly as it said, have SCAR 3.12c, latest java & everything…:(

& Line 38:
function GetColor(x, y: Integer): Integer;
begin
result:= SmartGetColor(x, y);//Line 38
end;

Special Ed

2007-11-18 19:35:15

Get SCAR 3.13 maybe? I don't know for sure but I'd try that.

[-jesus-]

2007-11-18 19:48:43

I just downloaded Scar3.13, added it all & still get
SRL Compiled in 358 msec
[Runtime Error] : Exception: Access violation at address 02A310AB in module 'Embedded SMART.dll'. Read of address 000006DC in line 38 in script C:\Program Files\SCAR 3.13\includes\SRL/SRL/Misc\Smart.scar

Cheesehunk

2007-11-18 19:48:59

Did you include SMART before SRL?

[-jesus-]

2007-11-18 19:50:12

From: Cheesehunk
Did you include SMART before SRL?


Yes.
program JesusRuneMysteriesQuestRunner;
{.include SRL/SRL/Misc\Smart.scar}
{.include SRL/SRL.scar}

RAM

2007-11-18 19:55:20

SMART Plugin is installed in Plugins folder ?

[-jesus-]

2007-11-18 19:58:00

From: RAM
SMART Plugin is installed in Plugins folder ?


Yes. I also tried deleting it a min ago so I could extract it again, but it said I need permission… & I'm comp admin also.

The Claw

2007-11-18 20:01:34

When does this error come up?

Cheesehunk

2007-11-18 20:03:09

Tried exiting all SCAR's then re-opening so the plugin can compile?

[-jesus-]

2007-11-18 20:04:40

same thing happened

[-jesus-]

2007-11-18 20:20:46

Nvm. I fixed it… Harry Had to send me another Text file, the one in Dark Sniper's post on Pwnazors tut wasnt logging me in or somthin…

Markus

2007-11-19 15:51:53

ALWAYS call smartsetup and then SetTargetDC(SmartGetDC); BEFORE any smart function, or else it'll crash.

n3ss3s

2007-11-21 12:22:23

I'm having the same one, but yesterday I could've do the smart opening, stop the script and then do SetTargetDC… etc? =/

EDIT: Works again, the thing is that you've gotta do SmartSetup and SetTarget… in the same run.