SRL Archive - RS3 Outdated / Broken Scripts

Fally Autoseller.


Thick As Blood

2007-02-23 00:21:42

Fallador Auto Seller!

Well, this is my first script. it's an autoseller, for fally.

Basicaly, start your account, facing north in east bank
in the far west bank spot. (in front of bank table).
Run the script with the items you want in the first bank spot
also with an inventory full of those items.

I need to update a lot of the procedures, with ones already made up by SRL.
So please bare with me.

Anyway, basicaly test it out, and post what i can do to improve.





—Version [1.0] Details—
-Please do not instal this script until the next version is out.

Bugs-
-Everything.


—Version [1.5] Details—
-Changed all procedures (basicaly edited everything).
-Got rid of all the ClickMouse, and replaced them with SRL commands.
-Better shopkeeper finding, and bank finding (thanks to SRL).
-Added little failsafes here and there. (until, if, and then's).

Bugs-
-No Anti-Randoms yet..
-MiniMap walking needs work.
-Relocating dosent work well yet.

—Version [1.75] Details—
-Added Anti-Random
-Added better minimap walking. (no more blind clicks).
-Changed walkback procedure, more efficient.
-Decently stable script ATM.

Bugs-
-Needs some Anti-ban, and more failsafes.
-Cant tell if the bank's open for some reason..
-Not always accurate..

seaking

2007-02-23 01:59:54

First things first.

Do NOT use clickmouse or movemousesmooth(ex) at all! They are very detectable!

What clickmouse does is it clicks the mouse. The thing is, when a human clicks the mouse, there is a slight delay.

This can be imitated in the following way:
procedure AntiBanClickMouse(x,y:integer;left:boolean);
begin
holdmouse(x,y,left);
wait(50+random(100));
releastmouse(x,y,left);
end;
instead of using clickmouse(x,y,left) use Mouse(x,y,rx,ry,left) or MMouse(x,y,rx,ry)

That allows for a random time delay in between the hold and release.

Also, you might not want to use perfectnorth, instead use MakeCompass('N')


By looking at your procedures, I see that you are basically blind clicking. If you blind click, there are no fail-safes, therefore if you get a random you will keep clicking in the same co ordinates even though it is not the same. Like dieing while fletching, then your char tries to open a bank in lummy. Bad.

Try using Mouse(x,y,rx,ry,left) in conjunction with FindSymbol(symbol:string) for the shop finding.

Also, there is a procedure for setting run. SetRun maybe? I'm not sure.

There are functions / procedures for selling stuff too – use option for those. You can find that procedure in text.scar

Hope that helped, good luck learning SCAR, you will become a good scripter someday ^^ just keep testing. My best advice is looking at other people's scripts and experimenting with their strategies of doing things, then try rewriting them for testing purposes. Good Luck :)

the scar noob

2007-02-23 07:54:05

don't use it!
It includes even clickmouse = BANNAGE!

mage of begu

2007-02-23 09:25:00

i think it would be good to not use it..:)

Thick As Blood

2007-02-23 10:46:14

alright, i wasnt aware click mouse was detectable when using movemousesmothex, but now i am, i now see i have a lottt of work to do.
i have a few questions tho..

Mouse(x,y,rx,ry,left)

X,y are obviously the cords, but what about rx, ry? is that random time to wait?

so could i simply use

Mouse(100,50,10,10,left)

Boreas

2007-02-23 17:01:34

Rx is random on the x, ry is random on the y

Thick As Blood

2007-02-23 17:45:28

yeah, i figured it out, i got version 1.5 up there, i'm working on the newest one, it's got FindNormalRandoms, and more SRL procedures.

Meanage

2007-02-23 17:53:13

cant you just note the items instead of banking? If thats not why it banks then why does it?

Thick As Blood

2007-02-23 21:03:37

meanage, what do you mean?

this script gets items, (logs, unstrung bows,ore, or whatever) from the bank, goes to the general store, and sells them, and then returns to the bank and deposits coins until(false);.

anyway, i'm having trouble with RadialRoadWalk, if anyonw could help by telling me what xMod and yMod mean in that procedure, that'd be very helpful.



PS, once i figure that out, the stable, version 2.0 will be realsed.

JAD

2007-02-26 14:34:35

meanage is right though.. you don't need to do that. all you need to do is have the user have the items in inventory already noted (or for more convenience you could just have the user put in constants for what slots to withdraw all/how many.) and then it can just sell them. it doesen't need to take things unnoted and keep repeating. pretty good script though.. just if you fix that it'd be a lot faster and a lot less bugs :)

Thick As Blood

2007-02-26 14:54:06

JAD and Meanage, obviously I would have thought of this, but you cannot sell noted items to a general store. As far as I know.


anyway, this script wont be updated until my other project is finished. Hopefully once done with my other script, i'll have enough knowledge of the commands to be able to make my seller 10 times better then it currently is.