SRL Archive - RS3 Outdated / Broken Scripts

HobGoblin Slayer 1.0


Wilio

2007-09-03 16:25:22

HOBGOBLIN SLAYER!
For SRL 4.0 BETA
Because I hate HobGoblins, I decided to make a HobGoblin Slayer;

V 1.0
-Healing System
-AntiRandoms
-Antiban
-Can choose between strength, attack and defence.
-Multiplayer
-Radialwalk sytem.


V 1.0 HB
-Can heal
-Detect randoms(thanks to wt-fakawi)
-AntiBan
-Radialwalk system

This is the first official script that I release to the Junior Members Section.

Instructions
Fill out this:

const
StartPlayer = 0; // Determines who will play first
MySRLID = 'your id here';
MySRLPassword = 'password here';

And Declare your Army.

LOCATION!

How you can help
-Post Progress Report
-Report st00pid bugs.

faster789

2007-09-03 20:15:07

yay first post ill give it a try!

NxTitle

2007-09-03 20:22:11

Second Post! :p

Well done, Wilio. Very nice looking script.

Wilio

2007-09-04 19:19:29

V 1.0 is complete.
Post Progress Report.:p

Town

2007-09-04 19:44:59

case random(10) of
1: TypeSend('doh!');
2: TypeSend('awww');
3: TypeSend('ugh');
4: TypeSend('Sucks');
5: TypeSend('That was my monster!');
6: TypeSend('I hate you!');
7: TypeSend('=(');
8: TypeSend('...');
9: TypeSend('rawr');
10: TypeSend('!');

Random(10) results 0-9.

Function randomtodie: Boolean;

begin
if (FindFastRandoms) or
(FindNormalRandoms) then
begin
Result := True;
writeln('Found joo!');
end else
begin
Result:= False;
end;
FindTalk
SrlRandomsReport;
end;

Everything in FindFastRandoms is in FindNormalRandoms, so is FindTalk.

Function randomtodie: Boolean;

begin
if (FindNormalRandoms) then
begin
Result := True;
writeln('Found joo!');
end else
begin
Result:= False;
end;
SrlRandomsReport;
end;

That will cause less lag.

For fightingmode you can use a case (Lowercase() makes the string result with all letters lowercase):

case Lowercase(Players[currentplayer].strings[1]) of
'attack': SetFightMode(1);
'strength': SetFightMode(2);
'defence': SetFightMode(3);
end;

Just a suggestion:

if((y1-y) <=60) or ((y-y1)<=60)then
begin
MMouse(x1,y1,1,1);
if(IsUpTextMulti('Attack','Hob','Goblin'))then
begin
GetMousePos(x1, y1);
Mouse(x1,y1,0,0,true);
wait(3000+random(600));


Box is also in FindNormalRandoms.

4: case random(3) of
1: HoverSkill('attack',false);
2: HoverSkill('Strength',false);
3: HoverSkill('Defence',false);
4: HoverSkill('crafting',false);

"case Random(4) + 1 of" will work. Same with the rest of the cases.

Nice script, work on your standards.

Wilio

2007-09-04 20:11:46

Thanks for pointing out tips I didn't know about =).
Most of them are changed.

kyleisntwild

2007-09-04 21:53:51

Sounds cool, ill give it a try later :)

Thanks for posting!

HyperSecret

2007-09-05 00:47:17

quick suggestion of mine would be

 if(findcolortolerance(x,y,hobcolor[0],0,0,515,338,4))
and
(findcolortolerance(x1,y1,hobcolor[1],0,0,515,338,4))
then

instead of using 'and' i would probably use 'or' b/c if it cant find the 2nd color then it wont attack the goblin, so i would make it or so if it doesnt find the 1st but finds the 2nd or vice versa it will still attack

Wilio

2007-09-05 15:33:24

Yes you're right. I'll fix that.

eevus

2007-11-25 18:42:25

you should make it pick up coins,runes,and/or limpwurt roots.

eevus

2007-11-25 18:43:47

you should make it pick up coins,runes,and/or limpwurt roots,and if it does pick up limpwurt roots than make it walk to fally bank then back.

rotwyla98

2007-12-23 13:30:43

What cb level is recommended to fight hobgoblins? + which food to use?