Results 1 to 5 of 5

Thread: hmm says always results true

  1. #1
    Join Date
    May 2007
    Location
    baltimore, md
    Posts
    836
    Mentioned
    0 Post(s)
    Quoted
    8 Post(s)

    Default hmm says always results true

    SCAR Code:
    Function Findandpickpocket(x, y, Color1, color2, color3: integer; name1: string): boolean;
    var i,v,b: integer;
    var man,q,r: integer;
    begin
      man:= Createbitmapmaskfromtext(name1,upchars);
      q:= createbitmapmaskfromtext('You pick the',smallchars);
      r:= createbitmapmaskfromtext('What do you think',upchars);
      i:=0;
      repeat
        i:=i+1;
        if findcolortolerance(x,y,color1,1,1,700,700,2) or
           findcolortolerance(x,y,color2,1,1,700,700,2) or
           findcolortolerance(x,y,color3,1,1,700,700,2) then
        begin
          Mouse(x,y,0,0,false);
          if findpopup(name1) or
          (findbitmapmasktolerance(man,v,b,0,0,516,39,5,50)) then
          begin
            typesend(' ');
            Popup('ickpock');
            wait(1000+random(1000));
          end;
          if (GetlastChatTextblack ('You pick the woman')=true)
          or Findbitmapmasktolerance(q,v,b,0,0,700,700,4,50) then
          begin
            findrandoms;
            result:=true;
            DisguiseScar('successful');
            wait(2000+random(1000));
            DisguiseScar('Trying again');
            successfulPickpockets:=successfulPickpockets+1;
            disguisescar(inttostr(successfulpickpockets));
            typesend(' ');
          end else;
          if GetlastChatTextblack ('stunned')=true
          or GetlastChatTextblack('reach that')=true
    190      or Findbitmapmasktolerance(r,v,b,0,0,700,700,5,60) then
    191      begin
            findrandoms;
            Result:=false;
            UnsuccessfulPickpockets:= UnsuccessfulPickpockets+1;
          end;
        end;
      until(successfulpickpockets=times) or (i>=10);
    end;

    Line 190: [Warning] (14592:1): Calculation always evaluates to True in script C:\Program Files\SCAR 3.06\Scripts\theiving.scar
    Line 191: [Warning] (14593:1): Calculation always evaluates to True in script C:\Program Files\SCAR 3.06\Scripts\theiving.scar

    also it doesnt stop when successfulpickpockets=times

  2. #2
    Join Date
    Nov 2006
    Location
    In an Amish Paradise
    Posts
    729
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    SCAR Code:
    if GetlastChatTextblack ('stunned')
          or GetlastChatTextblack('reach that')then
    Results := True

    There you go, now it should work

    ~Stupedspam

  3. #3
    Join Date
    May 2007
    Location
    baltimore, md
    Posts
    836
    Mentioned
    0 Post(s)
    Quoted
    8 Post(s)

    Default

    no because that has to result false.. its an auto thiever so if it finds that your stunned or you cant reach its an unsucessful attempt

  4. #4
    Join Date
    Nov 2006
    Location
    In an Amish Paradise
    Posts
    729
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Ahh, Sorry I'm not a member and never have been... So just change it to False...

  5. #5
    Join Date
    May 2007
    Location
    baltimore, md
    Posts
    836
    Mentioned
    0 Post(s)
    Quoted
    8 Post(s)

    Default

    it already is false... i really need some type of help i had this script working then i added multiplayer and some other failseafes and it stopped working so somebody please

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. results are here
    By Main in forum News and General
    Replies: 8
    Last Post: 02-20-2009, 03:32 AM
  2. SRL SC #2 Results!
    By Starblaster100 in forum General Competitions
    Replies: 62
    Last Post: 10-30-2007, 06:32 AM

Posting Permissions

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