Page 4 of 4 FirstFirst ... 234
Results 76 to 99 of 99

Thread: S1NCooker [260K /h+]

  1. #76
    Join Date
    Mar 2012
    Posts
    87
    Mentioned
    0 Post(s)
    Quoted
    2 Post(s)

    Default

    Is there anyway to have it not click the same exact spot everytime it chooses the "cook shark" option without having to change a lot of code? Also, do you think it would make more sense to have it attempt some kind of anti ban while the food is cooking or is it better as it is now just having the mouse sit idle like a constantly afk player?

  2. #77
    Join Date
    Dec 2011
    Location
    New York, USA
    Posts
    1,242
    Mentioned
    12 Post(s)
    Quoted
    193 Post(s)

    Default

    just trying to help you out..

    Simba Code:
    function IsEvenNumber(x:Integer):Boolean;
    var
      n:Extended;
    begin
      repeat
        n := (x / 2);
        writeLn((n));
      until(n = 1) or (n = 0.5);
      writeLn((n));
      if (n = 1) then
        Result := True else Result := False;
    end;

    This would never work since the loop uses x which never changes so unless x is 2, this will continue on and on and on and on and on forever and ever and ever and on and on and forever.

    A better method would be this:
    Simba Code:
    {Full credit to Nebula for this, my original method was completely flawed}
    function IsEvenNumber(x:Integer):Boolean;
    var
      n:Extended;
    begin
      n := x;
      while n > 1.0 do
        n := n / 2;
      result := n = 1;
    end;

    Simba Code:
    procedure rToW;
    begin
      MouseItem(1,1);
      Wait(50 + Random(750));
      if FindBlackChatMessage('full') then
      begin
        wUrn := False;
        Exit;
      end else
        wUrn := True;
    end;

    Tbh what I am posting below seriously upsets me I'm not trying to shit talk you I'm just saying that you should know better than this.

    Simba Code:
    procedure rToW;
    begin
      MouseItem(1,1);
      Wait(50 + Random(750));
      if FindBlackChatMessage('full') then
      begin
        wUrn := False;
        Exit;
      end else
        wUrn := True;
    end;
    Could be this..
    Simba Code:
    procedure rToW;
    begin
      MouseItem(1,1);
      Wait(50 + Random(750));
      result := not FindBlackChatMessage('full');
    end;


    Quote Originally Posted by Shay View Post
    Simba Code:
    //Its going to stay like this Nebula, deal with it.
    Lol- These actually made me laugh
    Last edited by BraK; 08-26-2012 at 05:12 AM.

  3. #78
    Join Date
    Dec 2011
    Location
    Toronto, Ontario
    Posts
    6,424
    Mentioned
    84 Post(s)
    Quoted
    863 Post(s)

    Default

    Simba Code:
    function IsEvenNumber(x:Integer):Boolean;
    var
      n:Extended;
    begin
      repeat
        n := (x / 2);
        writeLn((n));
      until(n = 1) or (n = 0.5);
      writeLn((n));
      if (n = 1) then
        Result := True else Result := False;
    end;
    I was messing around with that, it didn't work so yeah.

    Simba Code:
    procedure rToW;
    begin
      MouseItem(1,1);
      Wait(50 + Random(750));
      result := not FindBlackChatMessage('full');
    end;

    Erm, there's a few things wrong, it's a procedure so Result wouldn't work, and I need to set a global var to true :l

  4. #79
    Join Date
    Dec 2011
    Location
    New York, USA
    Posts
    1,242
    Mentioned
    12 Post(s)
    Quoted
    193 Post(s)

    Default

    I meant wUrn not result. so this:
    Simba Code:
    procedure rToW;
    begin
      MouseItem(1,1);
      Wait(50 + Random(750));
      wUrn := not FindBlackChatMessage('full');
    end;

  5. #80
    Join Date
    Dec 2011
    Location
    Toronto, Ontario
    Posts
    6,424
    Mentioned
    84 Post(s)
    Quoted
    863 Post(s)

    Default

    Gah well, that'll work too xD

  6. #81
    Join Date
    Mar 2012
    Posts
    87
    Mentioned
    0 Post(s)
    Quoted
    2 Post(s)

    Default

    Changed a line,
    Simba Code:
    procedure ChooseInterfaceOption;
    begin
      if ChatInterfaceUp then
        Mouse(230 + Random(55),400+Random(60),3,3,True);
    end;

    and borrowed some anti-ban from another script. With Urns turned off it seems to work ok, SRL is seriously failing at doing any randoms though but that isn't too much of a problem.

    Don't think I will be using the script enough to try and mess with the urns working properly, I will look at it while I babysit the script maybe
    Last edited by Valeyard; 08-26-2012 at 05:30 PM.

  7. #82
    Join Date
    May 2012
    Posts
    23
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    I like the concept of the script but I'm having an issue. I can get the script to open up the bank but

    if BankScreen then
    break;
    never goes true so I can't get past this. I've tried both versions of the script and gets stuck at the same location. any advice?

    Thanks

  8. #83
    Join Date
    Apr 2012
    Location
    St. Louis, Missouri
    Posts
    383
    Mentioned
    2 Post(s)
    Quoted
    1 Post(s)

    Default

    Oooh I'm looking forward to this little gem. I haven't used Simba since the slayer update fucked it up, so it might take a little bit to get it running. But 90-99 cooking shall be nice with this ^.^, thanks.

  9. #84
    Join Date
    Jun 2012
    Posts
    8
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    the script works wonderful most times but sometimes it just stops randomly after the inventory finishes

    Unfortunately i do not know how to script but just an idea to fix the urns scripting, make it so you never click deposit inventory, and there fore make it always right click sharks and deposit all sharks, still keep the first step of left clicking the first inventory space before banking but script the WithdrawUrn procedure to false if InvCount > 1.

    though you will be missing out on the bonus 20% xp on 17 sharks because it takes 37 sharks to fill 1 and two inventory is 54, this is just a simple and basic idea to improve the xp/hr rate of this script. Im sure my idea will help you think of a better way to incorporate flawless urning into the script but however this is a public script and i greatly appreciate the work and effort you have put into it.

    i hope you understand what i mean

    new idea, if you have two decorated cooking urns in ur inventory and make the script click the first and second slot of ur inv before banking and withdraw urns only when ur invcount < 2, though this seems more bot like since you are clicking both urns without human detection of which urn was recently withdrawn, it will still be a 20% more efficient way of cooking anything!
    Last edited by Phatalhitz; 08-28-2012 at 11:22 PM.

  10. #85
    Join Date
    Mar 2012
    Posts
    87
    Mentioned
    0 Post(s)
    Quoted
    2 Post(s)

    Default

    Of course, anyone that is still burning sharks would be fucked if deposit all wasn't used. It would end up with a full invent of burnt sharks eventually. Of course there could be a catch for that aswell but whatever

  11. #86
    Join Date
    Jun 2012
    Posts
    712
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Some how it made 4-5 trips then failed a right click and was just randomly clicking the shark to bank...

  12. #87
    Join Date
    Jan 2012
    Posts
    64
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Cool script, will use soon.

    @the above
    Code:
    function IsEven(N: Integer): Boolean;
    begin
      Result := ((N mod 2) = 0);
    end;

  13. #88
    Join Date
    Jun 2012
    Posts
    712
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by scipio View Post
    Cool script, will use soon.

    @the above
    Code:
    function IsEven(N: Integer): Boolean;
    begin
      Result := ((N mod 2) = 0);
    end;

    Is that what I need to change the script to?

  14. #89
    Join Date
    Mar 2012
    Posts
    87
    Mentioned
    0 Post(s)
    Quoted
    2 Post(s)

    Default

    Quote Originally Posted by scipio View Post
    Cool script, will use soon.

    @the above
    Code:
    function IsEven(N: Integer): Boolean;
    begin
      Result := ((N mod 2) = 0);
    end;
    I too noticed the strange complex original function for finding out whether a number was even but I didn't change it since it wasn't used in the script anymore

    @below, changing that shouldn't make any difference to your problem

  15. #90
    Join Date
    Jun 2012
    Posts
    712
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Can anyone tell me how I could fix my issue I have nearly 20k sharks I need to cook.

  16. #91
    Join Date
    Feb 2012
    Location
    UK
    Posts
    909
    Mentioned
    10 Post(s)
    Quoted
    191 Post(s)

    Default

    For most of my cooking I used Enslaved's Cooking Guilder bot. For me it worked much better.
    Solar from RiD.

  17. #92
    Join Date
    Dec 2011
    Location
    Toronto, Ontario
    Posts
    6,424
    Mentioned
    84 Post(s)
    Quoted
    863 Post(s)

    Default

    Quote Originally Posted by Solar View Post
    For most of my cooking I used Enslaved's Cooking Guilder bot. For me it worked much better.

    And this is on my thread why........?


    Not too sure why it's happening, it's working perfectly for me :x

  18. #93
    Join Date
    Feb 2012
    Location
    UK
    Posts
    909
    Mentioned
    10 Post(s)
    Quoted
    191 Post(s)

    Default

    Quote Originally Posted by Shay View Post

    And this is on my thread why........?


    Not too sure why it's happening, it's working perfectly for me :x
    I was just telling Jos3ph that there is an alternative. Sorry.
    Solar from RiD.

  19. #94
    Join Date
    Jun 2012
    Posts
    712
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by Shay View Post

    And this is on my thread why........?


    Not too sure why it's happening, it's working perfectly for me :x
    I will test again but I'll teamview with you if it happens again

  20. #95
    Join Date
    Sep 2012
    Posts
    9
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    ============S1NCooker==============
    Time Running: 3 Hours, 6 Minutes and 23 Seconds
    XP Earned: 703080
    XP/h: -157742
    Items Cooked: 3348
    ===================================
    great script man i will try for 6 hours
    next up i will try rocktail if the are supported?
    sorry for sounding like a leacher i am trying to learn scripting
    Last edited by daarth; 10-09-2012 at 05:22 AM. Reason: edit

  21. #96
    Join Date
    Dec 2011
    Location
    Toronto, Ontario
    Posts
    6,424
    Mentioned
    84 Post(s)
    Quoted
    863 Post(s)

    Default

    They're supported ^.^

  22. #97
    Join Date
    Sep 2012
    Posts
    9
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by Shay View Post
    They're supported ^.^
    rocktails don't work for me they take them out select them and it cant find the cook option.

  23. #98
    Join Date
    Mar 2006
    Location
    Behind you
    Posts
    3,193
    Mentioned
    61 Post(s)
    Quoted
    63 Post(s)

    Default

    Moved to Outdated

    "Sometimes User's don't need the Answer spelled out with Code. Sometimes all they need is guidance and explanation of the logic to get where they are going."

  24. #99
    Join Date
    Dec 2011
    Location
    Toronto, Ontario
    Posts
    6,424
    Mentioned
    84 Post(s)
    Quoted
    863 Post(s)

    Default

    Gave it a run and it still works.

Page 4 of 4 FirstFirst ... 234

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
  •