SRL Archive - First Scripts

Cragholes_Catherby_Cooker Beta


craghole

2012-01-28 04:54:07

This is my first public Script, and there are several things you need to know before running it. The Download is at the bottom of this post.

First, it is a beta, so it is not completely full-proof, it will occasionally mess up. It DOES however, have a failsafe so that if it cannot find the bank it will Logout and type into the Debug box that it "Couldnt Find Bank."

Second, Start the script with your camera pointed all the way up, and facing North at the Rightmost banker in the Catherby Bank.

Third, You may want to babysit it and find where any errors occur so that you can either point them out to me or (as i have very limited scripting knowledge) fix them yourself.

Fourth, you will need to type in your username, pass, nickname, and pin into the Declare Players Menu, and also at the top of the script are instructions to setup what Food you will be cooking.

Now, for the good news, this script utilizes "SearchBank" and therefore, you won't have to rearrange anything in your bank for it to find your food :D also, if you want to cook all your raw food, just type 'raw' into the TypeSend and it will cook all of your 'raw' food in the order it appears in your bank! (Probably Alphabetical, though I'm not certain.)

:stirthepot:

yoman123

2012-01-30 20:46:10

http://postimage.org/image/b252yo74r/

yoman123

2012-01-30 20:47:13

^ that's what I got from running it.

craghole

2012-01-31 03:05:08

From: yoman123
^ that's what I got from running it.


Okay, so, for whatever reason my computer won't load the pic. so if you could tell me what the debugbox is saying the error is then i might be able to help, if its an error occuring in the game with the script running its probably because this script currently sucks. haha.

lays

2012-01-31 05:35:54

this is what is says in the pic : FormWriteIn: Warning! you passed a wrong ys to a finder fuction : -5 that is below 0, thus out of bounds . setting the value to 0 for now.

and it keeps says the same error over and over a couple times

slakan

2012-01-31 09:13:19

it cant find bank, NPC or anyting. thats why u get that error..

i did experiment a bit with that bank method, and when it cant find jack, it searches FAR awy and gives that error

craghole

2012-01-31 10:30:20

From: slakan
it cant find bank, NPC or anyting. thats why u get that error..

i did experiment a bit with that bank method, and when it cant find jack, it searches FAR awy and gives that error


hmm… well i havent run this script in a while.. I'll try to update it later and see what i can do, DTM's would work better im sure, but ill have to figure them out first. the hard part is the door occasionally closing.

slakan

2012-01-31 11:20:17

i did try to delete the quickfind and somethings, then i got the error ^^

i think you need to use some walking if it cant find the banker.