SRL Archive - Reflection

Rogue's Den Cooker


TomTuff

2010-12-27 03:46:28

Another cooker :P


Instructions:
Start the script by Emerald Benedict in Rogue's den. Make sure that the fish you want to cook is visible when you open the bank.Supports all fish in the picture above

Features:

Color, with reflection backups
Antiban and Antirandoms
Supports 8 of the most commonly cooked fish
Nearly flawless

99's from this script:
ME!
Becks:
From: Becks

w00t :P

smurg:
From: smurg
Thanks!



A Random Guy: (see post for the pic of his cape :D)
From: A Random Guy
Thanks a lot!


apx900:
From: apx900
TADA!!!! tyvm dude for an excellent script



Top Reports:
From: Sgt Soul
[====================================================================]
[ TomTuff's Rogue's Den Cooker ]
[ Revision 07 ]
[====================================================================]
[ Overall Report ]
[ Time Ran: 5 Hours, 35 Minutes and 26 Seconds ]
[ Fish attempted to cook: 6552 ]
[ Fish sucessfuly cooked: 6518 ]
[ Fish burnt: 34 ]
[ Total EXP gained: 782160 ]
[====================================================================]
[ Player 0 (cooka): ]
[ Fish type: Lobster ]
[ Worked: 5 Hours, 35 Minutes and 25 Seconds ]
[ Levels gained: 1 ]
[ EXP gained: 782160 ]
[ Exp/HR: 139912 ]
[ Food attempted: 6552 ]
[ Food cooked/HR: 1173 ]
[ Successful: 6518 ]
[ Burnt: 34 ]
[ Loads: 234 ]
[ Loads/HR: 42 ]
[====================================================================]



From: apx900
[====================================================================]
[ TomTuff's Rogue's Den Cooker ]
[ Revision 07 ]
[====================================================================]
[ Overall Report ]
[ Time Ran: 2 Hours, 23 Minutes and 26 Seconds ]
[ Fish attempted to cook: 2772 ]
[ Fish sucessfuly cooked: 2714 ]
[ Fish burnt: 58 ]
[ Total EXP gained: 325680 ]
[====================================================================]
[ Player 0 (apx900): ]
[ Fish type: Lobster ]
[ Worked: 4 Hours, 46 Minutes and 28 Seconds ]
[ Stopped Because: could not wait to cook ]
[ Levels gained: 1 ]
[ EXP gained: 325680 ]
[ Exp/HR: 68212 ]
[ Food attempted: 2772 ]
[ Food cooked/HR: 581 ]
[ Successful: 2714 ]
[ Burnt: 58 ]
[ Loads: 99 ]
[ Loads/HR: 21 ]
[====================================================================]




[====================================================================]
[ TomTuff's Rogue's Den Cooker ]
[ Revision 02 ]
[====================================================================]
[ Overall Report ]
[ Time Ran: 3 Hours, 17 Minutes and 15 Seconds ]
[ Fish attempted to cook: 3948 ]
[ Fish sucessfuly cooked: 3946 ]
[ Fish burnt: 2 ]
[ Total EXP gained: 473520 ]
[====================================================================]
[ Player 0 (****): ]
[ Fish type: Lobster ]
[ Worked: 3 Hours, 17 Minutes and 1 Seconds ]
[ Levels gained: 4 ]
[ EXP gained: 473520 ]
[ Exp/HR: 143490 ]
[ Food attempted: 3948 ]
[ Food cooked/HR: 1196 ]
[ Successful: 3946 ]
[ Burnt: 2 ]
[ Loads: 141 ]
[ Loads/HR: 43 ]
[====================================================================]


[====================================================================]
[ TomTuff's Rogue's Den Cooker ]
[ Revision 02 ]
[====================================================================]
[ Overall Report ]
[ Time Ran: 2 Hours, 7 Minutes and 12 Seconds ]
[ Fish attempted to cook: 2184 ]
[ Fish sucessfuly cooked: 2108 ]
[ Fish burnt: 76 ]
[ Total EXP gained: 252960 ]
[====================================================================]
[ Player 0 (ezim): ]
[ Fish type: Lobster ]
[ Worked: 2 Hours, 6 Minutes and 31 Seconds ]
[ Levels gained: 1 ]
[ EXP gained: 252960 ]
[ Exp/HR: 119954 ]
[ Food attempted: 2184 ]
[ Food cooked/HR: 1036 ]
[ Successful: 2108 ]
[ Burnt: 76 ]
[ Loads: 79 ]
[ Loads/HR: 38 ]
[====================================================================]

Reflection 2 version by Jakkle: http://pastebin.com/raw.php?i=wn8Zchp7

i luffs yeww

2010-12-27 16:31:00

12:02 isn't really a long time.

Becks

2010-12-27 17:35:58

awesome thanks TomTuff!

[====================================================================]
[ TomTuff's Rogue's Den Cooker ]
[ Revision 02 ]
[====================================================================]
[ Overall Report ]
[ Time Ran: 2 Hours, 7 Minutes and 12 Seconds ]
[ Fish attempted to cook: 2184 ]
[ Fish sucessfuly cooked: 2108 ]
[ Fish burnt: 76 ]
[ Total EXP gained: 252960 ]
[====================================================================]
[ Player 0 (ezim): ]
[ Fish type: Lobster ]
[ Worked: 2 Hours, 6 Minutes and 31 Seconds ]
[ Levels gained: 1 ]
[ EXP gained: 252960 ]
[ Exp/HR: 119954 ]
[ Food attempted: 2184 ]
[ Food cooked/HR: 1036 ]
[ Successful: 2108 ]
[ Burnt: 76 ]
[ Loads: 79 ]
[ Loads/HR: 38 ]
[====================================================================]

Huthaifah

2010-12-27 22:56:31

Checking out now, will make sure to give you reflection.

TomTuff

2010-12-28 02:06:52

Becks, did it say why it stopped by any chance?

smurg

2010-12-28 02:25:51

Instead of searching for the DTM between MSX1, MSY1, MSX2, MSY2, why not just swap out MSY1 for ~60 or whatever the y-value is below the tabs. That's what I do in my scripts, and seems more user friendly.

TomTuff

2010-12-28 02:37:15

From: smurg
Instead of searching for the DTM between MSX1, MSY1, MSX2, MSY2, why not just swap out MSY1 for ~60 or whatever the y-value is below the tabs. That's what I do in my scripts, and seems more user friendly.


suppose i could do that… BSX1, BSY1, BSX2, and BSY2 should be constants in SRL imo.

i luffs yeww

2010-12-28 02:39:31

MBX1, MBY1, MBX2, MBY2.

a

TomTuff

2010-12-28 02:49:30

From: i luffs yeww
MBX1, MBY1, MBX2, MBY2.

a


"Main Bank?" What's so main about it?

Also, wtf is with the "a" at the end of all your posts.

i luffs yeww

2010-12-28 02:50:55

You can't have posts in all caps, so it's actually only in posts with all caps. Thanks for paying attention to the rest of my posts.. :<

TomTuff

2010-12-28 02:58:57

From: i luffs yeww
You can't have posts in all caps, so it's actually only in posts with all caps. Thanks for paying attention to the rest of my posts.. :<


MAKES SENSE

a

Hobbit

2010-12-28 03:01:46

Still running :)


[====================================================================]
[ TomTuff's Rogue's Den Cooker ]
[ Revision 02 ]
[====================================================================]
[ Overall Report ]
[ Time Ran: 1 Hours, 41 Minutes and 2 Seconds ]
[ Fish attempted to cook: 2016 ]
[ Fish sucessfuly cooked: 2014 ]
[ Fish burnt: 2 ]
[ Total EXP gained: 241680 ]
[====================================================================]
[ Player 0 (****): ]
[ Fish type: Lobster ]
[ Worked: 1 Hours, 41 Minutes and 0 Seconds ]
[ Levels gained: 2 ]
[ EXP gained: 241680 ]
[ Exp/HR: 142551 ]
[ Food attempted: 2016 ]
[ Food cooked/HR: 1198 ]
[ Successful: 2014 ]
[ Burnt: 2 ]
[ Loads: 72 ]
[ Loads/HR: 43 ]
[====================================================================]

TomTuff

2010-12-28 03:09:02

From: Hobbit
Still running :)


[====================================================================]
[ TomTuff's Rogue's Den Cooker ]
[ Revision 02 ]
[====================================================================]
[ Overall Report ]
[ Time Ran: 1 Hours, 41 Minutes and 2 Seconds ]
[ Fish attempted to cook: 2016 ]
[ Fish sucessfuly cooked: 2014 ]
[ Fish burnt: 2 ]
[ Total EXP gained: 241680 ]
[====================================================================]
[ Player 0 (****): ]
[ Fish type: Lobster ]
[ Worked: 1 Hours, 41 Minutes and 0 Seconds ]
[ Levels gained: 2 ]
[ EXP gained: 241680 ]
[ Exp/HR: 142551 ]
[ Food attempted: 2016 ]
[ Food cooked/HR: 1198 ]
[ Successful: 2014 ]
[ Burnt: 2 ]
[ Loads: 72 ]
[ Loads/HR: 43 ]
[====================================================================]


An ADMIN!? In MY script?!

Post the proggy when it's done, I'll add it to the first post (since it looks like it will go over 2 hours lol)

Also, rev 3 out… nothing big, just added MBX1, MBY1, MBX2, MBY2.

Becks

2010-12-28 12:31:26

From: TomTuff
Becks, did it say why it stopped by any chance?


I stopped it by hand.

I just got this:
Stopped Because: could not handle banking

Hobbit

2010-12-28 12:40:30

Stopped because it hit the # of loads to cook :)



[====================================================================]
[ TomTuff's Rogue's Den Cooker ]
[ Revision 02 ]
[====================================================================]
[ Overall Report ]
[ Time Ran: 3 Hours, 17 Minutes and 15 Seconds ]
[ Fish attempted to cook: 3948 ]
[ Fish sucessfuly cooked: 3946 ]
[ Fish burnt: 2 ]
[ Total EXP gained: 473520 ]
[====================================================================]
[ Player 0 (****): ]
[ Fish type: Lobster ]
[ Worked: 3 Hours, 17 Minutes and 1 Seconds ]
[ Levels gained: 4 ]
[ EXP gained: 473520 ]
[ Exp/HR: 143490 ]
[ Food attempted: 3948 ]
[ Food cooked/HR: 1196 ]
[ Successful: 3946 ]
[ Burnt: 2 ]
[ Loads: 141 ]
[ Loads/HR: 43 ]
[====================================================================]

Huthaifah

2010-12-28 13:31:44

[====================================================================]
[ Player 0 ( ): ]
[ Fish type: Tuna ]
[ Worked: 51 Minutes and 59 Seconds ]
[ Levels gained: 2 ]
[ EXP gained: 95200 ]
[ Exp/HR: 109853 ]
[ Food attempted: 952 ]
[ Food cooked/HR: 1099 ]
[ Successful: 952 ]
[ Burnt: 0 ]
[ Loads: 34 ]
[ Loads/HR: 40 ]
[================================================================]

tico2

2010-12-28 13:37:14

Since this is a great time to get 99 cooking I'm going for it again to and I couldn't resist using this script. I've been legit for quite some time now :) The one thing that bothers me a bit is that it's a bit to fast. Could you please tell me how I can make the mouse a bit slower? Thanks :)

Expect a report from me soon. By the way. Do you (people who use this) get a lot of random events while using this? I've gotten like 10 today lol.

Hobbit

2010-12-28 13:41:21

From: tico2
Since this is a great time to get 99 cooking I'm going for it again to and I couldn't resist using this script. I've been legit for quite some time now :) The one thing that bothers me a bit is that it's a bit to fast. Could you please tell me how I can make the mouse a bit slower? Thanks :)

Expect a report from me soon. By the way. Do you (people who use this) get a lot of random events while using this? I've gotten like 10 today lol.


Add this to your script in the set up procedure or at beginning of main loop.

MouseSpeed := 16;

Higher the number = faster mouse

tico2

2010-12-28 14:23:32

From: Hobbit
Add this to your script in the set up procedure or at beginning of main loop.

MouseSpeed := 16;

Higher the number = faster mouse


Ah thanks :) I remember using this in my script but I couldn't find it anywhere in this one so I thought something has changed.

TomTuff

2010-12-28 14:34:15

Huthaifah, why did it stop?

Also, just so every one knows, I am now 950 sharks away from 99 cooking thanks to this script

**BANNED The Man

2010-12-28 14:36:35

Is Rogue's Den P2P?

TomTuff

2010-12-28 14:39:42

From: Dynamite
Is Rogue's Den P2P?


Yes, and requires 50 theiving to get in. if you aren't p2p, try my AK Cooker?

**BANNED The Man

2010-12-28 14:43:35

Ok cheers, and I am actually just about to release an AK cooker.
But thank you :)
And let the competition begin :P
haha

-Boom

TomTuff

2010-12-28 15:41:48

From: Dynamite
Ok cheers, and I am actually just about to release an AK cooker.
But thank you :)
And let the competition begin :P
haha

-Boom


It's on!
:p


holy cow! 99 cook from this script!

Becks

2010-12-28 15:58:47

From: TomTuff
It's on!
:p


holy cow! 99 cook from this script!


congrats! give me a week and my name will be up there as-well!

TomTuff

2010-12-28 16:05:34

From: Becks
congrats! give me a week and my name will be up there as-well!


Can't wait to copy-paste the img link :) let me know any bugs/things that can be improved, since i won't know any as i won't be using it… :p

Becks

2010-12-28 16:31:52

From: TomTuff
Yes, and requires 50 theiving to get in. if you aren't p2p, try my AK Cooker?


no it doesn't i have 30 thieving.. and i'm in there.

and i only been getting stopped by randoms.

Huthaifah

2010-12-28 16:38:49

Congrats man. I have a question, why does the bot not do the randoms? It stops like at 30-60 minutes and logs out at a random event. Someone please help me. Thanks.

Edit- I'm 1 thieving and I can go inside.
Edit2- Never mind, just realized I had the first version, not the updated one, sorry for the mistake.

TomTuff

2010-12-28 16:48:37

From: Huthaifah
Congrats man. I have a question, why does the bot not do the randoms? It stops like at 30-60 minutes and logs out at a random event. Someone please help me. Thanks.

Edit- I'm 1 thieving and I can go inside.
Edit2- Never mind, just realized I had the first version, not the updated one, sorry for the mistake.


I have this odd feeling like i only put R_FindRandoms in the waiting loop… let me look, if i did then i'll upload a version that works :P

edit: yup, idk how i got 99 cooking that way LOL!

Huthaifah

2010-12-28 16:54:07

Thank's man, will wait :D.

TomTuff

2010-12-28 17:12:31

From: Huthaifah
Thank's man, will wait :D.


it's up, revision 4. Post progs :)

Huthaifah

2010-12-28 17:22:05

Aight, thanks bruh.

Becks

2010-12-28 18:14:02

R04 is having trouble locating the sword DTM

TomTuff

2010-12-28 18:37:52

From: Becks
R04 is having trouble locating the sword DTM


which function? And besides, even if it doesn't, it should run the ref backup…

If it's only finding some, i've done a quick patch to make it re-count (via ref) if the number it finds in the inventory is less than the total # of items in the inventory. See Rev 05. Thanks for the bug report, Becks.

Hobbit

2010-12-29 02:18:55

I too should be 99 fairly shortly, gone from lvl 70 to lvl 78 in a very short time, this is a great script :)

TomTuff

2010-12-29 02:19:59

From: Hobbit
I too should be 99 fairly shortly, gone from lvl 70 to lvl 78 in a very short time, this is a great script :)


Thanks! rep = love any recommendations on how it could be improved?

Hobbit

2010-12-29 02:24:07

From: TomTuff
Thanks! rep = love any recommendations on how it could be improved?


Add maybe even a simple auto talker to reply even just a question mark when your name or part of your name is said. I usually run the script while I am working at my computer any ways so I have been watching the chat and the people in the rogue's den are very liberal when it comes to accusing people of botting. If they say your name and dont reply in like 30 seconds they are all like "OMFG **** is a botter!!!" then you just simply go "?" and they all go "Oh sorry you weren't replying, thought you were a botter". Then they go on their merry little way and don't bother you anymore :)

Rep'd ;)

Huthaifah

2010-12-29 02:32:19

I agree, I think I've been reported 50 times, because I keep getting randoms. If it can just like say the cooking level, or fake cooking level whenever the question cooking level comes up will be helpful. Or even the ? Hobbit was talking about. That would make the bot stay on longer, because of the fact less randoms, which means if the bot cannot solve the random, the bot will turn off. So it does make things easier. It's the little things that make big things good if you know what I mean. If you can make this improvement, it will be something very useful, not just for me, but for the others too. Other than that, good work on your scripts.

Edit - Got this proggy after an hour using the R02, personally, it's better than the rest, it's still going, but before it stops I want to post it just incase.
[========================================================]
[ Overall
[Report
[ Time Ran: 1 Hours, 1 Minutes and 3 Seconds ]
[ Fish attempted to cook: 1232 ]
[ Fish sucessfuly cooked: 1220 ]
[ Fish burnt: 12 ]
[ Total EXP gained: 146400 ]
[========================================================]
[ Player 0 (kdo ): ]
[ Fish type: Lobster ]
[ Worked: 1 Hours, 42 Seconds ]
[ Levels gained: 1 ]
[ EXP gained: 146400 ]
[ Exp/HR: 144701 ]
[ Food attempted: 1232 ]
[ Food cooked/HR: 1218 ]
[ Successful: 1220 ]
[ Burnt: 12 ]
[ Loads: 44 ]
[ Loads/HR: 44 ]
[========================================================]


TomTuff

2010-12-29 02:32:58

From: Hobbit
Add maybe even a simple auto talker to reply even just a question mark when your name or part of your name is said. I usually run the script while I am working at my computer any ways so I have been watching the chat and the people in the rogue's den are very liberal when it comes to accusing people of botting. If they say your name and dont reply in like 30 seconds they are all like "OMFG **** is a botter!!!" then you just simply go "?" and they all go "Oh sorry you weren't replying, thought you were a botter". Then they go on their merry little way and don't bother you anymore :)

Rep'd ;)


That's a bit abusable though, don't you think?

If they keep saying "Hey tom" over and over and you say "?" back every time… it's a bit weird

edit: OK I'll add it in since numerous (2) people think it's a good idea. What font is the chat? inb4 chatChars lol

edit2: added, check it out :)

Hobbit

2010-12-29 03:09:46

From: TomTuff
That's a bit abusable though, don't you think?

If they keep saying "Hey tom" over and over and you say "?" back every time… it's a bit weird


Thats why you use an abuse timer :)

Use something like GetSystemTime and make a LastTalk timer and set a time limit between replies and put the replies into a StringArray so they aren't always the exact same :)

TomTuff

2010-12-29 03:11:13

From: Hobbit
Thats why you use an abuse timer :)

Use something like GetSystemTime and make a LastTalk timer and set a time limit between replies and put the replies into a StringArray so they aren't always the exact same :)


That's pretty much what i did. It's in declare players, and I Told the user what lines to change if they want to use different replies. Check it out, see if there's anything i should do differently.

Hobbit

2010-12-29 03:20:51

1 thing though is you may want to change how you look for the name. Right now you have it just as the nick. Well my main for example is an odd name something like asdfvbnmhjkl. So for my nick i would set it as vbnm which is the middle 4 characters. Now some people will say my name like asdf in which case it wont pick up that because it isnt the nick. So if you maybe add a string array into the players like this or something.

with Players[0] do
begin
Name:= "asdfvbnmhjkl"

[blah blah code here]

Booleans[0] := False;
Strings[0] := ['asdf','hjkl','vbnm'] //Here
end;

And break up the username into smaller nicks that will cover the whole name and just do a for loop to search through the string array where you now have Players[CurrentPlayer].Nick


Just an idea :)

TomTuff

2010-12-29 03:22:58

From: Hobbit
1 thing though is you may want to change how you look for the name. Right now you have it just as the nick. Well my main for example is an odd name something like asdfvbnmhjkl. So for my nick i would set it as vbnm which is the middle 4 characters. Now some people will say my name like asdf in which case it wont pick up that because it isnt the nick. So if you maybe add a string array into the players like this or something.

with Players[0] do
begin
Name:= "asdfvbnmhjkl"

[blah blah code here]

Booleans[0] := False;
Strings[0] := ['asdf','hjkl','vbnm'] //Here
end;

And break up the username into smaller nicks that will cover the whole name and just do a for loop to search through the string array where you now have Players[CurrentPlayer].Nick


Just an idea :)


Between capitals, renaming accounts, and ppl that can't type, i'll make it an array the user defines, and use FindTextTpaMulti.

Hobbit

2010-12-29 03:26:28

From: TomTuff
[..] i'll make it an array the user defines, and use FindTextTpaMulti.


Exactly, just that way it is more likely to find it when it needs to :)

KingKong

2010-12-29 03:28:14

I thought nicknames were useless since srl v4, or am i wrong?

i luffs yeww

2010-12-29 05:36:53

We're still using SRL4, by the way.. :p We've been on SRL4 for years.

Huthaifah

2010-12-29 16:08:42

Another Proggy, this ones my best so far, still running.
[========================================================]
[ Player 0 (kdo ): ]
[ Fish type: Lobster
[ Worked: 2 Hours, 44 Minutes and 52 Seconds
[ Levels gained: 2
[ EXP gained: 361800
[ Exp/HR: 131668
[ Food attempted: 3080
[ Food cooked/HR: 1121
[ Successful: 3015 ]
[ Burnt: 65 ]
[ Loads: 110 ]
[ Loads/HR: 41 ]
[========================================================]


TomTuff

2010-12-29 16:13:42

From: Huthaifah
Another Proggy, this ones my best so far, still running.
[========================================================]
[ Player 0 (kdo ): ]
[ Fish type: Lobster
[ Worked: 2 Hours, 44 Minutes and 52 Seconds
[ Levels gained: 2
[ EXP gained: 361800
[ Exp/HR: 131668
[ Food attempted: 3080
[ Food cooked/HR: 1121
[ Successful: 3015 ]
[ Burnt: 65 ]
[ Loads: 110 ]
[ Loads/HR: 41 ]
[========================================================]



Thanks for the report! In the future, will you please post the whole report? i like to see what revision the reports are from.

Huthaifah

2010-12-29 16:22:54

I'll post it now if you want.

Becks

2010-12-29 17:37:57

Running R05 scpirt is running great only thing stopping it are randoms :(

[Reflection] Out of random
Death because: could not click the cooking button

I get a lot of that.. solves random but then the script doesn't know what to do after that.

Huthaifah

2010-12-29 19:03:51

Use the R02, works best for me.

TomTuff

2010-12-29 19:34:39

From: Huthaifah
Use the R02, works best for me.


Have you used the other revisions? Lol

Working on a patch to hopefully make it recover from randoms a bit better…

Huthaifah

2010-12-29 19:59:17

Yes, I did, they didn't work out so well for me, so I started using the R02, and my problems are over.

Okay good luck.

Becks

2011-01-09 14:37:27

98 cooking ;)

getting and error with NPC i think its through srl but not positive.

mormonman

2011-01-09 15:16:33

From: Becks
98 cooking ;)

getting and error with NPC i think its through srl but not positive.


http://villavu.com/forum/showthread.php?t=61352

TomTuff

2011-01-09 16:16:32

From: Becks
98 cooking ;)

getting and error with NPC i think its through srl but not positive.


Glad to hear it!

Can you give more details as to what's happening so i can fix it?

**BANNED The Man

2011-01-09 16:19:53

From: TomTuff
Glad to hear it!

Can you give more details as to what's happening so i can fix it?


Most likely the new NPC updates. :)

TomTuff

2011-01-09 16:23:01

From: Dynamite
Most likely the new NPC updates. :)


it compiles though.

Becks

2011-01-09 19:06:03

Everything is running great.

TomTuff

2011-01-09 19:12:15

From: Becks
Everything is running great.


Be sure to take some screen caps and post them when you get 99 :]

Becks

2011-01-10 18:52:33


w00t :P

TomTuff

2011-01-10 20:21:38

Awesome! Added to first post!!

Becks

2011-01-10 20:54:53

From: TomTuff
Awesome! Added to first post!!


Thanks a lot. Now you want to create a thieving or guild fisher script ;)

TomTuff

2011-01-10 21:37:57

From: Becks
Thanks a lot. Now you want to create a thieving or guild fisher script ;)


Maybe for a pin :p Membership runs out in 3 days, and I'm not sure if I'm renewing.

Becks

2011-01-11 13:12:03

From: TomTuff
Maybe for a pin :p Membership runs out in 3 days, and I'm not sure if I'm renewing.


I will have a p2p account on the 14thish have 100m in members items to transfer to main :)

TomTuff

2011-01-11 19:48:41

From: Becks
I will have a p2p account on the 14thish have 100m in members items to transfer to main :)


That's nice?

Becks

2011-01-12 11:52:54

From: TomTuff
That's nice?


You said you needed a p2p account above.. so i was just saying i will have one the 14th.

Big Tom

2011-01-13 16:45:11

[====================================================================]
[ TomTuff's Rogue's Den Cooker ]
[ Revision 07 ]
[====================================================================]
[ Overall Report ]
[ Time Ran: 1 Hours, 47 Minutes and 44 Seconds ]
[ Fish attempted to cook: 2184 ]
[ Fish sucessfuly cooked: 2132 ]
[ Fish burnt: 52 ]
[ Total EXP gained: 255840 ]
[====================================================================]
[ Player 0 (*** ): ]
[ Fish type: Lobster ]
[ Worked: 1 Hours, 47 Minutes and 7 Seconds ]
[ Levels gained: 2 ]
[ EXP gained: 255840 ]
[ Exp/HR: 143305 ]
[ Food attempted: 2184 ]
[ Food cooked/HR: 1224 ]
[ Successful: 2132 ]
[ Burnt: 52 ]
[ Loads: 78 ]
[ Loads/HR: 44 ]
[====================================================================]

Why it Stopped:
[Reflection] Trying to solve: Freaky forester
[Forester] Finding Freaky forester..
[Forester] Found Freaky forester!
[Forester] Going to look for pheasant that has two tails. tailed pheasant!
[Reflection] Freaky forester solved
[Reflection] Out of random
[Reflection] Trying to solve: Freaky forester
[Forester] Finding Freaky forester..
[Forester] Found Freaky forester!
[Forester] Going to look for pheasant that has two tails. tailed pheasant!
[Reflection] Freaky forester solved
[Reflection] Out of random

What would happen is since I would have a full inventory of food it would kill the pheasant but the guy would tell you, you cant pick up the meat. I know this has nothing to do with your script but I was just drawing the attention to it because its going to happen every time anyone hits that random.

Also unfortunatly this is my top proggie. Ive had errors with "couldnt handle banking" and "couldnt wait to cook"–this was after a random.

TomTuff

2011-01-13 21:51:10

From: Big Tom
[====================================================================]
[ TomTuff's Rogue's Den Cooker ]
[ Revision 07 ]
[====================================================================]
[ Overall Report ]
[ Time Ran: 1 Hours, 47 Minutes and 44 Seconds ]
[ Fish attempted to cook: 2184 ]
[ Fish sucessfuly cooked: 2132 ]
[ Fish burnt: 52 ]
[ Total EXP gained: 255840 ]
[====================================================================]
[ Player 0 (*** ): ]
[ Fish type: Lobster ]
[ Worked: 1 Hours, 47 Minutes and 7 Seconds ]
[ Levels gained: 2 ]
[ EXP gained: 255840 ]
[ Exp/HR: 143305 ]
[ Food attempted: 2184 ]
[ Food cooked/HR: 1224 ]
[ Successful: 2132 ]
[ Burnt: 52 ]
[ Loads: 78 ]
[ Loads/HR: 44 ]
[====================================================================]

Why it Stopped:
[Reflection] Trying to solve: Freaky forester
[Forester] Finding Freaky forester..
[Forester] Found Freaky forester!
[Forester] Going to look for pheasant that has two tails. tailed pheasant!
[Reflection] Freaky forester solved
[Reflection] Out of random
[Reflection] Trying to solve: Freaky forester
[Forester] Finding Freaky forester..
[Forester] Found Freaky forester!
[Forester] Going to look for pheasant that has two tails. tailed pheasant!
[Reflection] Freaky forester solved
[Reflection] Out of random

What would happen is since I would have a full inventory of food it would kill the pheasant but the guy would tell you, you cant pick up the meat. I know this has nothing to do with your script but I was just drawing the attention to it because its going to happen every time anyone hits that random.

Also unfortunatly this is my top proggie. Ive had errors with "couldnt handle banking" and "couldnt wait to cook"–this was after a random.


First off, thanks for the report :)

Yes, randoms will break this script. With the current main loop I'm using, it's sort of difficult to recover after randoms. Due to time constraints between HW and a big project I'm working on, I probably won't remake this to work better with randoms.

It's a 50 hour 99, just reset it whenever you get a random :p

Big Tom

2011-01-13 22:37:25

From: TomTuff
First off, thanks for the report :)

Yes, randoms will break this script. With the current main loop I'm using, it's sort of difficult to recover after randoms. Due to time constraints between HW and a big project I'm working on, I probably won't remake this to work better with randoms.

It's a 50 hour 99, just reset it whenever you get a random :p


Alright thanks for the info, me and my friend plan to get 99 from this script. We just hit the 80s il try to post it when we get it.

tsunade

2011-01-15 15:12:23

what's the best file to dl to cook raw tuna?

Becks

2011-01-15 15:37:32

From: tsunade
what's the best file to dl to cook raw tuna?


Use rev 7 it is the most up to date version out :)

TomTuff

2011-01-15 19:18:01

From: tsunade
what's the best file to dl to cook raw tuna?


Let me know if it has any trouble finding or counting the Tuna, AFAIK noone has used the script with Tuna (But if worst comes to worse, the Reflection backup will make it work).

Sgt Soul

2011-01-16 07:45:26

TomTuff when do you plan to add this script to SRL stats? as soon as you do I will run this script from level 88-99 :)

I find it impossible to run this for over an hour due to how common random events are in the rouge den :/ but it did get me to level 90 :) so I thank you for that!!!! <3 I just hope I am not flagged :/ lol

smurg

2011-01-20 00:47:50

I've been running it for a while and the only problems are randoms (not your fault) and sometimes not finding Benedict.

With people making fires near the main fire, the script sometimes uses the other ones, and then when they go out, we get stuck with half an inventory of cooked, and it takes a little to bank and withdraw. So I just switched the reflection to be first with color backup instead of color first and it's working faster :).

Btw. Sharks are selling for more cooked atm, you can make like 120k gp/hr as well as 250k xp/hr. Jump on the wagon while you can.

TomTuff

2011-01-20 00:53:40

From: sgt soul
TomTuff when do you plan to add this script to SRL stats? as soon as you do I will run this script from level 88-99 :)

I find it impossible to run this for over an hour due to how common random events are in the rouge den :/ but it did get me to level 90 :) so I thank you for that!!!! <3 I just hope I am not flagged :/ lol


I doubt you're flagged, randoms are very common while cooking (Randoms every 250k-400k xp). Depending on how complicated SRL stats is to add, I might do so. Are there any tutorials?

From: smurg
I've been running it for a while and the only problems are randoms (not your fault) and sometimes not finding Benedict.

With people making fires near the main fire, the script sometimes uses the other ones, and then when they go out, we get stuck with half an inventory of cooked, and it takes a little to bank and withdraw. So I just switched the reflection to be first with color backup instead of color first and it's working faster :).

Btw. Sharks are selling for more cooked atm, you can make like 120k gp/hr as well as 250k xp/hr. Jump on the wagon while you can.


Haha it was even better when i was buying sharks at 900 (raw) and selling them for 1450. I made 8m to 99 cook.

ange vashes

2011-01-27 21:45:22

My only suggestion is figure out a way for it to say your total level also
when someone asks "total?" "total levels?" "total levels" those 3 should suffice or the last 2.

TomTuff

2011-01-27 23:08:06

From: ange vashes
My only suggestion is figure out a way for it to say your total level also
when someone asks "total?" "total levels?" "total levels" those 3 should suffice or the last 2.


Have you been using the script? If so, a report would be awesome because I'm curious if this still works :p

@Everyone who wanted stats:
I requested that 3 more variables (Cooked Shark, Cooked Monkfish, Cooked Rocktail) be added to SRL Stats, and Coh3n has kindly done so. So after I'm done updating my Superglass Maker (Testing it now, It's running perfect so I should be done soon) I'll implement SRL Stats in this script.

Edit: stats added, rev 08.

smurg

2011-01-28 01:56:23

From: TomTuff
Have you been using the script? If so, a report would be awesome because I'm curious if this still works :p

@Everyone who wanted stats:
I requested that 3 more variables (Cooked Shark, Cooked Monkfish, Cooked Rocktail) be added to SRL Stats, and Coh3n has kindly done so. So after I'm done updating my Superglass Maker (Testing it now, It's running perfect so I should be done soon) I'll implement SRL Stats in this script.

Edit: stats added, rev 08.


Had to babysit it a bit, no overnight. Would stuff up on banking sometimes, but overall good. Had several 3-5 hour proggies before I'd have to sell cooked and buy more raw.

Cooking doesn't take long anyways. Thanks!


Sgt Soul

2011-01-28 09:32:45

using now with SRL stats, I will help boost your script high up near the top ;)

ange vashes

2011-01-28 15:59:07

UPDATE: Just solved maze random.

From: TomTuff
Have you been using the script? If so, a report would be awesome because I'm curious if this still works :p

@Everyone who wanted stats:
I requested that 3 more variables (Cooked Shark, Cooked Monkfish, Cooked Rocktail) be added to SRL Stats, and Coh3n has kindly done so. So after I'm done updating my Superglass Maker (Testing it now, It's running perfect so I should be done soon) I'll implement SRL Stats in this script.

Edit: stats added, rev 08.



[====================================================================]
[ TomTuff's Rogue's Den Cooker ]
[ Revision 07 ]
[====================================================================]
[ Overall Report ]
[ Time Ran: 3 Hours, 2 Minutes and 21 Seconds ]
[ Fish attempted to cook: 3668 ]
[ Fish sucessfuly cooked: 3655 ]
[ Fish burnt: 13 ]
[ Total EXP gained: 438600 ]
[====================================================================]
[ Player 0 (****): ]
[ Fish type: Lobster ]
[ Worked: 3 Hours, 2 Minutes and 8 Seconds ]
[ Levels gained: 1 ]
[ EXP gained: 438600 ]
[ Exp/HR: 144480 ]
[ Food attempted: 3668 ]
[ Food cooked/HR: 1209 ]
[ Successful: 3655 ]
[ Burnt: 13 ]
[ Loads: 131 ]
[ Loads/HR: 44 ]
[====================================================================]

says 13 burnt because i left half burnt/half cooked in invo
the only problem i found was during the frog event when you have to kiss
the frog it kept going straight for queen when it needs to talk to servent first.
and also when it solved "Abyss" random event it logged out.

still an amazing script and works very well. just thought i'd tell my diagnoses on small glitches. It did do the graveyard event and abyss without any trouble.

ange vashes

2011-01-28 16:12:27

I JUST REMEMBERED best idea! get the bot to bank after it goes to an event so it banks the "Random even gift" so you can choose later on what you want to do with it! that would truly be epic.

MylesMadness

2011-01-28 16:49:42

AFAIK, you cant bank the random event box

Hobbit

2011-01-28 16:52:09

No you can't, you can however bank the orange "surprise" gift box that you can choose in the random event gift options.

ange vashes

2011-01-28 17:13:03

UPDATE: Btw the bot wasnt tricked by other fires when players were
liighting fires far away and the banker was far away. While 5 other bots were going
to the fires just made.

From: MylesMadness
AFAIK, you cant bank the random event box


Explain this please.



Uploaded with ImageShack.us

TomTuff

2011-01-28 19:00:39

The antirandom handling isn't done by the script, it's completed by Reflection. Report any bugs about randoms in the appropriate thread.

Sgt Soul

2011-01-28 19:01:31

I believe it could be because you already had 1 random event box in your bank previously? because I know for a fact you use to be able to bank them, but this was a while ago :o

ange vashes

2011-01-29 10:59:31

From: TomTuff
The antirandom handling isn't done by the script, it's completed by Reflection. Report any bugs about randoms in the appropriate thread.


my bad been a while since used srl/scar didnt evne kno simba existed, uhmm Only real bug i see is sometimes it can't click the fire if too many players but thats rare and the smart world doesnt work.

Waffles

2011-01-29 11:02:49

Hi, great script, I've been waiting for an auto-cooker like this.
It seems to have a bit of trouble finding the fire and the banker sometimes, dunno if that's normal.
Again, thanks for the script.

ange vashes

2011-01-29 16:00:39

Ran out of memory?
Also how do i edit the "Report logs" to make them come less often.

TomTuff

2011-01-29 16:26:02

From: ange vashes
my bad been a while since used srl/scar didnt evne kno simba existed, uhmm Only real bug i see is sometimes it can't click the fire if too many players but thats rare and the smart world doesnt work.


As for it not finding the fire, worst case scenario the reflection back up should make it work. the Smart world never chooses the right world, a simple explanation is that it just determines what world page is loaded. The world your character logs in to is based on your location (e.g., I usually sign in to world 66, and a lot of people on 66 are also from california)

From: ange vashes
Ran out of memory?
Also how do i edit the "Report logs" to make them come less often.


Why does it matter how often the report is printed?


Edit:
Also, ange vashes and Waffles, if you signed up for SRL Stats (Stats.villavu.com) that would be awesome :)

ange vashes

2011-01-30 05:16:11

Just wondering how to edit to for it to report every like 10min instead of like every 30-45 seconds XD

TomTuff

2011-01-30 18:13:35

From: ange vashes
Just wondering how to edit to for it to report every like 10min instead of like every 30-45 seconds XD


It doesn't report every 30 seconds, it reports every load. Why does it matter how often it reports?

Sgt Soul

2011-01-31 03:23:08

proggy currently at 4 hours, and is still going :) YAY!!!

[====================================================================]
[ TomTuff's Rogue's Den Cooker ]
[ Revision 07 ]
[====================================================================]
[ Overall Report ]
[ Time Ran: 5 Hours, 35 Minutes and 26 Seconds ]
[ Fish attempted to cook: 6552 ]
[ Fish sucessfuly cooked: 6518 ]
[ Fish burnt: 34 ]
[ Total EXP gained: 782160 ]
[====================================================================]
[ Player 0 (cooka): ]
[ Fish type: Lobster ]
[ Worked: 5 Hours, 35 Minutes and 25 Seconds ]
[ Levels gained: 1 ]
[ EXP gained: 782160 ]
[ Exp/HR: 139912 ]
[ Food attempted: 6552 ]
[ Food cooked/HR: 1173 ]
[ Successful: 6518 ]
[ Burnt: 34 ]
[ Loads: 234 ]
[ Loads/HR: 42 ]
[====================================================================]

extremely good run ;) (first page i think for this one!!! :))

EDIT:
[====================================================================]
[ TomTuff's Rogue's Den Cooker ]
[ Revision 07 ]
[====================================================================]
[ Overall Report ]
[ Time Ran: 3 Hours, 5 Minutes and 41 Seconds ]
[ Fish attempted to cook: 3640 ]
[ Fish sucessfuly cooked: 3585 ]
[ Fish burnt: 55 ]
[ Total EXP gained: 430200 ]
[====================================================================]
[ Player 0 (cooka): ]
[ Fish type: Lobster ]
[ Worked: 6 Hours, 7 Minutes and 54 Seconds ]
[ Stopped Because: could not handle banking ]
[ Levels gained: 1 ]
[ EXP gained: 430200 ]
[ Exp/HR: 70158 ]
[ Food attempted: 3640 ]
[ Food cooked/HR: 594 ]
[ Successful: 3585 ]
[ Burnt: 55 ]
[ Loads: 130 ]
[ Loads/HR: 22 ]
[====================================================================]

another good run :)

vashanddou

2011-02-02 18:00:34

This script got me 12k xp away from 99 cooking! thankyou! amazing script ++rep
(stopped 12k before 99 cus getting 4 99s at once)

TomTuff

2011-02-02 21:30:26

From: Sgt Soul
proggy currently at 4 hours, and is still going :) YAY!!!

[====================================================================]
[ TomTuff's Rogue's Den Cooker ]
[ Revision 07 ]
[====================================================================]
[ Overall Report ]
[ Time Ran: 5 Hours, 35 Minutes and 26 Seconds ]
[ Fish attempted to cook: 6552 ]
[ Fish sucessfuly cooked: 6518 ]
[ Fish burnt: 34 ]
[ Total EXP gained: 782160 ]
[====================================================================]
[ Player 0 (cooka): ]
[ Fish type: Lobster ]
[ Worked: 5 Hours, 35 Minutes and 25 Seconds ]
[ Levels gained: 1 ]
[ EXP gained: 782160 ]
[ Exp/HR: 139912 ]
[ Food attempted: 6552 ]
[ Food cooked/HR: 1173 ]
[ Successful: 6518 ]
[ Burnt: 34 ]
[ Loads: 234 ]
[ Loads/HR: 42 ]
[====================================================================]

extremely good run ;) (first page i think for this one!!! :))

EDIT:
[====================================================================]
[ TomTuff's Rogue's Den Cooker ]
[ Revision 07 ]
[====================================================================]
[ Overall Report ]
[ Time Ran: 3 Hours, 5 Minutes and 41 Seconds ]
[ Fish attempted to cook: 3640 ]
[ Fish sucessfuly cooked: 3585 ]
[ Fish burnt: 55 ]
[ Total EXP gained: 430200 ]
[====================================================================]
[ Player 0 (cooka): ]
[ Fish type: Lobster ]
[ Worked: 6 Hours, 7 Minutes and 54 Seconds ]
[ Stopped Because: could not handle banking ]
[ Levels gained: 1 ]
[ EXP gained: 430200 ]
[ Exp/HR: 70158 ]
[ Food attempted: 3640 ]
[ Food cooked/HR: 594 ]
[ Successful: 3585 ]
[ Burnt: 55 ]
[ Loads: 130 ]
[ Loads/HR: 22 ]
[====================================================================]

Both reports = front paged, thanks a ton :)

another good run :)


From: vashanddou
This script got me 12k xp away from 99 cooking! thankyou! amazing script ++rep
(stopped 12k before 99 cus getting 4 99s at once)


Awesome, glad to help out :)

A Random Guy

2011-02-06 20:34:45

[====================================================================]
[ TomTuff's Rogue's Den Cooker ]
[ Revision 07 ]
[====================================================================]
[ Overall Report ]
[ Time Ran: 1 Hours, 11 Minutes and 54 Seconds ]
[ Fish attempted to cook: 1456 ]
[ Fish sucessfuly cooked: 1456 ]
[ Fish burnt: 0 ]
[ Total EXP gained: 203840 ]
[====================================================================]
[ Player 0 (****): ]
[ Fish type: Swordfish ]
[ Worked: 1 Hours, 11 Minutes and 51 Seconds ]
[ Levels gained: 1 ]
[ EXP gained: 203840 ]
[ Exp/HR: 170217 ]
[ Food attempted: 1456 ]
[ Food cooked/HR: 1216 ]
[ Successful: 1456 ]
[ Burnt: 0 ]
[ Loads: 52 ]
[ Loads/HR: 44 ]
[====================================================================]

Great script, thanks. The antirandoms don't seem to work, though. This last run I ended up in the Lost and Found random and instead of detecting it I got this:
PROBLEM: inv interface not open
Death because: could not wait to cook

The same thing has happened in a few other randoms, too.

Also, the progress report says revision 07, but it's 08.

TomTuff

2011-02-06 20:42:10

From: A Random Guy
[====================================================================]
[ TomTuff's Rogue's Den Cooker ]
[ Revision 07 ]
[====================================================================]
[ Overall Report ]
[ Time Ran: 1 Hours, 11 Minutes and 54 Seconds ]
[ Fish attempted to cook: 1456 ]
[ Fish sucessfuly cooked: 1456 ]
[ Fish burnt: 0 ]
[ Total EXP gained: 203840 ]
[====================================================================]
[ Player 0 (****): ]
[ Fish type: Swordfish ]
[ Worked: 1 Hours, 11 Minutes and 51 Seconds ]
[ Levels gained: 1 ]
[ EXP gained: 203840 ]
[ Exp/HR: 170217 ]
[ Food attempted: 1456 ]
[ Food cooked/HR: 1216 ]
[ Successful: 1456 ]
[ Burnt: 0 ]
[ Loads: 52 ]
[ Loads/HR: 44 ]
[====================================================================]

Great script, thanks. The antirandoms don't seem to work, though. This last run I ended up in the Lost and Found random and instead of detecting it I got this:

The same thing has happened in a few other randoms, too.

Also, the progress report says revision 07, but it's 08.


Random events are handled by Reflection, not my script.

And yeah I guess i should change that, but the only difference between 7 and 8 is i added SRL Stats in 8, so updating it would be pretty pointless :p

A Random Guy

2011-02-06 20:52:15

From: TomTuff
Random events are handled by Reflection, not my script.

I'm not trying to challenge you since you obviously know more about scripting than me, but doesn't the fact that it wasn't even detected mean that the script didn't call R_FindRandoms or whatever when it should have?

i luffs yeww

2011-02-06 21:04:47

^ Not necessarily. Reflection randoms could be outdated since the update. Or at least some or one or whatever.

TomTuff

2011-02-06 22:17:24

From: A Random Guy
I'm not trying to challenge you since you obviously know more about scripting than me, but doesn't the fact that it wasn't even detected mean that the script didn't call R_FindRandoms or whatever when it should have?


The line you posted…

PROBLEM: inv interface not open
isn't called anywhere in my script; thus, reflection antirandoms WERE called, but they failed.

A Random Guy

2011-02-06 22:53:29

From: TomTuff
The line you posted…

PROBLEM: inv interface not open
isn't called anywhere in my script; thus, reflection antirandoms WERE called, but they failed.


Alright, thanks. And again, great script. It's running again and consistently cooking around 1200 fish per hour.

TomTuff

2011-02-06 22:54:37

From: A Random Guy
Alright, thanks. And again, great script. It's running again and consistently cooking around 1200 fish per hour.


awesome! Glad I'm helping people get an easy 99 :p Post a screenie when/if you get 99 cooking!

A Random Guy

2011-02-06 23:05:48

From: TomTuff
awesome! Glad I'm helping people get an easy 99 :p Post a screenie when/if you get 99 cooking!


Will do. It's gotten me from 68 to 85 in the last three or so days, and I'm hoping to hit 99 in around two weeks.

apx900

2011-02-08 19:21:59

just a quick proggy from me. preety good work i must say. some room for improvement still. i noticed the script tended to do a bit too many examins and map rotating. also i didnt burn any lobster so donno why its says i burnt 30 and the reason the time tamps dont match is because my laptop went into hibernation at one point due to low battery. anyway here's my report:

[====================================================================]
[ TomTuff's Rogue's Den Cooker ]
[ Revision 07 ]
[====================================================================]
[ Overall Report ]
[ Time Ran: 1 Hours, 10 Minutes and 12 Seconds ]
[ Fish attempted to cook: 1120 ]
[ Fish sucessfuly cooked: 1090 ]
[ Fish burnt: 30 ]
[ Total EXP gained: 130800 ]
[====================================================================]
[ Player 0 (apx900): ]
[ Fish type: Lobster ]
[ Worked: 2 Hours, 19 Minutes and 57 Seconds ]
[ Stopped Because: could not wait to cook ]
[ Levels gained: 1 ]
[ EXP gained: 130800 ]
[ Exp/HR: 56071 ]
[ Food attempted: 1120 ]
[ Food cooked/HR: 481 ]
[ Successful: 1090 ]
[ Burnt: 30 ]
[ Loads: 40 ]
[ Loads/HR: 18 ]
[====================================================================]


Update , left it run a lot longer this time:

[====================================================================]
[ TomTuff's Rogue's Den Cooker ]
[ Revision 07 ]
[====================================================================]
[ Overall Report ]
[ Time Ran: 2 Hours, 23 Minutes and 26 Seconds ]
[ Fish attempted to cook: 2772 ]
[ Fish sucessfuly cooked: 2714 ]
[ Fish burnt: 58 ]
[ Total EXP gained: 325680 ]
[====================================================================]
[ Player 0 (apx900): ]
[ Fish type: Lobster ]
[ Worked: 4 Hours, 46 Minutes and 28 Seconds ]
[ Stopped Because: could not wait to cook ]
[ Levels gained: 1 ]
[ EXP gained: 325680 ]
[ Exp/HR: 68212 ]
[ Food attempted: 2772 ]
[ Food cooked/HR: 581 ]
[ Successful: 2714 ]
[ Burnt: 58 ]
[ Loads: 99 ]
[ Loads/HR: 21 ]
[====================================================================]

A Random Guy

2011-02-13 19:26:11

Thanks a lot!

TomTuff

2011-02-13 22:15:00

From: A Random Guy
Thanks a lot!


Congratz!!!


Also APX that second report is awesome :D

Brandon

2011-02-15 08:33:29

Unknown identifier 'r_CountItemID' at line 264

TomTuff

2011-02-15 21:41:04

From: ggzz
Unknown identifier 'r_CountItemID' at line 264


Thanks for the heads up, the R_*ID functions were all replaced. Fixed in revision 09, see first post :)

Brandon

2011-02-15 23:32:30

1 Problem.. the new runescape bank pins.. The screen where it says "are you sure you want to set this bank pin"

Options: Yes
Options: Cancel

Thats for the ppl without a bank pin but a pending one.. Like myself.. its pending for 3 days since i was hacked and it was deleted.

If this occurs, u must stop the script to click it and then play script.


Another bug: When just logged in, and it goes to click benedict banker, it clicks so fast that sometimes it misses and then ends up logging you out when it doesnt find the bank interface.

TomTuff

2011-02-15 23:33:58

From: ggzz
1 Problem.. the new runescape bank pins.. The screen where it says "are you sure you want to set this bank pin"

Options: Yes
Options: Cancel

Thats for the ppl without a bank pin but a pending one.. Like myself.. its pending for 3 days since i was hacked and it was deleted.

If this occurs, u must stop the script to click it and then play script.


Another bug: When just logged in, and it goes to click benedict banker, it clicks so fast that sometimes it misses and then ends up logging you out when it doesnt find the bank interface.


That's not a problem in my script :p Tough it out for 3 days.

Brandon

2011-02-15 23:50:27

TY for responding so quick! Lol. one thing then… It misclicked benedict banker.. Whenever it misclicks him, it exits automatically.. logs you out. Should it retry?? For example this was the longest i got it to run as right when it was going to click benedict, he moved, it missed and had to exit.

[====================================================================]
[ Player 0 (None): ]
[ Fish type: Shark ]
[ Worked: 49 Minutes and 46 Seconds ]
[ Stopped Because: could not open Benedict ]
[ Levels gained: 0 ]
[ EXP gained: 98910 ]
[ Exp/HR: 119210 ]
[ Food attempted: 476 ]
[ Food cooked/HR: 574 ]
[ Successful: 471 ]
[ Burnt: 5 ]
[ Loads: 17 ]
[ Loads/HR: 21 ]
[====================================================================]

TomTuff

2011-02-16 00:17:28

Hmmm that's a good idea. I'm updating it right now, check back in 10 minutes.

Edit: Rev 10 up. Added AttemptAndSwivel and AttemptFunct. Longer runtimes, next right turn!

Brandon

2011-02-16 00:43:38

Rep ++1 :) Flawless.. it does although sometimes go to the fire far south if the banker is far south but thats ok.. perfect enough for me.

TomTuff

2011-02-16 00:48:13

From: ggzz
Rep ++1 :) Flawless.. it does although sometimes get caught by other fires lit by other members but thats ok.. perfect enough for me


Glad to help! You can return the favor of fast exp by signing up for SRL Stats and filling in the info when you run the script, and posting progress reports using
 tags!

Brandon

2011-02-17 23:01:12

I just got 99 cooking :) I can confirm flawless script.. can run 16-24 hrs straight.. I ran it 11-16 hrs a day.. now 99 cooking…

only a few problems.. when it just logs in. if it missed the first bank click, u will have to disable SMART, manually bank and then re-enable.

Another one (not sure if its the script) When handling randoms, it worked very well.. but after the random is done, it never picks up the box (invent is already full with food).. to choose the prize.. If i pick it up manually, the script auto picks mystery box as there is no option for it to choose xp lamp and a skill..

When doing the grave digger random, it drops 5 shark rather than bank it :S but it completes this random perfectly.. only one I had a problem with was the frog one (never talks to the guy, goes straight for the princess)..

Also after randoms, it never starts to cook again.. it waits and then banks… unless u manually stop smart and then cook, open bank and itll take it from there.

I think those are due to reflection for the randoms.. Other than that the script is absolutely PERFECT and ran 17 hrs straight for me once. The rest were 11-16 hrs.. I am now 99 cooking.. ty very much!!

TomTuff

2011-02-18 10:28:13

From: ggzz
I just got 99 cooking :) I can confirm flawless script.. can run 16-24 hrs straight.. I ran it 11-16 hrs a day.. now 99 cooking…

only a few problems.. when it just logs in. if it missed the first bank click, u will have to disable SMART, manually bank and then re-enable.

Another one (not sure if its the script) When handling randoms, it worked very well.. but after the random is done, it never picks up the box (invent is already full with food).. to choose the prize.. If i pick it up manually, the script auto picks mystery box as there is no option for it to choose xp lamp and a skill..

When doing the grave digger random, it drops 5 shark rather than bank it :S but it completes this random perfectly.. only one I had a problem with was the frog one (never talks to the guy, goes straight for the princess)..

Also after randoms, it never starts to cook again.. it waits and then banks… unless u manually stop smart and then cook, open bank and itll take it from there.

I think those are due to reflection for the randoms.. Other than that the script is absolutely PERFECT and ran 17 hrs straight for me once. The rest were 11-16 hrs.. I am now 99 cooking.. ty very much!!


Awesome :D Reports would have been nice. Congratulations on level 99, enjoy your cape.

A few questions though….
For when it fails to open the bank, does it only happen the very first time? If so, that's due to lag while loading the game up and there's not much I could do about that besides adding a 4 to 6 second wait after logging in, but that would be time wasted for most people.

As for not picking up the box, yes, that's due to my script. However, making functions to drop the shark (I wouldn't make this one but yeah), pick up the box, then incorporate all the random event box handling, then pick up the shark (Now imagine writing the pickup function to work for every fish…) would be too much work for a random event box here and again.

The reason it doesn't start cooking again after a random is because the loop it uses to wait to finish cooking is all in one function. Having it break out of that loop and go back to the point where it must click a raw fish, then the fire, etc., then get back into the loop, would be too difficult to get an accurate sense of why the script failed if a function fails.

About the grave digger random, that's in the reflection anti-random code. Make a suggestion there to bank rather than drop, maybe?

Again, a progress report would have been nice :( It's generally a nice idea to post reports every once in a while, especially if its a script you're going to use a lot.

Sgt Soul

2011-02-18 21:21:22

TomTuff I will have feedback soon, just need to use nacles smelter for a few more days :) because I still need to finish off my food to cook :)
(I will give you as much detail as possible to make sure this script keeps running at 100%)

apx900

2011-02-19 20:06:24

just a quick report from me on the rev 10. as usual an excellent script. the script is actually still running but here is the last progress report. also according to SRL Stats have done the following with this script, just to show how good i think it is:

apx900 has added 993 minutes to Rogue's Den cooker in 175 commits .


* Loads Done ( 680 )
* Lobster Cooked ( 18144 )
* Shark Cooked ( 896 )
* Total EXP Gained ( 2327520 )
* Total Levels Gained ( 4 )


And Here is the Proggy
[====================================================================]
[ TomTuff's Rogue's Den Cooker ]
[ Revision 10 ]
[====================================================================]
[ Overall Report ]
[ Time Ran: 1 Hours, 19 Minutes and 17 Seconds ]
[ Fish attempted to cook: 1512 ]
[ Fish sucessfuly cooked: 1499 ]
[ Fish burnt: 13 ]
[ Total EXP gained: 179880 ]
[====================================================================]
[ Player 0 (apx900): ]
[ Fish type: Lobster ]
[ Worked: 1 Hours, 19 Minutes and 5 Seconds ]
[ Levels gained: 0 ]
[ EXP gained: 179880 ]
[ Exp/HR: 136452 ]
[ Food attempted: 1512 ]
[ Food cooked/HR: 1147 ]
[ Successful: 1499 ]
[ Burnt: 13 ]
[ Loads: 54 ]
[ Loads/HR: 41 ]
[====================================================================]

TomTuff

2011-02-19 20:47:48

From: apx900
just a quick report from me on the rev 10. as usual an excellent script. the script is actually still running but here is the last progress report

{snip}

You've gotta love color. The only things I've touched in a long time was the reflection update. Color functions? Untouched ;)

Glad you used my script :)

apx900

2011-02-20 12:32:55

From: TomTuff
You've gotta love color. The only things I've touched in a long time was the reflection update. Color functions? Untouched ;)

Glad you used my script :)


hey, have you considered making a sig for your script?

TomTuff

2011-02-20 15:34:44

From: apx900
hey, have you considered making a sig for your script?


Nope, too much effort. :)

apx900

2011-02-20 18:47:20

also i think you need a function or procedure where if there is a random event it eats a fish and picks the box up and get the rewar/exp from it.

IPwnz

2011-02-20 22:35:51

Great script Tom, the only thing I've noticed is that it will pick fires that other players make instead of the default fire, which can lead to problems. Perhaps add in a reflection (or SPS) tile check to make sure it only chooses the main fire?

TomTuff

2011-02-21 23:20:38

Revison 11 is OUT! I've finally made it drop food, pickup random event gifts, handle the gifts, pickup food, and continue cooking! This is untested though, so tell me if it works :)

From: IPwnz
Great script Tom, the only thing I've noticed is that it will pick fires that other players make instead of the default fire, which can lead to problems. Perhaps add in a reflection (or SPS) tile check to make sure it only chooses the main fire?


Hmmm I suppose I could set it to try the reflection procedure before the color procedure.

apx900

2011-02-22 15:53:36

hmn, i think you may need to look into rev 11 again. it logged in fine, got the lobs out, clicked the lobs and then on fire, cooked 9 lobs and then logged out. heres heres report, edit: i think reflection maybe out of date

[====================================================================]
[ TomTuff's Rogue's Den Cooker ]
[ Revision 11 ]
[====================================================================]
[ Overall Report ]
[ Time Ran: 1 Minutes and 7 Seconds ]
[ Fish attempted to cook: 28 ]
[ Fish sucessfuly cooked: 0 ]
[ Fish burnt: 28 ]
[ Total EXP gained: 0 ]
[====================================================================]
[ Player 0 (apx900): ]
[ Fish type: Lobster ]
[ Worked: 1 Minutes and 9 Seconds ]
[ Stopped Because: could not wait to cook ]
[ Levels gained: 0 ]
[ EXP gained: 0 ]
[ Exp/HR: 0 ]
[ Food attempted: 28 ]
[ Food cooked/HR: 1449 ]
[ Successful: 0 ]
[ Burnt: 28 ]
[ Loads: 1 ]
[ Loads/HR: 52 ]
[====================================================================]

superduperd

2011-02-23 08:29:23

yup got same problem, cooks 9 lobs, says the rest is burned ^^

====================================================================]
[ TomTuff's Rogue's Den Cooker ]
[ Revision 11 ]
[====================================================================]
[ Overall Report ]
[ Time Ran: 2 Minutes and 32 Seconds ]
[ Fish attempted to cook: 112 ]
[ Fish sucessfuly cooked: 32 ]
[ Fish burnt: 80 ]
[ Total EXP gained: 3840 ]
[====================================================================]
[ Player 0 ( ): ]
[ Fish type: Lobster ]
[ Worked: 2 Minutes and 20 Seconds ]
[ Levels gained: 0 ]
[ EXP gained: 3840 ]
[ Exp/HR: 98395 ]
[ Food attempted: 112 ]
[ Food cooked/HR: 2870 ]
[ Successful: 32 ]
[ Burnt: 80 ]
[ Loads: 4 ]
[ Loads/HR: 103 ]
[====================================================================]

TomTuff

2011-02-23 10:15:25

From: apx900
hmn, i think you may need to look into rev 11 again. it logged in fine, got the lobs out, clicked the lobs and then on fire, cooked 9 lobs and then logged out. heres heres report, edit: i think reflection maybe out of date


I can't look at it now, but why do you think Reflection is what broke it?

apx900

2011-02-23 19:55:27

From: TomTuff
I can't look at it now, but why do you think Reflection is what broke it?


just a random guess, i was having trouble with some msi stuff aswell

apx900

2011-02-25 16:13:24

TADA!!!! tyvm dude for an excellent script

TomTuff

2011-02-25 21:20:23

From: apx900
TADA!!!! tyvm dude for an excellent script


So R11 Works?

apx900

2011-02-26 14:50:25

From: TomTuff
So R11 Works?


Not for me i kept using r10.

Carlito

2011-03-07 02:50:03

From: apx900
Not for me i kept using r10.


Tested r11 and i got the same thing as the others - using r10 for now. Hopefully you will update this! r10 seems to be running nicely only thing ive seen is maybe little smoother on actions…mostly the mouse very straight sharp feeling when i view it.

TomTuff

2011-03-07 02:56:41

From: carlito
Tested r11 and i got the same thing as the others - using r10 for now. Hopefully you will update this! r10 seems to be running nicely only thing ive seen is maybe little smoother on actions…mostly the mouse very straight sharp feeling when i view it.


I'll have to purchase some raw sharks later this week.

About the mousing - I can't really do much about that. All mouse functions are from the SRL Include.

Carlito

2011-03-07 03:06:45

From: TomTuff
I'll have to purchase some raw sharks later this week.

About the mousing - I can't really do much about that. All mouse functions are from the SRL Include.


No worries on the mouse thing then, i have a bunch of fish that i need to get cooked so im willing to help test out for you :) let me know im usually on IRC

[====================================================================]
[ TomTuff's Rogue's Den Cooker ]
[ Revision 10 ]
[====================================================================]
[ Overall Report ]
[ Time Ran: 1 Hours, 13 Minutes and 18 Seconds ]
[ Fish attempted to cook: 1400 ]
[ Fish sucessfuly cooked: 1400 ]
[ Fish burnt: 0 ]
[ Total EXP gained: 168000 ]
[====================================================================]
[ Player 0 (xxx): ]
[ Fish type: Lobster ]
[ Worked: 1 Hours, 12 Minutes and 40 Seconds ]
[ Levels gained: 1 ]
[ EXP gained: 168000 ]
[ Exp/HR: 138703 ]
[ Food attempted: 1400 ]
[ Food cooked/HR: 1156 ]
[ Successful: 1400 ]
[ Burnt: 0 ]
[ Loads: 50 ]
[ Loads/HR: 42 ]
[====================================================================]

Choroid

2011-03-09 17:43:18


[====================================================================]
[ TomTuff's Rogue's Den Cooker ]
[ Revision 11 ]
[====================================================================]
[ Overall Report ]
[ Time Ran: 1 Minutes and 28 Seconds ]
[ Fish attempted to cook: 56 ]
[ Fish sucessfuly cooked: 12 ]
[ Fish burnt: 44 ]
[ Total EXP gained: 1680 ]
[====================================================================]
[ Player 0 (DaGame): ]
[ Fish type: Swordfish ]
[ Worked: 1 Minutes and 25 Seconds ]
[ Levels gained: 0 ]
[ EXP gained: 1680 ]
[ Exp/HR: 70906 ]
[ Food attempted: 56 ]
[ Food cooked/HR: 2364 ]
[ Successful: 12 ]
[ Burnt: 44 ]
[ Loads: 2 ]
[ Loads/HR: 85 ]
[====================================================================]
Hmmm. Somethings not right! Lol. Idek what its doing. It only cooks like 6-7 and then tries to bank.


EDIT: [FACEPALM] Was trying to use R11… [/Facepalm]

TomTuff

2011-03-09 20:22:38

Removed revision 11 until I take a look at this. Been pretty busy with real life =\

Carlito

2011-03-10 22:34:24

From: TomTuff
Removed revision 11 until I take a look at this. Been pretty busy with real life =\


Take your time - r10 is doing pretty good. Just hit 90 cooking,

Thank you for providing this script.

UPDATE
out of sworides with 3x i gained actually 1mill xp :)
[====================================================================]
[ TomTuff's Rogue's Den Cooker ]
[ Revision 10 ]
[====================================================================]
[ Overall Report ]
[ Time Ran: 2 Hours, 24 Minutes and 10 Seconds ]
[ Fish attempted to cook: 2688 ]
[ Fish sucessfuly cooked: 2688 ]
[ Fish burnt: 0 ]
[ Total EXP gained: 376320 ]
[====================================================================]
[ Player 0 (xxx): ]
[ Fish type: Swordfish ]
[ Worked: 4 Hours, 46 Minutes and 45 Seconds ]
[ Stopped Because: could not handle banking ]
[ Levels gained: 2 ]
[ EXP gained: 376320 ]
[ Exp/HR: 78739 ]
[ Food attempted: 2688 ]
[ Food cooked/HR: 563 ]
[ Successful: 2688 ]
[ Burnt: 0 ]
[ Loads: 96 ]
[ Loads/HR: 21 ]
[====================================================================]

Successfully executed.

chitin

2011-03-14 20:19:39

ouch sad day. i was hoping it supported all fish 0.0 / all food. haha well i guess i can just add my own dtms…

superduperd

2011-04-11 10:02:48

pin still broken :D

script works great for the rest :D:D:D:D:D

Gr, super

TomTuff

2011-04-11 20:18:34

From: superduperd
pin still broken :D

script works great for the rest :D:D:D:D:D

Gr, super


Rev 11 - pin support added.

I think there is still more wrong with this script? Not sure. Let me know if so.

superduperd

2011-04-12 11:34:09

From: TomTuff
Rev 11 - pin support added.

I think there is still more wrong with this script? Not sure. Let me know if so.


seems that hooks are still outdated, will test the script when the scripts are running again ^^

You added break system too? That would make this an uberscript :D

superduperd

2011-04-12 18:49:17

From: superduperd
seems that hooks are still outdated, will test the script when the scripts are running again ^^

You added break system too? That would make this an uberscript :D


edit:

pin is still not working :(

edit 2:
i just saw i replied instead of edit but i went to the pub so you cant blame me :D

superduperd

2011-04-13 04:54:50

From: superduperd
edit:

pin is still not working :(

edit 2:
i just saw i replied instead of edit but i went to the pub so you cant blame me :D


edit 3:
some more details on pin not working;

- it finds emerald
- goes into bank screen
- doesnt put in pin
- immediatley goes to logout
- 'succesfully executed' :D

Gr, super

edit 4:
doesnt detect leo the gravedigger. You use srl randoms or reflection randoms?

edit 5:
====================================================================]
[ Overall Report ]
[ Time Ran: 4 Hours, 12 Minutes and 4 Seconds ]
[ Fish attempted to cook: 4788 ]
[ Fish sucessfuly cooked: 4721 ]
[ Fish burnt: 67 ]
[ Total EXP gained: 566520

gr, super

masterBB

2011-04-13 17:35:46

[====================================================================]
[ TomTuff's Rogue's Den Cooker ]
[ Revision 10 ]
[====================================================================]
[ Overall Report ]
[ Time Ran: 4 Hours, 13 Minutes and 41 Seconds ]
[ Fish attempted to cook: 1889 ]
[ Fish sucessfuly cooked: 1865 ]
[ Fish burnt: 24 ]
[ Total EXP gained: 391650 ]
[====================================================================]
[ Player 0 (utm ): ]
[ Fish type: Shark ]
[ Worked: 8 Hours, 23 Minutes and 1 Seconds ]
[ Stopped Because: could not handle banking ]
[ Levels gained: 1 ]
[ EXP gained: 391650 ]
[ Exp/HR: 46715 ]
[ Food attempted: 1889 ]
[ Food cooked/HR: 226 ]
[ Successful: 1865 ]
[ Burnt: 24 ]
[ Loads: 68 ]
[ Loads/HR: 9 ]
[====================================================================]

It really didn't run for 8 hours :O. This script normally gets an 240k xp an hour, so this one is heavy bugged…

enoyhs

2011-06-17 09:54:06

Mostly working very fine :)

[====================================================================]
[ TomTuff's Rogue's Den Cooker ]
[ Revision 10 ]
[====================================================================]
[ Overall Report ]
[ Time Ran: 6 Hours, 1 Minutes and 8 Seconds ]
[ Fish attempted to cook: 6804 ]
[ Fish sucessfuly cooked: 6761 ]
[ Fish burnt: 43 ]
[ Total EXP gained: 473270 ]
[====================================================================]
[ Player 0 (gai ): ]
[ Fish type: Trout ]
[ Worked: 6 Hours, 49 Seconds ]
[ Stopped Because: could not handle banking ]
[ Levels gained: 1 ]
[ EXP gained: 473270 ]
[ Exp/HR: 78699 ]
[ Food attempted: 6804 ]
[ Food cooked/HR: 1132 ]
[ Successful: 6761 ]
[ Burnt: 43 ]
[ Loads: 243 ]
[ Loads/HR: 41 ]
[====================================================================]

mat_de_b

2011-06-17 12:47:39

From: superduperd

edit 4:
doesnt detect leo the gravedigger. You use srl randoms or reflection randoms?



It does detect it but it cant complete it - if its reflection antirandoms.

drags is doing it all now for reflection 2 so when that comes out we will have a little while of perfect anti randoms i hope :D

TomTuff

2011-06-17 13:02:12

Could someone bump this script when Reflection 2 is released on the simba updater? That way I can update this script with the new functions and maybe fine tune it a little.

Carlito

2011-07-21 14:22:53

R2 Is out TomTuff - go go cooker :)

ry0240

2011-08-13 19:37:31

Yea actually how about you upgrade this to Ref2? =) theres currently no R2 cooking scripts and I'm pretty sure antirandoms etc. are more stable than Ref1 as of now.

Jakkle

2011-08-25 23:50:19

I wanted to use this so I have updated it to work with R2.
I could not do the function r_ClickRaw because R_ClickItem and R_ClickItemBy don't work with Players[CurrentPlayer].Integer[4] because its an array, so I put it as Result := False(good job the script has DTMs :)).
I did a few loads and it's working so I thought I'd post it as people want to use it with R2.

program RoguesDenCooker;
{$DEFINE SMART}
{$i SRL\SRL.scar}
{$i Reflection\Reflection.simba}
{$i SRL\SRL\Misc\Stats.Simba}


const
sWorld = 24; //smart world
sSigned = True; //signed client
MinABWait = 5000;//minimum wait between performing antiban (in miliseconds)
Stats_User = ''; //SRL Stats username
Stats_Pass = ''; //SRL Stats password

//NOTE: Before you start, make sure your inventory is *empty* or else the counting
// Will be incorrect.
procedure DeclarePlayers;
begin
HowManyPlayers := 1; //How many players will you be using?
NumberOfPlayers(HowManyPlayers); //Don't touch
CurrentPlayer := 0; //Which player to start off with?

with Players[0] do
begin
Name := ''; //rs username
Pass := ''; //rs pass
Nick := ''; //Nickname for progress report
Pin := ''; //Bank pin
Active := True; //use player?
Integers[0] := 5; //What food to cook? 0 = Trout, 1 = Salmon, 2 = Tuna, 3 = Lobster, 4 = Swordfish, 5 = Monkfish, 6 = shark, 7 = rocktail
Integers[1] := 0; //number of loads to cook. estimated 40 loads per hour. leave at 0 to run until it breaks
Integers[2] := 0 * 60 * 1000; //change first number for minutes to run. leave at 0 to run until it breaks.
Integers[6] := 0 * 1000; //Change first number for minimum number of seconds to wait between autoresponding {only applies if Booleans[0] is true}
Arrays[0] := ['']; //if you're using the autoresponder, these are the text to look for to identify your name. so something like ['user', 'sern', 'erna', 'rnam', 'name'] would work awesome (for the name "username")
Booleans[0] := False; //Respond when people ask about cooking levels or when it finds your name?
//lines 509-518: If you know what you're doing, you can customize the autoresponder
end;
end;
////////////////////////////setup ends here////////////////////////////////////

procedure SetupNewPlayer;
begin
case Players[CurrentPlayer].Integers[0] of
0: //Trout
begin
with Players[CurrentPlayer] do
begin
Strings[0] := 'mggAAAHicY2NgYLBnYmDwAmJHILYAYjMgNgXiMEYGBn8gjgLiGCAOhbKXL5gP1MWEgXkYsANGHBgCAASCBZI=';//Raw DTM
Strings[1] := 'mggAAAHicY2NgYMhiYmCIB+IEIM4E4lwgLgHiYEYGhjAgjgHiKCCOAGJ/IE6LigDqYsLAPAzYASMODAEAOpIFxg==';//Cooked DTM
Strings[2] := 'w tr';//Raw uptext
Strings[3] := 'Tro';//Cooked uptext
Strings[4] := 'Trout';//Fish name
Integers[3] := 70;//EXP
Integers[4] := 335; //Raw ID (For reflection)
Integers[5] := 333; //Cooked ID (For reflection)
end;
end;
1: //Salmon
begin
with Players[CurrentPlayer] do
begin
Strings[0] := 'mggAAAHicY2NgYOhlYmDoA+JOIF4AxFOYIGIRjAwMMYwQ2g+Io4A4CIhXTJ0E1MWEgbkYsANGHBgCAN+VB20=';//Raw DTM
Strings[1] := 'mbQAAAHicY2VgYDjAxMCwB4g3A/E+ID4OxEGMDAz+QBwFxQFAvN1aGqiaCQXzMGACRiwYDAA1VgaU';//Cooked DTM
Strings[2] := 'w sa';//Raw uptext
Strings[3] := 'Sal';//Cooked uptext
Strings[4] := 'Salmon';//Fish name
Integers[3] := 90;//EXP
Integers[4] := 331; //Raw ID (For reflection)
Integers[5] := 329; //Cooked ID (For reflection)
end;
end;
2: //Tuna
begin
with Players[CurrentPlayer] do
begin
Strings[0] := 'mggAAAHicY2NgYPBggmBHILYCYlMoXcrIwFAFxA1A3AjEdUBcAsTtTY1AXUwYmIcBO2DEgSEAADy2Bhs=';//Raw DTM
Strings[1] := 'mggAAAHicY2NgYEhjYmCIB+IUIC4C4kogzgbiMkYGhlogbgTiKkYIvwGIE0KDgbqYMDAPA3bAiANDAACKjQag';//Cooked DTM
Strings[2] := 'w tu';//Raw uptext
Strings[3] := 'Tun';//Cooked uptext
Strings[4] := 'Tuna';//Fish name
Integers[3] := 100;//EXP
Integers[4] := 359; //Raw ID (For reflection)
Integers[5] := 361; //Cooked ID (For reflection)
end;
end;
3: //Lobster
begin
with Players[CurrentPlayer] do
begin
Strings[0] := 'mggAAAHicY2NgYJjFxMDQC8SdTBD2PCDuAOIKRgaGWiAuAuImIC5jhIiFGkoBdTFhYB4G7IARB4YAANVHBxw=';//Raw DTM
Strings[1] := 'mggAAAHicY2NgYDjExMCwD4iPAPEJIN4OxJuAuIyRgaEWiJuAuAaIq4C4FIhXhEoAdTFhYB4G7IARB4YAAHMQCJ8=';//Cooked DTM
Strings[2] := 'w lo';//Raw uptext
Strings[3] := 'Lob';//Cooked uptext
Strings[4] := 'Lobster';//Fish name
Integers[3] := 120;//EXP
Integers[4] := 377; //Raw ID (For reflection)
Integers[5] := 379; //Cooked ID (For reflection)
end;
end;
4: //Swordfish
begin
with Players[CurrentPlayer] do
begin
Strings[0] := 'mlwAAAHicY2dgYLBiYmAwA2IPIA4AYmsg9oaKzWFkYFgMxDOheAoQTwbi+UC8YuoaoG4mrJiHATdgxIOhAABzowgg';//Raw DTM
Strings[1] := 'mlwAAAHicY2dgYMhjYmBIAeJkII4H4jggLgfiUiCezMjAMA2IZwHxQiBeCmXPA+Ly0DqgbiasmJUBN2DEg6EAANERCJ4=';//Cooked DTM
Strings[2] := 'w sw';//Raw uptext
Strings[3] := 'Swo';//Cooked uptext
Strings[4] := 'Swordfish';//Fish name
Integers[3] := 140;//EXP
Integers[4] := 371; //Raw ID (For reflection)
Integers[5] := 373; //Cooked ID (For reflection)
end;
end;
5: //Monkfish
begin
with Players[CurrentPlayer] do
begin
Strings[0] := 'mggAAAHicY2NgYFjGysCwAIhnAvFGIF4HxNOA+DFQ7iYQPwPiF0D8AIjvAXG0rRGQZMLAPAzYASMODAEA9bAKJw==';//Raw DTM
Strings[1] := 'mggAAAHicY2NgYNjNzMBwBohPAPFWIN4MxPuB2I6JgcEGiF2A2BWIbYHYA4hjgtyBupgwMA8DdsCIA0MAAPHMBzQ=';//Cooked DTM
Strings[2] := 'w mo';//Raw uptext
Strings[3] := 'Mon';//Cooked uptext
Strings[4] := 'Monkfish';//Fish name
Integers[3] := 150;//EXP
Integers[4] := 7944; //Raw ID (For reflection)
Integers[5] := 7946; //Cooked ID (For reflection)
end;
end;
6: //Shark
begin
with Players[CurrentPlayer] do
begin
Strings[0] := 'mggAAAHicY2NgYHBgYmDwAeIAIDYBYnMgtgbi3YwMDDuA+BgQH2WE8I8DcVNNDVAXEwbmYcAOGHFgCAAAz7IHsQ==';//Raw DTM
Strings[1] := 'mggAAAHicY2NgYMhhYmBIAOIkIC4D4iogLgDiXYwMDKeAeDsUHwfik0Ac7mQI1MWEgXkYsANGHBgCABNJCA8=';//Cooked DTM
Strings[2] := 'w sh';//Raw uptext
Strings[3] := 'Sha';//Cooked uptext
Strings[4] := 'Shark';//Fish name
Integers[3] := 210;//EXP
Integers[4] := 383; //Raw ID (For reflection)
Integers[5] := 385; //Cooked ID (For reflection)
end;
end;
7: //Rocktail
begin
with Players[CurrentPlayer] do
begin
Strings[0] := 'mlwAAAHicY2dgYJjIxMCwAIjnAvFMIJ4ExF1QvJ+RgWEnEB8E4uNAfAKIDwPxXiBOnrEeqJsJK+ZhwA0Y8WAoAAAEnQs7';//Raw DTM
Strings[1] := 'mggAAAHicY2NgYNjDxMBwEoj3A/FmIN4JxGdAfEYIPgXEh4F4FxRvT88B6mLCwDwM2AEjDgwBAC2nCro=';//Cooked DTM
Strings[2] := 'w ro';//Raw uptext
Strings[3] := 'Roc';//Cooked uptext
Strings[4] := 'Rocktail';//Fish name
Integers[3] := 225;//EXP
Integers[4] := 15270; //Raw ID (For reflection)
Integers[5] := 15272; //Cooked ID (For reflection)
end;
end;
end;
end;

var
ABMark, StatsTimer: Integer;


procedure Antiban;
begin
if (not(LoggedIn) or (TimeFromMark(ABMark) < MinABWait)) then
Exit;
if (Random(9) > 0) then
begin
case Random(9) of
1: RandomMovement;
2: BoredHuman;
3: RandomMovement;
4: PickUpMouse;
5: HoverSkill('cooking', False);
6: RandomRClick;
7: PickUpMouse;
8: RandomAngle(1);
9: HoverSkill('cooking', False);
0: HoverSkill('random', False);
end;
MarkTime(ABMark);
end;
end;


function AttemptAndSwivel(func: function: Boolean; Attempts, SwivelPer: Integer): Boolean;
var
i: Integer;
begin
for i := 1 to Attempts do
begin
if func() then
begin
Result := True;
Exit;
end;
MakeCompass(rs_GetCompassAngleDegrees + (SwivelPer + Random(10) - Random(10)));
Wait(800 + Random(80));
end;
end;



function AttemptFunct(Func: function: Boolean; Attempts: Integer): Boolean;
var
i: Integer;
begin
for i := 1 to Attempts do
begin
if func() then
begin
Result := True;
Exit;
end;
Wait(800 + Random(80));
end;
end;


const //Reflection constants
FireTileX = 3043;
FireTileY = 4973;


function r_OpenBenedict: Boolean;
var
Benedict: TNPC;
BenedictPoint: TPoint;
T: Integer;
begin
R_FindRandoms;
repeat
Benedict := R_GetNPC('Emerald Benedict', False);
if not(R_TileOnMS(Benedict.Tile, 0)) then
R_WalkToTile(Benedict.Tile, 4, 0);
Benedict := R_GetNPC('Emerald Benedict', False);
until(R_TileOnMS(Benedict.Tile, 0));
BenedictPoint := R_TileToMS(Benedict.Tile, 0);
Mouse(BenedictPoint.x - 2, BenedictPoint.y - 2, 4, 4, False);
if (r_WaitOption('ank', 1200)) then
begin
T := GetSystemTime + 4000;
while (GetSystemTime < T) and not(Result) and LoggedIn do
Result := BankScreen or PinScreen;
end;
end;


function OpenBenedict: Boolean;
var
CTS, x, y, i, H, T: Integer;
TPA: TPointArray;
ATPA: array of TPointArray;
R: Boolean;
begin
if not(LoggedIn) then
Exit;
R_FindRandoms;
if BankScreen then
begin
Result := True;
Exit;
end;
CTS := GetColorToleranceSpeed;
SetColorToleranceSpeed(2);
SetColorspeed2Modifiers(0.01374, 1.69810);
FindColorsTolerance(TPA, 7444680, MSX1, MSY1, MSX2, MSY2, 4);
SetColorToleranceSpeed(CTS);
//DebugTPA(TPA, '');
if (Length(TPA) > 0) then
begin
ATPA := TPAtoATPAEx(TPA, 20, 30);
SortATPAFromFirstPoint(ATPA, IntToPoint(MSCX, MSCY));
//DebugATPABounds(ATPA);
H := High(ATPA);
for i := 0 to H do
begin
MiddleTPAEx(ATPA[i], x, y);
MMouse(x - 3, y - 3, 6, 6);
if WaitUptext('ened', 1600) then
begin
ClickMouse2(False);
Result := WaitOption('ank', 1600);
end;
if Result then
Break;
end;
T := GetSystemTime + 4000;
while (GetSystemTime < T) and not(Result) and LoggedIn do
Result := BankScreen or PinScreen;
end else
begin
R := True;
Result := r_OpenBenedict;
end;
if (not(R) and not(Result)) then
Result := r_OpenBenedict;
if Result and PinScreen then
Result := InPin(Players[CurrentPlayer].Pin);
if Result then
Wait(1800 + Random(240));
end;


function r_CountRaws: Integer;
begin
Result := R_CountItem(Players[CurrentPlayer].Integers[4]);
end;


function CountRaws: Integer;
var
RawDTM: Integer;
begin
if not(LoggedIn) then
Exit;
R_FindRandoms;
RawDTM := DTMFromString(Players[CurrentPlayer].Strings[0]);
Result := CountItems('dtm', RawDTM, []);
FreeDTM(RawDTM);
if ((Result < 1) or (Result < InvCount)) then
Result := r_CountRaws;
end;


function r_CountCooked: Integer;
begin
Result := R_CountItem(Players[CurrentPlayer].Integers[5])
end;


function CountCooked: Integer;
var
CookedDTM: Integer;
begin
if not(LoggedIn) then
Exit;
R_FindRandoms;
CookedDTM := DTMFromString(Players[CurrentPlayer].Strings[1]);
Result := CountItems('dtm', CookedDTM, []);
FreeDTM(CookedDTM);
if ((Result < 1) or (Result < InvCount)) then
Result := r_CountCooked;
end;


function DoBank: Boolean; //no reflection backup, if someone wants to teach me interfaces then yay.
var
RawDTM, x, y, M: Integer;
begin
if (not(LoggedIn) or not(BankScreen)) then
Exit;
R_FindRandoms;
DepositAll;
Wait(50 + Random(100));
RawDTM := DTMFromString(Players[CurrentPlayer].Strings[0]);
if FindDTM(RawDTM, x, y, MBX1, MBY1, MBX2, MBY2) then
begin
MMouse(x - 3, y - 3, 6, 6);
Wait(50 + Random(100));
if WaitUptext(Players[CurrentPlayer].Strings[2], 1600) then
begin
ClickMouse2(False);
Wait(50 + Random(100));
WaitOption('raw-A', 1600);
end;
end else
Writeln('could not find raw food DTM in bank!');
Closebank;
M := GetSystemTime + 4000;
while ((not(Result)) and (GetSystemTime < M)) do
begin
if (not(InvEmpty)) then
begin
Result := True;
Break
end;
Wait(10 + Random(25));
end;
FreeDTM(RawDTM);
if Result then
begin
Inc(Players[CurrentPlayer].Banked);
IncEx(Players[CurrentPlayer].Integers[11], CountRaws);
stats_IncVariable('Loads Done', 1);
case Players[CurrentPlayer].Integers[0] of
0: stats_IncVariable('Trout Cooked', CountRaws);
1: stats_IncVariable('Salmon Cooked', CountRaws);
2: stats_IncVariable('Tuna Cooked', CountRaws);
3: stats_IncVariable('Lobster Cooked', CountRaws);
4: stats_IncVariable('Swordfish Cooked', CountRaws);
5: stats_IncVariable('Monkfish Cooked', CountRaws);
6: stats_IncVariable('Shark Cooked', CountRaws);
7: stats_IncVariable('Rocktail Cooked', CountRaws);
end;
end;
end;


function r_ClickRaw: Boolean;
begin
R_FindRandoms;
Result := False
end;


function ClickRaw: Boolean;
var
RawDTM, x, y, T: Integer;
begin
if not(LoggedIn) then
Exit;
R_FindRandoms;
RawDTM := DTMFromString(Players[CurrentPlayer].Strings[0]);
if FindDTM(RawDTM, x, y, MIX1, MIY1, MIX2, MIY2) then
begin
MMouse(x - 4, y - 4, 8, 8);
if WaitUptext(Players[CurrentPlayer].Strings[2], 1600) then
begin
ClickMouse2(True);
T := GetSystemTime + 6000;
while ((not(Result)) and (GetSystemTime < T)) do
begin
Wait(200 + Random(20));
Result := (ActivatedItem > 0);
end;
end;
end else
Writeln('could not find raw food DTM in inventory!');
FreeDTM(RawDTM);
if not(Result) then
Result := r_ClickRaw;
end;


function r_ClickFire: Boolean;
var
FireTile: TTile;
FirePoint: TPoint;
begin
if not(LoggedIn) then
Exit;
R_FindRandoms;
FireTile := Point(FireTileX, FireTileY);
if not(R_TileOnMS(FireTile, 0)) then
begin
R_WalkToTile(FireTile, 3, 0);
ClickRaw;
end;
FirePoint := R_TileToMS(FireTile, 0);
Mouse(FirePoint.x - 3, FirePoint.y - 3, 6, 6, false);
Result := r_WaitOption('> Fi', 1200);
end;


function ActionScreen: Boolean;
begin
R_FindRandoms;
Result := (CountColorTolerance(4477273, 85, 415, 95, 425, 10) > 65);
end;


function ClickFire: Boolean;
var
CTS, x, y, i, H: Integer;
TPA: TPointArray;
ATPA: array of TPointArray;
R: Boolean;
begin
R_FindRandoms;
if not(LoggedIn) then
Exit;
CTS := GetColorToleranceSpeed;
SetColorToleranceSpeed(2);
SetColorspeed2Modifiers(0.10167, 1.61841);
FindColorsTolerance(TPA, 2730226, MSX1, MSY1, MSX2, MSY2, 5);
SetColorToleranceSpeed(CTS);
//Writeln(Length(TPA));
if (Length(TPA) > 0) then
begin
ATPA := TPAtoATPAEx(TPA, 30, 30);
//DebugATPABounds(ATPA);
SortATPAFromFirstPoint(ATPA, IntToPoint(MSCX, MSCY));
H := High(ATPA);
for i := 0 to H do
begin
MiddleTPAEx(ATPA[i], x, y);
MMouse(x - 2, y - 2, 4, 4);
if WaitUptext('more', 800) then //there's always so many people, i'm just gonna check for "more" in "XX more options"
begin
ClickMouse2(False);
Result := WaitOption('> Fire', 1600);
end;
if Result then
Break;
end;
end else
begin
R := True;
Result := r_ClickFire;
end;
if (not(R) and not(Result)) then
Result := r_ClickFire;
if Result then
Result := WaitFunc(@ActionScreen, 10 + random(15), 7000);
end;


function OutlineFound: Boolean;
begin
R_FindRandoms;
Result := (CountColorTolerance(10408935, 215, 387, 302, 400, 80) > 60);
end;


function ClickButton: Boolean;
var
CookedDTM, x, y: Integer;
begin
R_FindRandoms;
if not(LoggedIn) then
Exit;
Result := False;
R_FindRandoms;
CookedDTM := DTMFromString(Players[CurrentPlayer].Strings[0]);
if not(FindDTM(CookedDTM, x, y, MCX1, MCY1, MCX2, MCY2)) then
begin
FreeDTM(CookedDTM);
Exit;
end;
FreeDTM(CookedDTM);
MMouse(x - 4, y - 4, 8 , 8);
if (WaitFunc(@OutlineFound, 10 + Random(15), 8000)) then
begin
ClickMouse2(True);
Result := True;
end else
Writeln('didnt find the outline');
end;


procedure SayCookLVL;
begin
TypeByte(GetKeyCode(Chr(13)));
Wait(50 + random(7));
TypeSendEx('s', False);
Wait(120 + Random(12));
TypeSendEx('v', False);
Wait(40 + random(8));
TypeSendEx('2', False);
end;



function RespondChat: Boolean; //reccomendation from hobbit
var
i: Integer;
begin
if not(Players[CurrentPlayer].Booleans[0]) then
Exit;
if (TimeFromMark(Players[CurrentPlayer].Integers[60]) <= Players[CurrentPlayer].Integers[6]) then
Exit;
if FindTextTpa(clYellow, 8, MSX1, MSY1, MSX2, MSY2, 'ooking le', 'SmallChars', Nothing) then
begin
Result := True;
SayCookLVL;
MarkTime(Players[CurrentPlayer].Integers[60]);
Exit;
end;
for i := 0 to High(Players[CurrentPlayer].Arrays[0]) do
if FindTextTpa(clYellow, 8, MSX1, MSY1, MSX2, MSY2, Players[CurrentPlayer].Arrays[0][i], 'SmallChars', Nothing) then
begin
Result := True;
case Random(9) of
0: TypeSend('?');
1: TypeSend(AddMistakes('What?', 15));
2: TypeSend(AddMistakes('wtf do you want!?', 15));
3: TypeSend(AddMistakes('oh hey srry was watchin TV', 15));
4: TypeSend(AddMistakes('sup', 15));
5: TypeSend(AddMistakes('oh sup i was playin cod srry', 15));
6: TypeSend(AddMistakes('sup', 15));
7: TypeSend(AddMistakes('wat', 15));
8: TypeSend(AddMistakes('i dont talk to dumb people :P', 15));
9: TypeSend('?');
end;
MarkTime(Players[CurrentPlayer].Integers[60]);
Break;
end;
end;


function WaitCook: Boolean;
var
T, CookedDTM, RawCount: Integer;
begin
RawCount := CountRaws;
MarkTime(T); //68 seconds = one inventory (4 game ticks (.6 seconds) per cook * 28 = 67.2 seconds
while (TimeFromMark(T) < 68000 + Random(680)) do
begin
R_FindRandoms;
Antiban;
if RespondChat then
Inc(Players[CurrentPlayer].Integers[61]);
if LevelUp then
begin
Inc(Players[CurrentPlayer].Integers[12]);
stats_IncVariable('Total Levels Gained', 1);
end;
Wait(850 + Random(85));
end;
CookedDTM := DTMFromString(Players[CurrentPlayer].Strings[1]);
Result := (CountItems('dtm', CookedDTM, []) > 0); //randoms are a bitch.
FreeDTM(CookedDTM);
if Result then
begin
IncEx(Players[CurrentPlayer].Integers[10], CountCooked);
stats_IncVariable('Total EXP Gained', Players[CurrentPlayer].Integers[3] * CountCooked);
end;
end;


procedure Die(Status: string);
begin
if not(LoggedIn) then
Exit;
if BankScreen then
CloseBank;
R_FindRandoms;
Logout;
Players[CurrentPlayer].Status := Status;
Writeln('Death because: ' + Players[CurrentPlayer].Status);
end;


procedure Report;
var
i, TotalCooked, TotalEXP, TotalLVLs, TotalSuccess, TotalBurnt: Integer;
xpHR, foodHR, loadHR: Int64;
begin
for i := 0 to High(Players) do
begin
IncEx(TotalCooked, Players[i].Integers[11]);
IncEx(TotalSuccess, Players[i].Integers[10]);
IncEx(TotalBurnt, Players[i].Integers[11] - Players[i].Integers[10]);
Players[i].Integers[13] := Players[i].Integers[10] * Players[i].Integers[3];
IncEx(TotalEXP, Players[i].Integers[13]);
IncEx(TotalLVLs, Players[i].Integers[12]);
end; {123456789|123456789|123456789|123456789|123456789|123456789|12345678}
Writeln('');
Writeln('[====================================================================]');
Writeln('[ TomTuff''s Rogue''s Den Cooker ]'); //2 extra spaces from ''s
Writeln('[ Revision 10 ]');
Writeln('[====================================================================]');
Writeln('[ Overall Report ]');
Writeln('[ Time Ran: ' + Padr(MsToTime(GetTimeRunning, Time_Formal), 54) + ']');
Writeln('[ Fish attempted to cook: ' + padr(IntToStr(TotalCooked), 40) + ']');
Writeln('[ Fish sucessfuly cooked: ' + Padr(IntToStr(TotalSuccess), 38) + ']');
Writeln('[ Fish burnt: ' + Padr(IntToStr(TotalBurnt), 50) + ']');
Writeln('[ Total EXP gained: ' + Padr(IntToStr(TotalExp), 46) + ']');
Writeln('[====================================================================]');
for i := 0 to High(Players) do
begin
Writeln('[ Player ' + Padl(IntToStr(i), 2) + ' (' + Padr(Players[i].Nick, 4) + '):' + Padr('', 49) + ']');
Writeln('[ Fish type: ' + Padr(Players[i].Strings[4], 53) + ']');
Writeln('[ Worked: ' + Padr(MSToTime(PlayerWorked(i), Time_Formal), 56) + ']');
if ((Players[i].Status <> '') and (not(Players[i].Active))) then
Writeln('[ Stopped Because: ' + Padr(Players[i].Status, 47) + ']');
Writeln('[ Levels gained: ' + Padr(IntToStr(Players[i].Integers[12]), 49) + ']');
Writeln('[ EXP gained: ' + Padr(IntToStr(Players[i].Integers[13]), 52) + ']');
xpHR := Ceil((Players[i].Integers[13] * 60.0 * 60.0 * 1000.0) / PlayerWorked(i));
Writeln('[ Exp/HR: ' + Padr(Int64ToStr(xpHR), 54) + ']');
Writeln('[ Food attempted: ' + Padr(IntToStr(Players[i].Integers[11]), 48) + ']');
foodHR := Ceil((Players[i].Integers[11] * 60.0 * 60.0 * 1000.0) / PlayerWorked(i));
Writeln('[ Food cooked/HR: ' + Padr(Int64ToStr(foodHR), 46) + ']');
Writeln('[ Successful: ' + Padr(IntToStr(Players[i].Integers[10]), 50) + ']');
Writeln('[ Burnt: ' + Padr(IntToStr(Players[i].Integers[11] - Players[i].Integers[10]), 55) + ']');
Writeln('[ Loads: ' + Padr(intToStr(Players[i].Banked), 57) + ']');
loadHR := Ceil((Players[i].Banked * 60.0 * 60.0 * 1000.0) / PlayerWorked(i));
Writeln('[ Loads/HR: ' + padr(Int64ToStr(loadHR), 52) + ']');
if (Players[i].Integers[61] > 0) then
Writeln('[ Times responded: ' + Padr(IntToStr(Players[i].Integers[61]), 47) + ']');
Writeln('[====================================================================]');
end;
Writeln('');
end;


function CheckSums: Boolean;
begin
if (not(Players[CurrentPlayer].Integers[1] = 0)) then
Result := (Players[CurrentPlayer].Banked >= Players[CurrentPlayer].Integers[1]);
if Result then
Exit;
if (not(Players[CurrentPlayer].Integers[2] = 0)) then
Result := (PlayerWorked(CurrentPlayer) > Players[CurrentPlayer].Integers[2])
end;


begin
Smart_Members := True;
Smart_Server := sWorld;
Smart_Signed := sSigned;
Smart_SuperDetail := False;
SetupReflection;
SetupSRLStats(32, Stats_User, Stats_Pass);
DeclarePlayers;
LoginPlayer;
MarkTime(StatsTimer);
repeat
SetupNewPlayer;
SetAngle(True);
repeat
if AttemptAndSwivel(@OpenBenedict, 16, 45) then
begin
if AttemptFunct(@DoBank, 4) then
begin
if AttemptFunct(@ClickRaw, 4) then
begin
if AttemptAndSwivel(@ClickFire, 16, 45) then
begin
if AttemptFunct(@ClickButton, 3) then
begin
if WaitCook then
begin
Report;
end else Die('could not wait to cook');
end else Die('could not click the cooking button');
end else Die('could not click the fire');
end else Die('could not click raw in inventory');
end else Die('could not handle banking');
end else Die('could not open Benedict');
Report;
if CheckSums then
Die('goals met');
if (TimeFromMark(StatsTimer) > 300000) then
begin
stats_Commit;
MarkTime(StatsTimer);
end;
until(not(LoggedIn));
NextPlayer(False);
until(AllPlayersInactive);
Report;
end.


{
rev 02: Added r_ClickRaw
rev 03: added MBX1, MBY1, MBX2, MBY2
rev 04: added more R_FindRandom's :)
rev 05: advanced counting
rev 06: added autoresponder
rev 07: patched up autoresponder
rev 08: SRL Stats (stats.villavu.com)
rev 09: Fixed for the removal R_ClickItemID and R_CountItemID (Now just R_ClickItem and R_CountItem)
rev 10: Added AttemptAndSwivel and AttemptFunct. Now used in mainloop. This should extend runtime!
rev 11: Added pin handling.
}

TomTuff

2011-08-26 01:24:57

Many thanks my friend, I was having trouble getting to this :p

ry0240

2011-08-26 03:18:28

From: Jakkle
I wanted to use this so I have updated it to work with R2.
I could not do the function r_ClickRaw because R_ClickItem and R_ClickItemBy don't work with Players[CurrentPlayer].Integer[4] because its an array, so I put it as Result := False(good job the script has DTMs :)).
I did a few loads and it's working so I thought I'd post it as people want to use it with R2.


Thank you Jakkle, I really appreciate this. =]

Jakkle

2011-08-26 09:52:04

From: TomTuff
Many thanks my friend, I was having trouble getting to this :p


From: ry0240
Thank you Jakkle, I really appreciate this. =]


No problem guys :)
And if you have a bank pin put this in the script, in DoBank, line 350.

  if (not(LoggedIn) or not(BankScreen)) then
Exit;
> If (PinScreen) Then // add from this bit
Begin
InPin(Players[CurrentPlayer].Pin);
End; < // to here
R_FindRandoms;

Aristos

2011-09-08 19:12:49

I have a problem with the script "Line 233 Benedict := GetNPC('Emerald Benedict');"
[Error] (234:17): Unknown identifier 'GetNPC' at line 233
Compiling failed.

TomTuff

2011-09-08 20:07:46

See first post (just updated).

Aristos

2011-09-09 01:16:20

tyvm

Jakkle

2011-10-11 10:20:05

Proggy
[====================================================================]
[ TomTuff's Rogue's Den Cooker ]
[ Revision 10 ]
[====================================================================]
[ Overall Report ]
[ Time Ran: 3 Hours, 4 Minutes and 26 Seconds ]
[ Fish attempted to cook: 3444 ]
[ Fish sucessfuly cooked: 3371 ]
[ Fish burnt: 73 ]
[ Total EXP gained: 505650 ]
[====================================================================]
[ Player 0 (***): ]
[ Fish type: Monkfish ]
[ Worked: 3 Hours, 4 Minutes and 24 Seconds ]
[ Levels gained: 1 ]
[ EXP gained: 505650 ]
[ Exp/HR: 164518 ]
[ Food attempted: 3444 ]
[ Food cooked/HR: 1121 ]
[ Successful: 3371 ]
[ Burnt: 73 ]
[ Loads: 123 ]
[ Loads/HR: 41 ]
[====================================================================]


Nearly 99 ;) nice script. Only thing I would suggest is making sure it either looks for the fire by (does tile have id) or walk to tile near fire, before clicking raw fish. When people make fires it will use them and not cook a full load then bank. Also it clicks raw fish before walking to fire tile on mini map.

TomTuff

2011-10-11 10:33:58

From: Jakkle
Proggy
[====================================================================]
[ TomTuff's Rogue's Den Cooker ]
[ Revision 10 ]
[====================================================================]
[ Overall Report ]
[ Time Ran: 3 Hours, 4 Minutes and 26 Seconds ]
[ Fish attempted to cook: 3444 ]
[ Fish sucessfuly cooked: 3371 ]
[ Fish burnt: 73 ]
[ Total EXP gained: 505650 ]
[====================================================================]
[ Player 0 (***): ]
[ Fish type: Monkfish ]
[ Worked: 3 Hours, 4 Minutes and 24 Seconds ]
[ Levels gained: 1 ]
[ EXP gained: 505650 ]
[ Exp/HR: 164518 ]
[ Food attempted: 3444 ]
[ Food cooked/HR: 1121 ]
[ Successful: 3371 ]
[ Burnt: 73 ]
[ Loads: 123 ]
[ Loads/HR: 41 ]
[====================================================================]


Nearly 99 ;) nice script. Only thing I would suggest is making sure it either looks for the fire by (does tile have id) or walk to tile near fire, before clicking raw fish. When people make fires it will use them and not cook a full load then bank. Also it clicks raw fish before walking to fire tile on mini map.


if you wanted to you could tell it to do the reflection function for clicking the fire first and then use the color function as a failsafe.

Grats on 99, amazed this still works :p

Jakkle

2011-10-11 10:37:52

Well I did convert it to R2 remember :P

I have changed it my self to do everything, was just thinking about updating for others ;) wouldn't take you long.

Kehmist

2011-10-27 15:59:51

When I run it, it says the hooks for reflection are outdated? Is there anyway I can fix this or do I have to wait for an update? Thanks!

Heavenzeyez1

2011-10-27 16:12:07

From: Kehmist
When I run it, it says the hooks for reflection are outdated? Is there anyway I can fix this or do I have to wait for an update? Thanks!


After the "bot nuke" update reflection stopped working , so the script won't work until it will be converted to color or reflection gets fixed.

~Eerik.

Mr. Bottomtooth

2011-10-27 18:46:01

From: Heavenzeyez1
After the "bot nuke" update reflection stopped working , so the script won't work until it will be converted to color or reflection gets fixed.


Yeah and judging from the chat around the forums, fixing reflection, if ever, might take a long time. So I would put my money on color converting.

Jakkle

2011-10-29 01:00:49

If you comment out all the reflection code from this script it will actually work (if all colours are correct) as this is a colour and reflection script, using reflection as backup.

TomTuff

2011-10-29 01:59:34

From: Jakkle
If you comment out all the reflection code from this script it will actually work (if all colours are correct) as this is a colour and reflection script, using reflection as backup.


I think the dtms and NPC and fire colors need to be updated.

cisco

2011-11-04 22:15:11

same problem as Aristos. read the whole thing but do not understand.
Im new sorry XD

i luffs yeww

2011-11-04 22:19:15

Needs to be "fixed." Since it should work without reflection it wouldn't be too hard to get it working.

cisco

2011-11-04 22:24:15

? sorry? but how do i "fix" it?

cisco

2011-11-04 22:48:09

How can it be fixed?

i luffs yeww

2011-11-04 22:51:10

First of all, don't multi-post, unless you have a good reason to (so don't multi-post). Second, colors/DTMs/bitmaps (dunno if it uses any bitmaps) need to be updated if they're not working. All reflection should be taken out, or at least updated to ref2 syntax so that it doesn't complain about names.

Then it should work, at least if it's well-written. And as long as rogue's den hasn't changed. Since Tom wrote this, I wouldn't be surprised if it still worked with very little updating.

cisco

2011-11-04 22:54:01

k thanx :D