Results 1 to 6 of 6

Thread: Cant find the Dtms...

  1. #1
    Join Date
    Aug 2007
    Location
    Hawaii
    Posts
    3,880
    Mentioned
    7 Post(s)
    Quoted
    152 Post(s)

    Default Cant find the Dtms...

    Well it keeps getting this error:[Runtime Error] : Exception: Access violation at address 0072366A in module 'scar.exe'. Read of address 00000000 in line 96 in script C:\Users\The \Desktop\KingsFireMaker.scar.

    It walks out of the bank and doesnt do the lighting procedure.

    any 1 know what could the problem be? Thanks in advance.

    its not finding the dtms.
    Faith is an oasis in the heart which will never be reached by the caravan of thinking.

  2. #2
    Join Date
    Jul 2007
    Location
    NSW, Australia
    Posts
    62
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    as the title says, it is something to do with DTM's, unfortunately, i have no idea how to fix it, sorry

  3. #3
    Join Date
    Aug 2007
    Location
    Hawaii
    Posts
    3,880
    Mentioned
    7 Post(s)
    Quoted
    152 Post(s)

    Default

    Quote Originally Posted by Exist2inspire View Post
    as the title says, it is something to do with DTM's, unfortunately, i have no idea how to fix it, sorry
    Its aight, just hope some one who knows how can help me =/
    Faith is an oasis in the heart which will never be reached by the caravan of thinking.

  4. #4
    Join Date
    Aug 2007
    Posts
    1,404
    Mentioned
    1 Post(s)
    Quoted
    0 Post(s)

    Default

    Problem found. In the setupscript-procedure, you start by setting up SRL and then declaring players (correct). Then you DeclareDTMs (correct). But on the next line you free them? So you un-declare DTMs before using them.
    Free the DTMs at the end of the script.

    That's the reason.

    -Knives

  5. #5
    Join Date
    Aug 2007
    Location
    Hawaii
    Posts
    3,880
    Mentioned
    7 Post(s)
    Quoted
    152 Post(s)

    Default

    Thanks man ill update the script now and test it.

    edit: nope the problem is still there.Procedure SetupScript;
    Begin
    ClearDebug;
    SetupSRL;
    DeclarePlayers;
    DeclareDTMs;
    ActivateClient;
    LoginPlayer;
    HighestAngle;
    MakeCompass('N');
    FreeDtms;
    end;

    setup script like that?
    Faith is an oasis in the heart which will never be reached by the caravan of thinking.

  6. #6
    Join Date
    Apr 2007
    Location
    The Netherlands
    Posts
    5,553
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    if you get that error you need to load the dtm,s(declare) or you didnt did setupsrl;
    ~Hermen

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Dtms?
    By HempLord in forum OSR Help
    Replies: 4
    Last Post: 02-24-2008, 02:35 AM
  2. DTMs
    By HarryJames in forum OSR Help
    Replies: 12
    Last Post: 03-21-2007, 09:19 PM
  3. dtms?
    By shadowblade in forum OSR Help
    Replies: 8
    Last Post: 12-06-2006, 12:03 PM

Posting Permissions

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