Page 2 of 13 FirstFirst 123412 ... LastLast
Results 26 to 50 of 301

Thread: P07_AgilityGnomeBeta

  1. #26
    Join Date
    Feb 2013
    Posts
    11
    Mentioned
    0 Post(s)
    Quoted
    5 Post(s)

    Default

    Your walktolog procedure doesnt work, but you can basically replace it with

    procedure WalktoLog;
    begin
    P07_MakeCameraAngleLow;
    P07_MakeCompassWest;
    end;
    As well as changing the log colour to 6440, this puts it at an angle where it can see the log from where you exit the pipe. You also have to remove the
    P07_MakeCameraAngleHigh;
    P07_MakeCompassSouth;
    from the log script
    Last edited by adamater; 02-28-2013 at 03:38 AM.

  2. #27
    Join Date
    Feb 2013
    Posts
    27
    Mentioned
    0 Post(s)
    Quoted
    8 Post(s)

    Default

    I gave up I made the script work, but there are many misclicks due to the colors. Thank you anyways. I wish i could develop on it.

  3. #28
    Join Date
    Jun 2012
    Posts
    2
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    This keeps getting stuck at the pipe.

  4. #29
    Join Date
    Feb 2013
    Posts
    11
    Mentioned
    0 Post(s)
    Quoted
    5 Post(s)

    Default

    test.simba

    This is the best I could do, you can make the failsafe work by making the bitmap a picture of the chatbox when it says you failed, with your name in it. It still misclicks but it usually recorrects itself. you also have to restart every couple hours because runescape will slightly change your angle over time, and restarting is the only way to fix it.

  5. #30
    Join Date
    Feb 2013
    Posts
    27
    Mentioned
    0 Post(s)
    Quoted
    8 Post(s)

    Default

    Quote Originally Posted by adamater View Post
    test.simba

    This is the best I could do, you can make the failsafe work by making the bitmap a picture of the chatbox when it says you failed, with your name in it. It still misclicks but it usually recorrects itself. you also have to restart every couple hours because runescape will slightly change your angle over time, and restarting is the only way to fix it.
    did you leave the correct colors? or do i need to change them because my issue was the colors

  6. #31
    Join Date
    Jan 2012
    Posts
    468
    Mentioned
    3 Post(s)
    Quoted
    200 Post(s)

    Default

    Okay guys I did something for the pipe and the DTM Walk Hopefully it will fixthe failsafe thing! umm! Sorry as I said it was beta just to see whats good! Hopefully it works better!

    Fuck guys I died might take a while for me to get back to agility area!
    Last edited by BigRedJapan; 02-28-2013 at 07:46 AM.

  7. #32
    Join Date
    Feb 2013
    Posts
    27
    Mentioned
    0 Post(s)
    Quoted
    8 Post(s)

    Default

    Quote Originally Posted by Rules of Joe View Post
    Okay guys I did something for the pipe and the DTM Walk Hopefully it will fixthe failsafe thing! umm! Sorry as I said it was beta just to see whats good! Hopefully it works better!

    Fuck guys I died might take a while for me to get back to agility area!
    thank for the script.
    Also, if you see adamaters script he fixed the "Back to log".

    The only thing that is driving me crazy is the ROPE color it keeps missclicking the color! i tried like 10 different numbers but all missclick. 4416898 was good until the second loop and then failed.... ugh rules of joe please provide the color you are using for rope.

  8. #33
    Join Date
    May 2012
    Posts
    8
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    I can't get the darn thing to click on anything.. mouse moves but no clicks. Any hints would be nice.

  9. #34
    Join Date
    Jan 2012
    Posts
    468
    Mentioned
    3 Post(s)
    Quoted
    200 Post(s)

    Default

    Apple My rope Color is
    Code:
    6194595
    drag the target onto the client and press play again make sure u click on the client when u press play!

  10. #35
    Join Date
    Feb 2013
    Posts
    27
    Mentioned
    0 Post(s)
    Quoted
    8 Post(s)

    Default

    Quote Originally Posted by Rules of Joe View Post
    Apple My rope Color is
    Code:
    6194595
    drag the target onto the client and press play again make sure u click on the client when u press play!
    Thanks Rules for the color and instructions.
    ill test beta2 in a while.

  11. #36
    Join Date
    Jan 2012
    Posts
    468
    Mentioned
    3 Post(s)
    Quoted
    200 Post(s)

    Default

    Um Do you guys think i should left click instead of right?

  12. #37
    Join Date
    Aug 2006
    Posts
    33
    Mentioned
    1 Post(s)
    Quoted
    10 Post(s)

    Default

    It worked great up until the rope then it got stuck, did a loop without actually doing anything ingame then just stood there saying 'Found DTM' until i stopped it, i'll try changing the colour you posted

  13. #38
    Join Date
    Feb 2013
    Posts
    27
    Mentioned
    0 Post(s)
    Quoted
    8 Post(s)

    Default

    does brightness change the color codes?


    That stubborn rope...
    Last edited by applekid4; 02-28-2013 at 08:29 AM.

  14. #39
    Join Date
    Jan 2012
    Posts
    468
    Mentioned
    3 Post(s)
    Quoted
    200 Post(s)

    Default

    So i added a new code that allows it to search for 2 rope colors

    Code:
    procedure Rope;
    begin
      P07_MakeCameraAngleHigh;
      ropecol := 6063267 Writeln('Walk Rope');
        if P07_FindObjCustom(x, y, ['Walk', 'lk-on'], [ropecol, 5799581], 5) then
        begin
          wait(1000);
          ClickMouse2(mouse_right);
          wait(randomrange(100, 200));
          P07_ChooseOptionMulti(['lk-on', 'cing rop']);
          wait(randomrange(600, 1000));
        end;
      end;
    You guys can add as much colors after ropecol,

  15. #40
    Join Date
    May 2012
    Posts
    8
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Thanks for telling me to drag the target. =)... its working now, but gets stuck at the end after crawling through pipe... keeps repeating Found DTM after camera movement.

  16. #41
    Join Date
    Jan 2012
    Posts
    468
    Mentioned
    3 Post(s)
    Quoted
    200 Post(s)

    Default

    use beta 2.2

  17. #42
    Join Date
    Aug 2006
    Posts
    33
    Mentioned
    1 Post(s)
    Quoted
    10 Post(s)

    Default

    Quote Originally Posted by Rules of Joe View Post
    So i added a new code that allows it to search for 2 rope colors

    Code:
    procedure Rope;
    begin
      P07_MakeCameraAngleHigh;
      ropecol := 6063267 Writeln('Walk Rope');
        if P07_FindObjCustom(x, y, ['Walk', 'lk-on'], [ropecol, 5799581], 5) then
        begin
          wait(1000);
          ClickMouse2(mouse_right);
          wait(randomrange(100, 200));
          P07_ChooseOptionMulti(['lk-on', 'cing rop']);
          wait(randomrange(600, 1000));
        end;
      end;
    You guys can add as much colors after ropecol,

    That made it work straight away, good job

    next problem is, when it leaves the pipe it will just say 'Found DTM ' as apocalypse posted also

  18. #43
    Join Date
    Jan 2012
    Posts
    468
    Mentioned
    3 Post(s)
    Quoted
    200 Post(s)

    Default

    Are you using my Beta2.2?

  19. #44
    Join Date
    Feb 2013
    Posts
    27
    Mentioned
    0 Post(s)
    Quoted
    8 Post(s)

    Default

    Quote Originally Posted by ste View Post
    That made it work straight away, good job

    next problem is, when it leaves the pipe it will just say 'Found DTM ' as apocalypse posted also
    do we need a certain brightness for the color codes? sorry for the question

  20. #45
    Join Date
    May 2012
    Posts
    8
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Yes I'm using version 2.2, it never walks to the log.. sometimes it loops again through all cycles, but always stands by pipe.. it'll move camera angle to but goes nowhere after crawling through the pipe.

  21. #46
    Join Date
    Aug 2006
    Posts
    33
    Mentioned
    1 Post(s)
    Quoted
    10 Post(s)

    Default

    Quote Originally Posted by Rules of Joe View Post
    Are you using my Beta2.2?

    Yeah, works great up until after the pipe now, it gets through, says Found DTM then just stands after the pipe and goes through a cycle without doing anything ingame

  22. #47
    Join Date
    May 2012
    Posts
    8
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    By the way, your work is very much appreciated.. I'm just trying to give positive feedback

  23. #48
    Join Date
    Jan 2012
    Posts
    468
    Mentioned
    3 Post(s)
    Quoted
    200 Post(s)

    Default

    okay try out the left click version!

    Code:
    program AgilityP07Test;
    {$I SRL/SRL.Simba}
    {$I P07Include.Simba}
    
    //Made By Rules
    
    var
    x, y, logcol, netcol, treecol, ropecol, branchcol, climbcol, pipecol:integer;
    
    Procedure P07_DeclarePlayer;
    begin
      P07_PlayerName := '';
      P07_PlayerPass := '';
    end;
    
    procedure Log;
    begin
      P07_MakeCompassNorth;
      P07_MakeCameraAngleHigh;
      logcol := 538974 Writeln('Walking Log');
        if P07_FindObjCustom(x, y, ['Walk', 'lk-acr', 'Log', 'og bal'], [logcol, 540007, 534854], 3) then
        begin
          ClickMouse2(mouse_left);
          wait(randomrange(100, 200));
        end;
      end;
    
    procedure Net;
    begin
      P07_MakeCameraAngleHigh;
      P07_MakeCompassSouth;
      netcol := 132102 Writeln('climbing net');
        if P07_FindObjCustom(x, y, ['Climb', 'mb-ove', 'Obstacle'], [netcol], 5) then
        begin
          ClickMouse2(mouse_left);
          wait(randomrange(100, 200));
        end;
      end;
    
    procedure Tree;
    begin
      P07_MakeCameraAngleLow;
      P07_MakeCompassEast;
      treecol := 1525855 Writeln('climbing branch');
        if P07_FindObj(x, y, 'Climb', treecol, 5) then
        begin
          ClickMouse2(mouse_left);
          wait(randomrange(100, 200));
        end;
      end;
    
    procedure Rope;
    begin
      P07_MakeCameraAngleHigh;
      ropecol := 6063267 Writeln('Walk Rope');
        if P07_FindObjCustom(x, y, ['Walk', 'lk-on'], [ropecol, 5799581], 5) then
        begin
          wait(1000);
          ClickMouse2(mouse_left);
          wait(randomrange(100, 200));
        end;
      end;
    
    
    procedure Branch;
    begin
      P07_MakeCameraAngleHigh;
      branchcol := 4354956 Writeln('Climb Branch');
        if P07_FindObj(x, y, 'Climb', branchcol, 5) then
        begin
          ClickMouse2(mouse_left);
          wait(randomrange(100, 200));
        end;
      end;
    
    procedure Climb;
    begin
      climbcol := 935537 Writeln('Climb net');
        if P07_FindObj(x, y, 'Climb', climbcol, 5) then
        begin
          ClickMouse2(mouse_left);
          wait(randomrange(100, 200));
        end;
      end;
    
     procedure Pipe;
    begin
      P07_MakeCameraAngleHigh;
      pipecol := 7697790 Writeln('Squeeze Pipe');
        if P07_FindObj(x, y, 'Squeeze', pipecol, 5) then
        begin
          ClickMouse2(mouse_right);
          wait(randomrange(100, 200));
          P07_ChooseOptionMulti(['eze-thro']);
          wait(randomrange(600, 1000));
        end;
      end;
    
    Procedure PipeD;
    var
      DTM_pipe: integer;
    begin
      P07_MakeCameraAngleHigh;
      DTM_pipe := DTMFromString('m1gAAAHic42JgYOAHYmkglgNiBSCWBWI+BghgBGIWIBYAYmEgZgJiHqh6JSiWAWJBqDoQqMjPY4iPiGCwMjNjKMvNYSjKzGSoKiwE45iwMLBYTmoqAytQrRERmJFIjAAAlI8PFw==');
      ClickDTMRotatedIn(DTM_pipe, MSX1, MSY1, MSX2, MSY2, - Pi, Pi, Pi / 30, [], mouse_Left);
      WriteLn('Found Pipe');
      Wait(2500);
      while (isMoving) do
        wait(500);
      FreeDTM(DTM_pipe);
    end;
    
    
    
    
    procedure WalktoLog;
    var
      DTM_log: integer;
    begin
      DTM_log := DTMFromString('mrAAAAHic42BgYGADYl4o5gRiJgYIANHsQMwKxCxAzAXEfEDMAxWHqWNhZMSLCQFGAhgGAFHUAKs=');
      Wait(2000);
      ClickDTMRotatedIn(DTM_log, MMX1, MMY1, MMX2, MMY2, - Pi, Pi, Pi / 30, [], mouse_Left);
      WriteLn('Found DTM');
      Wait(2500);
      while (isMoving) do
        wait(500);
      P07_MakeCompassSouth;
      FreeDTM(DTM_log);
    end;
    
    begin
      P07_DeclarePlayer;
      SetupP07Include;
      //ActivateClient;
      Repeat
      Log;
        Wait(3000);
      Net;
        Wait(3000);
      Tree;
        Wait(3000);
      P07_MakeCompassEast;
      Rope;
        Wait(5000);
      Branch;
        P07_MakeCompassNorth;
        Wait(3000);
      P07_MakeCameraAngleLow;
      Climb;
        Wait(3000);
      P07_MakeCameraAngleHigh;
      Repeat
      //Pipe;
      PipeD;
      P07_MakeCameraAngleHigh;
      Wait(4000);
      Until(FindColorTolerance(X, Y, 1980742, 94, 88, 405, 212, 3));
      WalktoLog;
      Wait(2000);
      Until(False);
    end.
    This is left click! For the first log we need to find angle and compass view for it to click the beginning so im working on that atm! the pipe works fine for me for 6 runs none stop! and Rope!

  24. #49
    Join Date
    Jan 2012
    Posts
    468
    Mentioned
    3 Post(s)
    Quoted
    200 Post(s)

    Default

    For Log

    Tweek this part only!

    Code:
    procedure Log;
    begin
      P07_MakeCompassNorth;//'this is the compass you can move around (North,South,West,East)'
      P07_MakeCameraAngleHigh;//'This can be made (High or Low)'
      logcol := 538974 Writeln('Walking Log');
        if P07_FindObjCustom(x, y, ['Walk', 'lk-acr', 'Log', 'og bal'], [logcol, 540007, 534854], 3) then
        begin
          ClickMouse2(mouse_left);
          wait(randomrange(100, 200));
        end;
      end;
    Sorry I cant work on it I am going to Sleep! Tomorrow is a new day! Good Luck Guys! <3

  25. #50
    Join Date
    Feb 2013
    Posts
    12
    Mentioned
    0 Post(s)
    Quoted
    2 Post(s)

    Default

    Here's the colors for full brightness:

    Log: 539231
    Net: 132102
    Tree: 1197405
    Rope* 4745345
    Branch: 1923958
    Climb: 869487
    Pipe: 6842736

Page 2 of 13 FirstFirst 123412 ... LastLast

Thread Information

Users Browsing this Thread

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

Posting Permissions

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