SRL Archive - Help

How to add a script with code?


aarong

2012-07-29 00:31:54

So I was given a script code for a script i'd like to use, how can I add the code to make the script if you get what I mean? Cheers

P1ng

2012-07-29 00:44:41

I don't really get what you mean, but I assume you want to know how to make the script work?
You will need to open up Simba and then paste the script into simba or if it is already a .simba file then just open it straight up.
There will be details like username and password up at the top of the script. You will need to fill those out.
Then if you are going to use SMART so that the bot doesn't take over your mouse, simple press run. Alternatively, you can drag the crosshair onto your RuneScape client and comment out the {$DEFINE SMART} at the top of the script by placing two forward slashes before it '//'

Then simply hit the green triangle and the script should run.

riwu

2012-07-29 00:45:35

Copy and paste the entire code to a NEW simba file, then save it, then just click run. And whenever u want to use it again, just reopen it (at where u saved to)

aarong

2012-07-29 01:10:28

program QazsAutoTyper;
{$i srl/srl.simba}

Const
Message0=('insert message here');

Begin
Repeat
Wait(1000+Random(50)); //increase number to slow down. decrease to speed up
TypeSend(message0);
Until(False)
end.

This is the code^ There isn't a username or password option? Also I want to be able to run about 5 auto typers at once so I do not want them taking over my control of mouse so I can minimise them and go on with my day :)

putonajonny

2012-07-29 01:16:57

From: aarong
program QazsAutoTyper;
{$i srl/srl.simba}

Const
Message0=('insert message here');

Begin
Repeat
Wait(1000+Random(50)); //increase number to slow down. decrease to speed up
TypeSend(message0);
Until(False)
end.

This is the code^ There isn't a username or password option? Also I want to be able to run about 5 auto typers at once so I do not want them taking over my control of mouse so I can minimise them and go on with my day :)


You'll need SMART to be able to do that, you need to get the plugin files, and then Define SMART in your script

Also you are going to get banned in an instant typing the same thing over and over, try this:
program QazsAutoTyper;

{$i srl/srl.simba}

Const
Wait = 1000; //increase number to slow down. decrease to speed up

Var
Messages : array of String;

Procedure DefineMessages;
begin

Messages := ['This is message 1',
'This is message 2',
'You can add more messages',
'Just by adding more lines',
'With a comma between each',
'So you wont get banned for repeating the same thing'];

end;

Begin
DefineMessages;
Repeat
Wait(Wait+Random(Wait));
TypeSend(Messages[Random(GetArrayLength(Messages))]);
Until(False)
end.

Getdropped

2012-07-29 02:05:27

From: putonajonny
You'll need SMART to be able to do that, you need to get the plugin files, and then Define SMART in your script

Also you are going to get banned in an instant typing the same thing over and over, try this:
program QazsAutoTyper;

{$i srl/srl.simba}

Const
Wait = 1000; //increase number to slow down. decrease to speed up

Var
Messages : array of String;

Procedure DefineMessages;
begin

Messages := ['This is message 1',
'This is message 2',
'You can add more messages',
'Just by adding more lines',
'With a comma between each',
'So you wont get banned for repeating the same thing'];

end;

Begin
DefineMessages;
Repeat
Wait(Wait+Random(Wait));
TypeSend(Messages[Random(GetArrayLength(Messages))]);
Until(False)
end.


I really hate spam bots…. comeon man…. :( oh and you dont "add scripts" this isnt a rec bot this is simba. They are know as scripts. Honestly just instead of having a username and pass just once smart loads (runescape client) manually disable smart and log your self in.

aarong

2012-07-29 02:12:17

From: putonajonny
You'll need SMART to be able to do that, you need to get the plugin files, and then Define SMART in your script

Also you are going to get banned in an instant typing the same thing over and over, try this:
program QazsAutoTyper;

{$i srl/srl.simba}

Const
Wait = 1000; //increase number to slow down. decrease to speed up

Var
Messages : array of String;

Procedure DefineMessages;
begin

Messages := ['This is message 1',
'This is message 2',
'You can add more messages',
'Just by adding more lines',
'With a comma between each',
'So you wont get banned for repeating the same thing'];

end;

Begin
DefineMessages;
Repeat
Wait(Wait+Random(Wait));
TypeSend(Messages[Random(GetArrayLength(Messages))]);
Until(False)
end.


How do I get plugins and where do I put the smart thing? Sorry as you can see im an idiot with these things

EDIT: I added the Define smart between the 1st and 2nd line like this {$DEFINE SMART}, is that correct?

P1ng

2012-07-29 02:34:28

You don't need to be a brainiac to get this set up, you just need to do a little bit of searching.

I'll start you off -
Currently the latest Simba is 991
The latest SMART is v7.2

You will need to set it up as indicated in the threads you find by searching for those things.

aarong

2012-07-29 02:42:02

I downloaded simba, not sure if smart comes with simba or something but ill try find out

P1ng

2012-07-29 02:49:43

You will need to go to the thread for SMART 7.2 and then extract the plugins that can be downloaded from there into your plugins folder so that they over-ride what you currently have. make sure you have fully updated everything before you do this though.

aarong

2012-07-29 02:53:18

No offence but that makes no sence to me (as I said before im dumb with these things) I think ill stick to powerbot lol…

riwu

2012-07-29 02:56:02

From: aarong
No offence but that makes no sence to me (as I said before im dumb with these things) I think ill stick to powerbot lol…

Simba comes with everything, u just need to update them, dont need download anything extra. Make sure u have the latest simba (Tools>Update) then

Enable extensions.sex; update extensions. (View>extensions)
Restart Simba.
Update SRL, MSI, SPS, Plugins.

aarong

2012-07-29 02:57:59

I did all that, then the error comes up, so now im downloading some microsoft things which apparently will fix the problem.

All I need to know is how to get 5 or so bots auto typing at once

aarong

2012-07-29 03:08:37

Finally got it working, now I need to know how to add my script so that I can pick it when I want to bot

riwu

2012-07-29 03:16:40

U dont add it, just save it to anywhere u want. And when u want to use it, open it and click run.

aarong

2012-07-29 04:07:33

program QazsAutoTyper;
{$DEFINE SMART}
{$i srl/srl.simba}

Const
Message0=('Join [14bill] fc for legit flowers and 60x2 no I.R.C');

Begin
Repeat
Wait(1000+Random(50)); //increase number to slow down. decrease to speed up
TypeSend(message0);
Until(False)
end.

That is the code to the script i'd like to use, I saved it as QazsAutoTyper.simba then clicked on it it opened simba with the code on the screen, I click MSI>Run then it opens up the MSI options I choose my options for number 1, skip number 2 and 3 then do 4 and 5, then I click run and I save info for next time, the RS client pops up, I disable smart so that I can make the seetings to min and I can log into world 2, I re-enable smart and it just stands there doesn't type

riwu

2012-07-29 04:10:27

Why did u open MSI (the in-built scripts of SRL) when you want to use the custom script? Just open it and run it by clicking the green arrow, or pressing F9. Also make sure to target the RS window with the green crosshair if you are not using SMART.

aarong

2012-07-29 04:18:11

LOL im a goose, But then I can't run multiple bots because the message goes wherever i click, so if I minimize the client the message will type where I clicked rather then on rs

riwu

2012-07-29 04:20:49

From: aarong
LOL im a goose, But then I can't run multiple bots because the message goes wherever i click, so if I minimize the client the message will type where I clicked rather then on rs

Yeah now you realize that SMART isn't made for fun? :garfield:

aarong

2012-07-29 04:35:51

I was told that smart would work and let me run multiple clients and each time I type it types into rs not my fb that I open

riwu

2012-07-29 04:41:55

From: aarong
I was told that smart would work and let me run multiple clients and each time I type it types into rs not my fb that I open

You are not using SMART.
Your mainloop should be
Begin
SRL_SixHourFix := True;
Smart_FixSpeed := True;
SetupSRL;
DeclarePlayers; //if you dont know how to do this, remove this, start script, when smart pop up disable it and manually log in then start script again.
LoginPlayers;
Repeat
if not LoggedIn then Terminatescript;
Wait(1000+Random(50)); //increase number to slow down. decrease to speed up
TypeSend(message0);
Until(False)
end.

aarong

2012-07-29 04:47:24

Sorry i've never script before, will this work? Also how can I type 3 or 4 different messages? I tried the example another guy gave me but it didn't work

EDIT: I got it to work just need to be able to add more messages, also when I try open more then 1 client to adv on it says compiling failed, anyone know why?

 
program QazsAutoTyper;
{$DEFINE SMART}
{$i srl/srl.simba}

Const
Message0=('insert messages here');

Begin
SRL_SixHourFix := True;
Smart_FixSpeed := True;
SetupSRL;
Repeat
if not LoggedIn then Terminatescript;
Wait(3000+Random(50)); //increase number to slow down. decrease to speed up
TypeSend(message0);
Until(False)
end.

P1ng

2012-07-29 08:21:56

Very basic autotyper that I had lying around in my scripts folder, may be of use to you.
program AutoTyper;
{$DEFINE SMART}
{$i SRL/SRL.Simba}

procedure DeclarePlayers;
begin
HowManyPlayers := 1;
NumberOfPlayers(HowManyPlayers);
CurrentPlayer := 0;

Players[0].Name := ''; // Username
Players[0].Pass := ''; // Password
Players[0].Active := True;
Players[0].Integers[0] := 1000; // How many times to repeat messages
end;

procedure SetupLogin;
begin
ClearDebug;
{$IFDEF SMART}
SRL_SixHourFix := True;
Smart_FixSpeed := True;
{$ENDIF}

SetupSRL;
DeclarePlayers;
ActivateClient;
if not LoggedIn then
LoginPlayer;
end;

procedure AutoTyper;
var
Message: String;
begin
if not LoggedIn then
TerminateScript;
case random(4) of
0: Message := 'Message 1'; // Change to your own custom messages
1: Message := 'Message 2';
2: Message := 'Message 3';
3: Message := 'Message 4';
end;
TypeSend(Message);
end;

var
i: Integer;

begin
SetupLogin;
repeat
AutoTyper;
Inc(i);
Wait(RandomRange(2500,4020));
until(i >= Players[CurrentPlayer].Integers[0]);
end.