SRL Archive - First Scripts

Draynor_Cut_N_Bank with(SMART)


vipa87

2008-03-09 04:43:49

hello everyone, this is my first script. hope you all like it,please tell me what you think on this thread.thanx.:sasmokin: :sasmokin: :sasmokin: :sasmokin: :sasmokin:

Iron Man

2008-03-09 04:55:02

your standards are off. I fixed them a bit for you.

Also your randoms can be just replaced by

FindNormalRandoms;

Edit: Also by the way, for your uptext for FindObjCustom and etc, don't use

'willow'
Since it has a capital in it just use 'illow'

vipa87

2008-03-09 04:58:13

Ok thanx for the tips m8

my script keeps logging off because of (no game tabs) any ideas how to fix

Iron Man

2008-03-09 05:10:24

There put in an attachment. Also change this


If FindDTM(Banker,x,y,623, 26, 675, 60) then


To:

If FindDTM(Banker,x,y,mmx1, mmy1, mmx2, mmy2) then

since the symbols move.

Or you could try RadialWalk.

Change your tolerance for your FindObjCustom to higher, around 5-15. And anywhere else you need to put tolerance.

EDIT: I'm not entirely sure how to fix that but this might do the job. It waits a like 4-7 seconds after you log onto rs before doing stuff. Change your loop to this

//###########################################################\\
begin
SetupSRL;
LoadVarz;
GetApplication.Minimize;
DeclarePlayer;
ClearDebug;
ClearReport;
Writeln('SMART is loading, Please wait...');
SmartSetup('mn9',False,True);
while not(SmartReady)do
wait(100);
SetTargetDC(SmartGetDC);
if not(LoggedIn)then
while not(SmartGetColor(386,249)=65535)do
wait(100);
ScriptID:='510';
SRLID:='4635';
SRLPassword:='a1b2c3';
GetAllLevels;
repeat
repeat
if not LoggedIn then LoginPlayer;
Wait(4000 + Random(3000));
setangle(true);
SetRun(true)
GameTab(4);
Walking;
Report;
ChopWillow;
Report;
Bank;
Report;
until(Banker > Players[CurrentPlayer].Integers[1])
if(Banker = Players[CurrentPlayer].Integers[1])then
begin
Writeln('You are logged out');
Banker:=0;
end;
until(false)
end.

vipa87

2008-03-09 05:35:27

no that dint work,
ive just took out the random emote on my anti ban,
dunno if it worked yet im still testing.


edit: Nope dint work either, mmmmmmmmm.


Anyone Got any ideas why it keeps going off because of (No GameTabs)
some one plz help

Iron Man

2008-03-09 05:41:24

where in the script does it stop? Anyways I'm going to bed, I'll help you later.

vipa87

2008-03-09 06:37:15

i dunno where it stops,

it runs for like 3-4 mins then logs out reason = (GTM: NoGameTab)

Iron Man

2008-03-09 12:56:57

What is it doing when it stops the script is what i meant to say. Maybe try reloading S.M.A.R.T or take it out and just use the normal client to see if it works.

Cazax

2008-03-09 12:59:19

Also for the bankers, use DTMRotated instead of FindDTM.

vipa87

2008-03-09 14:20:41

thanx from the tip m8

do u know y it keeps logging out cos of GTL:no tabs: :bart:

P1nky

2008-03-09 15:04:13

add more failsafes and wtf you got the axe head thing

vipa87

2008-03-09 15:17:50

hi p1nky, erm im still kinda new to scriptin, infact i only started learning tuesday.

this may be a stupid question, but here goes….

what is a failsafe?

Iron Man

2008-03-10 02:55:22

A failsafe is a thing where if the script messes up it won't keep trying to find things. If the script messes up and there's no failesafes chances are that your banned.

vipa87

2008-03-10 21:13:01

thanx. in that case im gonna make loads.

im starting a new one with mare stuff in it but i will edit this one tho

Woodcut

2008-03-11 20:02:12

well i just joined so i don't have much knowledge but mine isn't working.
It says "Failed when compiling".
Pls somone help me get my scripts working.

Mistri_Soulja

2008-03-13 07:38:30

yes vipa, this is a very nice script, it needed a little tweeking but its cool, ill send you it through msn.

and thanx for letting me test the new one you got coming out that one is wicked.

EDIT= Woodcut this is not ur thread, dont post your problems in some one elses script cos u prob. wont get answered.