SRL Archive - RS3 Outdated / Broken Scripts

such thing as a autoCrumbleOfUndead?


solidxxx

2007-03-16 16:31:27

im working on my magic skills and couldn't find a automager that could do crumble of undead. do you know of one?

3Garrett3

2007-03-16 16:49:04

It really wouldnt be hard to make, why dont you try, i think maybe like, findcolor and uptext multi, a few antis and ur ready, go to tut island and learn the basics, email me at [email]rscheater33@hotmail.com[/email] if you want some help with the basics, and maybe you can get this script made.. ok? i dont like it when people leach, so im gunna try to get you into scripting :p

Jason2gs

2007-03-16 18:06:32

By your post count, you don't know much about scripting.

Ok, this is your long procedure, it goes in with your other procedures. (I trust you know how to do that ;)):


procedure CrumbleUndead(TimesToCast, MonsterColor: Integer; MonsterName: String);
var
TimesDone, Tries : Integer;
begin
repeat
Wait(1000 + Random(1000));
GameTab(7);
Wait(500 + Random(500));
MouseBox(595, 306, 605, 316, 1);
TimesDone := TimesDone + 1;
if(FindColorSpiralTolerance(x, y, MonsterColor, MSX1, MSY1, MSX2, MSY2, 5))then
begin
repeat
MMouse(x, y, 2, 2);
Tries := Tries + 1;
if(Tries >= 5)then
begin
KeyDown(37);
Wait(1000 + Random(500));
KeyUp(37);
Tries := 0;
end;
until(IsUpText(MonsterName) or (Not(LoggedIn)));
if(Not(LoggedIn))then
TerminateScript;
begin
Mouse(x, y, 2, 2, False);
ChooseOption(x, y, 'Attack');
Wait(1000 + Random(500));
end;
end;
until(TimesDone >= TimesToCast);
end;

This is your short procedure/command, it goes in your main loop:


CrumbleUndead(5, Color, 'Name');

"5" Is how many times you want to cast the spell, change it to whatever you want.

"Color" Is the monster color.

"Name" Is the name of the monster.

Have fun!

the scar noob

2007-03-16 18:29:06

i already started making one in the past, never finished :D

solidxxx

2007-03-16 20:53:12

From: Jason2gs
By your post count, you don't know much about scripting.


lol yea you got that right, i attempted to make my own before i posted. i think i got some stuff right but was never able to get past the being able to find the spell book part lol. thanks a lot for your help, ill try this out.

p.s: your one of the few people who actually help when people have questions. thanks again

Jason2gs

2007-03-16 22:39:18

From: solidxxx
lol yea you got that right, i attempted to make my own before i posted. i think i got some stuff right but was never able to get past the being able to find the spell book part lol. thanks a lot for your help, ill try this out.

p.s: your one of the few people who actually help when people have questions. thanks again


Np ;)

I like making seperate procedures/functions like this, than real scripts. I don't have to make everything work together like a key in a lock, I just make the procedure, and the people do the rest :p

3Garrett3

2007-03-17 10:06:22

I wanted to help! I just didnt want to post the whole thing there for him! I didnt learn anything when people posted those sort of things, and i actually wanted him to learn it.

SonOfSheep

2007-03-18 13:48:14

From: 3garrett3
I wanted to help! I just didnt want to post the whole thing there for him! I didnt learn anything when people posted those sort of things, and i actually wanted him to learn it.


Some people need to read code to learn. Others need tutorials. I just looked at some dudes scripts and learnt srl functions but thats it. (i ar t3h programz0r)

He probably will look at it read it and understand it somewhat, pascal is practically English!

Jason2gs

2007-03-18 13:53:17

Plus it was kinda fun to make :p

I've never made an automager before. Plus it was cool to make the procedure param box :p