Results 1 to 9 of 9

Thread: Walking...

  1. #1
    Join Date
    Sep 2007
    Location
    Pennsylvania
    Posts
    3,396
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default Walking...

    NEW PROBLEM, look at my last post

  2. #2
    Join Date
    Dec 2007
    Location
    192.168.1.73
    Posts
    2,439
    Mentioned
    6 Post(s)
    Quoted
    119 Post(s)

    Default

    1: I would use DDTMs

    2: Yes, just use your own DTMs/BMPs and set the coords so it only finds the northern most one.

    3: Yes, but make them at least 5 to make them random.

  3. #3
    Join Date
    Feb 2007
    Location
    Het ademt zwaar en moedeloos vannacht.
    Posts
    7,211
    Mentioned
    26 Post(s)
    Quoted
    72 Post(s)

    Default

    1. DDTMs, use ladder+rocks
    2. FindAllSymbolsIn, then sort them
    3. If you use high enough randomness I believe it isn't
    I made a new script, check it out!.

  4. #4
    Join Date
    Apr 2007
    Location
    The Netherlands
    Posts
    5,553
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    HAHA THAT IS THE Funny thing coords are not more banable lol!
    if a dtm is found then it also will be stored as coords so where you all complaining about, the point is you must not let it click on the same coord on the mm that is a ban but a randomness works

    btw you could use that brown yellow color where you are walking on, and make it search from right to left for the to north click and for the west click a easy static or dynamic dtm

    Hermpie
    ~Hermen

  5. #5
    Join Date
    Sep 2007
    Location
    Pennsylvania
    Posts
    3,396
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Having another problem (instead of making a new thread I'll post here).

    I have a DDTM...

    SCAR Code:
    procedure LoadCenterDDTM;
    var
      CenterMP: TDTMPointDef;
      CenterSP: array[0..2] of TDTMPointDef;
      CenterDDTMskel: TDTM;
      CenterTol, CenterArea: Integer;
    begin

      CenterTol:=30;
      CenterArea:=1;

      CenterMP.x := 585;
      CenterMP.y := 122;
      CenterMP.areasize := 1;
      CenterMP.areashape := 0;
      CenterMP.color := 2252936;
      CenterMP.tolerance := CenterTol;

      CenterSP[0].x := 579;
      CenterSP[0].y := 137;
      CenterSP[0].areasize := CenterArea;
      CenterSP[0].areashape := 0;
      CenterSP[0].color := 5193797;
      CenterSP[0].tolerance := CenterTol;

      CenterSP[1].x := 572;
      CenterSP[1].y := 110;
      CenterSP[1].areasize := CenterArea;
      CenterSP[1].areashape := 0;
      CenterSP[1].color := 5193797;
      CenterSP[1].tolerance := CenterTol;

      CenterSP[2].x := 604;
      CenterSP[2].y := 121;
      CenterSP[2].areasize := CenterArea;
      CenterSP[2].areashape := 0;
      CenterSP[2].color := 15262962;
      CenterSP[2].tolerance := CenterTol;
     

     
      CenterDDTMSkel.MainPoint:=CenterMP;
      CenterDDTMSkel.SubPoints:=CenterSP;
      CenterDDTM:=AddDTM(CenterDDTMSkel);
     
    end;

    Here's my procedure...

    SCAR Code:
    procedure SouthernCoal;
    var looked,tried, rx,ry: integer;
    begin

      looked:=0;
      repeat
        if  DTMrotated(CenterDDTM, x,y,x1,y1,x2,y2) then
          begin
            mouse(x,y,2,2,true);
            break;
          end
        else
          begin
            Centertol:=Centertol+3;
            Centerarea:=Centerarea+1;
            looked:=looked+1;
            if (looked=6) then
              begin
                Writeln('Could not find the mining spot');
                Disguise('Waiting for Next Player');
                NextPlayer(false);
                Disguise('DwarfMiner - Running');
              end;
          end;
      until (looked=6);
      repeat
      if FindSymbolIn(rx, ry,'mining spot', 578, 87, 631, 120) then
        begin
          mouse(x,y,2,2,true);
          break;
        end;
      wait(1000);
      tried:=tried+1;
      until (tried=25);
      Writeln('We''''re at the mine!');
    end;

    I've tried 4 different DDTMs. Non worked. Any idea on what I could be doing wrong?

    EDIT: I'm trying to get to the southern red box


  6. #6
    Join Date
    Apr 2007
    Location
    The Netherlands
    Posts
    5,553
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    i think you are searching with the wrong name try this, CenterDDTMSkel
    ~Hermen

  7. #7
    Join Date
    Mar 2007
    Posts
    4,810
    Mentioned
    3 Post(s)
    Quoted
    3 Post(s)

    Default

    Umm try.
    SCAR Code:
    If FindColorSpiral(x,y,FindRockColor,co-ord here) then
    Maybe

  8. #8
    Join Date
    Sep 2007
    Location
    Pennsylvania
    Posts
    3,396
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by NaumanAkhlaQ View Post
    Umm try.
    SCAR Code:
    If FindColorSpiral(x,y,FindRockColor,co-ord here) then
    Maybe
    Tyvm! It works I'll keep the DDTM in there as a failsafe...

    Quote Originally Posted by Hermpie View Post
    i think you are searching with the wrong name try this, CenterDDTMSkel
    The

    SCAR Code:
    CenterDDTM:=AddDTM(CenterDDTMSkel);

    Makes the DDTM called CenterDDTM

  9. #9
    Join Date
    Mar 2007
    Posts
    4,810
    Mentioned
    3 Post(s)
    Quoted
    3 Post(s)

    Default

    Ok Glad I could help.
    Oh and i like rep.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. walking help?
    By Rubix in forum OSR Help
    Replies: 0
    Last Post: 07-15-2008, 02:35 AM
  2. Walking
    By imskate182 in forum OSR Help
    Replies: 4
    Last Post: 12-20-2007, 05:18 AM
  3. Map walking
    By boberman in forum OSR Help
    Replies: 1
    Last Post: 12-06-2007, 12:48 AM
  4. help with walking
    By Jake_453 in forum OSR Help
    Replies: 7
    Last Post: 05-15-2007, 12:49 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
  •