Page 2 of 4 FirstFirst 1234 LastLast
Results 26 to 50 of 94

Thread: DannyRS AirRunner - Air Runes

  1. #26
    Join Date
    Dec 2012
    Posts
    191
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by DannyRS View Post
    No idea if it found it and the debug message was called, why it wouldent click on it, hmm,

    Not sure, does sound like the inner alter is having some problems though, i'll look at it!
    Thank you! The walking is flawless tho!

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

    Default

    This script is great.

    I did have a similar problem as mentioned before. It stopped running after about 30 mins. When i logged back in i was inside the alter with an empty inv.

    Dont know if that helps. I'm running again so will inform you if the error repeats itself.

  3. #28
    Join Date
    Nov 2012
    Posts
    2,351
    Mentioned
    55 Post(s)
    Quoted
    603 Post(s)

    Default

    Quote Originally Posted by mounty View Post
    This script is great.

    I did have a similar problem as mentioned before. It stopped running after about 30 mins. When i logged back in i was inside the alter with an empty inv.

    Dont know if that helps. I'm running again so will inform you if the error repeats itself.
    If its not detecting some things, if you know how, grab new dtms's and insert them,

    I'm going to update this soon and replace the dtms with ATPA's as i now understand them,

    Was the inv completely empty? No essence or runes?


    Programming is like trying keep a wall of shifting sand up, you fix one thing but somewhere else starts crumbling

  4. #29
    Join Date
    Nov 2008
    Location
    UK
    Posts
    153
    Mentioned
    1 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by DannyRS View Post
    If its not detecting some things, if you know how, grab new dtms's and insert them,

    I'm going to update this soon and replace the dtms with ATPA's as i now understand them,

    Was the inv completely empty? No essence or runes?
    Thanks for the reply.

    I understand what you mean about DTMs. I used to think they were amazing (and can be for the right script) but lately theyve been causing so many issues for me. I'm also making a move away from DTMs in my script and replacing them with ATPAs. Just cant find the time to sit down and do it currently.

    Inv was completely empty when i logged back in, so must not have withdrawn anything from the bank. Dont know if you have a failsafe to check if the essence was withdrawn before the walking starts. Maybe insert a countitem to check that there is essence in the inv before walking tot he alter?

    After looking through the code it might have got stuck in an infinite loop at 580 (where its looping until the runedtm is found). Cant remember now if i had to stop the script manually, if so then i imagine this is the cause of the bug. Perhaps add a counter and exit after so many seconds.

    Hope some of that helps fix the issue and cant wait to see this script progress.

  5. #30
    Join Date
    Nov 2012
    Posts
    2,351
    Mentioned
    55 Post(s)
    Quoted
    603 Post(s)

    Default

    Yea i'll add all new failsafes when i update it to ATPA's


    Programming is like trying keep a wall of shifting sand up, you fix one thing but somewhere else starts crumbling

  6. #31
    Join Date
    Dec 2012
    Posts
    191
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by DannyRS View Post
    Yea i'll add all new failsafes when i update it to ATPA's
    Good to see this change of approach. This script has a lot of potential for low level runecrafting. ATPA are super-beast, if you do them right, the detection will be flawless!

  7. #32
    Join Date
    Apr 2012
    Location
    Idaho
    Posts
    15
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    One thing I noticed. It doesn't stop to refill run mode. it also has a hard time finding the bank booth for some reason. It'll be in the bank, sit for like 20-30 seconds and then finally click the bank booth. It ran for an hour last night and did 1k essence though.

  8. #33
    Join Date
    Nov 2008
    Location
    UK
    Posts
    153
    Mentioned
    1 Post(s)
    Quoted
    0 Post(s)

    Default

    I tried it again today and its not managing to find the inner alter. Perhaps instead of DTM just use a TPA for the colour of the air sign on the alter (it appears to be slightly different form all the other stone colours so should work).

  9. #34
    Join Date
    Nov 2012
    Posts
    2,351
    Mentioned
    55 Post(s)
    Quoted
    603 Post(s)

    Default

    Quote Originally Posted by mounty View Post
    I tried it again today and its not managing to find the inner alter. Perhaps instead of DTM just use a TPA for the colour of the air sign on the alter (it appears to be slightly different form all the other stone colours so should work).
    Yea i'm going to get to replacing all DTM's with TPA's sometime this weekend, if you update the inner alter dtm with the editor in simba, should work for a quick fix


    Programming is like trying keep a wall of shifting sand up, you fix one thing but somewhere else starts crumbling

  10. #35
    Join Date
    Nov 2012
    Posts
    2,351
    Mentioned
    55 Post(s)
    Quoted
    603 Post(s)

    Default

    UPDATED V2.1

    Added some TPAs to replace DTM's for detection issues some people had


    Programming is like trying keep a wall of shifting sand up, you fix one thing but somewhere else starts crumbling

  11. #36
    Join Date
    Apr 2012
    Location
    Australia
    Posts
    1,252
    Mentioned
    1 Post(s)
    Quoted
    22 Post(s)

    Default

    Nice work on updating the script with TPAs
    just flicking through and noticed something

    Simba Code:
    Procedure ClickCurrent(ToDo: Boolean);
    var Y1NOBanner, Y2NOBanner: Integer;//what are these for?
    Begin
      Wait(9+Random(37));

      if ToDo = True then
        begin FastClick(True); end
      else if ToDo = False then
        begin FastClick(False); end;

      Wait(224+Random(193));
    End;

    Could be drastically shortened to:
    Simba Code:
    Procedure ClickCurrent(ToDo: Boolean);
    Begin
      Wait(9+Random(37));
      FastClick(ToDo);
      Wait(224+Random(193));
    End;

  12. #37
    Join Date
    Nov 2012
    Posts
    2,351
    Mentioned
    55 Post(s)
    Quoted
    603 Post(s)

    Default

    Quote Originally Posted by P1ng View Post
    //what are these for?
    Coppied the function above and forgot, nothing lol

    will shorten in the future, thanks for the tip


    Programming is like trying keep a wall of shifting sand up, you fix one thing but somewhere else starts crumbling

  13. #38
    Join Date
    Mar 2006
    Location
    Belgium
    Posts
    3,564
    Mentioned
    111 Post(s)
    Quoted
    1475 Post(s)

    Default

    Troubles finding the altar after few runs (found myself in barb village clicking mines)
    The rest of the script works perfectly though

    Creds to DannyRS for this wonderful sig!

  14. #39
    Join Date
    Nov 2012
    Posts
    2,351
    Mentioned
    55 Post(s)
    Quoted
    603 Post(s)

    Default

    Quote Originally Posted by Inholtz View Post
    Troubles finding the altar after few runs (found myself in barb village clicking mines)
    The rest of the script works perfectly though
    those damn alters, which ones the issue, the outer one?


    Programming is like trying keep a wall of shifting sand up, you fix one thing but somewhere else starts crumbling

  15. #40
    Join Date
    Mar 2006
    Location
    Belgium
    Posts
    3,564
    Mentioned
    111 Post(s)
    Quoted
    1475 Post(s)

    Default

    Quote Originally Posted by DannyRS View Post
    those damn alters, which ones the issue, the outer one?
    Yes the outer, cilcks the inner one perfectly.

    Creds to DannyRS for this wonderful sig!

  16. #41
    Join Date
    Nov 2012
    Posts
    2,351
    Mentioned
    55 Post(s)
    Quoted
    603 Post(s)

    Default

    Quote Originally Posted by Inholtz View Post
    Yes the outer, cilcks the inner one perfectly.
    I'll change the detection when i get a chance


    Programming is like trying keep a wall of shifting sand up, you fix one thing but somewhere else starts crumbling

  17. #42
    Join Date
    Nov 2012
    Posts
    7
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    For me, the newer version seems to have more problems than the previous one. The script cannot do one run without getting stuck somewhere. Some examples are the top right inside the air alter and a new one I found, was at the bottom of barb village clicking on clay, but not mining since it was full of essence.

  18. #43
    Join Date
    Nov 2012
    Posts
    2,351
    Mentioned
    55 Post(s)
    Quoted
    603 Post(s)

    Default

    Quote Originally Posted by grad View Post
    For me, the newer version seems to have more problems than the previous one. The script cannot do one run without getting stuck somewhere. Some examples are the top right inside the air alter and a new one I found, was at the bottom of barb village clicking on clay, but not mining since it was full of essence.
    hmm, try an older 1, when i get time I'll re-write


    Programming is like trying keep a wall of shifting sand up, you fix one thing but somewhere else starts crumbling

  19. #44
    Join Date
    Nov 2012
    Posts
    17
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Can you add the use of pouches pls...

  20. #45
    Join Date
    Nov 2012
    Posts
    2,351
    Mentioned
    55 Post(s)
    Quoted
    603 Post(s)

    Default

    Quote Originally Posted by elmostreet View Post
    Can you add the use of pouches pls...
    they degrade tho


    Programming is like trying keep a wall of shifting sand up, you fix one thing but somewhere else starts crumbling

  21. #46
    Join Date
    Dec 2011
    Location
    Toronto, Ontario
    Posts
    6,424
    Mentioned
    84 Post(s)
    Quoted
    863 Post(s)

    Default

    Simba Code:
    procedure RefreshPouches;
    begin
      MouseItem(8,0);
      WaitOption('5',4000);
      MouseBankSlot(2,1);
      MouseBankSlot(3,mouse_move);
      ClickMouse2(true);
      wait(randomrange(400,600));
      ClickMouse2(true);
      MouseBankSlot(4,1);
      CloseBank;
      GameTab(tab_Magic);
      MouseBox(692,224,698,231,1);
      if WaitColor(486,130,3911923,2,7000) then
        begin
          MouseBox(483,245,492,290,1);
          wait(RandomRange(400,900));
          MouseBox(412,112,447,159,1);
            begin
              repeat
                wait(100);
              until(FindNPCChatText('ello',Nothing));
              MouseBox(233,463,288,471,1);
              repeat
                wait(100);
              until(FindNPCChatText('break',Nothing));
              MouseBox(233,463,288,471,1);
              repeat
                wait(100);
              until(FindNPCChatText('agic',Nothing));
              MouseBox(233,463,288,471,1);
              repeat
                wait(100);
              until(FindNPCChatText('byss',Nothing));
              MouseBox(233,463,288,471,1);
              repeat
                wait(100);
              until(FindNPCChatText('needed',Nothing));
              MouseBox(233,463,288,471,1);
              repeat
                wait(100);
              until(FindNPCChatText('hat',Nothing));
              MouseBox(233,463,288,471,1);
              repeat
                wait(100);
              until(FindNPCChatText('pouches',ClickLeft));
              repeat
                wait(100);
              until(FindNPCChatText('grading',Nothing));
              MouseBox(233,463,288,471,1);
              wait(1500);
              if FindNPCChatText('leave',Nothing) then
              begin
                GameTab(tab_Inv);
                OpenBankChestEdge(SRL_BANK_CW);
                repeat
                  wait(100);
                until(BankScreen);
              end;
            end;
          end;
      end;

    Simba Code:
    procedure CheckForDecayed;
    var
      x,y,GiantDecayed,LargeDecayed:Integer;
    begin
    GiantDecayed := DTMFromString('mbQAAAHicY2VgYFjGyMAwC4gXA/E2IF4OxMJALAvETEAsCsQKQGxlZgRUzYSCWRkwASMWDAYAitoEaw==');
    LargeDecayed := DTMFromString('mlwAAAHicY2dgYPBnYmDwAmIXIA4G4mggDgNiDyAOYGRgiABiPyTaGYgdgdjMWB+omwkrZmXADRjxYCgAAFHaBRY=');

      if FindDTM(GiantDecayed,x,y,MIX1,MIY1,MIX2,MIY2) then
      begin
        writeLn('SRL Naturecrafter PRO: Found decayed pouch. [G]');
        RefreshPouches;
      end;
      if FindDTM(LargeDecayed,x,y,MIX1,MIY1,MIX2,MIY2) then
      begin
        writeLn('SRL Naturecrafter PRO: Found decayed pouch [L].');
        RefreshPouches;
      end;

    FreeDTM(GiantDecayed);
    FreeDTM(LargeDecayed);
    end;

    Tweak it.

  22. #47
    Join Date
    Nov 2012
    Posts
    17
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by DannyRS View Post
    they degrade tho
    Maybe you can add Rune pouch repair spell or teleport to the Runecrafting Guild via the Wickedhood for free repairs.

  23. #48
    Join Date
    Nov 2012
    Posts
    2,351
    Mentioned
    55 Post(s)
    Quoted
    603 Post(s)

    Default

    Quote Originally Posted by Shay View Post
    Tweak it.
    wow sweet thanks Shay,

    this script needs some updating first tho

    Quote Originally Posted by elmostreet View Post
    Maybe you can add Rune pouch repair spell or teleport to the Runecrafting Guild via the Wickedhood for free repairs.
    maybe


    Programming is like trying keep a wall of shifting sand up, you fix one thing but somewhere else starts crumbling

  24. #49
    Join Date
    Nov 2012
    Posts
    17
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    and please also try adding 'resting' at the musician when out of energy or use energy pots.

  25. #50
    Join Date
    Jul 2012
    Posts
    10
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    after crafting, its walks to the right of the altar area and just doesn't move/clicks down the hill into the forest of the altar area.

    simba log
    Inv Not Full Re-Banking
    Inv Not Full Re-Banking
    Inv Not Full Re-Banking

Page 2 of 4 FirstFirst 1234 LastLast

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 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
  •