Results 1 to 2 of 2

Thread: Access Violation Problem

  1. #1
    Join Date
    Jun 2008
    Posts
    57
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default Access Violation Problem

    Exception: Access violation at address 006D66D1 in module 'scar.exe'. Read of address 0000001C in line 73

    'Bank': FreeDTM(BankDTM); this is line 73

    i get this error not straight away, after a couple rounds of cutting willows at draynor.

  2. #2
    Join Date
    Jun 2007
    Location
    Wednesday
    Posts
    2,446
    Mentioned
    3 Post(s)
    Quoted
    1 Post(s)

    Default

    That's most likely because you have already done FreeDTM(BankDTM) before, so it can't free it again. This is an Access Violation, because the memory where it was stored is no longer being used by Scar, so it causes an Access violation as Scar doesn't have permission to access it.
    To fix it go through your script and make sure you only free it once or add a check to see if you have already free'd it (maybe bank a global Boolean called 'BankDTMFree' and set it to true when you free it and make it skip freeing if it is True or something similar).
    By reading this signature you agree that mixster is superior to you in each and every way except the bad ways but including the really bad ways.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Access Violation
    By Macho Man67 in forum OSR Help
    Replies: 1
    Last Post: 09-16-2008, 04:09 AM
  2. 'Access violation' Problem
    By Trifonius in forum OSR Help
    Replies: 8
    Last Post: 01-05-2008, 08:28 PM
  3. More Access Violation
    By Mute in forum OSR Help
    Replies: 2
    Last Post: 11-19-2007, 08:00 PM
  4. Access Violation
    By Mute in forum OSR Help
    Replies: 5
    Last Post: 11-18-2007, 01:32 AM

Posting Permissions

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