SRL Archive - RS3 Outdated / Broken Scripts

Fiery Cooky (Cooking script)


caused

2009-06-06 01:08:02

Fiery Cooky

Description:
Cooks on A Fire. Currently only in Fallador (east bank).
So it trains cooking and a bit Firemaking…
It should detect Randoms.

Setup:
All the instructions are in the Script.

Commentary:
Ok.. so this is my second script with scar, it even uses SRL =)… It was supposed to cook the fish i got with my Fishing script… But I quickly needed to restock my fish ressources for debugging ;). And now I'm out of fish and gold and can't debug anymore xD.

So Please post a proggy..
Because i'd like to make it even better.

For the Next Version:
- Better raw check function
- Removing some debugging messages
- Multiplayer(maybe… dunno if a cooky really needs it)
- More Antiban
- Hopefully your suggestions =)


Proggies:

++++++++++++++++++++++++++++++++++++++
+Fiery Cooky+
++++++++++++++++++++++++++++++++++++++
Running for: 35 Minutes and 36 Seconds
18 loads done
32270 cooking exp gained
1 cooking levels gained
++++++++++++++++++++++++++++++++++++++
-
++++++++++++++++++++++++++++++++++++++
+Fiery Cooky+
++++++++++++++++++++++++++++++++++++++
Running for: 9 Minutes and 15 Seconds
5 loads done
6480 cooking exp gained
3 cooking levels gained
++++++++++++++++++++++++++++++++++++++


Feedback is very welcome :).

Dark Arcana

2009-06-06 13:40:57

In the program name, there can not be any spaces, so change this:

program Fiery Cooky;

To this:

program FieryCooky;

You can short this:

var
c,d:integer;

//globraw
globraw:integer;

//Bankcheck
banktrue:boolean;

//images
cookall:integer;
Howmanyfs:integer;
lvl:integer;
fire:integer;

//proggy vars

expstart:integer;
timestart:integer;

time:integer;
exp:integer;
loads:integer;
level:integer;

To this:

var
c, GlobRaw, CookAll, HowManyFS, Lvl, Fire, ExpStart, Exp, Loads, Level: Integer;
BankTrue: Boolean;

Some things like this:

Until(RsReady = True);

Can be shortened to this:

until(RsReady);

Instead of this:

procedure Login;
begin
LoginPlayer;
end;

begin
Login;
end.

You could just do this:

begin
LoginPlayer;
end.

You should really learn how to use standards.


4 post and 2 scripts, well done :)

I fixed your standards.

caused

2009-06-06 13:58:42

Thanks… i already fixed some bugs…
yeah stupid me… was so eager to release the script without a final test…
well, it works well now and cooked 3000 fish flawless (50 mins runtime o-o)..

Gotta add the update in a second :D… Also changing the stuff you suggest, thanks! :)

Dark Arcana

2009-06-06 14:07:39

I hope you get the best newcomer cup :)
Well very nice script, I might test this with my test account later.

DeSnob

2009-06-06 14:13:00

I have to say, these are great scripts! I'm so amazed at what you do with only 1 month of membership here!

caused

2009-06-06 14:22:46

Ah, thanks… I'm already working on some other scripts..

and yeah… feel free to post proggies

Here's the one from The Testrun.

++++++++++++++++++++++++++++++++++++++
+Fiery Cooky+
++++++++++++++++++++++++++++++++++++++
Running for: 5 Minutes and 35 Seconds
3 loads done
5110 cooking exp gained
1 cooking levels gained
++++++++++++++++++++++++++++++++++++++

Beau

2009-06-11 06:52:21

this earned me 10 day ban :(

caused

2009-06-12 02:08:07

From: Beau
this earned me 10 day ban :(


I'm sorry man.. I've had it running for multiple hours, and not even red marks…

I Gotta add more antiban with the next version though…

Did Someone report you ?, How long did the script run ?

9vs

2010-01-02 19:43:19

Nice, I might try this out soon. I need a good cooking script.

Kyle Undefined

2010-01-02 19:50:20

Don't grave dig! Look at the date of the post…

~Camo

YoHoJo

2010-01-02 20:14:24

Closed.
PM me when you update the script/want this opened again.