SRL Archive - RS3 Script Requests

I need huge help please.


Ranny

2013-02-13 16:23:16

Hello guys, I am at school for around 10 hours and I can't set up my bots in the morning as I am always running late meaning I can only run my bots from 6O clock PM to 12 o clock pm every day and I want to run it more.
I tried script this bypass 6 hour thing but no use.
I searched around and it said " SRL_SixHourFix := true; " will work however, it doesn't work for me :(?

PLEASE HELP!

Also, I want to make an auto clicker for the first inventory space.
For example, if I have a toy horse, I would want the bot to keep clicking the toy horse but I want the auto login to stay there.

so far I have got this but it isn't working lol :
{$DEFINE SMART}
{$DEFINE SMART8}
{$I SRL/SRL.Simba}

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

Players[0].Name := ''; //
Players[0].Pass := ''; //
Players[0].Nick := '';
Players[0].Member := false;
Players[0].Active := True;
Players[0].Pin := '';

End;




Begin
SRL_SixHourFix := true;
SetupSRL
Declareplayers
LoginPlayertoLob();
SelectWorld(11);
LoginPlayer;
Activateclient
SlotToUse = 1;
SpeedChoice = 40; // Change from 1 - max integer
MouseSpeed := Speedchoice;
repeat
FindNormalRandoms;
InvMouse(SlotToUse, mouse_left);
if not LoggedIn then LoginPlayer;
end.

Silentcore

2013-02-13 16:25:14

What script are you using?

Prometheus

2013-02-13 18:39:50

For your script that you made, be sure to add the ";" after the lines.
As for the six hour fix, try adding " SRL_SixHourFix := true;" before putting "SetupSRL"

Ian

2013-02-13 18:51:20

You also need to make it check occasionally if it's logged in, and then have it log in if it isn't.

I use

 if not LoggedIn then LoginPlayer; 

Ranny

2013-02-16 05:43:38

I tried that six hour fix thing but it does not work at all :/
Also, I am using a spam clicking thing for like inventory space 1 so anything which is in the inventory on the slot 1 will be spamm clicked.
please help :(

I get this error : [Error] C:\Simba\Scripts\Beware.simba(32:1): Unknown identifier 'SlotToUse' at line 31
Compiling failed.

The Killer

2013-02-16 07:05:13

From: Ranny
I tried that six hour fix thing but it does not work at all :/
Also, I am using a spam clicking thing for like inventory space 1 so anything which is in the inventory on the slot 1 will be spamm clicked.
please help :(

I get this error : [Error] C:\Simba\Scripts\Beware.simba(32:1): Unknown identifier 'SlotToUse' at line 31
Compiling failed.


SlotToUse needs to be in consts like this:
const
SlotToUse = 1;

Also, in your mainloop you need an until for that repeat. Read the looping part in this tutorial to understand how to loop correctly :)

Note: You can always pm me if you need help :)

edit: you also need:
SMART_FixSpeed := True; 
after you set 6hourfix to true.

Ranny

2013-02-16 07:21:26

Error] C:\Simba\Scripts\Beware.simba(33:1): Identifier expected at line 32
Compiling failed.

A new problem with the " Const " please help me :(
I checked the tutorial but it's too complex for me at this stage.
I am learnign from help, slowly but surely

The Killer

2013-02-16 07:26:52

From: Ranny
Error] C:\Simba\Scripts\Beware.simba(33:1): Identifier expected at line 32
Compiling failed.

A new problem with the " Const " please help me :(
I checked the tutorial but it's too complex for me at this stage.
I am learnign from help, slowly but surely

ok, post the code you have now and I'll help.

Sjoe

2013-02-16 08:39:42

From: Ranny
Error] C:\Simba\Scripts\Beware.simba(33:1): Identifier expected at line 32
Compiling failed.

A new problem with the " Const " please help me :(
I checked the tutorial but it's too complex for me at this stage.
I am learnign from help, slowly but surely


That can't be complexed :) It's the beginner tutorial.
Put some effort in it!

Ranny

2013-02-16 11:03:32

{$DEFINE SMART}
{$DEFINE SMART8}
{$I SRL/SRL.Simba}

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

Players[0].Name := ''; //
Players[0].Pass := ''; //
Players[0].Nick := '';
Players[0].Member := false;
Players[0].Active := True;
Players[0].Pin := '';

End;




Begin
SRL_SixHourFix := true;
SMART_FixSpeed := True;
SetupSRL
Declareplayers
LoginPlayertoLob();
SelectWorld(11);
LoginPlayer;
Activateclient

const
SlotToUse=1;
SpeedChoice = 40; // Change from 1 - max integer
MouseSpeed := Speedchoice;
repeat
FindNormalRandoms;
InvMouse(SlotToUse, mouse_left);
if not LoggedIn then LoginPlayer;
until(False);
end.


There's my updated script but I get the error : [ATTACH=CONFIG]19213[/ATTACH]

The Killer

2013-02-16 11:07:23

From: Ranny
There's my updated script but I get the error : [ATTACH=CONFIG]19213[/ATTACH]


ok, you don't declare const in the middle of a begin end. Put it after: {$I SRL/SRL.Simba}.
You also need to declare SpeedChoice as a var like so:
var
SpeedChoice: Integer;

Also don't forget the ; after until(False)

Ranny

2013-02-16 16:21:13

From: The Killer
ok, you don't declare const in the middle of a begin end. Put it after: {$I SRL/SRL.Simba}.
You also need to declare SpeedChoice as a var like so:
var
SpeedChoice: Integer;

Also don't forget the ; after until(False)


Wait can you edit my script and add them stuff because I am confused a bit lol.

The Killer

2013-02-16 16:26:22

From: Ranny
Wait can you edit my script and add them stuff because I am confused a bit lol.


I can but how will you learn from that?

Ranny

2013-02-16 16:49:02

From: The Killer
I can but how will you learn from that?


i will see where u put them then ill understand auto i already understand the ; etc just need to know where to put what.
you doing it will show me :)

The Killer

2013-02-16 16:52:51

From: Ranny
i will see where u put them then ill understand auto i already understand the ; etc just need to know where to put what.
you doing it will show me :)


could of done that by looking at other peoples scripts. Here's a clue.
{$DEFINE SMART}
{$DEFINE SMART8}
{$I SRL/SRL.Simba}

var
AString: string;

const
ImAConst = A;

Not giving any more help, goodluck with this. I'd recommend you look at some more tutorials, you're trying to run before you can walk.

Ranny

2013-02-16 16:53:22

wtf lol im confused…

Ranny

2013-02-16 17:04:00

I got this :
{$define smart}
{$define smart8}
{$i srl/srl.simba}

var
speedchoice = 40;
const
slottouse = 1;

procedure declareplayers;
begin
howmanyplayers := 1;
numberofplayers(howmanyplayers);
currentplayer := 0;

players[0].name := 'imposteraccs+9000@gmail.com'; //
players[0].pass := 'winner31'; //
players[0].nick := '';
players[0].member := false;
players[0].active := true;
players[0].pin := '';

end;




begin
srl_sixhourfix := true;
smart_fixspeed := true;
setupsrl
declareplayers
loginplayertolob();
selectworld(11);
loginplayer;
activateclient


slottouse = 1;
speedchoice = 40; // change from 1 - max integer
mousespeed := speedchoice;
repeat
findnormalrandoms;
invmouse(slottouse, mouse_left);
if not loggedin then loginplayer;
until(false)
end.

Ranny

2013-02-17 05:30:03

Bump, the script does not work for me please someone help !!!!!!!!!!! :(

Ranny

2013-02-17 07:54:23

[ATTACH=CONFIG]19226[/ATTACH]

I still get this error please help me !! i tried my best.

Sjoe

2013-02-17 08:03:29

From: Ranny
[ATTACH=CONFIG]19226[/ATTACH]

I still get this error please help me !! i tried my best.


I'm sorry, but I suggest u read this tutorial, and u'll get a much better understanding of the basic types.
http://villavu.com/forum/showthread.php?t=58935

No need for us to explain, since Coh3n's put some serious effort in that guide, and it's really well written.

Ranny

2013-02-17 08:08:31

I read it all and I still don't understand why I get the errors.
Please just this once help me and I will understand please!!!!!!

Sjoe

2013-02-17 08:13:39

From: Ranny
I read it all and I still don't understand why I get the errors.
Please just this once help me and I will understand please!!!!!!


If u read it all, check the type section again under constants and variable.
U'll see what u have to do. Put your mind to the task!
C'mon mate, u can do it ;)

Edit:
give it one more shot, if u don't see it we'll help.
U'll be more satisfied solving this by yourself :)

Ranny

2013-02-17 08:16:06

From: Sjoekeloe
If u read it all, check the type section again under constants and variable.
U'll see what u have to do. Put your mind to the task!
C'mon mate, u can do it ;)


It says put them capital letts for const, I do so and get an error on const.
Heres my current script which does not work no matter what I do.
I tried my best man please give me more tips and hints

{$DEFINE SMART}
{$DEFINE SMART8}
{$I SRL/SRL.Simba}

procedure DeclarePlayers;

const
SLOTTOUSE=1;

Begin
HowManyPlayers := 1;
NumberOfPlayers(HowManyPlayers);
CurrentPlayer := 0;

Players[0].Name := 'imposteraccs+9000@gmail.com'; //
Players[0].Pass := 'winner31'; //
Players[0].Nick := '';
Players[0].Member := false;
Players[0].Active := True;
Players[0].Pin := '';

End;



var
SpeedChoice = 40;
MouseSpeed := Speedchoice;
Begin
SRL_SixHourFix := true;
SMART_FixSpeed := True;
SetupSRL
Declareplayers
LoginPlayertoLob();
SelectWorld(11);
LoginPlayer;
Activateclient

repeat
FindNormalRandoms;
InvMouse(SlotToUse, mouse_left);
if not LoggedIn then LoginPlayer;
until(False);
end.

Sawyer

2013-02-17 08:21:51

I will say you are defining SMART twice.. both as SMART and SMART8. I'm not sure what that does.

Ranny

2013-02-17 08:25:45

I don't think that does anything since all my other scripts got that and it works perfectly fine thanks anyways
Someone help please!!!!!!!!

Sjoe

2013-02-17 08:26:58


// Defining smart 2 times? What gives. Remove one of them
{$DEFINE SMART8} // if using smart8 then use this, else {$DEFINE SMART}
{$I SRL/SRL.Simba}

const
SLOTTOUSE=1;
SpeedChoice = 40; //This is a constant, put it where it belongs ;), I saw it hanging below.
// put your constants OUTSIDE THE PROCEDURES , they are global types. THEY DO NOT BELONG IN A PROCEDURE, can't call them locally
// Just move it somewhere in the beginning of the script ;)


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

Players[0].Name := 'imposteraccs+9000@gmail.com'; //
Players[0].Pass := 'winner31'; //
Players[0].Nick := '';
Players[0].Member := false;
Players[0].Active := True;
Players[0].Pin := '';

End;

Begin
SRL_SixHourFix := true;
SMART_FixSpeed := True;
SetupSRL
Declareplayers
LoginPlayertoLob();
SelectWorld(11);
LoginPlayer;
Activateclient
MouseSpeed := Speedchoice;
repeat
FindNormalRandoms;
InvMouse(SlotToUse, mouse_left);
if not LoggedIn then LoginPlayer;
until(False);
end.


I hope u'll learn from this :)
I suggest u read the beginner tutorial until you fully understand it. and watch Yohojo's beginner videos.

Ranny

2013-02-17 08:34:21

Ok, I tried everything you taught me and I get another error lol..
{$DEFINE SMART}
{$DEFINE SMART8}
{$I SRL/SRL.Simba}


const
SPEEDCHOICE = 40;

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

Players[0].Name := 'imposteraccs+9000@gmail.com'; //
Players[0].Pass := 'winner31'; //
Players[0].Nick := '';
Players[0].Member := false;
Players[0].Active := True;
Players[0].Pin := '';

End;


Begin
SRL_SixHourFix := true;
SMART_FixSpeed := True;
SetupSRL
Declareplayers
LoginPlayertoLob();
SelectWorld(11);
LoginPlayer;
Activateclient
repeat
FindNormalRandoms;
InvMouse(SlotToUse, mouse_left);
if not LoggedIn then LoginPlayer;
until(False);
end.


[ATTACH=CONFIG]19227[/ATTACH]

Sjoe

2013-02-17 08:36:45

From: Ranny
Ok, I tried everything you taught me and I get another error lol..
]


EDIT: your slottouse constant ran away. Please fetch it again.
And the errors come up in your Debug box, please learn to use it. It's quite useful on solving problems!

Ranny

2013-02-17 08:38:58

Function list?

Sjoe

2013-02-17 08:43:24

From: Ranny
Function list?


Editted the post upstairs.

Usage of simba:
http://villavu.com/forum/showthread.php?t=95643
Boem

Ranny

2013-02-17 08:47:04

Fixed it" <33333333
Wooooooot <33333
Yay :D:D Thanks a ton i love ui

Sjoe

2013-02-17 08:49:49

From: Ranny
Fixed it" <33333333
Wooooooot <33333
Yay :D:D Thanks a ton i love ui


What does your script do? It just spams something.
Advertising? :)

Ranny

2013-02-17 08:58:35

it spam clicks something in first inventory <3 man ::ED:D thanks a ton

Edit : Time to test if the 6 hour fix thing works

Sjoe

2013-02-17 08:59:30

From: Ranny
it spam clicks something in first inventory <3 man ::ED:D thanks a ton


TEll me what lol, I'm curious

Edit:
Nvm figured it out, thought it was for gambling…

Ranny

2013-02-17 09:03:33

All sorts lol like mithril seeds etc :D!

Sawyer

2013-02-17 09:34:52

So it's to cause trouble for gamblers. Like spam click horseys and plant mithril seeds.

Sjoe

2013-02-17 09:40:43

From: Sawyer
So it's to cause trouble for gamblers. Like spam click horseys and plant mithril seeds.


If it makes the kid happy, oh well.
don't think he'll gonna script again :p

Sawyer

2013-02-17 09:46:22

Probably not :p

Sjoe

2013-02-18 04:05:21

From: Ranny
All sorts lol like mithril seeds etc :D!


I found a way to make it easier for you !


program new;
begin
repeat
InvMouse(1, mouse_left);
Wait(100)
until(false)
end.

Does the trick

Ranny

2013-02-18 14:21:05

Lol thanks a ton and we need to get rid of gambling.
So yeah :)
They scam and are just ruining the game :/
Sorry :(
I will script again tbh it was so fun figuring this one out, was like a mission <3 :)

Ranny

2013-02-18 16:40:40

sorry for double post but my script randomly just terminates from the " antiban " thing …
Can I just remove the anti ban? i actually dont mind lol.