SRL Archive - RS3 Outdated / Broken Scripts

[SRL 4][Memb] "Teh" CoalTruckz


Timer

2008-01-09 21:12:25

Teh Coal Truckz!

Updated TO REVERSION 13!!!

Brought To YOU By: Timer & Timothegreat - Since Jan. 9th 2008

Summary: PickAxe Weilded, Fill In DeclarePlayer, Start This Script In Cammy Bank With The Water Of The NORTH Visible, The Script Will Walk To The Mines, Mine Coal 'n Put It In Ther Carts. Once A Full Cart, It Will Walk To Bank, and Bank. Then Make Trips Back'n Forth From The Cartz Until They 'r Empty. Repeats.

Future: Fancy Ness, Cleaner Coding, Maybe Get Tara To Make Us A Get Rail-Road Color Function :rolleyes: :p ;)
SRL-Stats and Proggies Will Be Ready Somtime Tomorrow or Ther 15th.

Timer

2008-01-09 21:13:25

Best Proggies:

fom

2008-01-09 21:15:39

Nice, I've always been waiting for one of these!
I'll test it out right now.

Scar 3.12 or 3.13?

Timer

2008-01-09 21:17:15

Hehe Thanks!

BTW, this is BETA all may not work

fom

2008-01-09 21:19:56

Ok, I'll watch over it and tell you if I find any bugs.

Theres a Cammy bank? You mean seers right?

P1nky

2008-01-09 21:21:50

looks good lol that made me lol in rl may not work at all hehe

Timer

2008-01-09 21:22:03

yer seers.

the bank thats north of flax :rolleyes:

fom

2008-01-09 21:24:52

From: Timer
yer seers.

the bank thats north of flax :rolleyes:


Yeah, I tried it, it ran around the lake then stood in the mining truck shed (Where you take the coal out) and then did nothing.
Trying again…

Timer

2008-01-09 21:27:32

yes, that the error with the rail road color… maybe. cange a color.

GoGoToBedNow =[: Timo Might Be On, Other Than That, Be On In Ther Morning! 9:27pm ere

Timothegreat

2008-01-09 21:43:20

Yay! Days of hard work paid of and now we released it!

If it clicks on cart place just try restarting the script after logging out at bank.

fom

2008-01-09 22:45:29

From: Timothegreat
Yay! Days of hard work paid of and now we released it!

If it clicks on cart place just try restarting the script after logging out at bank.


I've been trying logged if that made a difference. So I'll try again.

Oh, and thanks for releasing this to the junior members:)

Ran it, when it got to the balancing log it couldn't find the log colour, it thought it was a fence that was nearby. So, the next version should have better log finding.

Timer

2008-01-10 06:43:42

lol yeh, Timo wouldn't let me fix it… =/

kensaurus

2008-01-10 06:56:17

gonna try later looks nice XD

Timer

2008-01-10 07:02:07

Really? :p

Rencuz

2008-01-10 10:17:08

Should i try this? :D

footballjds

2008-01-10 10:44:38

gj timo and timer! better log finding ftw? also, congrats on working together.. ha ha, thats the hardest part i think. i can make a script myself easy. then me and mylsemadness are trying to make 1 2gthr… hell its difficult… ah well, part of the challenge i presume. =p

Timothegreat

2008-01-10 15:35:29

Everyone should try this if they can and report bugs please.

Timer

2008-01-10 16:38:18

i see the log problem, i will notifie timo

richk1693

2008-01-10 16:52:14

Can't test it since i have no members acct. But the code looks great…. God i need membz…

NiCbaZ

2008-01-10 23:05:02

i just got my mums old laptop 3 members account as i got so i will be testing for you guys

btw awsome walking timo

osmm

2008-01-10 23:08:25

I'll probably be testing this out for you tomorrow. I don't know much about the Cartz but I know I did quest thing to enable them. How do I get the coal after it is in the carts? Don't I have to pick it up somewhere, or does it auto bank?

Naum

2008-01-11 14:39:57

Pretty good but doesn't beat my Pay Coal Miner :)
GJ!

Timer

2008-01-11 15:44:53

Hey, Nauman, I got a New Fally Yews Sig For You, Its Not Like Ultra Graphic, But I Think Its Better.. =]

Timothegreat

2008-01-11 15:46:44

From: osmm
I'll probably be testing this out for you tomorrow. I don't know much about the Cartz but I know I did quest thing to enable them. How do I get the coal after it is in the carts? Don't I have to pick it up somewhere, or does it auto bank?


It fills up carts then it banks :)

and… after banking it repeats :D

Timer

2008-01-11 22:53:47

New Version!!!

Timothegreat

2008-01-11 22:56:39

yessir!!!!!

improved walking and log finding… should run all night!~ :)

Just ran it for 3 hrs!!!!

fom

2008-01-12 13:42:08

Yeah! I'll try it out right now!

Timothegreat

2008-01-12 16:07:41

im trying to give timer the updated version soon. I got 1k coal on it overnight. :)

zenith22

2008-01-12 22:18:04

you should put at the top in ur first post that u need 20 agility cause i wasted all the time to find out i couldnt use it

Timer

2008-01-12 22:57:03

Timo, get on AIM, ill be on 2morrow all day..
not MSN though… i like AIM, better.

Timothegreat

2008-01-13 00:47:03

i will, you need to upload the updated script that i will send you.

zenith22

2008-01-13 01:35:07

Is it normal if 2 pick axe heads fly off in 70 coal? Because this is a great script just i keep losing my pickaxe heads and it doesnt find them. I lost a steel pickaxe head and an addy one and thats the only reason it stops

Ciesson

2008-01-13 06:06:31

Looks good! Gonna try soon. Are there any quest requirments for this?

Ciesson

EDIT: I think you should ask XcanadamanX if you can use his auto script updater procedures, i will gladly host the files for you, so you can both upload ur changes to the ftp server and they will be instantly downloadable to all who have got the script.

noob-2

2008-01-13 08:32:53

looks good if i could mine coal

Timer

2008-01-13 16:28:42

New Version - Overnighter!

Timothegreat

2008-01-13 20:24:13

i got 1k coal overnight from that version :)

Timer

2008-01-14 22:53:29

Damn… No Posts… :p

BUMP

Rencuz

2008-01-15 09:32:15

How stable is is this? If its very stable then i might use :D

vv36strike

2008-01-15 10:04:45

OH NOES, ANOTHER RS UPDATE! SCRIPTS NO LONGER WORK!!!! Looks like at the very least, complete new bitmaps are needed, and several important things in the game have changed. Maybe need even another SRL to get any script working!

Timer

2008-01-15 20:25:55

i got a SRL version, well, I edited srl, and my srl is rs compatible now,

BTW.
MY SRL!
YOU REMAKE YOUR OWN!

Timer

2008-01-19 22:42:24

hmm… i got it mosly updated..
just a lil more..

Hackspawn

2008-01-29 20:08:30

Line 109: [Error] (13319:79): Type mismatch in script C:\'Teh' Coal Truckz.scar
line 109- 121 is

if (radialwalkex(mx, my, 648, 83, thecolor, 0, startradial, endradial, radius)) then
begin
if top then
begin
MouseFindNoFlag(mx, my-8, Xmod, Ymod);
end else
begin
MouseFindNoFlag(mx, my+8, Xmod, Ymod);
end;
Result := True;
FFlag(10);
end;
end;



whats wrong with this section of code

im assuming it has to do with the srl rev update to 10…. but i dont know how to change it to use a tpointarray. ive tried but to no avail

Timothegreat

2008-01-30 18:42:25

updated for rev 11 :)

Hackspawn

2008-02-05 20:36:13

From: Timer
hmm… i got it mosly updated..
just a lil more..

lol srl vers 13 is out

the scar noob

2008-02-06 05:24:51

Nice script, nice script guys!

Timer, you became much better since you applied for SRL Member:p

I saw your GetWaterColor and I remembered I made on aswell, based off the one made by The Fawkinator:) (I was planning to make a fighter, I never finnish my scipts:rolleyes:)

Here, you can barrow it:p
{********************
function GetWaterColor: integer;
Description: Will put ColorToleranceSpeed to 0 and search for present
mm watercolor. The usage of "FindColoredAreaTolerance" also checks
for a min area of that color, to be sure it is a lake.
This function actually is an edit of WT-Fakawi's one (w_GetWaterColor
that wizzup? uses in his Fly Fisher), thus credits to him ;)
********************}
function GetWaterColor: integer;
var
x, y, CTS: integer;
begin
if not(LoggedIn) then Exit;
CTS := GetColorToleranceSpeed;
ColorToleranceSpeed(2);
if FindColoredAreaTolerance(x, y, 12226942, mmx1, mmy1, mmx2, mmy2, 10, 30)then
begin
Result := GetColor(x, y);
Writeln('Water color: '+inttostr(result));
end else
begin
Writeln('Water color NOT found. Lets try SRLs one.');
Result := FindWaterColor;
if (Result > 0) then
begin
Writeln('Water color: '+inttostr(result));
end else
begin
Writeln('SRLs FindWaterColor function also failured. No water color found.');
Result := 0;
TerminateScript;
end;
end;
ColorToleranceSpeed(CTS);
end;

Also if you need a findsymbol function:
{********************
function MyFindSymbol(name: string; x1, y1, x2, y2: integer;
walk: boolean): boolean;
Description: A findsymbol function with SymbolAccuracy disceasing
and walk option.
********************}
function MyFindSymbol(name: string; x1, y1, x2, y2: integer;
walk: boolean): boolean;
var
i, cx, cy: integer;
Acc: extended;
begin
if not(LoggedIn) then Exit;
Acc := SymbolAccuracy;
for i:= 1 to 8 do
begin
case (walk) of
true: begin
if FindSymbolIn(cx, cy, name, x1, y1, x2, y2)then
begin
Mouse(cx, cy, 0, 0, true);
FFlag(0);
result:= true;
break;
end;
end;
false: begin
if FindSymbolIn(cx, cy, name, x1, y1, x2, y2)then
begin
result:= true;
break;
end;
end;
end;
SymbolAccuracy := Acc-0.05;
end;
SymbolAccuracy := Acc;
end;

Btw for that auto railcolor function you need, why don't you try the art of arrays?

Regards,

-Tsn.

Timothegreat

2008-02-07 20:33:06

i just wished more people would use this… :(

Timer

2008-02-09 07:38:33

From: the scar noob
Nice script, nice script guys!

Timer, you became much better since you applied for SRL Member:p

I saw your GetWaterColor and I remembered I made on aswell, based off the one made by The Fawkinator:) (I was planning to make a fighter, I never finnish my scipts:rolleyes:)

Here, you can barrow it:p
{********************
function GetWaterColor: integer;
Description: Will put ColorToleranceSpeed to 0 and search for present
mm watercolor. The usage of "FindColoredAreaTolerance" also checks
for a min area of that color, to be sure it is a lake.
This function actually is an edit of WT-Fakawi's one (w_GetWaterColor
that wizzup? uses in his Fly Fisher), thus credits to him ;)
********************}
function GetWaterColor: integer;
var
x, y, CTS: integer;
begin
if not(LoggedIn) then Exit;
CTS := GetColorToleranceSpeed;
ColorToleranceSpeed(2);
if FindColoredAreaTolerance(x, y, 12226942, mmx1, mmy1, mmx2, mmy2, 10, 30)then
begin
Result := GetColor(x, y);
Writeln('Water color: '+inttostr(result));
end else
begin
Writeln('Water color NOT found. Lets try SRLs one.');
Result := FindWaterColor;
if (Result > 0) then
begin
Writeln('Water color: '+inttostr(result));
end else
begin
Writeln('SRLs FindWaterColor function also failured. No water color found.');
Result := 0;
TerminateScript;
end;
end;
ColorToleranceSpeed(CTS);
end;

Also if you need a findsymbol function:
{********************
function MyFindSymbol(name: string; x1, y1, x2, y2: integer;
walk: boolean): boolean;
Description: A findsymbol function with SymbolAccuracy disceasing
and walk option.
********************}
function MyFindSymbol(name: string; x1, y1, x2, y2: integer;
walk: boolean): boolean;
var
i, cx, cy: integer;
Acc: extended;
begin
if not(LoggedIn) then Exit;
Acc := SymbolAccuracy;
for i:= 1 to 8 do
begin
case (walk) of
true: begin
if FindSymbolIn(cx, cy, name, x1, y1, x2, y2)then
begin
Mouse(cx, cy, 0, 0, true);
FFlag(0);
result:= true;
break;
end;
end;
false: begin
if FindSymbolIn(cx, cy, name, x1, y1, x2, y2)then
begin
result:= true;
break;
end;
end;
end;
SymbolAccuracy := Acc-0.05;
end;
SymbolAccuracy := Acc;
end;

Btw for that auto railcolor function you need, why don't you try the art of arrays?

Regards,

-Tsn.


hmm I'll put them in… And I was thinking just a DDTM for the railroad color, maybe a array of integers? (colors) I made my "own" DTM Like… For Like DDTM… lol But Only Adds To Integers.. No RAM Used For THem BitMap / DTM Picx! LoL

Brain

2008-02-09 22:13:07

ummmm….sorry if i make myself look stupid…but….where do I get this from? I dont see an uploaded script…..and i would really love to use this….thanks!
And sorry if im stupid :P

Timothegreat

2008-02-10 01:15:05

u can download from this post here til timer uploads it again ;)

dragonlor650

2008-02-10 02:23:07

here ill try this script out also for yah=p

EDIT:
i think i found a bug it walks aroung the lake then stops and keeps repeating the railraod colors/water color

Brain

2008-02-12 13:20:47

From: Timothegreat
u can download from this post here til timer uploads it again ;)


Thanks! :D

OpenHearts

2008-02-13 04:26:07

gonna try it =)

FagetHax0r

2008-02-13 04:50:50

Where should i run this scripts ?\



And this scripts gets coal right ?

dragonlor650

2008-02-13 06:34:15

Where should i run this scripts ?\



And this scripts gets coal right ?

start in cammy bank where you can see the water
you have to be a member to use it
and yes it mines coal

Timothegreat

2008-02-18 15:36:49

it walks to mine, mines coal, puts in truck til truck full, walks to bank deposits all coal from trucks, and repeats.

I Rambozo I

2008-02-19 15:17:22

Okay since I'm on members again I'll try it out right now. :)

I Rambozo I

2008-02-23 07:41:42

Will this script be updated for Rev 14 shortly? Timo's fix compiled but I'm having troubles with the walking to the mine.

Ultra

2008-02-23 19:26:04

Hey i was looking for one of those, i found the post with the download lol, i will test it might post a proggy if it works for me :P.

SergeantStephens

2008-02-24 22:19:04

From: dragonlor650
here ill try this script out also for yah=p

EDIT:
i think i found a bug it walks aroung the lake then stops and keeps repeating the railraod colors/water color


Same here, I get stuck between the railroad and lake, any ideas?:confused:

Jethr0x

2008-02-26 21:32:34

yea same, i'd just wait for the new update.

ZaSz

2008-02-26 22:02:04

Wanted to use this, now i can. I should wait for update it seems though?

shrubie1

2008-03-05 03:31:19

where is the download link?

Timothegreat

2008-03-23 04:26:20

wait for an update…. ;)

Infidel00

2008-03-24 12:30:40

This script sounds awesome. Guild Mining is pretty risky business since everyone has been doing it for so long. But this! This is new ;)

I think I will try this out as soon as I get the chance this week.

This good with 3.14 or 3.15?