SRL Archive - First Scripts

AutoAlcher


Maxtriplex

2011-05-06 10:13:48

Alright, I've mostly used my Java knowledge to make this first script. I had to browse a bit for the includes and such, but it wasn't too hard. It took me half an hour to write.

I have some ideas how to make the script better, but I'd need to know the procedures and stuff, which I do not know, yet. If someone could give me some pointers on things that could've been better and such, I'd be very grateful.

I've tried to make the script fail-proof, so it might be a bit slower than most scripts, but I don't think it'll fail.

Also, if someone could help me out with the Randoms.. I have no idea how or where I should implement them.

Just to be on the safe side, if you want to make the script function perfectly. Go to Soul Wars, where there are no Randoms. Beware of the Botspotters, though. Players and Mods like to hang out in the Soul Wars to catch bots.

They use methods such as baiting(Dropping 20k on the ground, and see who goes sprinting towards it.), talking to random people and sometimes even trading/aiding.

Anyways, without further ado. My first script.

Revision 0.2: Added progress reports and removed some minor bugs. [08-05-2011]

Flight

2011-05-06 10:22:44

I would, first, suggest you now change your RS password, take it out of the script, and re-upload it. :)

Maxtriplex

2011-05-06 10:26:17

Of course that'd happen to me. And of course it would happen, right after I read a topic about the same issue in someone else's script. >_>

Thanks for the heads up, Flight. ^_^ Edited the post.

mika

2011-05-07 17:59:28

lol same happened to me

Flight

2011-05-07 21:20:24

Yeah it's no biggie, luckily we have a fairly safe community here composed of people who wouldn't set out to intentionally steal your password. :)

I might suggest running it for a few hours yourself and posting the progress report for proof of it's stability. :)

Maxtriplex

2011-05-07 22:33:17

I have no progress report implemented that, have been working on it today. I'll release it tomorrow or so.

However, when I tested it, it worked for 2+ hours, with no problems. Antiban ran smoothly and so did the alching itself.

If someone'd help me out with the Randoms, I'd be grateful.

So if you want to test the script and are going to AFK, leave it at Soul Was.

EDIT:

#-[]-¤ AutoAlcher Progress Report ¤-[]-#
By Maxtriplex

Time running : 2 Hours, 20 Minutes and 43 Seconds

[True]- P #0 / Nick: /Exp Gained: 108290/ Times Alched:1666


I stopped it manually, because I wanted to test a few new things. I updated the first post with the new script, this one has a progress reports, and some small bugs I found taken out.

Spelletje

2011-07-02 12:02:55

It doesn't seem to understand the entire bank part.

It uses the spell right but doesn't get new stuff from the bank

Mr. Doctor

2011-07-02 13:52:14

I believe you're suppose to note your item that you're alching. I didn't take a look at the script.

Smarter Child

2011-07-02 18:00:42

Not bad at all for a First Script :)

However, I think you should add some fail safes here:
procedure HighAlch;
begin
count := 0;
for i := 0 to Alchs do
begin
Debug;
AntiBan;
Gametab(tab_Magic);
Wait(100+ Random(100));
while GetCurrentTab = tab_Magic do
begin

Wait(150 + Random(250));
nax := Random(20)+560;
nay := Random(20)+360;

Mouse(nax, nay, 1, 1, True);

Wait(750 + Random(250));

end;
while GetCurrentTab = tab_Inv do
begin
Wait(200 + Random(200));
Mouse(nax, nay, 1, 1, True);
Wait (1000 + Random(250));
Gametab(tab_Magic);

end;
end;
end;

You shouldn't also rely/use coordinate clicking, preferably a Findcolor/Bitmap/DTM procedure is best and will help you further your knowledge of Simba and the SRL include.

Yago

2011-07-02 21:32:25

Double Post Smart :)

Smarter Child

2011-07-02 21:37:49

From: Yago
Double Post Smart :)


Woops, internet lag :redface: