SRL Archive - General Botting Help

srl-6 but nothing for SRL?


Vacrin

2015-04-11 16:10:42

Hey everyone, so I have been trying to make my own scripts using simba, however, I cant't even get the script to login my players! After following the how-to guide for basic simba, and setting up simba, I still don't have anything at all in my SRL folder. I have srl-6 things, but nothing else. Can anyone help? I seem to be at a impasse here :(

Thank you.

I can also post my code if need be. Thing is though, I don't have any of the procedures that come with SRL at all.

KeepBotting

2015-04-11 16:19:45

The SRL-6 folder contains everything you'll need to auto in RS3, it can be used in scripts by putting
{$i srl-6/srl.simba}
at the top of your script.

SRL is the folder that used to house SRL-5. You'll never have anything in there unless you manually install SRL-5.

Vacrin

2015-04-11 16:25:33

Okay, so which procedure is used to login?


So far I have, but no command I have found is able to login my character? (LoginPlayer isn't a command I have). Or do I have to do it more manually?

program DeclarePlayers;
{$DEFINE SMART}
{$i srl-6/srl.simba}

procedure DeclarePlayers;
begin
currentPlayer := 0;

players[0].loginName := '';
players[0].password := '';
players[0].nickname := 'test';
players[0].isActive := True;
players[0].bankPin := '';
end

begin
clearDebug();
setupSRL();
DeclarePlayers();


end.

Vacrin

2015-04-11 16:26:33

Okay, so which procedure is used to login?


So far I have, but no command I have found is able to login my character? (LoginPlayer isn't a command I have). Or do I have to do it more manually?

program DeclarePlayers;
{$DEFINE SMART}
{$i srl-6/srl.simba}

procedure DeclarePlayers;
begin
currentPlayer := 0;

players[0].loginName := '';
players[0].password := '';
players[0].nickname := 'test';
players[0].isActive := True;
players[0].bankPin := '';
end

begin
clearDebug();
setupSRL();
DeclarePlayers();


end.

Vacrin

2015-04-11 16:33:04

Oh, well I have that then, which command is used to login? The tutorial says "LoginPlayer", but there is not such procedure. I have the players name, pass, nick, active all filled out, but can't seem to find which command would let me login.

KeepBotting

2015-04-11 16:43:02

From: Vacrin
Oh, well I have that then, which command is used to login? The tutorial says "LoginPlayer", but there is not such procedure. I have the players name, pass, nick, active all filled out, but can't seem to find which command would let me login.


Which tutorial are you using? To log in, under SRL-6 you do
players[currentPlayer].login();

Vacrin

2015-04-12 02:06:53

I was following coh3n's tut.https://villavu.com/forum/showthread.php?t=58935

KeepBotting

2015-04-12 02:34:52

From: Vacrin
I was following coh3n's tut.https://villavu.com/forum/showthread.php?t=58935


While the information in that thread is good, from "The SRL Include" onward, it becomes a bit dated. Those instructions are written for the old SRL-5 code structure, which is still relevant if you plan on scripting under SRL-OSR.

However, if you want to write scripts for RS3, I suggest you use The Mayor's tutorial: https://villavu.com/forum/showthread.php?t=107757

Vacrin

2015-04-12 11:02:04

Thank you! I'll go take a look at it :)