Results 1 to 15 of 15

Thread: Skipping RW

  1. #1
    Join Date
    Jan 2007
    Location
    Not here
    Posts
    1,604
    Mentioned
    2 Post(s)
    Quoted
    19 Post(s)

    Default Skipping RW

    Ok in my script for some reason it's skipping steps I put in and I'm not joking....that's what it's doing or acting like it's doing. plz suggestions as to what's wrong. With the find quest or shop symbol, it finds them and then it doesn't repeat the next step it only does it once. then it skips all the radialwalks straight after that and tries to click on the quest symbol for some reason. I mean that's not even in my script anywhere!

    SCAR Code:
    procedure MineToBank;
    var
    xx,yy: Integer;
    begin
      if not (LoggedIn) then Exit;
      if (invfull) then
        activateclient;
      wait(3000 + random(300));
      makecompass('N');
      HighestAngle;
      Setrun(false);
      gametab(4);
      Roadcolor := FindRoadColor;
      wait(500 + random(200));
      if not (FindMMColor(x, y, RoadColor)) then RoadColor := FindRoadColor;
      RadialRoadWalk(RoadColor, 64, 76, 67, -1, 0);
      RadialRoadWalk(RoadColor, 337, 377, 58, -1, 0);
      wait(3000);
      repeat
      RadialRoadWalk(RoadColor, 337, 377, 58, -1, 0);
      until FindSymbol(x, y, 'Quest') or FindSymbol(xx, yy,'Clothes Shop')
      MarkTime(Timer);
      begin
      if FindSymbol(x, y, 'Quest') or FindSymbol(xx, yy,'Clothes Shop')then
      repeat
        RadialRoadWalk(RoadColor, 332, 370, 35, -1, 0);
        fflag(0)
      until not (FindSymbol(x, y, 'Quest')) or (FindSymbol(xx, yy,'Clothes Shop'))or(TimeFromMark(Timer)>(38000))
      if(TimeFromMark(Timer)>(48000)) then
      begin
        Logout;
        Exit;
      end;
      if not (LoggedIn) then Exit;
        RadialRoadWalk(RoadColor, 332, 370, 39, -1, 0);
        MakeCompass('W')
        RadialRoadWalk(RoadColor, 405, 336, 58, -1, 0);
        RadialRoadWalk(RoadColor, 405, 336, 35, -1, 0);
        Exit;
     end;
    end;
    Sleeping...

  2. #2
    Join Date
    Dec 2006
    Posts
    2,244
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    is it in ur main loop??

  3. #3
    Join Date
    Jan 2007
    Location
    Not here
    Posts
    1,604
    Mentioned
    2 Post(s)
    Quoted
    19 Post(s)

    Default

    rofl yes im not that stupid. Ok here's what it does
    it does the first to RW then it walks up to the symbols and then it just goes crazy and skips basically everything
    Sleeping...

  4. #4
    Join Date
    Dec 2006
    Posts
    2,244
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    i dunno then lol

  5. #5
    Join Date
    Dec 2006
    Location
    Sweden
    Posts
    10,812
    Mentioned
    3 Post(s)
    Quoted
    16 Post(s)

    Default

    Maybe there is some dot or person covering the road color...


    Send SMS messages using Simba
    Please do not send me a PM asking for help; I will not be able to help you! Post in a relevant thread or make your own! And always remember to search first!

  6. #6
    Join Date
    Jan 2007
    Location
    Not here
    Posts
    1,604
    Mentioned
    2 Post(s)
    Quoted
    19 Post(s)

    Default

    Nope I've watched the symbols a million times and they've been clear every time. It's just skipping procedures and it's realy really pissing me off. So much so that I think I will abandon this script and make a totally different one
    Sleeping...

  7. #7
    Join Date
    Sep 2006
    Posts
    6,089
    Mentioned
    77 Post(s)
    Quoted
    43 Post(s)

    Default

    Did the RoadColor changed? Try to update the color after each walk:

    Like if not FindMMColor(x, y, RoadColor) then FindRoadColor;
    Hup Holland Hup!

  8. #8
    Join Date
    Jan 2007
    Location
    Not here
    Posts
    1,604
    Mentioned
    2 Post(s)
    Quoted
    19 Post(s)

    Default

    Nope not working either........Deleting whole walking procedure and starting again......waste of 3 hours of my life. Yes I spent 3 hours trying to find what was wrong with that
    Sleeping...

  9. #9
    Join Date
    Sep 2006
    Posts
    6,089
    Mentioned
    77 Post(s)
    Quoted
    43 Post(s)

    Default

    Maybe it's this:

    SCAR Code:
    if FindSymbol(x, y, 'Quest') or FindSymbol(xx, yy,'Clothes Shop')then
      repeat
        RadialRoadWalk(RoadColor, 332, 370, 35, -1, 0);
        fflag(0)
      until not (FindSymbol(x, y, 'Quest')) or (FindSymbol(xx, yy,'Clothes Shop'))or(TimeFromMark(Timer)>(38000))
     //Does this have to be 38000? Try make it longer? And isn't it (FindSymbol(x, y, 'Quest')) AND (FindSymbol(xx, yy,'Clothes Shop'))
      if(TimeFromMark(Timer)>(48000)) then

    Are you also sure your radials are good?
    Hup Holland Hup!

  10. #10
    Join Date
    Jan 2007
    Location
    Not here
    Posts
    1,604
    Mentioned
    2 Post(s)
    Quoted
    19 Post(s)

    Default

    Yes I took out that timer thing forgot to update it and I always meant to change that to AND but i forgot every time lol but I'm up to that bit now so I will see how it goes. I'll post update in a min. Wish me luck *crosses fingers*
    Sleeping...

  11. #11
    Join Date
    Jan 2007
    Location
    Not here
    Posts
    1,604
    Mentioned
    2 Post(s)
    Quoted
    19 Post(s)

    Default

    UPDATE: well it walked up to the symbols and started walking until it didn't find them but it just kept walking and didn't stop even tho the symbols clearly weren't there....soz for double post but wanted it to appear as unread thread

    EDIT: Fixed....I had it as until not (Findsymbol(x,y,'quest')) And (Findsymbol(x,y,'Clothes Shop'))
    which would walk until it didn't find quest symbol but also until it FOUND the clothes shop. forgot to do

    (Findsymbol(x,y,'quest')) And not(Findsymbol(x,y,'Clothes Shop'))

    thx niel for reminding me to do and
    Sleeping...

  12. #12
    Join Date
    Sep 2006
    Posts
    6,089
    Mentioned
    77 Post(s)
    Quoted
    43 Post(s)

    Default

    hm. Maybe try something like not(FindSymbol..) and not(FindSymbol..)
    Not really sure about that though.. And are you sure it didn't break out, because your next procedures are also walking procedures..

    If the above doesn't work, you can try something like

    SCAR Code:
    Repeat
     i := i +1;
     RadialWalk(..);
    until FindSymbol(..) or i > 3
    Hup Holland Hup!

  13. #13
    Join Date
    Jan 2007
    Location
    Not here
    Posts
    1,604
    Mentioned
    2 Post(s)
    Quoted
    19 Post(s)

    Default

    oh dw I fixed it. In my edit I said I had
    until not (Findsymbol(x,y,'quest')) And (Findsymbol(x,y,'Clothes Shop'))
    which would walk until it didn't find quest symbol but also until it FOUND the clothes shop. forgot to do

    (Findsymbol(x,y,'quest')) And not(Findsymbol(x,y,'Clothes Shop'))

    So now it works perfectly.
    and what do u mean by not(FindSymbol..) and not(FindSymbol..)
    what's the dif?
    Sleeping...

  14. #14
    Join Date
    Sep 2006
    Posts
    6,089
    Mentioned
    77 Post(s)
    Quoted
    43 Post(s)

    Default

    I ment exactly what you said

    btw. Did you test the new Tut Runner?
    Hup Holland Hup!

  15. #15
    Join Date
    Jan 2007
    Location
    Not here
    Posts
    1,604
    Mentioned
    2 Post(s)
    Quoted
    19 Post(s)

    Default

    o lol and I was just about to ask u for the new Tut Runner.....so no because I havn't got it lol
    Sleeping...

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Problem With Skipping Procedures
    By Blumblebee in forum OSR Help
    Replies: 2
    Last Post: 08-31-2008, 08:06 PM
  2. function skipping
    By TheSantaMan in forum OSR Help
    Replies: 5
    Last Post: 09-08-2007, 07:28 PM
  3. keeps skipping steps
    By del_signo in forum OSR Help
    Replies: 2
    Last Post: 03-05-2007, 01:55 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
  •