SRL Archive - First Scripts

Distress Autotalker


distress

2007-12-03 13:07:16

As my first script (not acctually my first, but my first rs-related) I decided to write a autotalker, easier done then said, here it is, there is acctually another version created before this one, but this one is much more easy to use, even my best friends littlebrother has already tried it, but his opinion doesn't count.

Please post if you tried it, and what you thought of it, it might not be good, but i have been in the scripting business a few days.

EDIT:
Btw, the Writeln feature isnt writing in debug box, or not at all, can someone help me fix this?

Rs-Gp-4U

2007-12-03 13:54:50

Looks nice, you may want to add 'Worked For' In your progress report.

Sir R. M8gic1an

2007-12-03 15:25:04

you might also want to check out SRL's TypeSend because SendKeys is detectable, and make it say a certain number of times, isntead of talking forever. And you actually won't have a nice ending because it'll never get past the spamming procedure ;)

Rasta Magician

distress

2007-12-03 15:27:25

Okay, thanks for the feedback both of you, but isn't noone who has a answer to my question about why my Writeln command doesn't write?

and RS GP 4 U, what do you meen with "worked for"?

Reported for rule 7

2007-12-03 15:29:52

thanks, i do prefer ghost controll pro (yes i know its a g mouse but it dosnt work like one)

soppa_z

2007-12-03 15:37:28

im gonna try out soon i came back with report :)

distress

2007-12-03 15:40:58

Nice thank you :)

Sir R. M8gic1an

2007-12-03 16:02:26

From: distress
Okay, thanks for the feedback both of you, but isn't noone who has a answer to my question about why my Writeln command doesn't write?

and RS GP 4 U, what do you meen with "worked for"?


i did answer it. the Spam procedure has a never ending loop, which means it'll stay in it forever. so it will never reach the NiceEnding procedure thus never getting to write in the debug.

distress

2007-12-03 17:41:51

ooookey! thanks, so i have to put NiceEnding in the beginning, making it to NiceBeginning? I have thought of this before, putting the ASCII in the Writeln procedure at the same time, removing it from the beginning of the script, making t more neat.

legendimi66

2007-12-05 01:19:45

Nice. Rasta means that it will never reach the NiceEnding procedure because the procedure Spam is this…
procedure Spam;
begin
repeat
Sendkeys(spam1+Chr(13));
Wait(1200+random(400)); //Time between spams.
until(false);
end;
You have until false at the end which means that you need to stop it. If you stop it, then how will it reach the NiceEnding procedure? A good way to fix this is by adding a counter. Ask how many times you want to type the message and once it reaches that, go onto the NiceEnding procedure.

Using SRL is also very important as Rasta mentioned in his first post. SRL's TypeSend makes a different wait time between each letter making this more human-like and therefore less detectable.

Overall, good job.

Sanjuro

2007-12-05 08:11:11

Works great thanks =D

souppy

2007-12-05 08:15:27

The script looks good, however do add the things that previous people have said.

distress

2007-12-06 10:34:07

What do you mean?

Rs-Gp-4U

2007-12-06 12:58:33

Well…
'Worked For' i meant put it in your progress report to say worked for ()mins
Or you could add Talked..Times Like this..

var TimesTalked: Integer;

Writeln('Talked '+ IntToStr(TimesTalked) +' Time(s).');

procedure Talk;
var i: Integer;
begin
TimesTalked := 0;
repeat
begin
TypeSend(TextToType);
i := i + 1;
TimesTalked := TimesTalked + 1;
end;
until (i = 1) // Change to number of times you want to say TextToType.
end;

distress

2007-12-07 10:38:02

Thank you for your help, i really need progress report, i wil change the script when i get home, as i'm not home right now.

distress

2007-12-10 16:10:14

There is a problem with including SRL.scar in my script, it says i need a identifier in:
(.include srl.scar)
how can i fix this?

distress

2007-12-14 15:52:38

bump, can someone help?

distress

2007-12-16 15:06:08

Thank you :)

ZaSz

2007-12-16 15:25:51

From: distress
bump, can someone help?

Did you read rules? Bumping isn't allowed.

Naike

2007-12-19 14:47:07

Read Text manual and like other person said,
- Use Typesend(' Texthere ');