Results 1 to 6 of 6

Thread: Walking Problem

  1. #1
    Join Date
    Oct 2006
    Location
    United States
    Posts
    672
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Walking Problem

    I've been on and off this project but really want to finish it but I've reached a problem I cannot fix. My walking to the trees/bank procedures aren't working and I am 99% sure I am doing everything right. Walking to the trees has 3 different walking procedures, one including symbol clicking, and when the symbol is clear and visible, it still cannot find it? I get a weird error too which is another problem, someone help?

    Code:
    Walking To Trees Using AutoColorThis
    Couldnt Use AutoColorThis...Using WaterWalk
    Couldnt Use WaterWalk...Using Symbol
    ** Warning in GetSymbolColorIn: fish is not a valid name.**

  2. #2
    Join Date
    Nov 2008
    Posts
    27
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    why not use like radialwalk(findwatercolor, 260, 350, 40, 5, 5) instead of waterwalk, and why not make a ddtm instead of a bitmap? Why not make a ddtm of the rocks in the water by the trees?

  3. #3
    Join Date
    Oct 2006
    Location
    United States
    Posts
    672
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by Viral View Post
    why not use like radialwalk(findwatercolor, 260, 350, 40, 5, 5) instead of waterwalk, and why not make a ddtm instead of a bitmap? Why not make a ddtm of the rocks in the water by the trees?
    i just thought it would be better to use just waterwalk because I already have another radialwalk, and sometimes you cannot see the ddtms of the rocks.

    Edit: I did your idea and it walks to the trees now, but I think something is messed up with my scar or something, because no mapwalking will work, like hers my new procedure for walking to the bank...and it doesnt work and I cannot figure out why.

    SCAR Code:
    procedure WalkToBank;
    begin
      if(not(LoggedIn))then Exit;
      if invfull then
      begin
        MakeCompass('w');
        FindColorTolerance(x, y, BanksymbolCol, MMX1, MMY1, MMX2, MMY2, 35);
        WriteLn('Using AutoColor...');
        begin
          Wait(600+random(120));
          Mouse(x, y, 3, 3, True);
        end;
        if not FindColorTolerance(x, y, BanksymbolCol, MMX1, MMY1, MMX2, MMY2, 35) then
        begin
          WriteLn('Couldnt Use AutoColor...Using DTM''S');
          BankDTM := DTMFromString('78DA63FCC3C4C07093010CB82014C31FA0182' +
           'B906604E2FF40C0F81DA8E616030A00A96180AA01D33F80FC0B04' +
           'D4B0316398F3F52B038A1A0042671243');
          if (FindDTMRotated(BankDTM, x, y, MMx1, MMy1, MMx2, MMy2, -80, 180, (1/360)*Pi, DTMAngle)) then
          Mouse(x, y, 3, 3, True);
          begin
            Wait(600+random(120));
            Mouse(x, y, 3, 3, True);
          end;
          if not (FindDTMRotated(BankDTM, x, y, MMx1, MMy1, MMx2, MMy2, -80, 180, (1/360)*Pi, DTMAngle)) then
          begin
            writeln('Couldnt Use DTM''s...Using Symbols');
            LoadSymbolBitmapColor('bank');
            symbolaccuracy := 4.5;
            if findsymbol(x,y,'bank') then
            WriteLn('Found Bank');
            wait(500+random(600));
            mouse(x,y,2,2,true);
            Wait(4000+random(500));
            begin
              if not findsymbol(x,y,'bank') then
              WriteLn('Couldnt Find Bank Symbol...Logging Out');
              LogOut;
              TerminateScript
            end;
          DepositLogs;
          end;
        FreeDtm(BankDTM);
       end;
     end;
    end;

  4. #4
    Join Date
    Oct 2006
    Location
    United States
    Posts
    672
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Sorry for double post but I still need help. I deleted everything and just kept symbol clicking and it still doesn't work, I don't know whats wrong?

    SCAR Code:
    Using Rune axe
    ** Warning in GetSymbolColorIn: bank is not a valid name.**
    ** Warning in GetSymbolColorIn: bank is not a valid name.**
    Couldnt Find Bank Symbol...Logging Out
    Successfully executed

  5. #5
    Join Date
    Aug 2007
    Location
    Where do you live?
    Posts
    934
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    Default

    Try something like this:
    SCAR Code:
    SymbolAccuracy:= 0.8;
      If Not (FindSymbol(x, y, 'bank')) then
        While Not (FindSymbol(x, y, 'bank')) do
          DecEx(SymbolAccuracy, 0.05); // I think that's it... DecEx(x, y) is x = x - y

    Or keep your code, jus try deleting this:
    SCAR Code:
    LoadSymbolBitmapColor('bank'); // Don't think you need this...

  6. #6
    Join Date
    Oct 2006
    Location
    United States
    Posts
    672
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by nose_smasher View Post
    Try something like this:
    Yeah I tried both of those and it still will not work, none of the walking procedures will work?
    Edit: Im going to copy a procedure from another script and see if it works or if its my srl or something.

    DoubleEdit: I got it to finally work and the script is done! gonna add some more things and see if its good enough for members

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Walking/AutoColoring problem ughh
    By Dudenow12 in forum OSR Help
    Replies: 4
    Last Post: 11-22-2007, 04:42 PM
  2. Problem Walking
    By gamer 5 in forum OSR Help
    Replies: 9
    Last Post: 10-15-2007, 03:23 AM
  3. Walking + Other problem
    By Tails111 in forum OSR Help
    Replies: 8
    Last Post: 08-23-2007, 07:39 PM
  4. Radial walking problem
    By Fearlesssss in forum OSR Help
    Replies: 4
    Last Post: 06-10-2007, 06:45 PM
  5. Walking??????
    By wtf i sp4nk in forum OSR Help
    Replies: 6
    Last Post: 12-18-2006, 10:31 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
  •