SRL Archive - First Scripts

My First Script Auto Talker


FagetHax0r

2008-03-19 10:53:08

Dont Insult me With its Bad or something I Will Continue Scripting as its Really Fun I Will Work on a PowerMiner Or PowerCutter

But here is my first script


Download V2


V2 Is Here It Works Fantastic

PowerChopper It Will Take some time for me cause its only my 2 Script So Take it easy on me


Credits:

Status: Fixing bug at moment

Script made by FagetHax0r:
How I learned to script: Thanks to Bebba
Tip For Scripting: Dude richard

Richard

2008-03-19 11:26:43

I thought you had already released a script lol.

Anyway.

Did you actually test this on runescape because it should actually work. WriteLN is the function to write in the debug box, not to write on the client.

Another tip, with the wait procedure, you should add a random range so its not detectable. For example do this:

Wait(1000+random(500));

That ill add any number between 0 and 500 milliseconds onto the 100 msec to make it less bot like.

FagetHax0r

2008-03-19 13:37:37

I Will Put you in the credit for that

Richard

2008-03-19 14:32:59

Can you rep me post please, you just click the little blue tick.

BTW: Its TypeSend

nikos

2008-03-19 14:41:24

yea use typesend. but make sure you use:
{.include srl/srl.scar}
like 2 lines under the program name or else the typesend wont work.

Richard

2008-03-19 14:44:18

From: nikos
yea use typesend. but make sure you use:
{.include srl/srl.scar}
like 2 lines under the program name or else the typesend wont work.


I already PMed him telling him that :D

FagetHax0r

2008-03-20 03:29:45

Oke V2 Is Done its my last Version In Some time i will Release a PowerChopper i hope Its a Simple One Cause im new

Richard

2008-03-20 06:45:09

I know this isn't probably the best place to say this, but who reported my post as spam because it wasn't… it was actually helping him, I told him the right funtion and some noob has reported the post. Get a life whoever did that

FagetHax0r

2008-03-20 09:09:53

Euhh He Didnt Spam Actually he whas the helper in here :l

Tniffoc

2008-03-27 23:51:09

Do you think that you could check if some key is down before sending the message so that I could press a key in order to send the message instead of it sending over and over again?:p that would be great! I REALLY want to use your script cuz it's easy to understand…:)

faster789

2008-03-28 00:40:13

From: Dude Richard
I know this isn't probably the best place to say this, but who reported my post as spam because it wasn't… it was actually helping him, I told him the right funtion and some noob has reported the post. Get a life whoever did that


LOL haha..hmm maybe fagex acccidently *cough* clicked the red tick? haha

Pwnt by Pwnt

2008-03-28 01:40:15

@tniffoc
program AutoTalkerv1;
{.include SRL/SRL.scar}

//Credits to Duke Richard//
// And to Bebbe//
// You May edit this script any way you want//


// I Present you here Faget Auto Talker V2//
// My Goal now is to Make a ChopperDropper Named//
// FagetAutoChopperDropperHopper//

Const
Message1='Hey'; // Edit this if you wanna Say somthing else
Message2='Hello'; // Edit this if you wanna Say something else

procedure Hello;
begin
Wait(1000+random(500));
if(IsFKeyDown(4)) then
TypeSend(Message1);
Wait(1000+random(500));
if(IsFKeyDown(5)) then
TypeSend(Message2);
end;

begin
SetupSRL;
ActivateClient;
repeat
hello;
until(false);
end.

this will type, 'Hey' if you press F4, and 'Hello' if you press F5. What does this is the
if(IsFKeyDown(4)) then
TypeSend(Message1);

that will…

1. Check to see if F4 has/is being pressed.
2. If it is, it will type the message in the window it activated (ActivateClient).
3. Stop sending the message once F4 isn't being pressed. But if you press it again, it will type it again :)

+rep please? >.> ;)

EDIT: Hax0r, you don't have to give cred (you can if you want) but just play around with the
if(IsFKeyDown(4));
procedure :) it can also be used in a script to end it,

(if you understand this, then thats good :))
[this is just showing the MainLoop]

begin
SetUpSRL;
ActivateClient;
repeat
begin
FindTheTree;
CutTheTree;
DropTheLogs
end;
until(IsFKeyDown(12));
end.

so if that were the MainLoop for a PowerChopper script, it would…

SetUpSRL: Load everything in SRL that you need it to
ActivateClient: makes it so you don't have to click to RS to start autoing, it does it for you

then it will REPEAT the following procedures.

FindTheTree: it will try to find the tree
CutTheTree: if the tree was found, it will cut it
DropTheLogs: if the tree was found, it will cut it, and then it will drop the logs

and it will continue to do everything in between
repeat
and
until(IsFKeyDown(12));
UNLESS you press F12

make any sense?

(remember to press the little white check mark inside the little blue box and +rep this post :D)

Tniffoc

2008-03-28 09:53:20

Thanks Pwnt by Pwnt I've been lookin for a procedure/function to test if the F-Keys are down… rep++!

Pwnt by Pwnt

2008-03-28 13:45:55

;) thanks tniffoc, if you have MSN add me? I think you understand at least the basics of SRL :) and if you want to learn I would be glad to help :D

my MSN is…

[email]Pwnt_by_Pwnt@hotmail.com[/email]

(hard, isn't it? ;))

can't wait till you release your first script :D

zealkctro

2008-03-29 12:23:56

thanks

it is useful for me

Hypnose

2008-03-30 16:58:40

ncie done for a first script.