Results 1 to 4 of 4

Thread: WTF is wrong with this?

  1. #1
    Join Date
    Nov 2007
    Location
    Australia
    Posts
    38
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default WTF is wrong with FindNormalRandoms?

    Hey everyone I need the answer to this urgently.

    WTF is wrong with this code? After the second FindNormalRandoms is triggered by the old man giving away cash, it keeps returning true.

    In turn, it will click the pie, click the range, wait, click the pie, click the range, wait, etc. Why does FindNormalRandoms keep returning true, even though the onld man has left?

    It works fine with the other old man, sandwhich lady, etc, but on this one it stuffs up
    SCAR Code:
    procedure Cook;
    var
       c,b: Integer;
    begin
      FindNormalRandoms;
      if ClickInvBmp(UncookedBmp,70,'') then
      begin
        if FindObj(x, y, 'ange', RangeColor, 30) then
        begin
          Mouse(x,y,2,2,True);
          Flag;
          Wait(1500+random(500));
          if FindNormalRandoms then //This is the one that keeps answering true
          begin
            Cook;
            Exit;
          end;
          ClickText('oked appl',NPCchars,MCX1,MCY1,MCX2,MCY2,false);
          Wait(1500+random(100));
          if ClickOption('5',3) then
          begin
          wait(2500+random(500));
            repeat
              Talk;
              AntiBan;
              if FindNormalRandoms then
              begin
                Cook;
                Exit;
              end;
            wait(500);
            until (AllCooked);
          end;
        end;
        c:=InvCheck('cooked');
        b:=InvCheck('burnt');
        Cooked:=Cooked+c;
        ReportVars[0] := ReportVars[0] + c;
        Burnt:= Burnt+b;
        ReportVars[1] := ReportVars[1] + b;
        ProgressReport;
        repeat
          ClickInvBmp(BurntBmp,70,'mpty');
          wait(300+random(200));
        until InvCheck('burnt')=0;
        repeat
          ClickInvBmp(CookedBmp,70,'');
          Wait(300+random(200));
        until InvCheck('cooked')=0;
        repeat
          ClickInvBmp(HalfPieBmp,70,'');
          Wait(300+random(200));
        until InvCheck('halfpie')=0;
      end;
    end;

    Please can someone tell me? Thanks in advance.
    http://travo.freetzi.com/statsig.phpno click adds in sig please.

  2. #2
    Join Date
    Nov 2007
    Location
    Australia
    Posts
    38
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Sorry for double post, but i figured out that the FindNormalRandoms is for some reason returning true when there is money in the inventory. Why is this happening?
    http://travo.freetzi.com/statsig.phpno click adds in sig please.

  3. #3
    Join Date
    Mar 2007
    Posts
    478
    Mentioned
    4 Post(s)
    Quoted
    4 Post(s)

    Default

    Wierd... Doesnt do that with mine. Doesnt do that with forefeathers (have left it run for over 36 hours and nothing like that happened). Maybe you could just have it drop the money.
    Back from the dead.....

  4. #4
    Join Date
    Nov 2007
    Location
    Australia
    Posts
    38
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Yeah thats wat im trying. I got the old man repeatedly 3 times in a row and now i think i no wat it is he wont come back so i cant test it.
    http://travo.freetzi.com/statsig.phpno click adds in sig please.

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 ?:P
    By sjlou in forum OSR Help
    Replies: 2
    Last Post: 10-01-2007, 01:52 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
  •