Page 5 of 7 FirstFirst ... 34567 LastLast
Results 101 to 125 of 165

Thread: Whaevr's 4Evr Accurate Ape Atoll

  1. #101
    Join Date
    Mar 2012
    Posts
    25
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by whaevr View Post
    Post a debug of this happening! That way I can fix this problem
    Also make sure you're using the latest version.
    Just to check I'm doing it correctly, how would I obtain a debug for you? As it does throw up any errors etc. in the debug box... It literally just does nothing (Or it will run off into the shop north of the start and do nothing) until it logs out, which causes the script to terminate :/

    Edit: After babysitting it for just over an hour it isn't just on the first obstacle, it's on anything that drops you in to the river :/
    Last edited by Batman; 07-04-2012 at 02:36 PM.

  2. #102
    Join Date
    May 2008
    Posts
    87
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    The first thing you would have to do is turn the debug function to true in the script. I have it disabled by default as it does put out quite a bit of text.

    Find this line in the script
    Simba Code:
    const debugOn = False; //Write debug info?
    Change that to True

    Now it will output debug information in simba in the log box. Take that info and get it to me please either ina text file and attach it or paste it up in a post
    http://img577.imageshack.us/img577/3239/srlsig.png
    Hmmm...nah probably a coincidence.

  3. #103
    Join Date
    Dec 2011
    Posts
    45
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    I just want to thank you so much for this script. Great work! Ill use it to 91 agi!

  4. #104
    Join Date
    May 2012
    Posts
    3
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Code:
    We are at stage 3
    XP has NOT changed!
    Still same is at 30
    CurrentXP is set to 11993095
    At Bars
    Failed to find the color 4482682, no object found.
    Found Color 4482682
    Failed to find the color 4482682, no object found.
    Found Color 4482682
    Failed to find the color 4482682, no object found.
    Found Color 4482682
    Failed to find the color 4482682, no object found.
    Found Color 4482682
    Failed to find the color 4482682, no object found.
    Found Color 4482682
    Failed to find the color 4482682, no object found.
    Found Color 4482682
    Failed to find the color 4482682, no object found.
    Found Color 4482682
    Failed to find the color 4482682, no object found.
    Found Color 4482682
    Failed to find the color 4482682, no object found.
    Found Color 4482682
    Failed to find the color 4482682, no object found.
    Found Color 4482682
    Failed to find the color 4482682, no object found.
    Found Color 4482682
    Failed to find the color 4482682, no object found.
    Found Color 4482682
    Failed to find the color 4482682, no object found.
    Found Color 4482682
    Failed to find the color 4482682, no object found.
    Found Color 4482682
    Failed to find the color 4482682, no object found.
    Found Color 4482682
    Failed to find the color 4482682, no object found.
    Found Color 4482682
    Attempting to figure out what we should be doing...
    Failed to find the color 10330265, no object found.
    Failed to find the color 6189122, no object found.
    Failed to find the color 6319690, no object found.
    Failed to find the color 2906908, no object found.
    Failed to find the color 2853705, no object found.
    Failed to find the color 2853705, no object found.
    Failed to find the color 6319690, no object found.
    We are at stage 3
    XP has NOT changed!
    Still same is at 31
    Looped through main 31 times! and no xp change. Logging out.
    Successfully executed.
    The following DTMs were not freed: [2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55]
    It looped 30 times before that.

  5. #105
    Join Date
    Mar 2007
    Posts
    5,125
    Mentioned
    275 Post(s)
    Quoted
    901 Post(s)

    Default

    Quote Originally Posted by whaevr View Post
    ...Care to elaborate? Are you trying to use it with another bot?? If thats the case I dont see how it would convert over very well seeing that its using simba functions..?
    No man, From English to like French (So I can bot on a French world)

    Forum account issues? Please send me a PM

  6. #106
    Join Date
    Oct 2011
    Location
    Chicago
    Posts
    3,352
    Mentioned
    21 Post(s)
    Quoted
    437 Post(s)

    Default

    He means on this kind of world: http://www.runescape.com/l=2/game.ws?j=1
    It has MUCH MUCH fewer people, so far less chance of ban




    Anti-Leech Movement Prevent Leeching Spread the word
    Insanity 60 Days (Killer workout)
    XoL Blog (Workouts/RS/Misc)

  7. #107
    Join Date
    May 2008
    Posts
    87
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by [J]ustin View Post
    No man, From English to like French (So I can bot on a French world)
    Oh alright, uh yeah sure go for it! Out of curiosity what all needs to be changed?? The server smart chooses to connect to?? This is actually a great idea, I've never heard or seen anyone suggest it before haha
    http://img577.imageshack.us/img577/3239/srlsig.png
    Hmmm...nah probably a coincidence.

  8. #108
    Join Date
    Mar 2012
    Location
    Over there
    Posts
    840
    Mentioned
    4 Post(s)
    Quoted
    42 Post(s)

    Default

    I haven't been able to watch it but every 5 mins to 30 mins it logs out from what I believe is failing the monkey bars. Can't really watch it 100% atm but I'll try to look out for it failing and see what happens.

    EDIT: Oh new version, guess I'll test it out.
    Last edited by Total; 07-05-2012 at 12:32 AM.

  9. #109
    Join Date
    May 2008
    Posts
    87
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by TotalKillz View Post
    I haven't been able to watch it but every 5 mins to 30 mins it logs out from what I believe is failing the monkey bars. Can't really watch it 100% atm but I'll try to look out for it failing and see what happens.

    EDIT: Oh new version, guess I'll test it out.
    Haha I was about to say, check out the new version. I reworked a LOT of things in it. Its going pretty strong here, and has been in test cases

    @Liekmudkipz
    Same to you, try the latest version!

    @feh55
    Thanks a lot! I really appreciate hearing the good feedback
    http://img577.imageshack.us/img577/3239/srlsig.png
    Hmmm...nah probably a coincidence.

  10. #110
    Join Date
    Mar 2012
    Location
    Over there
    Posts
    840
    Mentioned
    4 Post(s)
    Quoted
    42 Post(s)

    Default

    Tested out the new version and it doesn't do anything once it crosses the rock.

    Debug info
    Code:
    We are at stage 1
    CurrentXP is set to 201316906
    At Stone
    Found Color 2642780
    Then it does nothing.

  11. #111
    Join Date
    May 2008
    Posts
    87
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by TotalKillz View Post
    Tested out the new version and it doesn't do anything once it crosses the rock.

    Debug info
    Code:
    We are at stage 1
    CurrentXP is set to 201316906
    At Stone
    Found Color 2642780
    Then it does nothing.
    You've gotta be kidding me X.x
    Are you lagging at all? The new way its detecting Xp change is its looking for the xp to float above your characters head. Is it possible to turn that off?? I didnt think it was
    http://img577.imageshack.us/img577/3239/srlsig.png
    Hmmm...nah probably a coincidence.

  12. #112
    Join Date
    Mar 2012
    Location
    Over there
    Posts
    840
    Mentioned
    4 Post(s)
    Quoted
    42 Post(s)

    Default

    Ohhhh yeah it is. One sec I'll turn it back on.

    Ok working now, for my agility script I turn off XP pop ups because I use DTMs and sometimes the little guy at the top gets in the way. Might want to put that you need XP pop ups on for it to work.

    Use this if you want, I use it for my thread.

    Last edited by Total; 07-05-2012 at 12:40 AM.

  13. #113
    Join Date
    May 2008
    Posts
    87
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Whew, thank god hah

    Alright thank you for that info, learned something new today
    I'll use that image aswell, and update the main topic. Thanks!
    http://img577.imageshack.us/img577/3239/srlsig.png
    Hmmm...nah probably a coincidence.

  14. #114
    Join Date
    Mar 2012
    Location
    Over there
    Posts
    840
    Mentioned
    4 Post(s)
    Quoted
    42 Post(s)

    Default

    Another problem.
    Code:
    At Tree1
    Found Color 3035753
    Found Color 3035753
    GetMMLevels failed, trying again to stay safe
    Then it continued to spam "GetMMLevels failed, trying again to stay safe" then it logged out. This happened after failing an obstacle, it was tree 1 i think, that or monkey bars.

  15. #115
    Join Date
    May 2008
    Posts
    87
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    ...*facedesk*

    The only reason that would have popped up is if the script can't get your current Hp by the compass. This is an SRL function (GetMMLevels) that I haven't even messed with in the slightest :\

    When you fail an obstacle does your Hp disappear or anything? Or is there some way that number has been obstructed??

    Edit:
    I could just change it to look for the HP bar to appear above your head, this would clearly indicate that you've taken damage and would work just the same.
    Last edited by whaevr; 07-05-2012 at 12:59 AM.
    http://img577.imageshack.us/img577/3239/srlsig.png
    Hmmm...nah probably a coincidence.

  16. #116
    Join Date
    Mar 2012
    Location
    Over there
    Posts
    840
    Mentioned
    4 Post(s)
    Quoted
    42 Post(s)

    Default

    You can store the HP in a variable with 'HPPercent' and if your current hp goes lower than that variable you will know you failed. Thats how my script works anyway. I would just do

    Simba Code:
    procedure Moo;
    var
      HPP : Integer;
    begin
      HPP := HPPercent;
      Do the obstacle
      if HPP > HPPercent then
        Failed the obstacle
    end;

    Hopefully that can help.

    If you need an account to test with you can use one of mine thats like lvl 56 agil.
    Last edited by Total; 07-05-2012 at 01:05 AM.

  17. #117
    Join Date
    May 2008
    Posts
    87
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Except that function uses GetMMLevels

    Simba Code:
    function HPPercent: Integer;
    var
      ColorString: string;
    begin
      if (Players[CurrentPlayer].Level[SKILL_HITPOINTS] < 1) then
        Players[CurrentPlayer].Level[SKILL_HITPOINTS] := Max(1, GetSkillInfo('hitpoints', False));

      if (Players[CurrentPlayer].Level[SKILL_HITPOINTS] > 1) then
        Result := Round(GetMMLevels('hp', ColorString) * 10 / Players[CurrentPlayer].Level[SKILL_HITPOINTS])
      else
        Result := -1;
    end;

    However..it looks like they round the result and multiply it by 10? My script currently doesnt do that its just

    Simba Code:
    Result := GetMMLevels('health', s);

    edit:
    Nevermind..

    Im just going to have to rethink how it checks for health, I think my problem is I force the script to check it too frequently causing it to return -1
    Lemme sit on it for a min, I'm sure I'll cook something up xD
    Last edited by whaevr; 07-05-2012 at 01:24 AM.
    http://img577.imageshack.us/img577/3239/srlsig.png
    Hmmm...nah probably a coincidence.

  18. #118
    Join Date
    Mar 2012
    Location
    Over there
    Posts
    840
    Mentioned
    4 Post(s)
    Quoted
    42 Post(s)

    Default

    Ah, never really looked at the function. but yeah maybe.

  19. #119
    Join Date
    May 2008
    Posts
    87
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Simba Code:
    Function srl_InFight: Boolean;
    begin
      Result := InRange(Length(GetFightBarTPA(MFBox)), 30, 240);
    end;

    Say hello to the sexy function thats gonna save my ass (hopefully) lol

    Edit:
    TotalKillz
    Try the revision I just uploaded. Then when something doesnt work again you can post about it and crush my dreams again lol
    Last edited by whaevr; 07-05-2012 at 01:51 AM.
    http://img577.imageshack.us/img577/3239/srlsig.png
    Hmmm...nah probably a coincidence.

  20. #120
    Join Date
    Dec 2011
    Location
    Hyrule
    Posts
    8,662
    Mentioned
    179 Post(s)
    Quoted
    1870 Post(s)

    Default

    Quote Originally Posted by whaevr View Post
    Except that function uses GetMMLevels

    Simba Code:
    function HPPercent: Integer;
    var
      ColorString: string;
    begin
      if (Players[CurrentPlayer].Level[SKILL_HITPOINTS] < 1) then
        Players[CurrentPlayer].Level[SKILL_HITPOINTS] := Max(1, GetSkillInfo('hitpoints', False));

      if (Players[CurrentPlayer].Level[SKILL_HITPOINTS] > 1) then
        Result := Round(GetMMLevels('hp', ColorString) * 10 / Players[CurrentPlayer].Level[SKILL_HITPOINTS])
      else
        Result := -1;
    end;

    However..it looks like they round the result and multiply it by 10? My script currently doesnt do that its just

    Simba Code:
    Result := GetMMLevels('health', s);

    edit:
    Nevermind..

    Im just going to have to rethink how it checks for health, I think my problem is I force the script to check it too frequently causing it to return -1
    Lemme sit on it for a min, I'm sure I'll cook something up xD
    Simba Code:
    Function HPLevel: Integer;
    Var
      ColourString: String;
    Begin
      Result:= GetMMLevels('HP', ColourString);
    End;

    That always worked for me in LRC script

  21. #121
    Join Date
    May 2008
    Posts
    87
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Thats exactly what I have though, like I said I think Im just calling on the function way too frequently, and it ends up returning -1 eventually.

    Im thinking that detecting the HP Bars presence on the main screen will fix it though. As its only going to appear when you fail an obstacle. Just need someone to try it now as my agility level is too high...if I had access to a char with low agility I wouldn't be releasing problematic scripts like this.
    http://img577.imageshack.us/img577/3239/srlsig.png
    Hmmm...nah probably a coincidence.

  22. #122
    Join Date
    Jul 2008
    Location
    NSW, Australia
    Posts
    881
    Mentioned
    0 Post(s)
    Quoted
    3 Post(s)

    Default

    Nice first script, I looked through the code and it seems pretty solid Great work! mate
    Agility scripts can be quite difficult to perfect what might work for you can always be much different on others pc's.

  23. #123
    Join Date
    Mar 2012
    Location
    Over there
    Posts
    840
    Mentioned
    4 Post(s)
    Quoted
    42 Post(s)

    Default

    Took a while to get it to work, it kept clicking randomly and miss identifying stage 1 as stage 8 and stuff. I restarted simba then started it at the bottom of the vine and it picked up on stage 8. I've failed a couple obstacles though and it hasn't failed yet though.

    It walked off the course somehow and wasn't finding the rock again, I just sent you a message with an account you can test with. Feel free to use it whenever.
    Last edited by Total; 07-05-2012 at 02:29 AM.

  24. #124
    Join Date
    Mar 2012
    Posts
    25
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Great work man! Been fun getting this working lol 1.5 is pretty much perfect atm, been running for over an hour and hasn't messed up once
    Great stuff

    Edit: One tiny problem, the color for the Tropical Tree is a bit "meh"
    So if anyone is getting stuck there (or just wants a more reliable color)
    Then find this line:
    Code:
    TropicalTree.Color := 3035753;
    and change it to this
    Code:
     TropicalTree.Color := 1715259;
    Last edited by Batman; 07-05-2012 at 10:18 AM.

  25. #125
    Join Date
    May 2012
    Posts
    7
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Alright. Cant wait to try out the script when I wake up.

Page 5 of 7 FirstFirst ... 34567 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
  •