SRL Archive - RS3 Script Requests

Autotyper script, help pls


Stunnerr

2013-10-30 01:47:50

I've found a lot of autotyping scripts on here, but I can never get them to work..

the error I find is: Exception in Script: Block expected at line 8, column 2 or Exception in Script: Unknown declaration "SmartSetupEx" at line 15, column 3

In some of the older scripts, {$i SRL/SRL.simba} is still there and if i change it to {$i SRL-6/SRL.simba} the error goes away..

I was wondering if someone could help me get an auto typer going.


I can never manage to even get a client open.

Foundry

2013-10-30 13:09:01

Many of the auto typers are outdated and not compatible with Lape. Post the script and I might be able to fix it.

The Killer

2013-10-30 13:54:11

From: HardcorBoter
Many of the auto typers are outdated and not compatible with Lape. Post the script and I might be able to fix it.

What he said, you need to rewrite it for srl6 (difference is I'm not going to do it for you).

Stunnerr

2013-10-30 17:23:52

program AutoTyper;
{$Define Smart}
{$i srl/srl.simba}



procedure DeclarePlayers;

Begin

HowManyPlayers := 1;

NumberOfPlayers(HowManyPlayers);

CurrentPlayer := 0;
End;

Begin

SetupSRL

Declareplayers

LoginPlayertoLob();

SelectWorld(2);

LoginPlayer;

Activateclient


Repeat

Wait(1000+Random(500));

TypeSendEx('text here',true)
TypeSendEx('text here',true)

until(false)

if not (LoggedIn) then

LoginPlayer;

end.

begin

end.

Kyle Undefined

2013-10-30 17:36:25

Use Simba tags, or link to the script page.

Foundry

2013-10-30 21:17:29

This should work… have fun!

program AutoTyper;
{$define SMART}
{$i srl-6/srl.simba}

procedure handlePlayer;
begin
setlength(players, 1);
with Players[0] do
begin
LoginName := ''; // USERNAME / EMAIL
Password := ''; // PASSWORD
isActive := true;
isMember := true; // IS THE ACCOUNT MEMBERS?
end;
players[0].login();
end;

procedure autoType;
begin
repeat
wait(1000 + random(500));
typeByte(VK_ENTER);
wait(100 + random(300));
typeSend('TEXT GOES HERE',true);
until(false)
end;

begin
setupSRL;
handlePlayer;
autoType;
end.

Stunnerr

2013-10-31 04:19:53

From: HardcorBoter
This should work… have fun!

program AutoTyper;
{$define SMART}
{$i srl-6/srl.simba}

procedure handlePlayer;
begin
setlength(players, 1);
with Players[0] do
begin
LoginName := ''; // USERNAME / EMAIL
Password := ''; // PASSWORD
isActive := true;
isMember := true; // IS THE ACCOUNT MEMBERS?
end;
players[0].login();
end;

procedure autoType;
begin
repeat
wait(1000 + random(500));
typeByte(VK_ENTER);
wait(100 + random(300));
typeSend('TEXT GOES HERE',true);
until(false)
end;

begin
setupSRL;
handlePlayer;
autoType;
end.


Thanks for helping,

The script manages to run and open a client but doesn't do anything after that. it just sits there and eventually terminates.

Am I doing anything wrong?

Foundry

2013-10-31 13:35:20

From: Stunnerr
Thanks for helping,

The script manages to run and open a client but doesn't do anything after that. it just sits there and eventually terminates.

Am I doing anything wrong?


You need to actually login from that point and then start the script after it spawns the client. don't know why it pauses like that, but it does the same thing for me.

Stunnerr

2013-11-01 00:51:16

From: HardcorBoter
You need to actually login from that point and then start the script after it spawns the client. don't know why it pauses like that, but it does the same thing for me.


Still doesn't work, I can log it in manually but it won't talk.