SRL Archive - First Scripts

My First Auto. (UltraThief)


lordofrunes

2007-07-29 12:56:36

Well i made one called Auto Looter. Worked ok but was slow and missed A lot of Clicks.

UltraThief has alot more stuff in it. works 100x better. and is 3x as fast.

Thxs to many of you and your guides I have my first working autoer.

report:
Trys: 1693
In 46 Minutes and 20 Seconds
and a SS of running it for over 2 hours (Items gotten from theiving Elfs) and money. earned 740k item and gold total. (that not total in ss)
Please let me know how it works for you.

________________________________________________________________
Edited Now randoms work. Thx again for the help.

I have 2 versions

UltraThief-v1
No randoms
No random brief laggy searchs

UltraThief-v1
Working Randoms
Brief laggy searchs when thieving fails and or if any text is displayed!
Even tho it will only run full Randoms if nick name is displayed.
still works good.

Enjoy and thxs for the help lordgreggreg

lordofrunes

2007-07-29 17:17:06

Dose not Detect all randoms.

if anyone could give me some insight on whats wrong.

LordGregGreg

2007-07-29 18:42:46

Hey, welcome to the forum! Im glad you have decided to larn to script! It is obvious that you have been reading

Thank you!

Ok, to find randoms you need to do two things.

You need to call Fawkis "findfastRandoms" method, and you need to call SRLs "findNormalRandoms"

Most people make a method like
PROCEDURE FindRandoms;  //Guesse who? Fawki!
BEGIN
FindNormalRandoms;
FindFastRandoms;
// if(FindFight)then RunAway;
IF Findname THEN
BEGIN
FindTalk;
END;

END;
to do all that for them.

then what they do is call that method every so often. (it will only chek for randoms when it is called)
so mabey between each of your methods add findrandoms;

good job on what you have so far! wish i could test.

edit: oh, its good you have methods and stuff, but a more discript method name would help me be able to read through it faster, but thats all personal preference.

lordofrunes

2007-07-29 21:01:10

From: lordgreggreg
Hey, welcome to the forum! Im glad you have decided to larn to script! It is obvious that you have been reading

Thank you!

Ok, to find randoms you need to do two things.

You need to call Fawkis "findfastRandoms" method, and you need to call SRLs "findNormalRandoms"

Most people make a method like
PROCEDURE FindRandoms;  //Guesse who? Fawki!
BEGIN
FindNormalRandoms;
FindFastRandoms;
// if(FindFight)then RunAway;
IF Findname THEN
BEGIN
FindTalk;
END;

END;
to do all that for them.

then what they do is call that method every so often. (it will only chek for randoms when it is called)
so mabey between each of your methods add findrandoms;

good job on what you have so far! wish i could test.

edit: oh, its good you have methods and stuff, but a more discript method name would help me be able to read through it faster, but thats all personal preference.


thxs so much. I'll give it a try and update to a better standard format. easy to read.

(after i get this working. Ill be working on a Nature rune walker.
Idea is for it to walk from shop to alter and alter to shop.

Locking North check before clicked
Find Rare Map Detail on movements before clicked
Back On track back up. if walked off path. Hunt for 2nd back up location.
Fast sell and re-buy ess.

We will see how it goses.)

LordGregGreg

2007-07-30 01:38:38

From: lordofrunes
thxs so much. I'll give it a try and update to a better standard format. easy to read.

(after i get this working. Ill be working on a Nature rune walker.
Idea is for it to walk from shop to alter and alter to shop.

Locking North check before clicked
Find Rare Map Detail on movements before clicked
Back On track back up. if walked off path. Hunt for 2nd back up location.
Fast sell and re-buy ess.

We will see how it goses.)

yep, you will find that srl has TONS of functions to help you out with all of this. I like your progressive atitude, you are well on your way.

I quick note about standards, you dont have to capitolize stuff like i do.. thats just my personal preference, I think most poeple dont like it.

Zodia

2007-07-30 01:42:20

Hey, I'm gonna try this out, I'll post how it goes.