SRL Archive - RS3 Help

Access violation


Sin

2014-07-08 21:26:47

Exception in Script: Runtime error: "Access violation" at line 360, column 41 in file "C:\Simba\Includes\SRL-6\lib\utilities\drawing.simba"

Trying to load

smartimage.drawBitmap('C:\Simba\Scripts\new\paint.png', T);

Ian

2014-07-08 21:41:21

What's line 360?

KeepBotting

2014-07-09 07:59:06

Are you sure you don't have the file open in an image editor or other program? Is it in a directory you have access to?

Turpinator

2014-07-09 10:32:06

(fixed this on irc, he just never updated his thread it seems. Missing enableSmartDebug := true; or whatever)

that is if he ever tested it…

Sin

2014-07-09 10:37:18

From: Turpinator
(fixed this on irc, he just never updated his thread it seems. Missing enableSmartDebug := true; or whatever)

that is if he ever tested it…


I tested it, i'm still getting an access violation.

smartEnableDrawing := true wasn't it?

Turpinator

2014-07-09 13:06:43

From: Sin
I tested it, i'm still getting an access violation.

smartEnableDrawing := true wasn't it?


smartEnableDrawing := true; before setupSRL;