Page 1 of 2 12 LastLast
Results 1 to 25 of 48

Thread: Aligns Larder

  1. #1
    Join Date
    Nov 2011
    Posts
    1,589
    Mentioned
    9 Post(s)
    Quoted
    17 Post(s)

    Default Mat's Larder

    Hey Guys.
    I've made this script as both I've tested are not working as on 11/1/12.(They May Update in future I know Demise is working on randoms so his won't be for a while).
    About the Script
    • Makes Larders
    • Uses AC
    • Supports Butler
    • Must start bot with butler already brought you 20 Oak Planks **MUST**

    Image of Setup as Requested.

    Dev's Updated :-) So dropping script back now!

    I made this as I want to get 75 con So Yea
    Mat
    Last edited by Mat; 01-13-2012 at 10:37 PM.



    ^^

  2. #2
    Join Date
    Dec 2011
    Posts
    505
    Mentioned
    0 Post(s)
    Quoted
    26 Post(s)

    Default

    Was going to ask, any requirement of kitchen placement, camera angle & position of player to be at before running the script? Maybe a screenshot

    And also on inventory.. should it be started with full inventory of planks or should it be started without any & let the script withdraw from butler? And how many should be set to withdraw from butler? Unless your script already handles that :P

  3. #3
    Join Date
    Nov 2011
    Posts
    1,589
    Mentioned
    9 Post(s)
    Quoted
    17 Post(s)

    Default

    Not really settings as I'm using AC and Invent doesn't require much I've got hammer and saw in Tool Belt.
    Other than that nope. I'll do a screen shot.
    Mat



    ^^

  4. #4
    Join Date
    Dec 2011
    Location
    Aus
    Posts
    62
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Unfortunately it tries to build the larder repeatedly even though it has no planks.

    I´ve setted everything up like in your picture and it takes 16 planks from bank.

  5. #5
    Join Date
    Nov 2011
    Posts
    1,589
    Mentioned
    9 Post(s)
    Quoted
    17 Post(s)

    Default

    Sorry I forgot to say you need to get it to make the butler to bring 20 first.



    ^^

  6. #6
    Join Date
    Dec 2011
    Posts
    44
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Exception in Script: Unable to find file 'SRL\SRL.simba' used from ''


    Comes up with that when i run it

  7. #7
    Join Date
    Dec 2011
    Posts
    505
    Mentioned
    0 Post(s)
    Quoted
    26 Post(s)

    Default

    Quote Originally Posted by andyuk3 View Post
    Exception in Script: Unable to find file 'SRL\SRL.simba' used from ''


    Comes up with that when i run it
    Make sure everything on Simba is up to date(top menu, check for updates on: Extensions, SRL, SPS, MSI, ODTM)... your error is most likely not updating your SRL
    This script uses the current SRL everybody should be running on simba: SRL5

  8. #8
    Join Date
    Dec 2011
    Posts
    44
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by blinkblink View Post
    Make sure everything on Simba is up to date(top menu, check for updates on: Extensions, SRL, SPS, MSI, ODTM)... your error is most likely not updating your SRL
    This script uses the current SRL everybody should be running on simba: SRL5
    Thanks, works great

  9. #9
    Join Date
    Dec 2011
    Posts
    2
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Looks great!

  10. #10
    Join Date
    Dec 2011
    Posts
    19
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Hey it works -- which is more than I can say about the other Oak Larder scripts -- or RID, for that matter. I'm not exactly sure it's something I feel comfortable getting 99 with, but it's working and appears pretty stable.

    Thanks

  11. #11
    Join Date
    Jan 2012
    Posts
    83
    Mentioned
    0 Post(s)
    Quoted
    2 Post(s)

    Default

    Failed to find the color, no result

  12. #12
    Join Date
    Nov 2011
    Posts
    1,589
    Mentioned
    9 Post(s)
    Quoted
    17 Post(s)

    Default

    That AC it can struggle to find the colour as I have done all the colours that I found il have to keep re logging to get all the colours . At school atmo.
    Mat



    ^^

  13. #13
    Join Date
    Jan 2012
    Posts
    83
    Mentioned
    0 Post(s)
    Quoted
    2 Post(s)

    Default

    Sorry what does AC mean :s
    It won't make ladder but will remove it when I build one manually. Do I need to have certain items in the room for the script to find the colors it needs?

  14. #14
    Join Date
    Nov 2011
    Posts
    1,589
    Mentioned
    9 Post(s)
    Quoted
    17 Post(s)

    Default

    Ow Erm I can't really do anything, as It works great for me.. I need to upload the older version as the text problem fixed
    Mat
    Update V0.2



    ^^

  15. #15
    Join Date
    Jan 2012
    Posts
    2
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    i still get the error Exception in Script: Unable to find file 'SRL\SRL.simba' used from ''
    its fully updated

  16. #16
    Join Date
    Dec 2011
    Location
    USA USA USA!!!
    Posts
    74
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    It has a problem with the remove function. just goes over 3 support beams on top of larder.

  17. #17
    Join Date
    Dec 2011
    Location
    USA USA USA!!!
    Posts
    74
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Looking at script. Doesn't look like you have a remove function? Hmmmm I will look into this more.

  18. #18
    Join Date
    Dec 2011
    Posts
    505
    Mentioned
    0 Post(s)
    Quoted
    26 Post(s)

    Default

    Quote Originally Posted by 167991 View Post
    i still get the error Exception in Script: Unable to find file 'SRL\SRL.simba' used from ''
    its fully updated

    No, you have not been fully updated if you get that error :P

    Make sure everything on Simba is up to date(top menu, check for updates on: Extensions, SRL, SPS, MSI, ODTM)... your error is most likely not updating your SRL
    This script uses the current SRL everybody should be running on simba: SRL5

  19. #19
    Join Date
    Dec 2011
    Posts
    505
    Mentioned
    0 Post(s)
    Quoted
    26 Post(s)

    Default

    Quote Originally Posted by TwoClover View Post
    Looking at script. Doesn't look like you have a remove function? Hmmmm I will look into this more.
    Decided to go look in the v0.2 code....

    Code:
    Procedure Builder;
    Begin
      If FindObjTpa(X,Y,LaderBuildColor,5,1,30, 20, 120, ['arder']) then
      Begin
        MMouse(X,Y,5,5);
        ClickMouse2(False);
        Wait(150+Random(50));
        ChooseOption('Remove');
        ClickContinue(True,True);
        Wait(1200+Random(50));
        FindNPCChatText('Yes',Clickleft);
        Wait(2000+Random(50));
      End else
    :P
    Last edited by blinkblink; 01-13-2012 at 06:43 AM.

  20. #20
    Join Date
    Dec 2011
    Location
    USA USA USA!!!
    Posts
    74
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by blinkblink View Post
    Decided to go look in the v0.2 code....

    Code:
    Procedure Builder;
    Begin
      If FindObjTpa(X,Y,LaderBuildColor,5,1,30, 20, 120, ['arder']) then
      Begin
        MMouse(X,Y,5,5);
        ClickMouse2(False);
        Wait(150+Random(50));
        ChooseOption('Remove');
        ClickContinue(True,True);
        Wait(1200+Random(50));
        FindNPCChatText('Yes',Clickleft);
        Wait(2000+Random(50));
      End else
    :P
    Good spot. I complete overlooked that. Saw the Procedure as Builder. Didn't think of the remove function to be in there. but it is. Then comes the question. Why doesn't it remove the larder to build again?

  21. #21
    Join Date
    Dec 2011
    Posts
    505
    Mentioned
    0 Post(s)
    Quoted
    26 Post(s)

    Default

    Quote Originally Posted by TwoClover View Post
    Good spot. I complete overlooked that. Saw the Procedure as Builder. Didn't think of the remove function to be in there. but it is. Then comes the question. Why doesn't it remove the larder to build again?
    maybe its a color issue, play with that

    In that area for remove it reads "LaderBuildColor", so more up in the code I'd say change the color for this code area:
    Code:
    function LaderBuildColor: Integer;
    var
      arP: TPointArray;
      arC: TIntegerArray;
      tmpCTS, i, arL: Integer;
    begin
      tmpCTS := GetColorToleranceSpeed;
      ColorToleranceSpeed(2);
      SetColorSpeed2Modifiers(0.05, 0.21);
    
      if not (FindColorsTolerance(arP, 2376274, MSX1, MSY1, MSX2, MSY2, 6)) then
      begin
        Writeln('Failed to find the color, no result.');
        ColorToleranceSpeed(tmpCTS);
        SetColorSpeed2Modifiers(0.2, 0.2);
        Exit;
    Now I have no clue if that is accurate for the color changing on LaderBuildColor or if that is the actual issue why its not removing them for you - I cannot run the script right now(my p2p ended)

    Use the color picker icon on the Simba Window to get the color of the *Larder from the RS screen window. The color you get from it make sure to replace the numbers I used bold in the code I have above. Like I said no clue if that even is the solution but give it a try.

  22. #22
    Join Date
    Nov 2011
    Posts
    1,589
    Mentioned
    9 Post(s)
    Quoted
    17 Post(s)

    Default

    Blink that colour was made from like 40 colours use Auto Colour Aid so I'm not sure you can go around changing it, by all means try and get it working as It been bugging me :P
    Mat



    ^^

  23. #23
    Join Date
    Dec 2011
    Posts
    221
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Out of interest how stable is this? ^.^

  24. #24
    Join Date
    Nov 2011
    Posts
    1,589
    Mentioned
    9 Post(s)
    Quoted
    17 Post(s)

    Default

    Find out



    ^^

  25. #25
    Join Date
    Dec 2011
    Posts
    505
    Mentioned
    0 Post(s)
    Quoted
    26 Post(s)

    Default

    Quote Originally Posted by Mat View Post
    Blink that colour was made from like 40 colours use Auto Colour Aid so I'm not sure you can go around changing it, by all means try and get it working as It been bugging me :P
    Mat
    :P I was just giving TwoClover a random idea to try to play in the script code

Page 1 of 2 12 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
  •