Cook Guild Matters
Version 1.41
Requirements:
P2P
Varrock Diary Hard Tasks Completed
Raw Food (Literally has to have 'raw' in the name. I can work something out if you have something that doesn't.)
Color of Your Raw Food
Desire For Cooking Exp
Features:
SRL 5
Urn Support
Only Cooking Guild Room For Now
To Add
Breaks
Multiple Players (maybe not since I don't know how I would get a second account with the reqs)
Tidying of Script
Better Fail Safes
Note: This script is for only this specific location. The no walking part is kind of appealing for a beginning script writer. I highly doubt my cooking script adventures will leave this room. Apologies for the fairly steep requirements!
I haven't seen many cooking scripts, and this location is quite convenient. I figured I would make it into my first script. I'll convert to SRL 5 after I figure out how to replace certain mouse functions.
Setup is inside the script. Fill out the form and set your character anywhere in the small room with a range with two cooking urns in your inventory. If you have one filling currently, MAKE SURE IT'S ONE OF THOSE 2. Inside your bank, have the raw food as slot 1. Have Urns as slot 2 if you're using em.
Hopefully nobody has trouble with setup now.
Sample Form:
The parts filled in here are all you need to touch
Assume this were with an account played with the info:
Username: thisismyaccount@hotmail.com
Password: befun
Character Name: Elfriskydog
Pin: 1337
SRL Stats Username: Crazydog
SRL Stats Password: freeroam
His bank looked like this in tab 3:
Code:
Players[0].Name := 'thisismyaccount@hotmail.com';
Players[0].Pass := 'befun';
Players[0].Nick := 'fris';
Players[0].Active:=True; //I think you want to use this.
Players[0].Pin := '1337'; // Leave Blank if none
SRLStats_Username = 'Crazydog';
SRLStats_Password = 'freeroam';
Tab = 3;
RawColor= 2244978;
FoodExp = 120;
FoodName = 'Lobster';
**Here are some colors**
(If these don't work, find your own! What if the color of your food isn't listed? Find your own.)
Find colors that disappear using the auto color aid.
http://villavu.com/forum/showthread.php?t=71074
Raw Lobster - 1914721
Raw Shark - 1448994
Raw Rocktail - 1448994
Monitor!
~Lobsters roasting over an open range.
Progress Report:
1.41:
Round: 87 Completed!
~~~~~~~~~~~~~~~~Cook Guild Matters~~~~~~~~~~~~
Time Run: 1h, 55m, 20s
Exp Gained: 336480
Exp/Hour: 175047
# Food Cooked: 2349
# Cooked/Hour: 1222
Urns Teled:52
1.0:
Round: 47 Completed!
~~~~~~~~~~~~~~~~Cook Guild Matters~~~~~~~~~~~~
Time Run: 1h, 7m, 7s
Exp Gained: 154380
Exp/Hour: 138010
# Food Cooked: 1269
# Cooked/Hour: 1134
Urns Teled:2
Known Issues:
-Misses in the option selection menu can mess up the loop (crashes safely at least usually)
-1.41 The problems have seemed to move onto banking. I think.... See what happens lol.
-1.42: The common problem seems to be that "Could Not Click on The Menu" termination. That portion of the script is determined by a loop that ends with the condition:
until not FindColorTolerance(x, y, RawColor, 650, 215, 676, 241, RawTol)
So that just means the script is waiting for that raw color that you input to disappear from the fourth slot. If it's not finding those colors disappearing from that coordinate window, then the script will time out after around nine seconds with the menu termination message.
Solution? Make sure the raw color you picked disappears from the fish entirely when you cook it. Adjusting the tolerance may be necessary.
Update Log:
Code:
1.43:
-Fixed the menu problem by extending the timeout for menu selection termination
1.42:
-One poor sap downloaded 1.41 that has some tragic banking problems.
-Changed the Banking Method
1.41:
-2 Urns is Now Supported!! True 20% boost
-Urns types are also now automatically detected.
-Form has been chopped down to size
--I made the call that simpler is better. So everyone's using the same slots from now on.
-More Failsafes that hopefully don't have to be used.
1.4:
-TPA object detection for the range now
-Fixed an urn not sending problem
-Updated form description
-Removed the starting CloseBank (forgot why I did that in the first place)
1.3:
Not a bit update, but it's an attempt to safe the fail where it eats a cooked food and then crashes while trying to find the range.
-Above mentioned bug "maybe" fixed.
1.2:
Yes I skipped 1.1 because that was not much different, and the changes from this one are muuuuuuch better.
- Detects not having an urn on setup now.
- Range Detection has improved dramatically.
- Quicker detection of finished loads.
- Quicker Cook All select.
Script 99's:
-cmxz1
-bigmike6675
-momotron
Suggestions/Bugs/Reports greatly appreciated!