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

Thread: [R2] Lumbridge Cooker

  1. #26
    Join Date
    Feb 2011
    Posts
    16
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    I have everything up to date, and the most recent version 1.41

    Starts, opens bank and looks for food, can't find food then script stops.

    Food is visible in first tab, tried it with Tuna and Herring and same thing happened.

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

    Default

    Quote Originally Posted by ofc View Post
    I have everything up to date, and the most recent version 1.41

    Starts, opens bank and looks for food, can't find food then script stops.

    Food is visible in first tab, tried it with Tuna and Herring and same thing happened.
    Same thing here

  3. #28
    Join Date
    May 2006
    Location
    Australia
    Posts
    370
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Hooks are wrong.
    In hooks.simba, change
    Code:
    hook_static_GetInterfaces = 'cea.N';
    to
    Code:
    hook_static_GetInterfaces = 'hk.yb';
    ------
    Strong Holder
    Kill Goblins and Zombies in (ex) bot free zones. Loot & Bank. Stable: 1.2b

  4. #29
    Join Date
    Feb 2011
    Posts
    16
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    alright changing the hook worked great, but now it doesn't cook anything.

    Grabs food, walks to the stove or what ever it is, sits there for a few seconds, then walks back up and banks the raws.

    does this over and over

  5. #30
    Join Date
    Dec 2009
    Location
    R_GetPlayerLoc;
    Posts
    2,235
    Mentioned
    0 Post(s)
    Quoted
    14 Post(s)

    Default

    Quote Originally Posted by ofc View Post
    alright changing the hook worked great, but now it doesn't cook anything.

    Grabs food, walks to the stove or what ever it is, sits there for a few seconds, then walks back up and banks the raws.

    does this over and over
    Wow, yeah a stupid error on my part...

    I told the script to count raws instead of cooked...

    Yeah I updated it... Sorry guys im making the most practical mistakes.

    http://www.mediafire.com/lumbridgecooker
    "Logic never changes, just the syntax" - Kyle Undefined?

    Remember, The Edit Button Is There For A Reason!!!

  6. #31
    Join Date
    Jan 2009
    Location
    Turlock/LA, California
    Posts
    1,494
    Mentioned
    3 Post(s)
    Quoted
    66 Post(s)

    Default

    i am currently using this script for the first time right now. i will edit this later with a proggy.

    some things i have noticed:

    1. very unhuman-like wait after every time the character runs. (example: from bank to the top staircase; it stops, views the scenery, then decides to click on the stairs.)


    - will update if i seem more oddities -

    EDIT: manually stopped:
    *----------------------------------------------------------------*
    | Lumbridge Cooker v1.4 |
    | By: Yago |
    |----------------------------------------------------------------|
    | Overall Progress Report |
    | |
    | Total Players : 1 |
    | Total Time Running : 58 min 16 sec |
    | Total Food Cooked : 784 |
    | Total Experience Gained : 78400 Experience |
    | Total Levels Gained: 0 |
    | |
    |----------------------------------------------------------------|
    | Individual Report: |
    | |
    | Player[0]:************ |
    | |
    | Reason : |
    | Time Active : 57 min 44 sec |
    | FoodType : Tuna |
    | Loads Done : 28 |
    | Loads Per Hour : 30 |
    | Raw Tuna Cooked : 784 |
    | Raws Per Hour : 815 |
    | Experience Gained : 78400 |
    | Experience Per Hour : 81471 |
    | Cooking Levels Gained : 0 Level(s) |
    | |
    *----------------------------------------------------------------*
    Last edited by x[Warrior]x3500; 04-22-2011 at 10:01 PM.

  7. #32
    Join Date
    Dec 2009
    Location
    R_GetPlayerLoc;
    Posts
    2,235
    Mentioned
    0 Post(s)
    Quoted
    14 Post(s)

    Default

    Yeah I'm currently trying to eliminate as much waits as possible that I implemented due to failsafes... Thanks for the feedback though. Hopefully next version It could be a lot quicker...

    What do you think about the anti-ban?
    "Logic never changes, just the syntax" - Kyle Undefined?

    Remember, The Edit Button Is There For A Reason!!!

  8. #33
    Join Date
    May 2006
    Posts
    151
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Noticed a few things - occasionally it starts cooking but burns things until the cooking checks are over so it doesn't detect it. Causes problems with the cooking part, eg. it clicks a raw sword that is about to get cooked then tries to click range, fails, and so quits. Also it sometimes doesn't detect that it is finished cooking if you burned things. Easy enough fix to this is to add
    Simba Code:
    or (RawCount = 0)
    to line 1133 (the until in R_IsCooking). But for the started cooking detection, it would be good to detect cooking has started if things burn also but otherwise, seems very solid, just some small things like that and the waits before clicking stairs.

  9. #34
    Join Date
    Dec 2009
    Location
    R_GetPlayerLoc;
    Posts
    2,235
    Mentioned
    0 Post(s)
    Quoted
    14 Post(s)

    Default

    Quote Originally Posted by any_one View Post
    Noticed a few things - occasionally it starts cooking but burns things until the cooking checks are over so it doesn't detect it. Causes problems with the cooking part, eg. it clicks a raw sword that is about to get cooked then tries to click range, fails, and so quits. Also it sometimes doesn't detect that it is finished cooking if you burned things. Easy enough fix to this is to add
    Simba Code:
    or (RawCount = 0)
    to line 1133 (the until in R_IsCooking). But for the started cooking detection, it would be good to detect cooking has started if things burn also but otherwise, seems very solid, just some small things like that and the waits before clicking stairs.
    Thanks for catching that bug. I added the RawCount check.

    I'm going to add a burner check to the cooking checks to stop that problem. That should fix the clicking cooked food errors.

    I'm still trying to make the walking as fast as possible but with failsafes(for lagg and stuff).
    "Logic never changes, just the syntax" - Kyle Undefined?

    Remember, The Edit Button Is There For A Reason!!!

  10. #35
    Join Date
    Dec 2009
    Location
    R_GetPlayerLoc;
    Posts
    2,235
    Mentioned
    0 Post(s)
    Quoted
    14 Post(s)

    Default

    Ok. I just Released Version 1.42

    Changes includes:

    • Added SMART Paint.
    • Added R_FindChatButton.
    • Improved Walking To Make It Faster.
    • Fixed Cooking Detection Bugs.


    Enjoy

    Edit: Can someone confirm that there are no more burning food errors?
    "Logic never changes, just the syntax" - Kyle Undefined?

    Remember, The Edit Button Is There For A Reason!!!

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

    Default

    Progress Report:
    Cont [True] URL [http://download550.mediafire.com/4ha.../lc+paint.bmp]
    %INCLUDEPATH%\LCookPaint.bmp
    Cont [True] File [C:\Simba\Includes\LCookPaint.bmp]
    Exception: Error while reading stream: Wrong image format at line 361
    The following DTMs were not freed: [SRL - Lamp bitmap, 1]
    The following bitmaps were not freed: [SRL - Mod bitmap, SRL - Admin bitmap, 2, 3]


    keep getting this, everything seems to be updated

  12. #37
    Join Date
    May 2006
    Posts
    151
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    @ doublex8, seems he forgot to include a bitmap that he uses for painting to SMART Just disable it for now. Testing script now (with swordies), from watching for 1 load it seems fine, also detected the burnt swordfish in first inv slot. Will edit later with prog/findings.

  13. #38
    Join Date
    Dec 2009
    Location
    R_GetPlayerLoc;
    Posts
    2,235
    Mentioned
    0 Post(s)
    Quoted
    14 Post(s)

    Default

    Quote Originally Posted by doublex8 View Post
    Progress Report:
    Cont [True] URL [http://download550.mediafire.com/4ha.../lc+paint.bmp]
    %INCLUDEPATH%\LCookPaint.bmp
    Cont [True] File [C:\Simba\Includes\LCookPaint.bmp]
    Exception: Error while reading stream: Wrong image format at line 361
    The following DTMs were not freed: [SRL - Lamp bitmap, 1]
    The following bitmaps were not freed: [SRL - Mod bitmap, SRL - Admin bitmap, 2, 3]


    keep getting this, everything seems to be updated
    Its supposed to download the bitmap and save it in your includes folder. I have no idea why it isn't doing this. It works perfect for me... Try opening the image in the link and see if it opens...

    Quote Originally Posted by any_one View Post
    @ doublex8, seems he forgot to include a bitmap that he uses for painting to SMART Just disable it for now. Testing script now (with swordies), from watching for 1 load it seems fine, also detected the burnt swordfish in first inv slot. Will edit later with prog/findings.
    Does the paint work for you any_one?

    Thanks for checking the burnts

    The walking has given you no errors so far right? Its getting me a lot more experience than before. Thanks for the walking suggestion
    "Logic never changes, just the syntax" - Kyle Undefined?

    Remember, The Edit Button Is There For A Reason!!!

  14. #39
    Join Date
    Feb 2006
    Posts
    3,044
    Mentioned
    4 Post(s)
    Quoted
    21 Post(s)

    Default

    Quote Originally Posted by Yago View Post
    Its supposed to download the bitmap and save it in your includes folder. I have no idea why it isn't doing this. It works perfect for me... Try opening the image in the link and see if it opens...



    Does the paint work for you any_one?

    Thanks for checking the burnts

    The walking has given you no errors so far right? Its getting me a lot more experience than before. Thanks for the walking suggestion
    I think it is because when you go to that link, it will Redirect you. Why not just save it in Script folder?

    ~Home

  15. #40
    Join Date
    Dec 2009
    Location
    R_GetPlayerLoc;
    Posts
    2,235
    Mentioned
    0 Post(s)
    Quoted
    14 Post(s)

    Default

    Quote Originally Posted by Home View Post
    I think it is because when you go to that link, it will Redirect you. Why not just save it in Script folder?

    ~Home
    Yeah I did it that and it worked on my computer. Try replacing this and tell me if it works:

    Simba Code:
    function BitmapFromWeb(Web: string): integer;//Dgby714
    var
      Data: string;
      FileNum: integer;
    begin
      Data := GetPage(Web);

      if (FileExists(ScriptPath + 'LCookPaint.bmp')) then
        FileNum := RewriteFile(ScriptPath  + 'LCookPaint.bmp', True)
      else
        FileNum := CreateFile(ScriptPath  + 'LCookPaint.bmp');
      WriteFileString(FileNum, Data);
      CloseFile(FileNum);

      Result := LoadBitmap(ScriptPath  +'LCookPaint.bmp');
    end;

    procedure PrintOnSmart(TP: TStringArray; Placement: TPoint; Colour, Shadow: integer);//Not Mines
    var
     mx, my, Pic, I, B, H, TPH, Numb, Chat: Integer;
     TTP: TPointArray;
     Canvas: TCanvas;
    begin
      SmartSetDebug(True);
      GetClientDimensions(mx,my);
      Pic := BitmapFromString(mx,my,'');
      TPH := High(TP);
      for I := 0 to TPH do
      begin
        TTP := LoadTextTPA(TP[i], SmallChars, H);
        for B := 0 to High(TTP) do
        begin
          Numb := ((I + 1) * 13);
          FastSetPixel(Pic, TTP[b].x + 1, TTP[b].y + Numb + 1, Shadow);
          FastSetPixel(Pic, TTP[b].x + 1, TTP[b].y + Numb, Colour);
          FastSetPixel(Pic, TTP[b].x, TTP[b].y + Numb, Colour);
        end;
      end;
      Chat := BitmapFromWeb('http://download550.mediafire.com/urahoi7ac74g/cg6emw6idw54crq/LC+Paint.bmp');
      Canvas := TCANVAS.Create;
      Canvas.Handle := SmartGetDebugDC;
      SetTransparentColor(Pic, 0);
      FastDrawTransparent(Placement.x,Placement.y,Pic,Chat);
      DrawBitmap(Chat,Canvas, 0, 0);
      FreeBitmap(Pic);
      FreeBitmap(Chat);
    end;

    I changed it so that it would save in the scripts folder and get the image from a different link.

    Edit: I just noticed I forgot to uncomment these lines:

    Simba Code:
    Result := WaitFuncEx('FindDTMWrap', Param1, RandomRange(30, 70), 2000) or WaitFuncEx('FindTextWrap', Param2, RandomRange(30, 70), 2000);
      FreeDTM(RawDTM);
      if not Result then

    which should be lines 1145-47. Due to this it might click twice on the food sometimes
    "Logic never changes, just the syntax" - Kyle Undefined?

    Remember, The Edit Button Is There For A Reason!!!

  16. #41
    Join Date
    Aug 2008
    Location
    Baarn, Netherlands
    Posts
    74
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    it doesnt run anymore at my pc. gives the error:

    Exception: Error while reading stream: Wrong image format at line 398:
    [script]
    Result := LoadBitmap(IncludePath +'LCookPaint.bmp');
    [/script]

  17. #42
    Join Date
    Dec 2009
    Location
    R_GetPlayerLoc;
    Posts
    2,235
    Mentioned
    0 Post(s)
    Quoted
    14 Post(s)

    Default

    Yes, Sorry I haven't updated this in a long while. School is currently killing me ... In the new version I have a death walk and breaks and stuff. But im still ("trying") to work out some errors im getting with the limited time I have... Ill be sure to post a stable version up soon (hopefully)

    Edit: OK. Breaks are working great. Just a bit more testing (I need to test a level up) then I'm set for release. Sorry it took this long for the next version
    "Logic never changes, just the syntax" - Kyle Undefined?

    Remember, The Edit Button Is There For A Reason!!!

  18. #43
    Join Date
    Apr 2007
    Posts
    7
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by mr-sjb View Post
    it doesnt run anymore at my pc. gives the error:

    Exception: Error while reading stream: Wrong image format at line 398:
    [script]
    Result := LoadBitmap(IncludePath +'LCookPaint.bmp');
    [/script]
    I set [script]PaintToSMART = False; [/script] and downloaded his bmp and renamed it then it worked for me.



    There is also a small problem with levelling. After the pause for the level up screen, the script will sometimes try to click the raw fish still left to be done, but since the range is still cooking it will deselect them before it can click the range again, thus making it unable to 'find fish' and will log out. Using the last raw fish in the inventory instead will fix this (unless you were done)

  19. #44
    Join Date
    Dec 2009
    Location
    R_GetPlayerLoc;
    Posts
    2,235
    Mentioned
    0 Post(s)
    Quoted
    14 Post(s)

    Default

    I noticed there was an error with the leveling up, I'm just trying to create my own procedure to handle the leveling up and then to test it

    Thanks for the feedback.

    Its quite simple to fix I think. Once I'm done ill test it with an account close to leveling up.
    "Logic never changes, just the syntax" - Kyle Undefined?

    Remember, The Edit Button Is There For A Reason!!!

  20. #45
    Join Date
    Dec 2009
    Location
    R_GetPlayerLoc;
    Posts
    2,235
    Mentioned
    0 Post(s)
    Quoted
    14 Post(s)

    Default

    Update. Lumbridge Cooker Version 1.5

    Changes includes:

    • Edited SMART Paint.
    • Changed AntiBan.
    • Added Breaks. (Multiplayer Breaks Are Untested But Should Work)
    • Fixed Leveling Up Bugs.
    • Sped Up Cooking Minutely.
    • Added Relocation (Death-Walk). You Can Start Anywhere In Runescape.
    • Some more stuff...


    Enjoy

    Can Someone Test Multiplayer Breaks?
    "Logic never changes, just the syntax" - Kyle Undefined?

    Remember, The Edit Button Is There For A Reason!!!

  21. #46
    Join Date
    Dec 2009
    Location
    R_GetPlayerLoc;
    Posts
    2,235
    Mentioned
    0 Post(s)
    Quoted
    14 Post(s)

    Default

    Update. Lumbridge Cooker v1.7

    Changes includes:

    • Tweaked Minor Things
    • Completely Reflection. No Color Used At All(Except For Essentials) So That People May Save System Resources By Sliding Down The FPS Bar...
    • Updated To Reflection 2


    Enjoy

    Anyone Want To Get Me A Good Progress Report?
    "Logic never changes, just the syntax" - Kyle Undefined?

    Remember, The Edit Button Is There For A Reason!!!

  22. #47
    Join Date
    Jul 2008
    Location
    Lithuania/Norway
    Posts
    90
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Script works very well to me. I'll try to cook 2k lobsters today with your script. If your script will manage to cook 2k of my lobsters i will post proggy

    280/2000 are already cooked

  23. #48
    Join Date
    Dec 2009
    Location
    R_GetPlayerLoc;
    Posts
    2,235
    Mentioned
    0 Post(s)
    Quoted
    14 Post(s)

    Default

    Quote Originally Posted by m4r1us View Post
    Script works very well to me. I'll try to cook 2k lobsters today with your script. If your script will manage to cook 2k of my lobsters i will post proggy

    280/2000 are already cooked
    Wow, thank-you. I actually found a couple errors and started to fix them. If you find any then let me know. Also, yes the proggy would be much appreciated
    "Logic never changes, just the syntax" - Kyle Undefined?

    Remember, The Edit Button Is There For A Reason!!!

  24. #49
    Join Date
    Jul 2008
    Location
    Lithuania/Norway
    Posts
    90
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by Yago View Post
    Wow, thank-you. I actually found a couple errors and started to fix them. If you find any then let me know. Also, yes the proggy would be much appreciated
    I forgot to copy proggy but your script successully cooked 2k lobsters

  25. #50
    Join Date
    Dec 2009
    Location
    R_GetPlayerLoc;
    Posts
    2,235
    Mentioned
    0 Post(s)
    Quoted
    14 Post(s)

    Default

    Great!!! Notice any errors?
    "Logic never changes, just the syntax" - Kyle Undefined?

    Remember, The Edit Button Is There For A Reason!!!

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
  •