Results 1 to 2 of 2

Thread: Can someone see whats wrong?

  1. #1
    Join Date
    Jul 2008
    Location
    Far Off Pot Fields, Nowhere
    Posts
    66
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default Can someone see whats wrong?

    [Runtime Error] : Exception: Access violation at address 006D45FD in module 'scar.exe'. Read of address 00000030 in line 160 in script C:\Documents and Settings\Owner\Desktop\ScAr\Vial Buyer.scar

    Help?

    procedure BuyVials;
    var
    Vial : Integer;
    begin
    Vial := BitmapFromString(33, 35, 'beNrtVltvEkEYnUWELWJ' +
    'CDPJs+mR8aNCkMcYLs7gV2kBZENptU+zMAsIGKbctUkSyIWjV qA/G' +
    'H+zZTqX4oOHSPpgwOSHLZc6Z73yXgZDlWq4Zl3SGK1z02ZOYG k0lt' +
    'y6RE4T0lp+GgjGVblCa0zQtmoiqdEEr8ns7u9l0LpOieqbI8q 8Lhw' +
    'AeGNXxOUKA7iL8xqt9AJzVcqFWKdXflPEAQCKva0JCVSLzsdf Mksl' +
    '568i0GlWg06q1DBNvzRIHP3T1dBahzScBQlCBs2vxfrc96B3j tWvV' +
    'K0UnBEQE/sMDPZPVMqnEWa5nLaqmTCzbTWwPsW0yHJwQq2w1cPKCW' +
    'eQiBbAIClGqzFe0Q9fJ19Php9FgZL8j3eNep+lYdGTCN8YVPX njIO' +
    '3nOX9p7yZ0YdocUdikLfhx/l7rgh8Wbas+4OWmTwiRbhvfQiWxFZt' +
    'JwtVrCn6koNsoIC+oonhkxYFb/kNFI/3fKrMWqt1/C2A7DcvPH5/j' +
    'XCWycqGiyLARZQAoTvdNaxdjPIoWdhPi86yHvdJ9MlahE0KIi BJZ2' +
    '/Q1GrzTKhESDN0OTj3WqjgVOjp8zxO+43m67hUYC01GBIhMrcqu 6S' +
    'UCLscobERbQeVh2Ps3FfrA4RedshrwTW9UMHANRYt0Yy+RXZA Yq0y' +
    'ahiyjU/Ab9CBC9l0ns0hIP79/Rt066aaqCGQyFhQYnESlFdkG2hz8' +
    '+7vZORrQtqWR7SKMVxg3jHSRJY3tOKPUapiGwVmRow0pje9o8 ZyDF' +
    '/PNWKd07Z5oENHjcMaZjSUO8zGdGFOQiwUuPgluyB7ycfhe9Agk WI' +
    'XDfJBjhsOfxW/VH99OA0QSF4SYrqoSwqy43GsUh/zywcY8cYaJVad' +
    'rd6/6z8ByLde/l/Jo7b+P4RdywhvG');
    if(FindBitmap(x, y, Vial))then <<<<<<<<<<<<<<<<<<<LINE 160
    begin
    Mouse(x, y, 1, 1, false);
    if(ChooseOption('X'))then
    begin
    Wait(1000);
    TypeSend('27');
    end;
    freebitmap(Vial);
    end;
    end;

  2. #2
    Join Date
    Sep 2007
    Location
    Michigan
    Posts
    3,862
    Mentioned
    2 Post(s)
    Quoted
    1 Post(s)

    Default

    Please delete ur other two threads and use scar tags. Also point out exactly which line is 160.

    Also load the Vial bitmap in the main loop and free when the script ends. This will save CPU and time. For the bitmap itself I'd use a smaller portion of the vial, like a 4x10 - just a good portion of the bitmap inside the vials outlines.
    (Scripts outdated until I update for new SRL changes)
    AK Smelter & Crafter [SRL-Stats] - Fast Fighter [TUT] [SRL-Stats]
    If you PM me with a stupid question or one listed in FAQ I will NOT respond. -Narcle
    Summer = me busy, won't be around much.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [PHP] whats wrong with this.
    By XcanadamanX in forum General
    Replies: 14
    Last Post: 01-21-2008, 11:40 PM
  2. Whats Wrong???
    By bilbobaggins in forum OSR Help
    Replies: 12
    Last Post: 04-10-2007, 10:05 AM
  3. Replies: 8
    Last Post: 03-23-2007, 04:20 PM
  4. Can someone tell me whats wrong with this?
    By Hey321 in forum OSR Help
    Replies: 5
    Last Post: 12-17-2006, 09:49 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
  •