Setting up SCAR

From SRL Wiki

Jump to: navigation, search

Contents

Before you start...

It is advised that you read about more SCAR before you start with this guide.

Downloading and Installing SCAR

SCAR is downloadable from its official download page at Freddy1990.com. You should only download SCAR from this homepage. Other download sources are not approved by the author and may contain malicious modifications.

  1. Head over to the download page: http://freddy1990.com/index.php?page=product&name=scar
  2. Find the download buttons at the bottom of the page. Download the version you require (Normal, Portable, U3). This guide will use the Normal version.
  3. Once downloaded, go ahead and install SCAR. Take a note of the installation directory.
  4. When installed, go ahead and open SCAR.
  5. SCAR may ask to download "Includes" and "SRL". Just click No. We can download those later.
  6. Read through the small beginners tutorial to familiarize yourself with the SCAR interface. More will be described here later.

So now SCAR is installed. "Yay I can get lots of autoed GPs now!!". Heh, not so fast. SCAR is a PascalScript interpreter. Basically it only does what you tell it to do. There are no Runescape based scripts that come included with SCAR. You must either make your own or use one that is already available. More on that later. Bananas are yellow but sometimes green.

The SCAR Window

There are 3 main parts to the SCAR window: the toolbar, the coding area, the debug box (or just debug)

scarwindow.jpg

Toolbar

The toolbar is important for opening, saving, and controlling scripts. It also must be used to prepare SCAR for autoing on the Runescape client window.

toolbarb.jpg

File Controls

The Open, Close and Save buttons are self-explanatory.

Script Controls

  • Start - starts the script or resumes the script after a pause (also CTRL + Alt + R).
  • Pause - pauses the script immediately (Also CTRL + Alt + A).
  • Stop - stops the script (Also CTRL + Alt + S).

Color-Picker Tool

Useful when writing a script or when a script requires a manually chosen color. Clicking the tool will 'freeze' your screen allowing you to select a color at a specific point. The color (and the point) will be displayed in the Debug Box. The color will automatically become available to paste too by simply right clicking and selecting paste, or CTRL + V.

Client Selector Tool

When autoing on the Runescape client directly (through a web browser) you need to manually select the Runescape screen for SCAR to be able to align the coordinates to the screen.

To use this tool just click and drag the tool over the client window you wish to select.

Coding Area

This is where all the coding is entered into SCAR. SCAR will attempt to compile and run the text in this area.

As a user of a script you may need to enter information able your characters (Player usernames, passwords, location, equipment, pin) as well as script settings such as number of loads or other information.

Entering text is just like entering text in any other text editor. Just click and type away.

Debug Box

Scripts will often display information in this window to assist with debugging script or to simply tell the users of the script information. Information such as progress reports, time running, number of logs/ores/fish/banks, etc can be displayed here. Other useful information can also be displayed here, such as errors with the script.

This area is just like a text-editor, you can copy, paste and type into here. However SCAR will not execute any code entered into here. This is purely for debugging information to the user.

Using SCAR Scripts

Now that you have SCAR all set up and have familiarized yourself with the basic operation of SCAR you can start looking at scripts to use.

SCAR scripts are written in PascalScript, similar to Pascal. You can write your own scripts or find many scripts on the internet.

Many scripts nowadays require an extra script library to use - extra source code that scripts can use globally. The main one of these is the SRL Resource Library available at SRL-Forums. Many great scripts can also be found there.

You need to download and correctly install SRL before most scripts will work. For more information on the actual include visit the SRL wiki page.

Personal tools