SRL Archive - RS3 Outdated / Broken Scripts

CannonBall Express


burnout

2007-03-10 23:43:21

hey all you C-Ball Smelters here it is the beta version
i just finished the basic script last night im taking a break, also this is my first script i tested for around 5-8 hours and the only problems it currently has is the colors are manual, and it is extremely hard to find the right main screen color for the furnace

! ! ! ! P L E A S E ! ! ! ! L E A V E ! ! ! ! F E E D B A C K ! ! ! !

if you wish to assist me in my quest to perfect this then please pm me as i will be selling the finished copy and you may be entitled to sell with me:sasmokin:

this is my beta version so it is not extremely finished this is just the basic working motor functions and if you stay near your pc when you auto you will be fine just make sure your volume is up so you can hear when a random is trying to get your attention. im sorry for this and i will be working on it agian very soon.

problems: needs autocolor sometimes you cant get the right color should probally switch worlds or reload current world, no multiplayer, no antirandoms

all these problems will be addressed in the next few updates i will update one at a time, the autocolor update will be posted free, i will not release the multiplayer and antirandom procedures at the same time but will not be free

just give it a try make sure you follow color guidelines and you should be fine accept for furnace some times its impossible to get the right color.

//                    CANNON BALL EXPRESS                    //
// BY Burnout //






program CannonBallExpress;
{.include SRL/SRL.scar}
{.include SRL\SRL\Skill\Smithing.scar}



// Cannon Ball Express brought to you exclusively by Burnout //

// beta version //

// this is not a script you can leave running for more //

// then 5 minuets without checking it //

// no multiplayer and must set own colors will update soon //

// that one out ill update it //

// start in ak west bank (closest one to the furnace) //

// loged in //
//___________________________________________________________//
//___________________________________________________________//








// walk to furnace //




procedure WalkToFurnace1;
begin
makecompass('n')
if(findmmcolortol(x,y,1022492,8)) Then
begin
mmouse(x,y,1,1+random(15))
mouse(x,y,1,1+random(15),true)
wait(10000+random(2000));
if(findsymbol(x,y,'furnace')) Then
mmouse(x+(10),y,1,1)
mouse(x+(10),y,1,1,true)
wait(10000+random(2000));
MakeCompass('W')
end;
end;


// walk to bank //




procedure WalkTobank1;
begin
makecompass('n')
wait(1000+random(500));
mouse(647,144,2,2,true)
wait(10000+random(2000));
if(findsymbol(x,y,'bank')) Then
mouse(x,y,1,1,true)
wait(10000+random(2000));
MakeCompass('W')
wait(500)
end;




// smelter \\




procedure SmeltCBall;
begin
openfurnace;
repeat
wait(200+random(100));
mouseitem(28,true)
wait(500+random(500));
MMouse(274,104, 2, 2)
Mouse(274,104, 2, 2, true)
wait(1500+random(1000));
mmouse(256,442,1,1)
mouse(256,442,2,2,false)
mmouse(228,427,1,1)
mouse(228,427,1,1,true)
wait(40000+random(2000))
until (not(existsitem(28)))
end;




// ammount to withdraw //



procedure withdrawbars;
begin
mmouse(94,77,2,2)
mouse(94,77,2,2,false)
Wait(100);
mmouse(78,145,0,10);
mouse(78,145,0,10,true);
FFlag(0);
Wait(2000 + Random(500));
mmouse(485,41,2,2)
mouse(485,41,2,2,true)
end;




// opening bank //




procedure openbankfast;
begin
lowestangle;
if Findmscolortol(x,y, bwcolor,4) then
begin
MMouse(x, y, 4, 4);
if IsUpTextMulti('ank', 'booth', 'ooth') then
begin
Mouse(x, y, 0, 0, False);
Wait(100);
ChooseOption(x, y, 'uickly');
FFlag(0);
Wait(2000 + Random(500));
end;
end;
end;







//////////////// M A I N L O O P \\\\\\\\\\\\\\\\\\


begin
setupsrl;
activateclient;
loaddtm;
wait(500)
MakeCompass('w')
openbankfast;
withdrawbars;
repeat
walktofurnace1;
wait(500)
highestangle;
smeltcball;
walktobank1;
openbankfast;
withdrawbars;
until(not(existsitem(28)))
end.

masterdest

2007-03-11 00:39:21

You Look like you need a little help add me on msn [email]masterdest@hotmail.com[/email] and ill help you add autocolor etc to it, look forward to hearing from you

the scar noob

2007-03-11 06:02:15

yes indeed, but good try =)

legendaryhero90

2007-03-11 06:09:08

its only for members so sorry i cant try it out…

Ransom

2007-03-11 23:56:19

umm. i reeeeely don't want to burst your bubble…but… (pop)

first off it's good practice to exercise proper grammer and spelling in a script. it just makes it look more professional and avoids posts like this.

now i want to take a look at this

procedure WalkToFurnace1;
begin
makecompass('n')
if(findMMColortol(x,y,mmrcolor,8)) Then
begin
mmouse(x,y,1,1+random(15))
mouse(x,y,1,1+random(15),true)
wait(6000+random(2000));
if(findMMColortol(x,y,mmfcolor,8)) then
mmouse(x,y,1,1)
mouse(x,y,1,1,true)
wait(5000+random(2000));
MakeCompass('W')
end;
end;

not a giant deal but you don't need to move the mouse. then move the mouse. then click the mouse. the mouse() function will work just fine for moving and clicking.

When you go to the furnace there is a crazy procedure built in to find the furnace for you. this way you don't need to fuss with colors. same with mm symbols and their colors.

There's just a lot of things about this script that need to be perfected before moving on to a script with added functions. Get this streamlined and perfect with more failsafes on your existing procedure (like what happens if it doesn't make it to the bank, can it find it's way back to the furnace and retry? stuff so that if your repeat loop breaks it can re calibrate itself)

I would strongly advise a re release of this before moving on to more advanced topics. I hope you can glean some info from this. Another thing to do would be to read the entire SRL manual first. know whats out there and test some things. if a description is vague just punch it in and see what happens. know your tools before building the house

Ransom

p.s. don't script for money…script to make a good script.

GoF

2007-03-12 08:09:49

Making scripts for sale might be harder than u think.. Cause people usually want flawless (i hate that word) scripts meaning that they dont mess up, have multiplayers and bla bla bla.. And this is still far away from that :) But im willing to help if u want.

burnout

2007-03-15 23:56:41

i would love your assistance gof
[email]itown_burnout@hotmail.com[/email]:sasmokin:

tylanbo

2007-03-16 15:14:24

Like GoF said, pay scripts have to work flawlessly. I cannot test, as I am not member, but if you need some help just message me on msn. I can help you with dtms…something you need. It is far more effective than colors.

Anyways, not to be rude, just understand that this is not close to a pay script. But I will help you get it out of beta :)

EDIT:

My craft bot is over 500 lines and it is nowhere near payscript material lol :)

burnout

2007-03-17 23:25:32

minor tweeks runs a lot smoother now i ran out of bars gotta re up

Gingejaks

2007-03-30 20:29:30

where is "ak"?

burnout

2007-04-04 16:56:59

Alkahrid It Is South East Of Lumbridge You Have To Go East From Lumby Across The River Take 10 Gp If You Have Not Done Prince Rescue Quest Go Through Gate Then South By South East To The Bank

purskilzonly

2007-04-05 22:58:11

im realy looking for a final version of this. so give it another shot.

usercookie69

2007-04-28 20:09:59

Failed when compiling
Line 137: [Error] (17545:24): Unknown identifier 'bwcolor' in script C:\Program Files\SCAR 3.04\Scripts\downloaded\Cannon Ball Express.scar

just a suggestion but if ya wanna make it a nice pay script why not set it up it with draws the materials 18coal 9 iron, and you have your cannonball mold in the last slot, that it smiths the bars then the cannonballs and banks and starts over, and of couse your gonna want forms on it, so someone can set it for "CBalls Only" or "Bars + CBalls"and possibly even just "Bars Only" for the bar mercahnts which should not requir much more script editing, sorry i'm new tos car and i'm slowly learning the script by coding one for a flash game :)

P.S. good luck and if you make the big time i'll buy :)

Alco13

2008-05-07 08:07:41

it doesnt work for me it justdrifts off the screen

TheChineseMan

2008-05-07 08:19:27

dude this script is out of date dont post here unless the owner of this script will post here again…