Results 1 to 3 of 3

Thread: what am i doing wrong ?:P

  1. #1
    Join Date
    Jul 2007
    Posts
    238
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default what am i doing wrong ?:P

    im getting this error

    SCAR Code:
    Variable Expected in script


    SCAR Code:
    var
    x,y,bank: integer;
    begin
      bank := BitmapFromString(12, 23, 'beNpjYKAF+PdP+N8/PvwK/vxh' +
           '+vqV4e5dnGqACoDo7VuGM2fwmMQINAGsgBGvixgJKRiMYMgF48iKV' +
           'gAW3T9u');
      if (FindBitmapin(MMX1, MMY1, MMX2, MMY2,bank)) then
      begin
        Mouse(x1, y1, 1, 1, True);
        flag;
        wait(1000 + random(100));
    end;
    FreeBitmap(bank);
    ....

  2. #2
    Join Date
    Dec 2006
    Location
    .̿̂̔͋͗̎̆ͥ̍̒ͤ͂̾̌̀̅
    Posts
    3,012
    Mentioned
    1 Post(s)
    Quoted
    3 Post(s)

    Default

    Your parameters were in wrong order...


    This should work.

    SCAR Code:
    begin
      bank := BitmapFromString(12, 23, 'beNpjYKAF+PdP+N8/PvwK/vxh' +
           '+vqV4e5dnGqACoDo7VuGM2fwmMQINAGsgBGvixgJKRiMYMgF48iKV' +
           'gAW3T9u');
      if (FindBitmapin(Bank, x, y, MMX1, MMY1, MMX2, MMY2)) then
      begin
        Mouse(x, y, 1, 1, True);
        flag;
        wait(1000 + random(100));
    end;
    FreeBitmap(bank);

  3. #3
    Join Date
    Jul 2007
    Posts
    238
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    ty
    ....

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. what am i doing wrong
    By zman_santa in forum OSR Help
    Replies: 3
    Last Post: 04-01-2008, 03:42 PM
  2. What am i doing wrong?
    By One Leeter in forum OSR Help
    Replies: 7
    Last Post: 06-15-2007, 10:33 PM
  3. Replies: 8
    Last Post: 03-23-2007, 04:20 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
  •