Results 1 to 6 of 6

Thread: Access violation

  1. #1
    Join Date
    Dec 2011
    Location
    Toronto, Ontario
    Posts
    6,424
    Mentioned
    84 Post(s)
    Quoted
    863 Post(s)

    Default Access violation

    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

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

  2. #2
    Join Date
    Jun 2012
    Posts
    4,867
    Mentioned
    74 Post(s)
    Quoted
    1663 Post(s)

    Default

    What's line 360?

  3. #3
    Join Date
    Dec 2011
    Location
    East Coast, USA
    Posts
    4,231
    Mentioned
    112 Post(s)
    Quoted
    1869 Post(s)

    Default

    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?
    GitLab projects | Simba 1.4 | Find me on IRC or Discord | ScapeRune scripts | Come play bot ScapeRune!

    <BenLand100> we're just in the transitional phase where society reclassifies guns as Badâ„¢ before everyone gets laser pistols

  4. #4
    Join Date
    Jan 2012
    Posts
    1,596
    Mentioned
    78 Post(s)
    Quoted
    826 Post(s)

    Default

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

    that is if he ever tested it...

  5. #5
    Join Date
    Dec 2011
    Location
    Toronto, Ontario
    Posts
    6,424
    Mentioned
    84 Post(s)
    Quoted
    863 Post(s)

    Default

    Quote Originally Posted by Turpinator View Post
    (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?

  6. #6
    Join Date
    Jan 2012
    Posts
    1,596
    Mentioned
    78 Post(s)
    Quoted
    826 Post(s)

    Default

    Quote Originally Posted by Sin View Post
    I tested it, i'm still getting an access violation.

    smartEnableDrawing := true wasn't it?
    smartEnableDrawing := true; before setupSRL;

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •