Page 1 of 3 123 LastLast
Results 1 to 25 of 56

Thread: [AL]Catherby Cooker

  1. #1
    Join Date
    Aug 2007
    Location
    Colorado
    Posts
    7,421
    Mentioned
    268 Post(s)
    Quoted
    1442 Post(s)

    Default [AL]Catherby Cooker


    Catherby Cooker
    By Flight

    Current revision: 1.01
    Required AL version: 1.0

    Core features:
    • Cooks raw fish at the Catherby range
    • Handles trout, salmon, tuna, lobsters, swordfish, monkfish, and sharks
    • Optimized for speedy cooking (over 1,000 fish per hour!)
    • Very fast detection of random events (+anti-ban routines)
    • FSM-style engine
    • Solid break system (By Echo_)
    • 100% color


    Requirements to run:
    • AeroLib
    • Everything AeroLib requires to run


    Random-solvers:

    Working
    • Swarm & Evil chicken
    • Strange plant
    • Strange box
    • Rewards (Lamp/XP Book)
    • All talking randoms
    • Royal frog
    • Drill demon
    • Pinball
    • Evil Bob's island
    • Pillory
    • Certers

    Chance of fail
    • Frog cave
    • Sandwich lady (Chance of fail on triangle/square sandwich)

    Detected but disabled
    • Mordaut
    • Quiz
    • Maze
    • Mime
    • Abyss
    • Leo (grave-digger)
    • Molly (evil twin)
    • Cap'n Arnav
    • Freaky forester
    • Bee-keeper
    • Prison Pete


    How to run:
    Start either in the Catherby bank or house east of the bank (with the range). If using Cooking Gauntlets, start with them already equipped.
    Attached Files Attached Files
    Last edited by Flight; 06-16-2014 at 03:37 AM. Reason: Grammar mistake...

    Current projects:
    [ AeroGuardians (GotR minigame), Motherlode Miner, Blast furnace ]

    "I won't fall in your gravity. Open your eyes,
    you're the Earth and I'm the sky..."


  2. #2
    Join Date
    Sep 2012
    Location
    Netherlands
    Posts
    2,752
    Mentioned
    193 Post(s)
    Quoted
    1468 Post(s)

    Default

    Flight do you think that these randoms

    Code:
    Mordaut
    Quiz
    Maze
    Mime
    Abyss
    Leo (grave-digger)
    Molly (evil twin)
    Cap'n Arnav
    Freaky forester
    Bee-keeper
    Prison Pete
    Are ever going to be solved?

  3. #3
    Join Date
    Nov 2011
    Location
    Australia
    Posts
    418
    Mentioned
    2 Post(s)
    Quoted
    86 Post(s)

    Default

    Quote Originally Posted by hoodz View Post
    Flight do you think that these randoms

    Code:
    Mordaut
    Quiz
    Maze
    Mime
    Abyss
    Leo (grave-digger)
    Molly (evil twin)
    Cap'n Arnav
    Freaky forester
    Bee-keeper
    Prison Pete
    Are ever going to be solved?
    Yeah, all you need to do is:
    MMove(100,500);
    ClickMouse(x,y,false);
    repeat false;
    //ultimate random solver by Syntax

  4. #4
    Join Date
    Aug 2007
    Location
    Colorado
    Posts
    7,421
    Mentioned
    268 Post(s)
    Quoted
    1442 Post(s)

    Default

    Quote Originally Posted by hoodz View Post
    Flight do you think that these randoms

    Code:
    Mordaut
    Quiz
    Maze
    Mime
    Abyss
    Leo (grave-digger)
    Molly (evil twin)
    Cap'n Arnav
    Freaky forester
    Bee-keeper
    Prison Pete
    Are ever going to be solved?
    I'm working on Mordaut and Prison Pete now, and I have concepts for the Quiz, Abyss, Molly, Cap'n Arnaz, Freeky Forester, Bee-keeper and the Mime event. But Leo and Maze..... I'm not sure what I'll do there.

    Current projects:
    [ AeroGuardians (GotR minigame), Motherlode Miner, Blast furnace ]

    "I won't fall in your gravity. Open your eyes,
    you're the Earth and I'm the sky..."


  5. #5
    Join Date
    Sep 2012
    Location
    Netherlands
    Posts
    2,752
    Mentioned
    193 Post(s)
    Quoted
    1468 Post(s)

    Default

    Quote Originally Posted by Flight View Post
    I'm working on Mordaut and Prison Pete now, and I have concepts for the Quiz, Abyss, Molly, Cap'n Arnaz, Freeky Forester, Bee-keeper and the Mime event. But Leo and Maze..... I'm not sure what I'll do there.
    wouldn't sps work for maze?

  6. #6
    Join Date
    Oct 2006
    Location
    Netherlands
    Posts
    3,285
    Mentioned
    105 Post(s)
    Quoted
    494 Post(s)

    Default

    This is not a color vs reflection thread. No more discussion about it.
    Working on: Tithe Farmer

  7. #7
    Join Date
    Apr 2014
    Posts
    323
    Mentioned
    0 Post(s)
    Quoted
    131 Post(s)

    Default

    Quote Originally Posted by hoodz View Post
    Okay thanks, you can delete your post since im deleting mine. If you see this post you can delete this one too

    is everyone's simba failing today or is it just me? i cant start a single script.

  8. #8
    Join Date
    Sep 2012
    Location
    Netherlands
    Posts
    2,752
    Mentioned
    193 Post(s)
    Quoted
    1468 Post(s)

    Default

    Quote Originally Posted by hakishakataki View Post
    is everyone's simba failing today or is it just me? i cant start a single script.
    this one should work since its not using reflection, reflection scripts are indeed broken

  9. #9
    Join Date
    Apr 2014
    Posts
    323
    Mentioned
    0 Post(s)
    Quoted
    131 Post(s)

    Default

    Quote Originally Posted by hoodz View Post
    this one should work since its not using reflection, reflection scripts are indeed broken
    Thought I'd post before I investigate my problem.
    When i press the run button on this script i get the error

    Error] C:\Simba\Scripts\CatherbyCooker(1.0).simba(2:1): Unable to register function function CreatePerspective(const sx0, sy0, sx1, sy1, sx2, sy2, sx3, sy3, dx0, dy0, dx1, dy1, dx2, dy2, dx3, dy3: Double): TPerspective; at line 2
    Compiling failed.

  10. #10
    Join Date
    Aug 2007
    Location
    Colorado
    Posts
    7,421
    Mentioned
    268 Post(s)
    Quoted
    1442 Post(s)

    Default

    Quote Originally Posted by hakishakataki View Post
    Thought I'd post before I investigate my problem.
    When i press the run button on this script i get the error

    Error] C:\Simba\Scripts\CatherbyCooker(1.0).simba(2:1): Unable to register function function CreatePerspective(const sx0, sy0, sx1, sy1, sx2, sy2, sx3, sy3, dx0, dy0, dx1, dy1, dx2, dy2, dx3, dy3: Double): TPerspective; at line 2
    Compiling failed.
    That's weird, AFAIK there's no compile errors with the Solvers plugin.

    Current projects:
    [ AeroGuardians (GotR minigame), Motherlode Miner, Blast furnace ]

    "I won't fall in your gravity. Open your eyes,
    you're the Earth and I'm the sky..."


  11. #11
    Join Date
    Apr 2014
    Posts
    323
    Mentioned
    0 Post(s)
    Quoted
    131 Post(s)

    Default

    Quote Originally Posted by Flight View Post
    That's weird, AFAIK there's no compile errors with the Solvers plugin.
    so what should i do?

  12. #12
    Join Date
    Aug 2007
    Location
    Colorado
    Posts
    7,421
    Mentioned
    268 Post(s)
    Quoted
    1442 Post(s)

    Default

    Quote Originally Posted by hakishakataki View Post
    so what should i do?
    Are you running Simba as administrator? I've never seen this error before; @Olly?

    Current projects:
    [ AeroGuardians (GotR minigame), Motherlode Miner, Blast furnace ]

    "I won't fall in your gravity. Open your eyes,
    you're the Earth and I'm the sky..."


  13. #13
    Join Date
    Apr 2014
    Posts
    323
    Mentioned
    0 Post(s)
    Quoted
    131 Post(s)

    Default

    Quote Originally Posted by Flight View Post
    Are you running Simba as administrator? I've never seen this error before; @Olly?
    just tried as admin. same error
    [Error] C:\Simba\Scripts\CatherbyCooker(1.0).simba(2:1): Unable to register function function CreatePerspective(const sx0, sy0, sx1, sy1, sx2, sy2, sx3, sy3, dx0, dy0, dx1, dy1, dx2, dy2, dx3, dy3: Double): TPerspective; at line 2
    Compiling failed.

  14. #14
    Join Date
    Aug 2007
    Location
    Colorado
    Posts
    7,421
    Mentioned
    268 Post(s)
    Quoted
    1442 Post(s)

    Default

    Ok, has anyone already run this script successfully?

    Current projects:
    [ AeroGuardians (GotR minigame), Motherlode Miner, Blast furnace ]

    "I won't fall in your gravity. Open your eyes,
    you're the Earth and I'm the sky..."


  15. #15
    Join Date
    Feb 2012
    Location
    Norway
    Posts
    995
    Mentioned
    145 Post(s)
    Quoted
    596 Post(s)

    Default

    Quote Originally Posted by hakishakataki View Post
    just tried as admin. same error
    [Error] C:\Simba\Scripts\CatherbyCooker(1.0).simba(2:1): Unable to register function function CreatePerspective(const sx0, sy0, sx1, sy1, sx2, sy2, sx3, sy3, dx0, dy0, dx1, dy1, dx2, dy2, dx3, dy3: Double): TPerspective; at line 2
    Compiling failed.
    You are trying to run the AeroLib inclide with the PascalScript engine. AeroLib requires you to use Lape as the engine.
    How to fix: Menu -> Script -> Interpreter -> Lape

    This should be mentioned in the topic.


    @Flight, as i mentioned to Olly regarding SRL, you should add this as well to your include (AeroLib):
    {$DEFINE AEROLIB}

    That will allow us to make compatibility adjustments cross-include, as we would know at compile-time that AeroLib is included.
    !No priv. messages please

  16. #16
    Join Date
    Aug 2007
    Location
    Colorado
    Posts
    7,421
    Mentioned
    268 Post(s)
    Quoted
    1442 Post(s)

    Default

    Quote Originally Posted by slacky View Post
    You are trying to run the AeroLib inclide with the PascalScript engine. AeroLib requires you to use Lape as the engine.
    How to fix: Menu -> Script -> Interpreter -> Lape

    This should be mentioned in the topic.



    Indeed it is mentioned that everything required to run AeroLib is also required for the script, but I don't see any harm with mentioning here as well; will do.

    Quote Originally Posted by slacky View Post
    @Flight, as i mentioned to Olly regarding SRL, you should add this as well to your include (AeroLib):
    {$DEFINE AEROLIB}

    That will allow us to make compatibility adjustments cross-include, as we would know at compile-time that AeroLib is included.
    As far as I can tell the main AeroLib.simba file will still need to be included in every script which uses it; I'm not sure where exactly I'm supposed to add that.

    Current projects:
    [ AeroGuardians (GotR minigame), Motherlode Miner, Blast furnace ]

    "I won't fall in your gravity. Open your eyes,
    you're the Earth and I'm the sky..."


  17. #17
    Join Date
    Feb 2012
    Location
    Norway
    Posts
    995
    Mentioned
    145 Post(s)
    Quoted
    596 Post(s)

    Default

    @Flight:

    ^ like so
    Say if we include two includes in our script, include one is AeroLib:

    {$I AeroLib/AeroLib.simba}
    then we include another one
    {$I SuperUtils/SuperUtils.simba}

    SuperUtils (just made it up) has many cool TBox functions.. but some does not get along with AeroLib..
    So it's "smart", once AeroLib is parsed SuperUtils will be parsed, and now it KNOWS that AeroLib is included, so it can make workarounds for compatibility:

    Simba Code:
    {$IFNDEF AeroLib}
    function TBox.Width(): Int32;
    {$ELSE}
    function TBox.Width(): Int32; override;
    {$ENDIF}
    begin
      Result := (Self.X2 - Self.X1 + 1);
    end;

    (* .. or ... *)

    {$IFNDEF AeroLib}
    function TBox.Height(): Int32;
    begin
      Result := (Self.Y2 - Self.Y1 + 1);
    end;
    {$ENDIF}

    And that was it.. Nothing more has to be done. It would now be compatible with AeroLib.
    !No priv. messages please

  18. #18
    Join Date
    Aug 2007
    Location
    Colorado
    Posts
    7,421
    Mentioned
    268 Post(s)
    Quoted
    1442 Post(s)

    Default

    Quote Originally Posted by slacky View Post
    ^ like so
    Say if we include two includes in our script, include one is AeroLib:

    {$I AeroLib/AeroLib.simba}
    then we include another one
    {$I SuperUtils/SuperUtils.simba}

    SuperUtils (just made it up) has many cool TBox functions.. but some does not get along with AeroLib..
    So it's "smart", once AeroLib is parsed SuperUtils will be parsed, and now it KNOWS that AeroLib is included, so it can make workarounds for compatibility:
    Ok I've done that, but for every function that has compile conflicts with another loaded include, wouldn't one of the two includes have to have "{$IFNDEF AeroLib}" and "{$ELSE}" for every function that has conflicts?

    Current projects:
    [ AeroGuardians (GotR minigame), Motherlode Miner, Blast furnace ]

    "I won't fall in your gravity. Open your eyes,
    you're the Earth and I'm the sky..."


  19. #19
    Join Date
    Feb 2012
    Location
    Norway
    Posts
    995
    Mentioned
    145 Post(s)
    Quoted
    596 Post(s)

    Default

    Quote Originally Posted by Flight View Post
    Ok I've done that, but for every function that has compile conflicts with another loaded include, wouldn't one of the two includes have to have "{$IFNDEF AeroLib}" and "{$ELSE}" for every function that has conflicts?
    My example code shows you what has to be done for compatibility... but yes you are on track.
    !No priv. messages please

  20. #20
    Join Date
    Apr 2014
    Posts
    323
    Mentioned
    0 Post(s)
    Quoted
    131 Post(s)

    Default

    something I've often run into is that after cooking the fish, the script just idles at the cooking range and never goes back to the bank.

    im not quite sure what's going on, maybe it doesnt detect that all of the fish have cooked. Ill grab a screen shot next time it happens.

    edit: here it is just sittin. http://i.gyazo.com/448b7df7bf7583bee47a51990f632540.png

  21. #21
    Join Date
    Aug 2007
    Location
    Colorado
    Posts
    7,421
    Mentioned
    268 Post(s)
    Quoted
    1442 Post(s)

    Default

    Quote Originally Posted by hakishakataki View Post
    something I've often run into is that after cooking the fish, the script just idles at the cooking range and never goes back to the bank.

    im not quite sure what's going on, maybe it doesnt detect that all of the fish have cooked. Ill grab a screen shot next time it happens.

    edit: here it is just sittin. http://i.gyazo.com/448b7df7bf7583bee47a51990f632540.png
    Ok well I'm pleased that you at least got the script running. I believe the problem simply is the script cannot find my assigned DTM for the bank's location via the MM. I have rev. #1 already set with a couple adjustments here and there, including a second MM DTM for both the house with the range as well as the bank. I suppose I could make one more DTM using the image you posted above and I'll go ahead and put it out.

    This is good news though, now that I know the include runs fine I can put out updates for AeroLib without worrying if it works at all for others.

    Current projects:
    [ AeroGuardians (GotR minigame), Motherlode Miner, Blast furnace ]

    "I won't fall in your gravity. Open your eyes,
    you're the Earth and I'm the sky..."


  22. #22
    Join Date
    Apr 2014
    Posts
    323
    Mentioned
    0 Post(s)
    Quoted
    131 Post(s)

    Default

    Quote Originally Posted by Flight View Post
    Ok well I'm pleased that you at least got the script running. I believe the problem simply is the script cannot find my assigned DTM for the bank's location via the MM. I have rev. #1 already set with a couple adjustments here and there, including a second MM DTM for both the house with the range as well as the bank. I suppose I could make one more DTM using the image you posted above and I'll go ahead and put it out.

    This is good news though, now that I know the include runs fine I can put out updates for AeroLib without worrying if it works at all for others.
    As am I, thankfully it was something as simple as switching the interpreter to lape hahaha!
    That sounds great! I'm excited to see the update.

    What does AeroLib do exactly?

  23. #23
    Join Date
    Aug 2007
    Location
    Colorado
    Posts
    7,421
    Mentioned
    268 Post(s)
    Quoted
    1442 Post(s)

    Default

    Quote Originally Posted by hakishakataki View Post
    As am I, thankfully it was something as simple as switching the interpreter to lape hahaha!
    That sounds great! I'm excited to see the update.

    What does AeroLib do exactly?
    It's just an alternative library for writing Simba scripts for OSRS.

    Edit:
    Progress Report by Flight:
    [==========================================]
    [ Catherby Cooker V 1 Rev 1                ]
    [                 by Flight                ]
    [==========================================]
    [ Total Run Time  : 9 Hr 7 Min 9 Sec       ]
    [ Cooking XP      : 1,313,100 (143,990/Hr) ]
    [ Monkfish Cooked : 8,754 (960/Hr)         ]
    [ Breaks          : 2                      ]
    [ Logged In       : 3                      ]
    [==========================================]
    [         Catherby Cooker V 1 Rev 1        ]
    [==========================================]
    [====================================]
    [           Randoms Report           ]
    [____________________________________]
    [        [Certers] Solved: 3         ]
    [     [Sandwich Lady] Solved: 2      ]
    [          [Frog] Solved: 1          ]
    [        [Rewards] Solved: 3         ]
    [         [Combat] Solved: 3         ]
    [     [Strange Plant] Solved: 6      ]
    [      [Evil Chicken] Solved: 4      ]
    [====================================]
    Time until break: 02:18:25


    Had to stop because I'm sleepy... Rev #1 seems to work just fine so I'll release it in the morning.
    Last edited by Flight; 06-04-2014 at 03:31 PM.

    Current projects:
    [ AeroGuardians (GotR minigame), Motherlode Miner, Blast furnace ]

    "I won't fall in your gravity. Open your eyes,
    you're the Earth and I'm the sky..."


  24. #24
    Join Date
    Aug 2007
    Location
    Colorado
    Posts
    7,421
    Mentioned
    268 Post(s)
    Quoted
    1442 Post(s)

    Default

    Script updated with its first revision. I can't remember what exactly I did but for sure I know I've updated the walking between the bank and the range, as well as the optional FastMode which will skip a few checks to optimize speed. I left this optional because you may wish to have the script wait for actions to complete before moving to the next stage, perhaps if you're lagging it's better to disable FastMode.

    Current projects:
    [ AeroGuardians (GotR minigame), Motherlode Miner, Blast furnace ]

    "I won't fall in your gravity. Open your eyes,
    you're the Earth and I'm the sky..."


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

    Default

    flight is a bad scripter I wouldnt recommend anybody use this script

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