Page 2 of 3 FirstFirst 123 LastLast
Results 26 to 50 of 68

Thread: TomTuff's Al Kharid Cooker

  1. #26
    Join Date
    Jan 2007
    Posts
    8
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    good script um for me it runs well for like 4 or 5 loads then it clicks outside(to the left) of the building with the range and then doesn't do anything and logs me out. is this happening to anyone else? or does someone know if i have a setting wrong?

  2. #27
    Join Date
    Feb 2009
    Location
    Irvine, CA
    Posts
    2,873
    Mentioned
    8 Post(s)
    Quoted
    138 Post(s)

    Default

    Quote Originally Posted by usuck123 View Post
    good script um for me it runs well for like 4 or 5 loads then it clicks outside(to the left) of the building with the range and then doesn't do anything and logs me out. is this happening to anyone else? or does someone know if i have a setting wrong?
    Next time it does this, watch a few things for me:
    Does the little red flag stay on the minimap even after you're done walking? If it does, then it will wait about 10 seconds after your character stops moving (SRL function, not mine).
    What does it say in the debug box? before the next progress report it writes, it should say something like "player logged out because .."
    Is the range still in veiw? If it is, it should just continue like normal...

    It does this every once in a while for me, too. Walking into the room is very difficult, even with reflection, because on the majority of the room when you click on the mm, it counts the tile as an "invalid tile" so it moves the flag (aka goal spot) to the nearest walkable tile.

  3. #28
    Join Date
    Sep 2010
    Location
    Northern Kentuckeh
    Posts
    759
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    Default

    This script stops pretty frequently for me. I've tried babysitting is but I always miss it when it logs out. It usually says that it had trouble walking to the range and I will log in with a full inventory of raw fish and be standing in the bank or on the way to the range.

    Also thank you for adding tuna ^_^

  4. #29
    Join Date
    Feb 2009
    Location
    Irvine, CA
    Posts
    2,873
    Mentioned
    8 Post(s)
    Quoted
    138 Post(s)

    Default

    Quote Originally Posted by doublex8 View Post
    This script stops pretty frequently for me. I've tried babysitting is but I always miss it when it logs out. It usually says that it had trouble walking to the range and I will log in with a full inventory of raw fish and be standing in the bank or on the way to the range.

    Also thank you for adding tuna ^_^
    How often is pretty frequently? i usually get 2.5 hour progress reports, and they stop from randoms (flagged account much).

    PS i should have a rogue's den cooker up later, since there's no walking it will probably be a lot more stable, I'm also going to add reflection back ups. The exp/hr will also be higher.

  5. #30
    Join Date
    Nov 2010
    Location
    Australia
    Posts
    1,472
    Mentioned
    0 Post(s)
    Quoted
    8 Post(s)

    Default

    Try using this for walking(its from my cooker ):
    Simba Code:
    case random(3) of
        0: WalkPath([Tile(3274, 3181)]);
        1: Walkpath([Tile(3273, 3182)]);
        2: Walkpath([Tile(3273, 3181)]);
      end;

    I never had problems with it walking in to the shop.

    Edit: Put the char near the top 3-4 bankbooths at akb

  6. #31
    Join Date
    Feb 2009
    Location
    Irvine, CA
    Posts
    2,873
    Mentioned
    8 Post(s)
    Quoted
    138 Post(s)

    Default

    Quote Originally Posted by kongking View Post
    Try using this for walking(its from my cooker ):
    Simba Code:
    case random(3) of
        0: WalkPath([Tile(3274, 3181)]);
        1: Walkpath([Tile(3273, 3182)]);
        2: Walkpath([Tile(3273, 3181)]);
      end;

    I never had problems with it walking in to the shop.

    Edit: Put the char near the top 3-4 bankbooths at akb
    Shouldnt that be
    Simba Code:
    case Random(2)of
    ..
    end;
    ?

  7. #32
    Join Date
    Nov 2010
    Location
    Australia
    Posts
    1,472
    Mentioned
    0 Post(s)
    Quoted
    8 Post(s)

    Default

    No, random(x) gives you values starting from 0 and ending one short of x, so random(3) gives 0,1,2.

  8. #33
    Join Date
    Sep 2010
    Location
    Northern Kentuckeh
    Posts
    759
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    Default

    Quote Originally Posted by TomTuff View Post
    How often is pretty frequently? i usually get 2.5 hour progress reports, and they stop from randoms (flagged account much).

    PS i should have a rogue's den cooker up later, since there's no walking it will probably be a lot more stable, I'm also going to add reflection back ups. The exp/hr will also be higher.
    By frequently I mean I don't think I've ever gotten beyond an hour. It seems to be running quite nicely right now at 23 min. If I have problems I will try kingkongs path.

    EDIT: Finally got beyond an hour. I think I ran out of trout. YAY!
    Progress Report:
    Player anti Stopped because: failed to wait to finish cooking
    ┌------------------------------------------------------------------┐
    │                    TomTuff's Al Kharid Cooker                    │
    │                            Revision 06                           │
    ├------------------------------------------------------------------┤
    │  Overall:                                                        │
    │    Time Ran: 1 Hours, 59 Minutes and 59 Seconds                  │
    │    Food Cooked: 1835                                             │
    │    Food Sucessfully Cooked: 1792                                 │
    │    Total XP Gained: 125440                                       │
    │    Levels Gained: 2                                              │
    ├------------------------------------------------------------------┤
    │  Player  0:                                                      │
    │    Worked: 1 Hours, 59 Minutes and 56 Seconds                    │
    │    Food Type: Trout                                              │
    │    Food Attempted: 1835                                          │
    │    Food Sucessfully Cooked: 1792                                 │
    │    Levels Gained: 2                                              │
    │    Exp Gained: 125440                                            │
    │    Exp/HR: 62753                                                 │
    │    Loads/HR: 33                                                  │
    │    Food cooked/HR: 918                                           │
    └------------------------------------------------------------------┘


    EDIT 2: actually it wasn't done. I logged in at the range with half my inventory cooked.
    Last edited by doublex8; 12-25-2010 at 04:11 AM.

  9. #34
    Join Date
    Feb 2009
    Location
    Irvine, CA
    Posts
    2,873
    Mentioned
    8 Post(s)
    Quoted
    138 Post(s)

    Default

    Quote Originally Posted by doublex8 View Post
    By frequently I mean I don't think I've ever gotten beyond an hour. It seems to be running quite nicely right now at 23 min. If I have problems I will try kingkongs path.

    EDIT: Finally got beyond an hour. I think I ran out of trout. YAY!
    Progress Report:
    Player anti Stopped because: failed to wait to finish cooking
    ┌------------------------------------------------------------------┐
    │                    TomTuff's Al Kharid Cooker                    │
    │                            Revision 06                           │
    ├------------------------------------------------------------------┤
    │  Overall:                                                        │
    │    Time Ran: 1 Hours, 59 Minutes and 59 Seconds                  │
    │    Food Cooked: 1835                                             │
    │    Food Sucessfully Cooked: 1792                                 │
    │    Total XP Gained: 125440                                       │
    │    Levels Gained: 2                                              │
    ├------------------------------------------------------------------┤
    │  Player  0:                                                      │
    │    Worked: 1 Hours, 59 Minutes and 56 Seconds                    │
    │    Food Type: Trout                                              │
    │    Food Attempted: 1835                                          │
    │    Food Sucessfully Cooked: 1792                                 │
    │    Levels Gained: 2                                              │
    │    Exp Gained: 125440                                            │
    │    Exp/HR: 62753                                                 │
    │    Loads/HR: 33                                                  │
    │    Food cooked/HR: 918                                           │
    └------------------------------------------------------------------┘


    EDIT 2: actually it wasn't done. I logged in at the range with half my inventory cooked.
    That was probably due to a random. I've just realized that a much simpler way to do the WaitToCook loop is to just do a marktime, and then while the marktime is less than whatever 4 * 600 * (number fish) ms is (4 game ticks/fish), rather than finding DTMs. And people would probably rather have the script keep running rather than drop fish, pick up the rewards box, handle rewards box, and pick the fish back up.

    SO...
    New in Revision 7: Reflection walking. Upgraded cooking loop. POST PROGS

    Also, progress report added to 2nd post, thanks doublex8
    Last edited by TomTuff; 12-26-2010 at 04:11 AM.

  10. #35
    Join Date
    Dec 2010
    Location
    Hawaii
    Posts
    612
    Mentioned
    0 Post(s)
    Quoted
    2 Post(s)

    Default

    Thanks man, just compiled, beautifully succesfully done. After I bot I'll give you reflections for you so you can admire.

  11. #36
    Join Date
    Feb 2009
    Location
    Irvine, CA
    Posts
    2,873
    Mentioned
    8 Post(s)
    Quoted
    138 Post(s)

    Default

    Quote Originally Posted by Huthaifah View Post
    Thanks man, just compiled, beautifully succesfully done. After I bot I'll give you reflections for you so you can admire.
    Alright, be sure to post the report.

  12. #37
    Join Date
    Dec 2010
    Location
    Hawaii
    Posts
    612
    Mentioned
    0 Post(s)
    Quoted
    2 Post(s)

    Default

    ├------------------------------------------------------------------┤
    │ Player 0: │
    │ Worked: 3 Minutes and 34 Seconds │
    │ Food Type: Trout │
    │ Food Attempted: 56 │
    │ Food Sucessfully Cooked: 45 │
    │ Levels Gained: 2 │
    │ Exp Gained: 3150 │
    │ Exp/HR: 52953 │
    │ Loads/HR: 34 │
    │ Food cooked/HR: 942 │
    └------------------------------------------------------------------┘
    I don't know why, but it finishes fast for me, don't know the problem, but I'm going to checkout your Rogue Den's cooker, cause your a pro scripter .

  13. #38
    Join Date
    Feb 2009
    Location
    Irvine, CA
    Posts
    2,873
    Mentioned
    8 Post(s)
    Quoted
    138 Post(s)

    Default

    Quote Originally Posted by Huthaifah View Post
    ├------------------------------------------------------------------┤
    │ Player 0: │
    │ Worked: 3 Minutes and 34 Seconds │
    │ Food Type: Trout │
    │ Food Attempted: 56 │
    │ Food Sucessfully Cooked: 45 │
    │ Levels Gained: 2 │
    │ Exp Gained: 3150 │
    │ Exp/HR: 52953 │
    │ Loads/HR: 34 │
    │ Food cooked/HR: 942 │
    └------------------------------------------------------------------┘
    I don't know why, but it finishes fast for me, don't know the problem, but I'm going to checkout your Rogue Den's cooker, cause your a pro scripter .
    use the [REPORT] tags when you post reports.

    What does it do?

    Once i hit 99 cook (doing the last 900 sharks by hand), I'm going to hop on RSBot and update this script to use reflection backups, and i'm going to redo how the script flows, so it should run longer for everyone.

  14. #39
    Join Date
    May 2007
    Location
    Tasmania, Aus
    Posts
    898
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    Default

    ok when you have updated this script chuck me a PM and I will test it for you I am buying raw lobsters nowwwwwww <3

  15. #40
    Join Date
    Feb 2009
    Location
    Irvine, CA
    Posts
    2,873
    Mentioned
    8 Post(s)
    Quoted
    138 Post(s)

    Default

    Alright, revision 7 out. Again, I dont have any accounts available to test this. but it should work... in theory

    There was a fatal flaw in revision 6 that made it *MULTIPLY* the calculated time to wait in the cooking loop rather than add it to the minimum time. D'oh.

    Also, reflection backups, walking tiles slightly changed.

    edit: revision 8, not rev 7.

  16. #41
    Join Date
    Nov 2010
    Location
    Australia
    Posts
    1,472
    Mentioned
    0 Post(s)
    Quoted
    8 Post(s)

    Default

    Jeez, you release too many revisions , why not bug test rigorously a few times, then release? That way its easier for other people to use the latest version, because i doubt anyone is going to check so quickly for an updated version.

  17. #42
    Join Date
    Feb 2009
    Location
    Irvine, CA
    Posts
    2,873
    Mentioned
    8 Post(s)
    Quoted
    138 Post(s)

    Default

    Quote Originally Posted by kongking View Post
    Jeez, you release too many revisions , why not bug test rigorously a few times, then release? That way its easier for other people to use the latest version, because i doubt anyone is going to check so quickly for an updated version.
    I dont have any accounts to test with (well i do but they're occupied lol)

  18. #43
    Join Date
    May 2007
    Location
    Tasmania, Aus
    Posts
    898
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    Default

    testing for you now tomtuff <3

    EDIT: the script can't tell when the lobsters are all cooked and just sits there waiting as if there were still more lobsters too cook :/
    Last edited by Sgt Soul; 12-29-2010 at 12:17 PM.

  19. #44
    Join Date
    Feb 2009
    Location
    Irvine, CA
    Posts
    2,873
    Mentioned
    8 Post(s)
    Quoted
    138 Post(s)

    Default

    replace the function WaitToCook with
    Simba Code:
    function WaitToCook: Boolean;
    var
      T, i: Integer;
    begin
      if not(LoggedIn) then
        Exit;;
      T := GetSystemTime + ((2400 * CountRaw) + Random(2000));
      repeat
        R_FindRandoms;
        Antiban(RandomRange(1, 3));
        if LevelUp then
          Inc(Players[CurrentPlayer].Integers[13]);
        Wait(600 + Random(100));
       until (GetSystemTime > T);
      Result := (CountCooked > 0);
    end;

  20. #45
    Join Date
    May 2007
    Location
    Tasmania, Aus
    Posts
    898
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    Default

    didn't do anything different, are you sure its in walk to cook, not walk to bank?

    PM me the changes you want me to make so we don't clog up the thread!
    Last edited by Sgt Soul; 12-29-2010 at 12:49 PM.

  21. #46
    Join Date
    Nov 2010
    Location
    Australia
    Posts
    1,472
    Mentioned
    0 Post(s)
    Quoted
    8 Post(s)

    Default

    offtopic: tom, do u use ref banking? if so do u have any problems with it?

  22. #47
    Join Date
    Feb 2009
    Location
    Irvine, CA
    Posts
    2,873
    Mentioned
    8 Post(s)
    Quoted
    138 Post(s)

    Default

    Quote Originally Posted by kongking View Post
    offtopic: tom, do u use ref banking? if so do u have any problems with it?
    Theres a backup function to open the bank, but I do the withdrawing solely by color.

    As for why it just stands there... i really don't know :|

  23. #48
    Join Date
    Jan 2011
    Posts
    335
    Mentioned
    0 Post(s)
    Quoted
    23 Post(s)

    Default

    Just wanted to say you make amazing cookers, and scripts in general. I used your rogue's den for 99 cook on main and now im gonna use this for 99 cook on alt =D
    If I see you autoing with level 3/default clothes/crap name I WILL report you. Auto Correctly.

  24. #49
    Join Date
    Jan 2011
    Posts
    335
    Mentioned
    0 Post(s)
    Quoted
    23 Post(s)

    Default

    small problem i've noticed,
    your bot stops when you level up. or atleast for me it does, and it
    doesn't click the "click here to continue"
    If I see you autoing with level 3/default clothes/crap name I WILL report you. Auto Correctly.

  25. #50
    Join Date
    Feb 2009
    Location
    Irvine, CA
    Posts
    2,873
    Mentioned
    8 Post(s)
    Quoted
    138 Post(s)

    Default

    Quote Originally Posted by vashanddou View Post
    Just wanted to say you make amazing cookers, and scripts in general. I used your rogue's den for 99 cook on main and now im gonna use this for 99 cook on alt =D
    Thanks

    Quote Originally Posted by vashanddou View Post
    small problem i've noticed,
    your bot stops when you level up. or atleast for me it does, and it
    doesn't click the "click here to continue"
    Well, that would be handled in WaitToCook:
    Simba Code:
    function WaitToCook: Boolean;
    var
      T, Raws, RanWait, i: Integer;
    begin
      if not(LoggedIn) then
        Exit;
      Raws := CountRaw;
      for i := 1 to High(Raws) do
        IncEx(RanWait, Random(20));
      T := GetSystemTime + (2400 * CountRaw + RanWait);
      repeat
        R_FindRandoms;
        Antiban(RandomRange(1, 3));
        if LevelUp then //this line
          Inc(Players[CurrentPlayer].Integers[13]);
        Wait(600 + Random(100));
       until (GetSystemTime > T);
      Result := (CountCooked > 0);
    end;

    The line I added a comment to handles level up detection. This is an SRL function, so it should work. The SRL function handles clicking, and when cooking after you click the button you (are supposed to) continue cooking.

    I've written a function the works like SRL's LevelUp, except it uses the reflection variety of the same functions. See Revision 09 and tell me if the problem is solved.

Page 2 of 3 FirstFirst 123 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
  •