Page 1 of 4 123 ... LastLast
Results 1 to 25 of 87

Thread: Ape Atoll Agility Course Runner

  1. #1
    Join Date
    Dec 2006
    Location
    Latvia
    Posts
    97
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default Ape Atoll Agility Course Runner

    Ape Atoll Agility Course Runner


    Newest version: 0.4 [25-03-2011]


    Can you tell me in short what is this script about?
    This script runs in circles at Ape Atoll agility course.

    Can you be more specific?
    This script uses Reflection and Colour Finding to find obstacles and solve them..
    It does some stupid things that humans usually do when training agility (Anti-Ban things) (Version 0.3 only)
    It eats food (any food) when Your HP is red. (Version 0.2 only)
    It keeps your inventory almost full with pineapple rings from pineapple plant near the course. (Version 0.2 only)

    What do I need to do to get it running?
    Fill in lines with numbers 19. - 22. They are pretty self explanatory.
    As for settings, set Manual settings to MIN and that would be all..

    Any other info?
    Currently I need all possible reports on all errors and mistakes. As my agility level is over 75 I don't fail this course any more, so I'm not sure if recovering from failing obstacles actually work.

    Version 0.2 has pineapple picking and slicing (you have to have knife in the first inventory spot).

    Version 0.4 doesn't eat or pick-up pineapples, but it solves obstacles faster and better, also it has some nice other features...

    Here is one of my reports:
    Progress Report:
    === APE ATOLL AGILITY COURSE =======
     Experience gained: 225,240
     XP/H             : 38,275
     Time running     : 5 Hours, 53 Minutes and 5 Seconds
    ====================================
     written by enoyhss
    Last edited by enoyhs; 03-25-2011 at 07:56 AM.

  2. #2
    Join Date
    Aug 2010
    Posts
    351
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Thank you!

    I am lvl 75 Agility but I still do fail it rarely.

    I'll give you a long proggy

  3. #3
    Join Date
    Dec 2006
    Location
    Latvia
    Posts
    97
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    @wondersueak OK. Hoping to see that report.

    Here is mine (Short one, lost one that run for 2.5 hours).
    Progress Report:
    Status: /~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\
    Status: |     SRL Randoms Report       |
    Status: |       www.villavu.com        |
    Status: |~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
    Status: \~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~/
    
    === APE ATOLL AGILITY COURSE =======
     Experience gained: 42,620
     XP/H             : 36,301
     Time running     : 1 Hours, 10 Minutes and 26 Seconds
    ====================================
     written by enoyhs

  4. #4
    Join Date
    Aug 2010
    Posts
    351
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default



    Bug:

    It picks the pineapple, but doesn't slice it. The mouse hovers over it even after the plant grows back. The script becomes unresponsive after it picks the pineapple.

    Great job though it is very nice.

    It seems to have a little trouble finding the monkey bars. Maybe reduce the wait time between obstacles? It wouldn't be too bot-like. I usually try and click as fast as i can when I'm playing legit. (click the next obstacle as fast as I can not spam-click :P)

    Pretty flawless for just being written.

    Edit: With 75 agility if the wait times were reduced you would get up to 42k xp/h without lag. 40k xp/h with a little lag.
    Last edited by wondersueak; 02-26-2011 at 09:48 PM.

  5. #5
    Join Date
    Dec 2006
    Location
    Latvia
    Posts
    97
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by wondersueak View Post


    Bug:

    It picks the pineapple, but doesn't slice it. The mouse hovers over it even after the plant grows back. The script becomes unresponsive after it picks the pineapple.

    Great job though it is very nice.

    It seems to have a little trouble finding the monkey bars. Maybe reduce the wait time between obstacles? It wouldn't be too bot-like. I usually try and click as fast as i can when I'm playing legit. (click the next obstacle as fast as I can not spam-click :P)

    Pretty flawless for just being written.

    Edit: With 75 agility if the wait times were reduced you would get up to 42k xp/h without lag. 40k xp/h with a little lag.
    I'm not sure about that pineapple bug. It shouldn't freeze, because all wait cycles are terminated after a while (1 minute before).

    Updated the script now it uses few more fail-safes and I also lowered wait times. Though now it miss-clicks more often..

    About monkeybars: Yes, I know there are problems with clicking on right spot. The problem is with the colours, because everything at that spot has very similar colours and it is hard to find the correct one. I added DTM searching for monkeybars as a back up plan.

    New version (v0.2) is uploaded in the first post. I'm still looking for every bug and any other ideas.
    I will leave script to run for awhile and update this post with progress report after an hour.

  6. #6
    Join Date
    Aug 2010
    Posts
    351
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    MUCH BETTER!

    The mis-clicks kind of act as its own antiban and they aren't drastic. They make the script appear more human.

    It still doesn't cut the pineapple, but it picks it and doesn't wait forever next to the plant.

    It seems to pick a pineapple after every run. It only needs to do this at the start of the script and whenever the health gets red. Otherwise you will have an inventory full of uncut pineapples. If the script cut the pineapples right after it picked it then it wouldn't be a problem. But if it doesn't cut them, you just have an inventory full of uncut pineapples with no room to cut them.

    Much much better. This script is amazing .

  7. #7
    Join Date
    Dec 2006
    Location
    Latvia
    Posts
    97
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Hmm.. I'm not sure why it doesn't cut the pineapple. Do you have setting to MIN?
    It cuts for me, maybe someone else can check where the problem is?

    By the way, fruit picking works like this: Every time you get down the rope (when you can see pineapple on main screen) and you have less than 20 items in inventory it will pick up a pineapple and cut it.

  8. #8
    Join Date
    Aug 2010
    Posts
    351
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Yeah, I have everything on min settings.

    What slot did you have your knife in? I have mine in the first slot.

    For the sake of a progress report (since 77 i haven't been failing), I deleted that procedure and it works flawlessly. I'll submit a progress report.

  9. #9
    Join Date
    Dec 2006
    Location
    Latvia
    Posts
    97
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Yes, I have it in first spot.

    Can you replace PickPineapple function with this:
    Simba Code:
    function PickPineapple: Boolean;
    var
      MS: TPoint;
      PineappleDTM, PineappleRingDTM: Integer;
      ICount: Integer;
    begin
      Result := False;
      if InvCount > 20 then
        Exit;

      WriteLn('Getting ready to pick up pineapple');

      ICount := InvCount;

      MS := TileToMS(Tile(2775, 2749), 0);
      Result := FindColorSpiralTolerance(MS.X, MS.Y, 2003166,
                                         MS.X - 50, MS.Y - 50,
                                         MS.X + 50, MS.Y + 50,
                                         20);

      WriteLn('Trying to find pineapple color: ' + BoolToStr(Result));
      if not Result then
        Exit;

      MMouse(MS.X, MS.Y, 3, 3);
      if not WaitUptext('Pick', 100) then
      begin
        Result := False;
        WriteLn('Looking for uptext: ' + BoolToStr(Result));
        Exit;
      end;
      WriteLn('Looking for uptext: ' + BoolToStr(True));

      // Picking up pineapple
      Mouse(MS.X, MS.Y, 3, 3, True);
      FailTimer := GetSystemTime;
      while (ICount = InvCount) and (FailTimer + 10000 > GetSystemTime) do
        Wait(100);
      Result := not (FailTimer + 1000 > GetSystemTime);
      WriteLn('Trying to pick up pineapple: ' + BoolToStr(Result));
      if not Result then
        Exit;


      // Finding picked up pineapple in inventory
      PineappleDTM := DTMFromString('mQwAAAHicY2ZgYKhkYmCoAeISIGZgZGD4AaS+AfGSbHEG3hh+MEYGjEgYCAD3CQV7');
      Result := ExistsItemDTM(PineappleDTM, MS.X, MS.Y);
      FreeDTM(PineappleDTM);
      WriteLn('Trying to pineapple in inventory: ' + BoolToStr(Result));
      if not Result then
        Exit;

      // Clicking on knife
      InvMouse(1, 1);
      FailTimer := GetSystemTime;
      while (not ItemActivated(1)) and (FailTimer + 2000 > GetSystemTime) do
        Wait(100);
      Result := ItemActivated(1);
      WriteLn('Clicking on the knife: ' + BoolToStr(Result));
      if not Result then
        Exit;

      // Clicking on pineapple
      //Mouse(MS.X, MS.Y, 3, 3, True);
      WriteLn('Using knife on pineapple in inventory: ' + BoolToStr(Mouse(MS.X, MS.Y, 3, 3, True)));

      // Clicking to slice the pineapple
      PineappleRingDTM := DTMFromString('mLgAAAHicY2JgYDgGxGeAeA8jA8N2IN45WYphUaM4AwwwQjEDAwCr6AWs');
      FailTimer := GetSystemTime;
      while (not FindDTM(PineappleRingDTM, MS.X, MS.Y, MCX1, MCY1, MCX2, MCY2)) and (FailTimer + 2000 > GetSystemTime) do
        Wait(100);
      Result := FindDTM(PineappleRingDTM, MS.X, MS.Y, MCX1, MCY1, MCX2, MCY2);
      WriteLn('Choosing the option to slice pineapple: ' + BoolToStr(Result));
      FreeDTM(PineappleRingDTM);
      if not Result then
        Exit;
      Mouse(MS.X, MS.Y, 3, 3, True);

    end;

    And just run this function near the pineapple and then post how far it gets.

  10. #10
    Join Date
    Aug 2010
    Posts
    351
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Status: /~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\
    Status: | SRL Randoms Report |
    Status: | www.villavu.com |
    Status: |~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
    Status: \~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~/

    === APE ATOLL AGILITY COURSE =======
    Experience gained: 12,760
    XP/H : 37,758
    Time running : 20 Minutes and 16 Seconds
    ====================================

    Without the fuction ^^

    [Error] (393:96): Type mismatch at line 392
    Compiling failed.

    with the function ^^

  11. #11
    Join Date
    Dec 2006
    Location
    Latvia
    Posts
    97
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Yeah, sorry.. Didn't compile it.

    Replace this:
    SCAR Code:
    // Clicking on pineapple
      //Mouse(MS.X, MS.Y, 3, 3, True);
      WriteLn('Using knife on pineapple in inventory: ' + BoolToStr(Mouse(MS.X, MS.Y, 3, 3, True)));

    With this:
    SCAR Code:
    // Clicking on pineapple
      Mouse(MS.X, MS.Y, 3, 3, True);
      //WriteLn('Using knife on pineapple in inventory: ' + BoolToStr(Mouse(MS.X, MS.Y, 3, 3, True)));

  12. #12
    Join Date
    Aug 2010
    Posts
    351
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Hmm... Still won't cut the pineapple for me. Besides that it is flawless.

    I'll try and figure it out.

  13. #13
    Join Date
    Dec 2006
    Location
    Latvia
    Posts
    97
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    OK. So I let it run for a while. Had to pause script few times to fix few things (I think 3 - 4 times). It still has hard time with monkeybars...

    Progress Report:
    Status: /~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\
    Status: |     SRL Randoms Report       |
    Status: |       www.villavu.com        |
    Status: |~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
    Status: \~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~/
    
    === APE ATOLL AGILITY COURSE =======
     Experience gained: 200,300
     XP/H             : 38,461
     Time running     : 5 Hours, 12 Minutes and 28 Seconds
    ====================================
     written by enoyhs

  14. #14
    Join Date
    Aug 2010
    Posts
    351
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Nice proggy.

    I don't know, maybe one of my plugins is corrupt again. (Once my iroki plugin completely corrupted itself and I had to delete it and re-install simba)

    I'll try re-installing everything and see where that gets me.

    Nope it still doesn't cut the pineapples... let me watch the debug box.

    Simba Code:
    Warning! You passed a wrong ys to a finder function: -51. That is below 0, thus out of bounds. Setting the value to 0 for now.

    It said that after the 2nd lap after the zip line.

    and in the black debug box it says this over and over again every second of the whole time the script is running:

    Simba Code:
    Field not found: Lc
    Last edited by wondersueak; 02-27-2011 at 07:59 PM.

  15. #15
    Join Date
    Oct 2009
    Location
    Edgeville, RS
    Posts
    39
    Mentioned
    0 Post(s)
    Quoted
    3 Post(s)

    Default

    Status: /~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\
    Status: | SRL Randoms Report |
    Status: | www.villavu.com |
    Status: |~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
    Status: \~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~/

    === APE ATOLL AGILITY COURSE =======
    Experience gained: 27,120
    XP/H : 32,378
    Time running : 50 Minutes and 15 Seconds
    ====================================
    great running script only had to stop it and move my person a few times to get back it line with the script
    ~~RAM ROCKS~~

  16. #16
    Join Date
    Dec 2006
    Location
    Latvia
    Posts
    97
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    @wondersueak Did you try to run the script with updated PickPineapple function?

    Simba Code:
    function PickPineapple: Boolean;
    var
      MS: TPoint;
      PineappleDTM, PineappleRingDTM: Integer;
      ICount: Integer;
    begin
      Result := False;
      if InvCount > 20 then
        Exit;

      WriteLn('Getting ready to pick up pineapple');

      ICount := InvCount;

      MS := TileToMS(Tile(2775, 2749), 0);
      Result := FindColorSpiralTolerance(MS.X, MS.Y, 2003166,
                                         MS.X - 50, MS.Y - 50,
                                         MS.X + 50, MS.Y + 50,
                                         20);

      WriteLn('Trying to find pineapple color: ' + BoolToStr(Result));
      if not Result then
        Exit;

      MMouse(MS.X, MS.Y, 3, 3);
      if not WaitUptext('Pick', 100) then
      begin
        Result := False;
        WriteLn('Looking for uptext: ' + BoolToStr(Result));
        Exit;
      end;
      WriteLn('Looking for uptext: ' + BoolToStr(True));

      // Picking up pineapple
      Mouse(MS.X, MS.Y, 3, 3, True);
      FailTimer := GetSystemTime;
      while (ICount = InvCount) and (FailTimer + 10000 > GetSystemTime) do
        Wait(100);
      Result := not (FailTimer + 1000 > GetSystemTime);
      WriteLn('Trying to pick up pineapple: ' + BoolToStr(Result));
      if not Result then
        Exit;


      // Finding picked up pineapple in inventory
      PineappleDTM := DTMFromString('mQwAAAHicY2ZgYKhkYmCoAeISIGZgZGD4AaS+AfGSbHEG3hh+MEYGjEgYCAD3CQV7');
      Result := ExistsItemDTM(PineappleDTM, MS.X, MS.Y);
      FreeDTM(PineappleDTM);
      WriteLn('Trying to pineapple in inventory: ' + BoolToStr(Result));
      if not Result then
        Exit;

      // Clicking on knife
      InvMouse(1, 1);
      FailTimer := GetSystemTime;
      while (not ItemActivated(1)) and (FailTimer + 2000 > GetSystemTime) do
        Wait(100);
      Result := ItemActivated(1);
      WriteLn('Clicking on the knife: ' + BoolToStr(Result));
      if not Result then
        Exit;

      // Clicking on pineapple
      WriteLn('Trying to use knife on pineapple in inventory');
      Mouse(MS.X, MS.Y, 3, 3, True);

      // Clicking to slice the pineapple
      PineappleRingDTM := DTMFromString('mLgAAAHicY2JgYDgGxGeAeA8jA8N2IN45WYphUaM4AwwwQjEDAwCr6AWs');
      FailTimer := GetSystemTime;
      while (not FindDTM(PineappleRingDTM, MS.X, MS.Y, MCX1, MCY1, MCX2, MCY2)) and (FailTimer + 2000 > GetSystemTime) do
        Wait(100);
      Result := FindDTM(PineappleRingDTM, MS.X, MS.Y, MCX1, MCY1, MCX2, MCY2);
      WriteLn('Choosing the option to slice pineapple: ' + BoolToStr(Result));
      FreeDTM(PineappleRingDTM);
      if not Result then
        Exit;
      Mouse(MS.X, MS.Y, 3, 3, True);

    end;

    And about
    Simba Code:
    Field not found: Lc
    , I'm not sure if it is my code's fault.. But I will take a look.


    @CodaRulz Thanks for the report! At what obstacles did it get stuck / lost? I'm aware that it sometimes has problems with monkeybars and skull slope. Or was it after failed obstacles, if it was I would be very grateful for more information.

  17. #17
    Join Date
    Aug 2010
    Posts
    351
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Yeah, I ran it with the new pickpineapple function.

  18. #18
    Join Date
    Dec 2006
    Location
    Latvia
    Posts
    97
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    And what was the output at the pineapple plant? Did it output anything else besides that warning?

  19. #19
    Join Date
    Feb 2007
    Location
    Colorado, USA
    Posts
    3,716
    Mentioned
    51 Post(s)
    Quoted
    624 Post(s)

    Default

    I'll test it out.. I got to do like 2 quests to get the quest to get to this place so I read -.- lazy man

    is that pineapple bug still there? (I was reading earlier in the thread)
    The only true authority stems from knowledge, not from position.

    You can contact me via matrix protocol: @grats:grats.win or you can email me at the same domain, any user/email address.

  20. #20
    Join Date
    Oct 2009
    Location
    Edgeville, RS
    Posts
    39
    Mentioned
    0 Post(s)
    Quoted
    3 Post(s)

    Default

    when you fail at the rope (will just keep moving from side to side on the little island) or the monkybars (my guy ran almost to the jail before i seen it)
    ~~RAM ROCKS~~

  21. #21
    Join Date
    Aug 2010
    Posts
    351
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    None that I can see. And that warning only happened once. It didn't say anything in the debug box either. It just acted as if it wasn't supposed to slice it.

    Here's a screenshot. It just picks it and continues on with the course. After every run a pineapple is picked until the max number of pineapples are picked.

    Last edited by wondersueak; 03-01-2011 at 03:07 AM.

  22. #22
    Join Date
    Feb 2011
    Location
    The Future.
    Posts
    5,600
    Mentioned
    396 Post(s)
    Quoted
    1598 Post(s)

    Default

    Im using it... right now only 73 agility.. I gotta say it seems flawless except that when I failed steppign stones, it ran to the other side of the island and back adn then tried to find tropical tree.. it clicks that.. then tries to find monkey bars.. but the character is still stuck at stepping stones :S

    I had to pause it, click stepping stones and the tree and then unpause it and the script found monkey bars on its own..

    edit: fell in the water, it did stepping stones this time, tropical tree and monkey bars.. then it said trying to find stepping stones.. next obstacle: stepping stones.. when it should be the rock stairs :S

    One more thing at monkey bars.. it tries to find the vertical bars which confuses it and it fails to find the bars.. instead i think if u can change it to find the horizontal long bar then itll be far more successful as the horizontal bar does not blend in with the vertical bars on the floor..

    Edit 2:
    I use my own dtm from scar.. which seems to be working more often and faster.. it works in simba I guess cuz I havent gotten very many errors and my character finds monkey bars quite a bit more often..

    Finds it 97-99% of the time [and 1-3% misclick it]:

    '78DA63FCC4C8C06003C44000211918B202F41' +
    '9D8A1FCFF40C0C8CA84A1A635C51AAE062CCE0F54638BAA66 6AA1' +
    '13AA9A9B8C84CD798650C30C159B94E788A20600C0E00DE9'

    Most accurate so far [finds 99-100% of the time but 10% misclicks..]:

    '78DA63FCC1C8C06001C440002119183AD36D1' +
    '9D8A1FCFF40C028C60457C384450D58EF034C73BA33ED50D5 BC07' +
    'B2C451CD995AE884AAE62D90658EAA6642AE03033F921A004 A8D0' +
    'F16'

    Edit 3:
    Status: /~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\
    Status: | SRL Randoms Report |
    Status: | www.villavu.com |
    Status: |~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
    Status: \~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~/

    === APE ATOLL AGILITY COURSE =======
    Experience gained: 206,400
    XP/H : 36,131
    Time running : 5 Hours, 42 Minutes and 44 Seconds
    ====================================
    written by enoyhs
    Last edited by Brandon; 03-03-2011 at 07:26 AM.

  23. #23
    Join Date
    Apr 2009
    Location
    California!
    Posts
    280
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Just what I needed! Will test now!
    ~Penguin
    Semi-active
    http://i44.tinypic.com/33vk9aq.jpg
    SELL AUTOED GOODS AT MID-MAX! DON'T LET PRICES FALL AND GIVE US LESS PROFIT. (Put this in your sig)

  24. #24
    Join Date
    Mar 2009
    Location
    Norway
    Posts
    493
    Mentioned
    0 Post(s)
    Quoted
    4 Post(s)

    Default

    Progress Report:
    Next obstacle: Stepping stone
    Next obstacle: Tropical tree
    Next obstacle: Monkeybars
    Fell down: Monkeybars
    Next obstacle: Stepping stone
    Uptext not found: Stepping stone
    Next obstacle: Stepping stone
    Failed to solve obstacle for 20 seconds: Stepping stone
    Next obstacle: Stepping stone
    Next obstacle: Tropical tree
    Next obstacle: Monkeybars
    Did not find Monkeybars by color, trying to find with DTM
    Did not succeed with finding DTM
    Next obstacle: Stepping stone
    Uptext not found: Stepping stone
    Next obstacle: Stepping stone
    Uptext not found: Stepping stone
    Next obstacle: Stepping stone
    Uptext not found: Stepping stone
    Next obstacle: Stepping stone
    Uptext not found: Stepping stone
    Next obstacle: Stepping stone
    Uptext not found: Stepping stone
    Next obstacle: Stepping stone
    Uptext not found: Stepping stone
    Next obstacle: Stepping stone
    Uptext not found: Stepping stone
    Next obstacle: Stepping stone
    Uptext not found: Stepping stone
    Next obstacle: Stepping stone


    Seems after it reset when it failed to find the monkeybars, but I was in fact up with the monkeybars.

  25. #25
    Join Date
    Mar 2007
    Posts
    378
    Mentioned
    0 Post(s)
    Quoted
    8 Post(s)

    Default

    Has a lot of problems with the rope. Somehow, after stones, it could not find the rope.

Page 1 of 4 123 ... LastLast

Thread Information

Users Browsing this Thread

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

Tags for this Thread

Posting Permissions

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