PDA

View Full Version : Reference Book for Newcomers!



Camaro'
03-10-2011, 04:02 AM
Reference Book



SRL's Mission statement (http://villavu.com/)



Terms



Scar:

SCAR is a program designed to automate repetitive tasks on your computer. It uses color, image, pattern and text recognition algorithms to gather data about the current state of your machine and act upon it accordingly as programmed. The program has the ability to move the mouse cursor and send keystrokes to act upon the gathered information. You can create scripts in the pascal language for the program to run using a very large amount of functions are your disposal.

Get the newest SCAR at the SVN (http://freddy1990.com/svn/scarprerelease/)

In short terms, its a program where you write code that utilizes the SRL include to auto on runescape


Simba:

Simba is essentially the same thing as SCAR, except it is open source,and is developed by the SRL Community.

Get the newest Simba at http://villavu.com/forum/showthread.php?t=61586

Include:

In our case, it is a set of files which contain functions and procedures for you(the scripter) to use.

SRL:

SRL commonly refers to the SRL include it self, or these forums as a whole.


Procedures:

Procedures are like sections of the
script that can be called upon for many different reasons.
[Credits XxKanexX]

Functions:


Functions are the same as procedures but they return a value.

The values consist of:
String - Text, string of characters
Integer - Whole numbers, positive and negative (i.e. 1, 3, -7)
Extended - Real numbers, positive and negative (i.e. 1.5, -2.6)
Boolean - True or False
[Credits Bebe]

Bitmaps:


A set of bits that represents a graphic image, with each bit or group of bits corresponding to a pixel in the image.

To sum that all up, a bitmap is a image with a high quality, which makes it ideal for SCAR's/Simbas built in image searching functions/procedures.
[Credits Bebe]


Failsafes:

Something in your script, that if something were to fail, it will catch it, and fix the problem ( or just log out :) )

Anti ban:

Antiban refers to doing human like things to make your bot less noticeable.
(Checking your mining experience)
[I]Not done automatically in SRL, Must be added to any scripts you develop.


Anti randoms:

The completion of random events. Done automatically in SRL.
See this tutorial on how to utilize anti random detection: http://villavu.com/forum/showthread.php?t=41564


SMART:

Is a plugin which loads in Simba/SCAR and comes included with SRL. It is compiled as a .so for linux. SMART stands for SMART Minimizing Autoing Resource Thing. Basically it acts as a virtual mouse/keyboard and allows you to auto while using your computer at the same time.

Main loop:

The main loop is a really simple concept, when you click the run/play button in Simba, Simba will automatically go to your main loop and calls it once. Every main loop for botting in runescape should be repeated using simple loops learned in the tutorials referenced at the bottom.

Script:

If you haven't figured out by now, a script is just all your procedures and functions put together into one file.

MSI:

MSI is one giant script. More info available here (http://villavu.com/forum/forumdisplay.php?f=125).

Reflection:

If you are writing a script, you can use reflection.
Reflection is much easier to understand and write for, but there are down sides. Every time runescape updates, reflection is down until someone manually updates it (Manually updates the hooks, Pyroryan is doing a great job currently) and you are FORCED to use SMART. If you are not using reflection, you do not need SMART and your script should be immediately runnable after an update. Most reflection scripts only work in Simba.

Standards:

Refers to how your code looks in Simba, things like indentations, capitalization etc.

Crosshair:

The crosshair on the Simba/SCAR toolbar, which you must drag onto runescape before you run your scripts.

SRL 5:

SRL's next major release, currently being developed. SRL 5 will only support Simba.
SRL 5 Development can be monitoredhere (https://github.com/SRL/SRL-5).


SCAR Vs Simba:
Personal preference, both are very reliable now. Almost everything that runs in SCAR can run in Simba except for a few exceptions. SRL 5 Will only be supported for Simba.

Camaro':

Commonly refers to a really incredible person that by coincidence visits SRL too. Oh, and it's also a car if you remove the '.

Dgby714:

Commonly refers to a really incredible person that by coincidence visits SRL too. He is very similar to Camaro' to the respect that there definitions are incredibly similar.





Should read tutorials

http://villavu.com/forum/showthread.php?t=58935
-Coh3ns beginner tutorial, Excellent tutorial.

http://villavu.com/forum/showthread.php?t=60288
-Standards

http://villavu.com/forum/showthread.php?t=33613
-Naums tutorial on statements.

http://villavu.com/forum/showthread.php?t=32990
-General SCAR Tutorial.

http://villavu.com/forum/forumdisplay.php?f=191
(http://villavu.com/forum/forumdisplay.php?f=191)
-Script Tutorials section.


Useful Links

http://villavu.com/forum/forumdisplay.php?f=70
-Scripting help forum, post your problems there.

http://villavu.com/forum/forumdisplay.php?f=205
-Reflection forum

http://villavu.com/forum/forumdisplay.php?f=179
-SMART Forum

http://villavu.com/forum/forumdisplay.php?f=64
-Public Scripts

Train
03-10-2011, 04:26 AM
SCAR latest version:
http://freddy1990.com/svn/scarprerelease/

SRL-5:
https://github.com/SRL/SRL-5

*hint* left out RRL. ;) haha jk.. nice job.

Sex
03-10-2011, 05:27 AM
Bitmaps:
A set of bits that represents a graphic image, with each bit or group of bits corresponding to a pixel in the image.

To sum that all up, a bitmap is a image with a high quality, which makes it idle for SCAR's built in image searching functions/procedures.
[Credits Bebe]idle -> ideal

Floor66
03-10-2011, 07:18 AM
Woot! I'm a Camaro'! :P

All jokes aside though, nice tut for newbies :)

Frement
03-10-2011, 07:42 AM
Maybe you should add that Camaro is also a car?

Coh3n
03-10-2011, 08:19 AM
Maybe you should add that Camaro is also a car?
It's not just a car, it's Bumblebee!

Nice job, Camaro, I like the idea especially. Surprised I haven't seen it before.

Emaziz
03-10-2011, 09:22 AM
Very nice :)



http://i55.tinypic.com/vo9bix.png
^ Camaro! :D

i luffs yeww
03-10-2011, 09:31 AM
^ Bumblebee! :D

Wizzup?
03-10-2011, 10:19 AM
You might want to add that SRL 5 is for Simba only.

Also, "Simba is developed by the administrators here", I think you meant by the SRL community. And I think you're also missing that most reflection scripts work with Simba only.

Zyt3x
03-10-2011, 02:07 PM
[/CENTER];787010]You might want to add that SRL 5 is for Simba only.

Also, "Simba is developed by the administrators here", I think you meant by the SRL community. And I think you're also missing that most reflection scripts work with Simba only.Except those using RRL.

And I'm not sure I like the smart section.. smart is a dll which comes with srl, not the scripts and it's not only a virtual mouse it's also virtual keyboard. And please add that it's minimizeable + what SMART stands for :p
Good job nevertheless :)

Camaro'
03-11-2011, 02:40 AM
Thanks everybody for the suggestions, I fixed up all that was said (please don't hesitate to point out any other mistakes/suggestions)

Sex
03-11-2011, 03:31 AM
SRL 5:SRL's next major release, currently being developed. Will only work for Simba.
SRL 5 Development can be monitered here (https://github.com/SRL/SRL-5).
monitered -> monitored

noidea
03-11-2011, 04:34 AM
Is a plugin which loads in Simba/SCAR and comes included with SRL.***

It's compiled as a .so for linux.

Camaro'
03-28-2011, 11:15 PM
Any other suggestions to be added into this?

Dgby714
03-29-2011, 12:57 AM
SCAR Vs Simba:
Personal preference, both are very reliable now. Almost everything that runs in SCAR can run in Simba except for a few exceptions. SRL 5 Will only be supported for Simba.

Camaro':

Commonly refers to a really incredible person that by coincidence visits SRL too. Oh, and it's also a car if you remove the '.


"SRL 5 will only support Simba."

o and replace Camaro with Dg =P

Edit: Except I'm not a car =S

Camaro'
04-07-2011, 01:02 AM
Haha, I got it!

WT-Fakawi
04-07-2011, 06:26 AM
Nice work: Cupyfied.

Camaro'
04-09-2011, 06:00 AM
Thank you fakawi!

Dgby714
04-10-2011, 07:45 PM
Haha, I got it!

LMAO I was joking but ok nice =)

Camaro'
04-11-2011, 01:30 AM
This guide is fresh.