# Thread: TomTuff's Al Kharid Cooker

1. ## TomTuff's Al Kharid Cooker

New script... This one actually works*, take my word for it!
*DISCLAIMER: Only tested with lobsters

Features:
-Good Antiban
-Antirandom
-Absolute color! NO Reflection! As of Revision 3, It now uses Reflection antirandoms simply because they work better.
-TPA Walking and object finding
-DTM Item counting/finding
-Detailed and neat progress report
-short and efficient
-plenty of check sums and fail safes

Setup:
Start the player anywhere in Al Kharid Bank. Follow the setup instructions that are in the comments in the script. Smart is optional; comment out line 2 if you do not want to use it. Be sure that the fish you are cooking is visible in the bank. Click run. Enjoy cooking exp.

Sample progress report:
Progress Report by TomTuff:
┌------------------------------------------------------------------┐
│                    TomTuff's Al Kharid Cooker                    │
│                            Revision 01                           │
├------------------------------------------------------------------┤
│  Overall:                                                        │
│    Time Ran: 59 Minutes and 32 Seconds                           │
│    Food Cooked: 1008                                             │
│    Food Sucessfully Cooked: 1008                                 │
│    Total XP Gained: 120960                                       │
│    Levels Gained: 0                                              │
├------------------------------------------------------------------┤
│  Player  0:                                                      │
│    Worked: 59 Minutes and 32 Seconds                             │
│    Food Type: Lobster                                            │
│    Food Attempted: 1008                                          │
│    Food Sucessfully Cooked: 1008                                 │
│    Exp Gained: 120960                                            │
└------------------------------------------------------------------┘

Revision history is at the bottom of the file, for those interested.

Enjoy
Rep appreciated
Last edited by TomTuff; 02-21-2011 at 10:43 PM.

2. Progs:

Best by me:
Progress Report by TomTuff:
┌------------------------------------------------------------------┐
│                    TomTuff's Al Kharid Cooker                    │
│                            Revision 03                           │
├------------------------------------------------------------------┤
│  Overall:                                                        │
│    Time Ran: 2 Hours, 49 Minutes and 50 Seconds                  │
│    Food Cooked: 2800                                             │
│    Food Sucessfully Cooked: 2774                                 │
│    Total XP Gained: 332880                                       │
│    Levels Gained: 2                                              │
├------------------------------------------------------------------┤
│  Player  0:                                                      │
│    Worked: 2 Hours, 49 Minutes and 27 Seconds                    │
│    Food Type: Lobster                                            │
│    Food Attempted: 2800                                          │
│    Food Sucessfully Cooked: 2774                                 │
│    Exp Gained: 332880                                            │
│    Exp/HR: 117859                                                │
└------------------------------------------------------------------┘

┌------------------------------------------------------------------┐
│                    TomTuff's Al Kharid Cooker                    │
│                            Revision 05                           │
├------------------------------------------------------------------┤
│  Overall:                                                        │
│    Time Ran: 2 Hours, 7 Minutes and 2 Seconds                    │
│    Food Cooked: 2085                                             │
│    Food Sucessfully Cooked: 2043                                 │
│    Total XP Gained: 286020                                       │
│    Levels Gained: 0                                              │
├------------------------------------------------------------------┤
│  Player  0:                                                      │
│    Worked: 2 Hours, 6 Minutes and 39 Seconds                     │
│    Food Type: Swordfish                                          │
│    Food Attempted: 2085                                          │
│    Food Sucessfully Cooked: 2043                                 │
│    Exp Gained: 286020                                            │
│    Exp/HR: 135493                                                │
│    Food cooked/HR: 988                                           │
└------------------------------------------------------------------┘

Best by others:
Originally Posted by doublex8
Progress Report by doublex8:
┌------------------------------------------------------------------┐
│                    TomTuff's Al Kharid Cooker                    │
│                            Revision 06                           │
├------------------------------------------------------------------┤
│  Overall:                                                        │
│    Time Ran: 1 Hours, 59 Minutes and 59 Seconds                  │
│    Food Cooked: 1835                                             │
│    Food Sucessfully Cooked: 1792                                 │
│    Total XP Gained: 125440                                       │
│    Levels Gained: 2                                              │
├------------------------------------------------------------------┤
│  Player  0:                                                      │
│    Worked: 1 Hours, 59 Minutes and 56 Seconds                    │
│    Food Type: Trout                                              │
│    Food Attempted: 1835                                          │
│    Food Sucessfully Cooked: 1792                                 │
│    Levels Gained: 2                                              │
│    Exp Gained: 125440                                            │
│    Exp/HR: 62753                                                 │
│    Food cooked/HR: 918                                           │
└------------------------------------------------------------------┘
Last edited by TomTuff; 12-26-2010 at 04:11 AM.

3. SRL Junior Member
Join Date
Aug 2010
Posts
351
Mentioned
0 Post(s)
Quoted
0 Post(s)
Amazing script. Fast and effective.

Progress Report:
┌------------------------------------------------------------------┐
│                    TomTuff's Al Kharid Cooker                    │
│                            Revision 02                           │
├------------------------------------------------------------------┤
│  Overall:                                                        │
│    Time Ran: 10 Minutes and 27 Seconds                           │
│    Food Cooked: 168                                              │
│    Food Sucessfully Cooked: 135                                  │
│    Total XP Gained: 12150                                        │
│    Levels Gained: 2                                              │
├------------------------------------------------------------------┤
│  Player  0:                                                      │
│    Worked: 10 Minutes and 26 Seconds                             │
│    Food Type: Salmon                                             │
│    Food Attempted: 168                                           │
│    Food Sucessfully Cooked: 135                                  │
│    Exp Gained: 12150                                             │
│    Exp/HR: 69852                                                 │
└------------------------------------------------------------------┘

4. Bring Up My Post

5. nice compliment to the shilo village script someone made(sorry I forget who at the moment), thanks for adding salmon and trout. Anyway you could include tuna? I got 5k of salmon and trout to cook so I will try to get a good prog.

6. Originally Posted by doublex8
nice compliment to the shilo village script someone made(sorry I forget who at the moment), thanks for adding salmon and trout. Anyway you could include tuna? I got 5k of salmon and trout to cook so I will try to get a good prog.
Shuttleu.

And sure, I'll add the DTMs for Tuna when my player is done ^_^

7. Originally Posted by TomTuff
Shuttleu.

And sure, I'll add the DTMs for Tuna when my player is done ^_^
Much appreciated ^_^ I've been waiting a long time for a cooking script.

8. Its pretty easy to make a cooking script(I have a reflection/color one that is about 160 lines), all you need is the tile co ords of the range.

9. Originally Posted by kongking
Its pretty easy to make a cooking script(I have a reflection/color one that is about 160 lines), all you need is the tile co ords of the range.
If it was so easy, let's see it.

10. Ill post the script when i get home(im at work rite now :P) which is about 6 hrs from now.

11. Click Range takes...hmmm 10 lines
Banking would require 4, if my withdrawer was included.
Walking to range is 1,
Walking to bank is included in the banking section.
well thats < 20, add failsafes for another 30 lines, thats 50.

Declare Players, maybe an extra 20 lines, makes 70

yes, < 160 lines is certainly possible.

12. Originally Posted by Bad Boy JH
Click Range takes...hmmm 10 lines
Banking would require 4, if my withdrawer was included.
Walking to range is 1,
Walking to bank is included in the banking section.
well thats < 20, add failsafes for another 30 lines, thats 50.

Declare Players, maybe an extra 20 lines, makes 70

yes, < 160 lines is certainly possible.
that wouldn't last very long... lol

13. seems to have trouble finding the range sometimes. I Keep having to start the script every hour or so.

14. Originally Posted by doublex8
seems to have trouble finding the range sometimes. I Keep having to start the script every hour or so.
If it's giving an out of range error, try restarting simba.

15. Originally Posted by TomTuff
that wouldn't last very long... lol

Using reflection, it does(i cooked about 3k tunas).

16. let's not start a color versus reflection fight lol

17. I always wanted to do that(but I don't really have a clue as to how reflection works, so i can only come up with ideas as to how color sucks)

18. Originally Posted by TomTuff
If it's giving an out of range error, try restarting simba.
I get the out of range error sometimes too but sometimes it just says it can't find the range(the stove) with no out of range error.

19. Ahhhh........the problems associated with color :P

Edit: Getting color to work smoothly at akb is a pain in the back

20. Originally Posted by doublex8
I get the out of range error sometimes too but sometimes it just says it can't find the range(the stove) with no out of range error.
It might be uptext. Uptext always gives me problems in al-kharid for some reason. When it messes up, what does it do? If it mouses over the range but still messes up, then it's uptext.

Also, kongking, why do you say that?

21. Originally Posted by TomTuff
It might be uptext. Uptext always gives me problems in al-kharid for some reason. When it messes up, what does it do? If it mouses over the range but still messes up, then it's uptext.

Also, kongking, why do you say that?
I usually log back in and I'm not even in the kebab store.

22. Originally Posted by TomTuff
Also, kongking, why do you say that?
Well its mighty hard to find the range at akb using color since most of its colors are easily confused for the furnace nearby, or the floor. I would make the whole script nearly full reflection since you are using reflection anyway, and it has less chances to stuff up.(1% reflection or 100% reflection is the same if the reflection part is vital for the functioning of the script, because the whole script breaks when hooks get outdated)

23. Revision 6 added. Someone tell me if "HandleBox" works see change log for other small things.

24. Why not just have a Reflection Failsafe/Backup?
So if colour can't find the stove then Reflection will.
I know, lots of people will just say use reflection on its own, but Colour requires more effort/skill in this area.

-Boom

25. Originally Posted by Dynamite
Why not just have a Reflection Failsafe/Backup?
So if colour can't find the stove then Reflection will.
I know, lots of people will just say use reflection on its own, but Colour requires more effort/skill in this area.

-Boom
I don't see this is as necessary. The only reason the script stops for me is because of randoms, and hopefully i made it handle randoms properly in revision 6.