SRL Archive - First Scripts

Bandits Afker by Eduard


Eduard

2008-07-06 06:19:40

Bandits Afker
Compatible with the new updates !!!

Play's a sound when ur hp is low !

Hi, my name is Eduard, and i want to test this script, so i can improve it.
I made this script alone, with a bit help of PvH, wich i am very thankfull to.
This script is not an Auto script, its a great utillity to Afk with ur character.


How to use this script:
First set up your character with a good armor:

go to the desert ( al kharid ) and have a good inv,
take the flying cape to Bedabin camp ( or whatever ), and walk east till u see
something like this on your mini-map :


the colours are the places where u can camp.

Have a good inventory ( very important )

Very good trick:
When the playershops and the mainshops came out, the bandit general shop became tradeable ( so u can TAKE FOOD with you like lobsters in notes and cash so u can trade them for normal items, wich is very good.
I suggest taking guthan but this way is good tho.




Improvements on version 1.0 ( the one i publish now ) :
  • Health Checker
  • Sound Player when health is low


Improvements on next version ( coming after graphics update from srl ):
  • Random Checker
  • Food eater
  • Guthan equiper
  • better alert system
  • Built in S.m.a.r.t
  • General shop seller and buyer
  • Progress report
  • Much more



program BanditsAfker;
{.include SRL\SRL.scar}

var
Antibans :integer;


const
HpTillBeep = 30; // Hp till Beep sound when fighting



procedure mainloop;
var
Red:string;
begin
repeat
if GetMMLevels('hitpoints',Red) < HpTillBeep then
begin
status(' LOW HEALTH !!!')
PlaySound('C:\WINDOWS\Media\Windows XP Shutdown.wav'); // You can edit this.
wait(1000)
end;
until(false);
end;


begin
SetupSRL;
mainloop;
end.

Very easy but, i want to improve this script to one of the most handy's but i have to wait till the new update from srl. my apologize for that



Don't forget to Vote 5 stars if u like this script !!




PvH

2008-07-06 06:23:45

Hey, good to see you released it:D
But won't this just autologout in xxx seconds, because you don't click:s
Antirandoms could easily be solved with
findnormalrandoms;
You need the declareplayer procedure for it though (you can just copy that from another script).
Where is the antiban you had:o
Good job anyway^^

PvH

EDIT:
Here is a fixed standards version of you mainloop procedure:

procedure mainloop;
var
Red:string;
begin
repeat
if GetMMLevels('hitpoints',Red) < HpTillBeep then
begin
status(' LOW HEALTH !!!')
PlaySound('C:\WINDOWS\Media\Windows XP Shutdown.wav'); // You can edit this.
wait(1000)
end;
until(false);
end;

Eduard

2008-07-06 06:26:32

Yes but i thought that when using Findnormalrandoms, it would'nt find them becouse the graphics are changed ^^, and becouse u are attacked by bandits u wont logout.


~Eduard

PvH

2008-07-06 06:28:13

Yes, it still works with the new update;)
But autologout is when you don't click in xxx seconds, right?
Or am I wrong:s
Have a look at my fixed standards of you mainloop procedure above;)

PvH

Eduard

2008-07-06 06:30:39

nope, never had that, when i was afking( shhhh ) at bandits, i never been logged out.

Thanks !, yes standart are the hardest hehe, thanks.

PvH

2008-07-06 06:34:32

Ohh alright, I didn't know that:p
There is a good standard tut made by Bam Bam;)
Have a look at it, I'll search the link for it^^
Here it is:
http://www.villavu.com/forum/showthread.php?t=3293?t=3997
Good luck:)

PvH

Eduard

2008-07-06 14:37:31

Thanks, i'm on my way to a professional scripter :D

comeone 35+ post and no replies?

0wn 4 skill

2008-07-06 15:49:43

Looks very proffesional. I will test once i get something zammy…

Eduard

2008-07-06 15:57:34

Thanks, i'm trying to get my reputation up, PvH is helping me alot with this, if u want to use something cheap, try a (un) holy symbol, its around 300 gp :),


~ Eduard

P1nky

2008-07-06 16:27:05

its simple , could be really improved

keep it up

Eduard

2008-07-06 16:29:43

thanks, will do, aiming for srl members, but not ofcourse with this script. check my siggy of my plannings with PvH, and i hope i can support this forum as much as i can with my knowledge.

P1nky

2008-07-06 16:33:23

whats your msn Ed?

turbobk

2008-07-06 22:34:57

Hey PvH and Eduard. :)

Not meaning to be offensive here, so don't take it the wrong way..
But PvH I just saw your sig, it says PvH's and Eduard's FightCaver.. What I'm thinking.. If Eduard needed help to make a script like this, then how would he be of any help making a Fight Caver, since he doesn't even know Indenting and basic stuff like that? :o.

Again.. Not being rude, I'm just curious.. :)

Oh and Eduard, sorry If you are teh pr0 scr1pt3r just hiding under a noob account :p

Lancelot074

2008-07-06 22:48:41

Hey I've got a couple suggestions!

What if someone wants to train at ice warriors instead of bandits?
You can make it play a sound when they get low hp and play a sound when the monsters stop attacking.
:)

P1nky

2008-07-06 22:50:06

he will teach on the way of finishing probs :S though i may want to join i have added pvh already hope he gets on :P

PvH

2008-07-07 02:00:11

From: turbobk
Hey PvH and Eduard. :)

Not meaning to be offensive here, so don't take it the wrong way..
But PvH I just saw your sig, it says PvH's and Eduard's FightCaver.. What I'm thinking.. If Eduard needed help to make a script like this, then how would he be of any help making a Fight Caver, since he doesn't even know Indenting and basic stuff like that? :o.

Again.. Not being rude, I'm just curious.. :)

Oh and Eduard, sorry If you are teh pr0 scr1pt3r just hiding under a noob account :p



Hey turbobk, of course, Eduard is quite new to programming.
And I am at the moment helping him with most of the things there are on msn,
DTMS, walking and so on;)
He asked if we would make this together, so he would become more known and he could also learn a lot from me;)
So, he will contribute in this script, because he's a fast learner (he learned dtms in 15 mins:p) and he will work on this script.
We will start working on it when the srl fix is there:)
So please don't think Eduard is a n00b scripter, because he is still learning and he is going to become a good scripter later:D

PvH

Metagen

2008-07-07 02:44:43

When you AFK train basically it works this way:

- normally when you are afk you get logged out after 60 seconds
- you cannot log out until 10 seconds after combat

therefore after you finish off the bandit, if you do not take damage for 10 seconds, you logout. Luckily at bandits this rarely happens

Eduard

2008-07-07 06:31:47

Correct, i'm quite good at C++ so i got the basics already, its pretty easy and with your sentence :"If you are teh pr0 scr1pt3r "
i played runescape around 3 years, and i wanted to do something else than C++ something easy that could help me with runescape, and your quite right, but its better to learn from mistakes, then make them right and no one that can correct you, that's why i am teaming with PvH.

but u forget one thing, TUTORIALS are there to learn from, becouse someone EXPLANES it to you, well pvh EXPLANES me it on msn, thats why i learned DTM's ANTIBANS and ANTIRANDOMS in a half hour, becouse im not the :
If you are teh pr0 scr1pt3r

but i am the :
pr0 L34rn3r ^^

thanks,

Eduard


p.s

I'm almost publishing a update with:
anti-random
anti-ban
eating function
teleport at < x health
and even more!

Mohism

2008-07-09 03:34:39

Awesome, if only i had an account to go to bandits..