could this script run over night with 1 char?
could this script run over night with 1 char?
for some reason it got the roadcolor correct the first time
but when you stop the script and then start it again (without reopening smart) it gets a roadcolor=0
all i did was close smart and let the script reopen it and it worked
other than that the failsafe is pretty good (going ot the gate and all)
great script!
Nice script, but I see a bug.
"except" is used for to do an action (or just something like a writeln) when the previous action has failed.SCAR Code:Function FindFallyBank: Boolean;
var
BankDTM: integer;
BP: TPoint;
begin
BankDTM := DTMFromString('78DA632C66626008654001FFFFFF67D061646' +
'06084B0FF33E602D5C442E418A1F8CF1F26381F4C1712A1A694B0' +
'1A0089E9105D');
try
if dtmrotated(BankDTM,BP.x,BP.y,MMx1,MMy1,MMx2,MMy2) then
begin
if distance(MMcx,MMcy,BP.x,BP.y) > 12 then
Mouse(BP.x,BP.y,0,0,True);
wait(200+random(300));
FFlag(Random(3));
OpenBankFast('feb');
if PinScreen then Inpin(Players[currentplayer].pin);
wait(300 + random(300));
FixBank;
Result := True;
FreeDTM(BankDTM);
end;
except Freedtm(BankDTM); end;
end;
"finally" over here comes code that the function/procedure always has to do.
So, you should put the DTM free'ing after a final 'command'.
Result:
SCAR Code:Function FindFallyBank: Boolean;
var
BankDTM: integer;
BP: TPoint;
begin
BankDTM := DTMFromString('78DA632C66626008654001FFFFFF67D061646' +
'06084B0FF33E602D5C442E418A1F8CF1F26381F4C1712A1A694B0' +
'1A0089E9105D');
try
if dtmrotated(BankDTM,BP.x,BP.y,MMx1,MMy1,MMx2,MMy2) then
begin
if distance(MMcx,MMcy,BP.x,BP.y) > 12 then
Mouse(BP.x,BP.y,0,0,True);
wait(200+random(300));
FFlag(Random(3));
OpenBankFast('feb');
if PinScreen then Inpin(Players[currentplayer].pin);
wait(300 + random(300));
FixBank;
Result := True;
//FreeDTM(BankDTM);we don't want to free it twice, eh? ;)
end;
except Writeln('Fally bank NOT found?!');
finally Freedtm(BankDTM);
end;
end;
What happens with your version is, when the bank(dtm) has been found, the DTM wont be free'd,which will end up in a memory leak.
The secon, corrected usage, willmake your script run smoother
Maybe I'll find more errors, but I don't have the time now.
-Tsn.
[QUOTE=Santa_Clause;277761]I love you too TSN :p[/QUOTE]
[CENTER][URL="http://www.stats.srl-forums.com/sigs"][IMG]http://www.stats.srl-forums.com/sigs/1324.png[/IMG][/URL][/CENTER]
lol ive been running hte script ever since my last post but i want to use the comp to play some games so i have to stop it <___<
FallyCowCruncher has been running for 3 Hours, 59 Minutes and 10 Seconds
~~~~~~~~~~~~~~~~~~~~~~~~
Players have killed 661 Cows
and picked up 0 Cowhides
in a total of 16 Loads
/~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\
| SRL 4 Randoms Report |
| www.srl-forums.com |
|~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
| Talks : 2 |
| Old Men : 1 |
| Certers Solved : 1 |
| Boxes Solved : 1 |
\~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~/
one character.....GG
pwnage script
w00t, it compiled
Very 1337 script. It works Perfect with capital P! Keep up the good work
================================================== ===================
FallyCowCruncher has been running for 24 Minutes and 29 Seconds
~~~~~~~~~~~~~~~~~~~~~~~~
Players have killed 61 Cows
and picked up 51 Cowhides
in a total of 1 Loads
"aure"(True) has killed 61 Cows
and has picked 51 Hides
===========================FallyCowCruncher======= ===================
Successfully executed
Dont know why it stopped :/
Edit: Lol I see 6 players doing the same![]()
//reserved for proggy
Working good, would like it to work a tiny bit faster on picking up the cowshides, it looses valuable 2-3 seconds... small bits add up!
Nice script +rep.
@Tsn, thanks, but i had a reason for doing the except at the time, however a finally should have been used then anyway.
@iJake, set your players seconds to kill cows lower, thats what i put it there for.
EDIT: oh wait, i'll check it out
Originally Posted by That guy that wrote forefeathers
I just ran script and I had problems with getting through gate and then after only 3 hides tied to find bank and got lost.
proggie
================================================== ===================
FallyCowCruncher has been running for 6 Minutes and 59 Seconds
~~~~~~~~~~~~~~~~~~~~~~~~
Players have killed 9 Cows
and picked up 3 Cowhides
in a total of 0 Loads
"lyan"(True) has killed 9 Cows
and has picked 3 Hides
===========================FallyCowCruncher======= ===================
Successfully executed
http://www.draynor.net/affst/runite/...uerobin_Xp.png
http://www.draynor.net/hw/glowstream/157.png
----If I see you autoing with level 3/default clothes/crap name I WILL report you. Auto Correctly. - put this in your sig----
Similar problem here, after my character killed 20ish cows (collected no hides) then it logged out said "next player" and did just about the same ( 3 hides =)).
My favourite script!![]()
Send SMS messages using Simba
Please do not send me a PM asking for help; I will not be able to help you! Post in a relevant thread or make your own! And always remember to search first!
all people that are running this script
make sure your contrast is on highest (4)
before you start
cause all scar/srl stuff requires the contrast to be on highest
This script is awesome! It seems a bit risky, but other then that its great, at first i had trouble with it doing a few runs but then i just tried again and set it up as multiple chars with the same account info and it worked beautifully, thanks to this script my pure actually has some decent money
propsXD
__ will post next proggy
Not as good as most of the ones i get lol but it stopped
FallyCowCruncher has been running for 22 Minutes and 8 Seconds
~~~~~~~~~~~~~~~~~~~~~~~~
Players have killed 71 Cows
and picked up 56 Cowhides
in a total of 1 Loads
"aos"(False) has killed 71 Cows
and has picked 56 Hides
===========================FallyCowCruncher======= ===================
==================================
thank you for using...
_____ ____ ____
| ___| / ___| / ___|
| |_ | | | |
| _| | |___ | |___
|_|alador \____|ow \____|runcher
============By Drizzt=============
================================================== ===================
FallyCowCruncher has been running for 15 Minutes and 32 Seconds
~~~~~~~~~~~~~~~~~~~~~~~~
Players have killed 33 Cows
and picked up 15 Cowhides
in a total of 0 Loads
"****"(True) has killed 33 Cows
and has picked 15 Hides
===========================FallyCowCruncher======= ===================
If I see you autoing with level 3/default clothes/crap name I WILL report you. Auto Correctly.- put this in your sig!
http://www.stats.srl-forums.com/sigs/3528.png
FallyCowCruncher has been running for 3 Hours, 5 Minutes and 54 Seconds
~~~~~~~~~~~~~~~~~~~~~~~~
Players have killed 458 Cows
and picked up 341 Cowhides
in a total of 12 Loads
i messed it up causae i wanted to check my stats in the middle of the script lol <___<
lovin this script
http://www.stats.srl-forums.com/sigs/1568.png
http://www.fenjer.com/adnan/SRL/8/.0...ing%20Scar.png
SRL is the best thing to ever happen to Runescape
nice script.
sometimes however on the way back to the bank it clicks the road, waits for a second, the clicks the tree again and then the road, it gets stuck in a loop.
sometimes it got lost.
other than that worked well for me.
i didn't get the proggie sorry.
i have come across a runtime error...i assume this is a result of the new update
SCAR Code:[Runtime Error] : Exception: Access violation at address 006CF132 in module 'scar.exe'. Read of address FFFFFFFC in line 126 in script C:\Program Files\SCAR 3.15\includes\SRL/SRL/Core/Login.scar
thoughts?
then theres something about wait2Failed when compiling
Line 514: [Error] (16246:23): Invalid number of parameters in script C:\Documents and Settings\User\My Documents\cow killer and hide banker.scar
and then the smart has an invalid number of parameters.
Lol, it doesn't even compile..
Same problem here, is it outdated or something?
could you add a breaking and logging out feature to the script please?
Line 514: [Error] (16246:23): Invalid number of parameters in script C:\DOCUME~1\XXXXX\LOCALS~1\Temp\FallyCowCruncher v 3.0.scar
Failed when compiling
There are currently 1 users browsing this thread. (0 members and 1 guests)