SRL Archive - RS3 Outdated / Broken Scripts

Low Hp & Random Alert - Via sound -


blind

2007-08-06 01:09:38

Hi guys,
I train at bandits and it is a training spot where the monsters will never stop attacking you if you have a zamarok item. You cant AFK forever because of randoms and due to the fact you will eventually need to eat.

This is what I would want it to do:

Play a sound when I reach "X" amount of hp (Ex.20) or when a random event pops up. However under no circumstance macro on my account. Meaning no moving the mouse no doing anything except simply playing a sound (prefer a path to a song ex: C:\song.mp3)

Thanks,
Blind


Edit: this was not my orginial idea, i got it from Matt from sythe.

Markus

2007-08-06 06:21:00

Rambozin created stuff that does this, but it's in members section.
BTW, first post being a request isn't a good welcome here.

n3ss3s

2007-08-06 06:30:07

From: blind
Hi guys,
I train at bandits and it is a training spot where the monsters will never stop attacking you if you have a zamarok item. You cant AFK forever because of randoms and due to the fact you will eventually need to eat.

This is what I would want it to do:

Play a sound when I reach "X" amount of hp (Ex.20) or when a random event pops up. However under no circumstance macro on my account. Meaning no moving the mouse no doing anything except simply playing a sound (prefer a path to a song ex: C:\song.mp3)

Thanks,
Blind


Edit: this was not my orginial idea, i got it from Matt from sythe.


It is impossible to get the hp without moving the mouse, because scar is NOT a java bot, or anything like which could get the hp without "doing" anything.
SCAR is a scriptable macro program which clicks, mostly on colors.

So, you gotta just get your lazy ass off the chair, get 3 chairs, and a pillow, and another hand to the arrow keys to keep logged in and another hand to remote or a sandwich :) Thats what I did.

JuKKa

2007-08-06 06:37:19

From: markus
Rambozin created stuff that does this, but it's in members section.
BTW, first post being a request isn't a good welcome here.


This is not so big of a request.

HOLD ON ill make it for ya :D


Program BlindSound;

{.Include SRL/SRL.Scar}
{.Include SRl/SRL/Skill/Fighting.Scar}

Const
LowHp = 30;
NickName = ''; //Few Letters Of Your Char.
AntiRandomSong = 'C:\ '; //Where is it? WMA!
LowHealthSound = 'C:\ '; //Where is it? WMA also!
LogOutSound = 'C:\ ';

Procedure AntiRand;
Begin
If(Not Loggedin)Then Exit;

If(FindName)Then
PlaySound(AntiRandomSong);
End;

Procedure HPCheck;
Begin
If(Not Loggedin)Then Exit;

If(GetHp <= LowHp)Then
PlaySound(LowHealthSound);
End;

Procedure Setup;
Begin
SetupSRL;
NickNameBMP := CreateBitmapMaskFromText(NickName,upchars);
End;

Begin
SetUp;
Repeat
Wait(300);
HPCheck;
Wait(300);
AntiRand;
Until(Not Loggedin);
If(Not Loggedin)Then
PlaySound(LogOutSound);
End.

There you go.. However u must have runescape on top. But u can read a book while training.

n3ss3s

2007-08-06 06:40:23

This is not so big of a request.

HOLD ON ill make it for ya

read dude! He said he wont macro…

*puts the scar's play button under blinds' pillow*

Spky

2007-08-06 06:54:05

Just get the script to have a look at the hp bar and play a sound if less then x percent.

JuKKa

2007-08-06 07:00:14

From: n3ss3s
read dude! He said he wont macro…

*puts the scar's play button under blinds' pillow*


it will only move mouse ONCE to click gametab 2, AND if u already clicked it.. IT WONT DO ANYTHING! (in ur face)

From: Spky
Just get the script to have a look at the hp bar and play a sound if less then x percent.

well i could do that.. hmm now i gotta find the function i created :P that did this..