Results 1 to 3 of 3

Thread: error

  1. #1
    Join Date
    Feb 2009
    Posts
    2,155
    Mentioned
    4 Post(s)
    Quoted
    42 Post(s)

    Default error

    he i keep getting this error

    [Runtime Error] : Exception: Access violation at address 00721BB8 in module 'scar.exe'. Read of address 00000000 in line 73 in script


    and it poens up the color.scar document and is on the dtmrotated page


    and i cant figure out y


    Code:
    Procedure treesTobank;
    var bankers:integer;
    begin
    disguise('banking')
    Bankers := DTMFromString('78DA632C666260706740015FBF32300802694' +
           '620FE0F048C20355E0C6880118904D2E540353E44A8F14055F1EF' +
           '9F20AA1A905D6E04D41462BA19AB1A4F02EEA900AAF126420D9A3' +
           '977EF32A0A80100852514A9');
        if DTMRotated(Bankers, x, y, MMX1, MMY1, MMX2, MMY2) then
        Mouse(X-5+random(3),Y+5+random(3), 0, 0, True);
        Flag;
        freedtm(bankers);
        if not DTMRotated(Bankers, x, y, MMX1, MMY1, MMX2, MMY2) then
        begin
          radialwalk(4079171,0,45,70,1,1);
          flag;
        end;
    end;

  2. #2
    Join Date
    Feb 2009
    Location
    Philipines
    Posts
    600
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Try if this works
    SCAR Code:
    Procedure WalkToBank;

    var
    bankers : Integer;

    begin
      Disguise('banking')
       Bankers := DTMFromString('78DA63AC636260F0664001E909090CFF81342' +
        '310FF0702C62CA01A4F881C0B54CD9F3F4C609A11CA672C22528D' +
        '2B116A6CF1AB0100517A11CC');
      if FindDTM(Bankers, x, y, MMX1, MMY1, MMX2, MMY2) then
      begin
        Mouse(x, y , 0, 0, True);
        FFlag(4);
      end else
      begin
        Radialwalk(4079171,0,45,70,1,1);
        FFlag(4);
      end;
     FreeDTM(Bankers);
    end;

  3. #3
    Join Date
    Jan 2008
    Location
    California, US
    Posts
    2,765
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    The above will work. You again have random() in the finddtm function. Delete that and just put x, y.

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
  •