Page 2 of 2 FirstFirst 12
Results 26 to 36 of 36

Thread: JJ's Varrock West Bank Cooker

  1. #26
    Join Date
    Jun 2009
    Posts
    3
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    It banks and lights without problems but then it clicks on the food, clicks on the bottom (where the button would come up to cook) but inbetween that it doesnt use the food on the fire. Any idea how to fix that?

  2. #27
    Join Date
    Mar 2012
    Posts
    60
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Does not use fish on fire.

    1. Takes Log
    2. Takes Fish
    3. Runs
    4. Light Fire
    5. does NOT use fish on it.
    6. Repeats.


    brightness on max all plugins updated.

    I try to do Lobsters.

    Debug says nothing

  3. #28
    Join Date
    Dec 2011
    Location
    The Netherlands
    Posts
    1,631
    Mentioned
    47 Post(s)
    Quoted
    254 Post(s)

    Default

    Quote Originally Posted by chuckyb0y View Post
    Does not use fish on fire.

    1. Takes Log
    2. Takes Fish
    3. Runs
    4. Light Fire
    5. does NOT use fish on it.
    6. Repeats.


    brightness on max all plugins updated.

    I try to do Lobsters.

    Debug says nothing
    I'm pretty sure that I know what the problem is. The colors of the burning fire have changed slightly because of the new bonfire update.

    Simba Code:
    procedure StartCooking;
    var
      X, Y, i, arL: Integer;
      arP: TPointArray;
      ararP: T2DPointArray;
      P: TPoint;

    begin;
      { Find fire coordinates }
      if GetCurrentTab = (tab_Inv) then
        begin
          WriteLn('Current tab is the inventory tab, correct')
        end else
        begin
          FTab(tab_Inv);
          WriteLn('Changed tabs to the inventory tab')
        end;
      ColorToleranceSpeed(2);
      SetColorSpeed2Modifiers(0.09, 0.62);
      FindColorsSpiralTolerance(X, Y, arP, 536379, 279, 158, 318, 195, 3);
      SortTPAFrom(arP, Point(MSCX, MSCY));
      ararP := SplitTPAEx(arP, 20, 20);
      arL := High(ararP);
      for i := 0 to arL do
        begin
          P := MiddleTPA(ararP[i]);
          case Random(9) of
            0..1: MouseBox(605, 213, 640, 244, 1);
            2: MouseBox(605, 249, 640, 280, 1);
            3..8: MouseBox(563, 249, 598, 280, 1);
          end;
          MMouse(P.x, P.y, 5, 5);
          Exit;
        end;
    end;

    If you would pick new colors of the fire, the brown/light brown colors at the edges, it will most likely work again. I have final exams myself but I will look into it soon.

    Simba Code:
    SetColorSpeed2Modifiers(0.09, 0.62);
      FindColorsSpiralTolerance(X, Y, arP, 536379, 279, 158, 318, 195, 3);
    Those colors/modifiers need updating other than that it is fine I think.

    Script source code available here: Github

  4. #29
    Join Date
    Mar 2012
    Posts
    60
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by J J View Post
    I'm pretty sure that I know what the problem is. The colors of the burning fire have changed slightly because of the new bonfire update.

    Simba Code:
    procedure StartCooking;
    var
      X, Y, i, arL: Integer;
      arP: TPointArray;
      ararP: T2DPointArray;
      P: TPoint;

    begin;
      { Find fire coordinates }
      if GetCurrentTab = (tab_Inv) then
        begin
          WriteLn('Current tab is the inventory tab, correct')
        end else
        begin
          FTab(tab_Inv);
          WriteLn('Changed tabs to the inventory tab')
        end;
      ColorToleranceSpeed(2);
      SetColorSpeed2Modifiers(0.09, 0.62);
      FindColorsSpiralTolerance(X, Y, arP, 536379, 279, 158, 318, 195, 3);
      SortTPAFrom(arP, Point(MSCX, MSCY));
      ararP := SplitTPAEx(arP, 20, 20);
      arL := High(ararP);
      for i := 0 to arL do
        begin
          P := MiddleTPA(ararP[i]);
          case Random(9) of
            0..1: MouseBox(605, 213, 640, 244, 1);
            2: MouseBox(605, 249, 640, 280, 1);
            3..8: MouseBox(563, 249, 598, 280, 1);
          end;
          MMouse(P.x, P.y, 5, 5);
          Exit;
        end;
    end;

    If you would pick new colors of the fire, the brown/light brown colors at the edges, it will most likely work again. I have final exams myself but I will look into it soon.

    Simba Code:
    SetColorSpeed2Modifiers(0.09, 0.62);
      FindColorsSpiralTolerance(X, Y, arP, 536379, 279, 158, 318, 195, 3);
    Those colors/modifiers need updating other than that it is fine I think.
    good luck with your exams i am gonna try and fix it

  5. #30
    Join Date
    Apr 2012
    Location
    Norway
    Posts
    43
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Wow JJ this looks brilliant. Thanks you and can't wait to try. Will proggy when i use.

    btw: what tweaks need to be made? Saw some people having a few issues with the light of fire.
    Last edited by public_static_void_main; 05-23-2012 at 01:54 AM.

  6. #31
    Join Date
    Dec 2007
    Posts
    289
    Mentioned
    4 Post(s)
    Quoted
    86 Post(s)

    Default

    Quote Originally Posted by public_static_void_main View Post
    Wow JJ this looks brilliant. Thanks you and can't wait to try. Will proggy when i use.

    btw: what tweaks need to be made? Saw some people having a few issues with the light of fire.
    See:

    Quote Originally Posted by J J View Post
    Simba Code:
    SetColorSpeed2Modifiers(0.09, 0.62);
      FindColorsSpiralTolerance(X, Y, arP, 536379, 279, 158, 318, 195, 3);
    Those colors/modifiers need updating other than that it is fine I think.

  7. #32
    Join Date
    May 2012
    Posts
    1
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default J.J's cooking bot

    It works perfectly up till the point of me having to cook the lobster, it clicks use but then the red dot "mouse" goes towards chat and does nothing, then deposits the raw fish, deposits and does the exact same thing. :/

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

    Default

    I just changed the line above to this color number 4682879 and it found the fire no problem. Great script, will post a proggy in a few hours.

    EDIT: Not sure if it matters but that number was from burning a willow log.
    EDIT2: One major thing I am noticing that is some what of an issue is the stupid stray dog that comes around, the dog will stand directly on top of the fire and mess up the clicking of the food to the fire.
    Last edited by Blackdeath; 06-14-2012 at 02:14 PM.

  9. #34
    Join Date
    May 2012
    Posts
    9
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by Blackdeath View Post
    I just changed the line above to this color number 4682879 and it found the fire no problem. Great script, will post a proggy in a few hours.

    EDIT: Not sure if it matters but that number was from burning a willow log.
    EDIT2: One major thing I am noticing that is some what of an issue is the stupid stray dog that comes around, the dog will stand directly on top of the fire and mess up the clicking of the food to the fire.
    I changed the number too, make sure you click the colour on the side of the logs and not the actual fire and that should get rid of any problems with the dog being in the way.

  10. #35
    Join Date
    May 2012
    Location
    Draynor Willows
    Posts
    498
    Mentioned
    0 Post(s)
    Quoted
    3 Post(s)

    Default

    After updating the colour, it works perfectly.

    EDIT: Sometimes I notice after cooking, it will run in the bank, but then walk straight into the firemaking spot again without actually getting more supplies.
    Last edited by TehNeonFishy; 06-19-2012 at 08:53 PM.

  11. #36
    Join Date
    Feb 2012
    Location
    Ă…lesund,Norway
    Posts
    281
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    J J could't u please update this ? I cud help u with acc or i can donate u some rsgp if u n eed that for supplies urself... to test and fix ? Really need a coocking script :O !

Page 2 of 2 FirstFirst 12

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
  •